]>
Commit | Line | Data |
---|---|---|
a6f3cc02 | 1 | #ifndef ALIADQADATAMAKERREC_H |
2 | #define ALIADQADATAMAKERREC_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | // Produces the data needed to calculate the quality assurance | |
8 | // All data must be mergeable objects | |
9 | // Handles ESDs and RAWs | |
10 | // Histos will be used for Raw Data control and monitoring | |
11 | ||
12 | // --- ROOT system --- | |
13 | class TH1F; | |
14 | class TH1I; | |
15 | class TObjArray; | |
16 | ||
17 | // --- Standard library --- | |
18 | ||
19 | // --- AliRoot header files --- | |
20 | #include "AliQADataMakerRec.h" | |
21 | ||
22 | class AliCDBManager; | |
23 | class AliCDBStorage; | |
24 | class AliADCalibData; | |
25 | ||
26 | class AliADQADataMakerRec: public AliQADataMakerRec { | |
27 | ||
28 | public: | |
29 | // Histograms for Raw data control | |
30 | enum HRawType_t {kPedestalInt0,kPedestalInt1, | |
31 | kChargeEoI,kChargeEoIInt0,kChargeEoIInt1, | |
32 | kWidth,kHPTDCTime, | |
33 | kMultiADA,kMultiADC,kChargeADA,kChargeADC,kChargeAD, | |
69e96215 | 34 | kADATime,kADCTime,kDiffTime,kTimeADAADC, |
b8cf9c79 | 35 | kNCoincADA,kNCoincADC,kPairDiffTime,kPairDiffCharge}; |
a6f3cc02 | 36 | |
37 | public: | |
38 | AliADQADataMakerRec() ; // constructor | |
39 | AliADQADataMakerRec(const AliADQADataMakerRec& qadm) ; | |
40 | AliADQADataMakerRec& operator = (const AliADQADataMakerRec& qadm) ; | |
41 | virtual ~AliADQADataMakerRec() {;} // destructor | |
42 | AliADCalibData *GetCalibData() const; | |
43 | virtual void InitRaws() ; | |
44 | ||
45 | protected: | |
46 | AliADCalibData *fCalibData; //! calibration data | |
47 | ||
48 | private: | |
49 | virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list) ; | |
50 | virtual void InitESDs() ; | |
51 | virtual void InitDigits(); | |
52 | virtual void MakeESDs(AliESDEvent * esd) ; | |
53 | virtual void MakeRaws(AliRawReader* rawReader) ; | |
54 | virtual void MakeDigits() ; | |
55 | virtual void MakeDigits(TTree* digitTree) ; | |
56 | virtual void StartOfDetectorCycle() ; | |
57 | Float_t CorrectLeadingTime(Int_t i, Float_t time, Float_t adc) const; | |
58 | ||
69e96215 | 59 | Int_t fEven[16]; // even charge integrators |
60 | Int_t fOdd[16]; // odd charge intergators | |
61 | Float_t fADCmean[32]; // mean adc per integrator | |
a6f3cc02 | 62 | size_t fTrendingUpdateTime; // trending histos update time |
63 | UInt_t fCycleStartTime; // timestamp of QA start-of-cycle | |
64 | UInt_t fCycleStopTime; // timestamp of QA end-of-cycle | |
69e96215 | 65 | Float_t fTimeOffset[16]; //! HPTDC time offsets channel by channel |
a6f3cc02 | 66 | TF1* fTimeSlewing; //! Function for time slewing correction |
67 | ||
68 | ClassDef(AliADQADataMakerRec,4) // description | |
69 | ||
70 | }; | |
71 | ||
72 | #endif // AliADQADATAMAKERREC_H |