CMS 3D CMS Logo

TCnaHeaderEB.h

Go to the documentation of this file.
00001 #ifndef ROOT_TCnaHeaderEB
00002 #define ROOT_TCnaHeaderEB
00003 
00005 //                                                                      //
00006 // TCnaHeaderEB   Header of CNA ROOT file                                 //
00007 //                                                                      //
00008 //                                                                      //
00009 //                                                                      //
00011 #include "TString.h"
00012 #include "TNamed.h"
00013 #include <time.h>
00014 
00015 class TCnaHeaderEB : public TNamed {
00016 
00017 protected:
00018 
00019   void      Init();
00020 
00021 public:
00022 
00023   Int_t   fCnew;
00024   Int_t   fCdelete;
00025 
00026   //....... Header parameters
00027   TString fTypAna;              // name of the analysis (default = "std")
00028   Int_t   fRunNumber;           // Run number
00029   Int_t   fFirstEvt;            // First taken event number
00030   Int_t   fNbOfTakenEvts;       // Number of taken evts
00031   Int_t   fSuperModule;         // SuperModule number
00032   TString fStartDate;           // Start date
00033   TString fStopDate;            // Stop date
00034   time_t  fStartTime;           // Start time
00035   time_t  fStopTime;            // Stop time
00036   Int_t   fNentries;            // Number of events in the run
00037 
00038   Int_t   fMaxTowEtaInSM;       // Nb of towers in eta in a SuperModule
00039   Int_t   fMaxTowPhiInSM;       // Nb of towers in phi in a SuperModule
00040   Int_t   fMaxTowInSM;          // Maximum number of towers in a SuperModule ( = fSizeSMEta*fSizeSMPhi)
00041   Int_t   fMaxCrysInTow;        // Maximum number of crystals in tower ( tower = square, so sizex = sizey = sqrt(fMaxCrysInTow) )
00042   Int_t   fMaxSampADC;          // Maximum number of samples
00043   Int_t   fMaxCrysInSM;         // Maximum number of channels ( = fMaxTowInSM x fMaxCrysInTow )
00044 
00045   Int_t   fNbBinsADC;           // Number of bins for the ADC event distributions
00046   Int_t   fNbBinsSampTime;      // Number of bins for the histos of samples as a function of time
00047   Int_t   fNbBinsEvol;          // Number of points for the evolution graphs
00048 
00049   //....... Header counters
00050   Int_t   fTowerNumbersCalc;    // Nb of entries of type TowerNumbers
00051   Int_t   fLastEvtNumberCalc;   // Nb of entries of type LastEvtNumber
00052   Int_t   fEvtNbInLoopCalc;     // Nb of entries of type EvtNbInLoop
00053 
00054   Int_t   fSampTimeCalc;        // *Nb of entries of type SampTime
00055   Int_t   fEvCalc;              // *Nb of entries of type Ev
00056   Int_t   fVarCalc;             // *Nb of entries of type Var
00057   Int_t   fEvtsCalc;            // *Nb of entries of type Evts
00058   Int_t   fCovCssCalc;          // *Nb of entries of type CovCss
00059   Int_t   fCorCssCalc;          // *Nb of entries of type CorCss
00060   Int_t   fCovSccCalc;          // *Nb of entries of type CovScc
00061   Int_t   fCorSccCalc;          // *Nb of entries of type CorScc
00062   Int_t   fCovSccMosCalc;       // *Nb of entries of type CovSccMos
00063   Int_t   fCorSccMosCalc;       // *Nb of entries of type CorSccMos
00064   Int_t   fCovMosccMotCalc;     // *Nb of entries of type CovMosccMot
00065   Int_t   fCorMosccMotCalc;     // *Nb of entries of type CorMosccMot
00066   Int_t   fEvEvCalc;            // *Nb of entries of type EvEv
00067   Int_t   fEvSigCalc;           // *Nb of entries of type EvSig
00068   Int_t   fEvCorCssCalc;        // *Nb of entries of type EvCorCss
00069   Int_t   fSigEvCalc;           // *Nb of entries of type SigEv
00070   Int_t   fSigSigCalc;          // *Nb of entries of type SigSig
00071   Int_t   fSigCorCssCalc;       // *Nb of entries of type SigCorCss
00072   Int_t   fSvCorrecCovCssCalc;  // *Nb of entries of type SvCorrecCovCss
00073   Int_t   fCovCorrecCovCssCalc; // *Nb of entries of type CovCorrecCovCss
00074   Int_t   fCorCorrecCovCssCalc; // *Nb of entries of type CorCorrecCovCss
00075 
00076   //------------------------------- methods
00077 
00078   TCnaHeaderEB(); 
00079   TCnaHeaderEB(Text_t*,  Text_t*, TString,
00080              const Int_t&,    const Int_t&,  const Int_t&,  const Int_t&,
00081              const  Int_t&);
00082   TCnaHeaderEB(Text_t*,  Text_t*, TString,
00083              const Int_t&,    const Int_t&,  const Int_t&,  const Int_t&);
00084   ~TCnaHeaderEB();
00085 
00086   void Print();
00087   ClassDef(TCnaHeaderEB,1)  //Header of CNA ROOT file
00088 };
00089 #endif

Generated on Tue Jun 9 17:25:15 2009 for CMSSW by  doxygen 1.5.4