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 */
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
12 // --- ROOT system ---
17 // --- Standard library ---
19 // --- AliRoot header files ---
20 #include "AliQADataMakerRec.h"
26 class AliADQADataMakerRec: public AliQADataMakerRec {
29 // Histograms for Raw data control
30 enum HRawType_t {kPedestalInt0,kPedestalInt1,
31 kChargeEoI,kChargeEoIInt0,kChargeEoIInt1,
33 kMultiADA,kMultiADC,kChargeADA,kChargeADC,kChargeAD,
34 kADATime,kADCTime,kDiffTime,kTimeADAADC,
35 kNCoincADA,kNCoincADC,kPairDiffTime};
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() ;
46 AliADCalibData *fCalibData; //! calibration data
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;
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
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
65 Float_t fTimeOffset[16]; //! HPTDC time offsets channel by channel
66 TF1* fTimeSlewing; //! Function for time slewing correction
68 ClassDef(AliADQADataMakerRec,4) // description
72 #endif // AliADQADATAMAKERREC_H