Go to the documentation of this file.00001 #ifndef ROOT_TEcnaHeader
00002 #define ROOT_TEcnaHeader
00003
00005
00006
00007
00008
00009
00011 #include "TROOT.h"
00012 #include "TObject.h"
00013 #include "TString.h"
00014 #include "TNamed.h"
00015 #include "Riostream.h"
00016 #include <time.h>
00017 #include <TMath.h>
00018
00019 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaObject.h"
00020
00035
00036 class TEcnaHeader : public TNamed {
00037
00038 protected:
00039
00040 void Init();
00041
00042 public:
00043
00044 Int_t fCnew;
00045 Int_t fCdelete;
00046
00047 Int_t fgMaxCar;
00048
00049
00050 TString fTypAna;
00051 Int_t fNbOfSamples;
00052 Int_t fRunNumber;
00053 Int_t fFirstReqEvtNumber;
00054 Int_t fLastReqEvtNumber;
00055 Int_t fReqNbOfEvts;
00056 Int_t fStex;
00057
00058 time_t fStartTime;
00059 time_t fStopTime;
00060 TString fStartDate;
00061 TString fStopDate;
00062
00063 Int_t fRunType;
00064
00065
00066 Int_t fStinNumbersCalc;
00067 Int_t fNbOfEvtsCalc;
00068
00069 Int_t fAdcEvtCalc;
00070 Int_t fMSpCalc;
00071 Int_t fSSpCalc;
00072 Int_t fAvTnoCalc;
00073 Int_t fAvLfnCalc;
00074 Int_t fAvHfnCalc;
00075
00076 Int_t fCovCssCalc;
00077 Int_t fCorCssCalc;
00078 Int_t fHfCovCalc;
00079 Int_t fHfCorCalc;
00080 Int_t fLfCovCalc;
00081 Int_t fLfCorCalc;
00082 Int_t fLFccMoStinsCalc;
00083 Int_t fHFccMoStinsCalc;
00084 Int_t fPedCalc;
00085 Int_t fTnoCalc;
00086 Int_t fMeanCorssCalc;
00087 Int_t fLfnCalc;
00088 Int_t fHfnCalc;
00089 Int_t fSigCorssCalc;
00090
00091 Int_t fAvPedCalc;
00092 Int_t fAvMeanCorssCalc;
00093 Int_t fAvSigCorssCalc;
00094
00095
00096 TEcnaHeader();
00097 TEcnaHeader(TEcnaObject*, const Text_t*, const Text_t*);
00098
00099 ~TEcnaHeader();
00100
00101
00102
00103
00104
00105
00106
00107 void HeaderParameters( TString, const Int_t&, const Int_t&,
00108 const Int_t&, const Int_t&, const Int_t&, const Int_t&);
00109 void HeaderParameters( TString, const Int_t&, const Int_t&,
00110 const Int_t&, const Int_t&, const Int_t&, const Int_t&, const Int_t&);
00111
00112 void Print();
00113 ClassDef(TEcnaHeader,1)
00114 };
00115 #endif