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};
37 AliADQADataMakerRec() ; // constructor
38 AliADQADataMakerRec(const AliADQADataMakerRec& qadm) ;
39 AliADQADataMakerRec& operator = (const AliADQADataMakerRec& qadm) ;
40 virtual ~AliADQADataMakerRec() {;} // destructor
41 AliADCalibData *GetCalibData() const;
42 virtual void InitRaws() ;
45 AliADCalibData *fCalibData; //! calibration data
48 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list) ;
49 virtual void InitESDs() ;
50 virtual void InitDigits();
51 virtual void MakeESDs(AliESDEvent * esd) ;
52 virtual void MakeRaws(AliRawReader* rawReader) ;
53 virtual void MakeDigits() ;
54 virtual void MakeDigits(TTree* digitTree) ;
55 virtual void StartOfDetectorCycle() ;
56 Float_t CorrectLeadingTime(Int_t i, Float_t time, Float_t adc) const;
58 Int_t fEven[64]; // even charge integrators
59 Int_t fOdd[64]; // odd charge intergators
60 Float_t fADCmean[128]; // mean adc per integrator
61 size_t fTrendingUpdateTime; // trending histos update time
62 UInt_t fCycleStartTime; // timestamp of QA start-of-cycle
63 UInt_t fCycleStopTime; // timestamp of QA end-of-cycle
64 Float_t fTimeOffset[64]; //! HPTDC time offsets channel by channel
65 TF1* fTimeSlewing; //! Function for time slewing correction
67 ClassDef(AliADQADataMakerRec,4) // description
71 #endif // AliADQADATAMAKERREC_H