File indexing completed on 2023-03-17 10:41:01
0001 #ifndef ROOT_TEcnaResultType
0002 #define ROOT_TEcnaResultType
0003
0004 #include "TMath.h"
0005
0006 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaObject.h"
0007 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaNArrayD.h"
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 enum CnaResultTyp {
0025 cTypNumbers,
0026 cTypMSp,
0027 cTypSSp,
0028 cTypAvTno,
0029 cTypAvLfn,
0030 cTypAvHfn,
0031 cTypHfCov,
0032 cTypHfCor,
0033 cTypCovCss,
0034 cTypCorCss,
0035 cTypMeanCorss,
0036 cTypSigCorss,
0037 cTypAvPed,
0038 cTypAvMeanCorss,
0039 cTypAvSigCorss,
0040 cTypNbOfEvts,
0041 cTypPed,
0042 cTypTno,
0043 cTypLfn,
0044 cTypHfn,
0045 cTypAdcEvt,
0046 cTypLfCov,
0047 cTypLfCor,
0048 cTypLFccMoStins,
0049 cTypHFccMoStins,
0050 cTypEvtNbInLoop
0051 };
0052
0053 class TEcnaResultType : public TObject {
0054 protected:
0055 public:
0056 CnaResultTyp fTypOfCnaResult;
0057 Int_t fIthElement;
0058 Int_t fUserChannel;
0059 TEcnaNArrayD fMatMat;
0060 TEcnaNArrayD fMatHis;
0061
0062 TEcnaResultType();
0063 TEcnaResultType(TEcnaObject*);
0064
0065 ~TEcnaResultType() override;
0066 void SetSizeMat(Int_t, Int_t);
0067 void SetSizeHis(Int_t, Int_t);
0068
0069 CnaResultTyp GetTypOfEntry(Int_t);
0070
0071 ClassDefOverride(TEcnaResultType, 1)
0072 };
0073 #endif