Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

EDAnalysis.h

Go to the documentation of this file.
00001 
00002 #ifndef EDANALYSIS_H
00003 
00004 #define EDANALYSIS_H
00005 
00006 /*************************************************************************
00007 
00008  EDAnalysis class.
00009 
00010  Analyses data and generates some relevent histograms.
00011 
00012  -------------------------------------
00013 
00014  Authors: N Lumb, Gloria Spandre; INFN-Pisa.
00015 
00016  Start date: Sept. 2001.
00017 
00018 *************************************************************************/
00019 
00020 
00021 #include "TTree.h"
00022 #include "TVector.h"
00023 
00024 #include "reconRootData/Recon.h"
00025 #include "digiRootData/DigiEvent.h"
00026 
00027 #include "bfemDisplay/EDControl.h"
00028 
00029 
00030 class EDAnalysis {
00031 
00032  private:
00033 
00034   EDControl  *m_evtCtrl;
00035     
00036   TTree      *fTree;     // pointer to the raw TTree
00037   TTree      *rTree;     // pointer to the recon TTree
00038   DigiEvent  *event;     // <<======= The new digiclass definition
00039   Recon      *recon;
00040 
00041   TObjArray  *m_ped;     // cointains 8 TVector with the pedestals of CALlogs (80 logs) 
00042   Bool_t m_rawdata;      // type of input data: TRUE: real, FALSE: mc.
00043 
00044   Int_t m_StartEvent;    // starting event
00045 
00046  public:
00047 
00048   EDAnalysis( EDControl *evtCtrl );
00049   //  ~EDAnalysis();  // default dtr
00050 
00051 
00052   Bool_t     m_Stop;     // True if request has been made to stop analysis.
00053 
00054   void StartWithEvent(Int_t event);  // start next Go with this event
00055   void Rewind(); // reset for next Go to start at beginning of file
00056   void Go(Int_t numEvents=100000); // loop over events
00057 
00058 
00059 };
00060 
00061 
00062 
00063 #endif
00064 
00065 
00066 
00067 
00068 
00069 
00070 
00071 
00072 
00073 
00074 
00075 
00076 

Generated at Mon Nov 26 18:20:06 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000