1 #ifndef ALITOFQADATAMAKERREC_H
2 #define ALITOFQADATAMAKERREC_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ////////////////////////////////////////////////////////////////////
8 // Produces the data needed to calculate the quality assurance. //
9 // All data must be mergeable objects. //
12 // /* last modified by F. Bellini on 25/02/2010 */ //
13 ////////////////////////////////////////////////////////////////////
16 #include "AliQADataMakerRec.h"
22 class AliTOFChannelOnlineStatusArray;
23 class AliTOFDecoderSummaryData;
25 class AliTOFQADataMakerRec: public AliQADataMakerRec {
28 AliTOFQADataMakerRec() ; // ctor
29 AliTOFQADataMakerRec(const AliTOFQADataMakerRec& qadm) ;
30 AliTOFQADataMakerRec& operator = (const AliTOFQADataMakerRec& qadm) ;
31 AliTOFChannelOnlineStatusArray *GetCalibData() const;
32 virtual ~AliTOFQADataMakerRec(); // dtor
35 AliTOFChannelOnlineStatusArray * fCalibData; //! calibration data
38 virtual void InitESDs() ;
39 virtual void InitRecPoints() ;
40 virtual void InitRaws() ;
41 virtual void MakeESDs(AliESDEvent * const esd) ;
42 virtual void MakeRecPoints(TTree * recTree) ;
43 virtual void MakeRaws(AliRawReader* rawReader) ;
44 virtual void StartOfDetectorCycle() ;
45 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list) ;
46 virtual void GetMapIndeces(const Int_t * const in, Int_t *out) ;
47 Int_t GetStripIndex(const Int_t * const in);
48 virtual void EnableNoiseFiltering(Bool_t enable){fEnableNoiseFiltering = enable;};
49 virtual void EnableDqmShifterOpt(Bool_t enable){ fEnableDqmShifterOpt = enable;};
50 Bool_t CheckVolumeID(const Int_t * const equipmentID);
51 Bool_t CheckEquipID( const Int_t * const equipmentID);
52 Bool_t FilterLTMData(const Int_t * const equipmentID) const ;
53 Bool_t FilterSpare( const Int_t * const equipmentID) const ;
54 // void ResetAllTRMcounters();
55 Bool_t fEnableNoiseFiltering; //the choice is not implemented so far
56 Bool_t fEnableDqmShifterOpt; // draw option flag to help
58 // interpretation of the TOF
61 // Int_t fProcessedRawEventN; // number of processed rawData events
62 Bool_t fIsSOC; //flag for StartOfCycle operations
63 //lines for the DQM GUI
64 TLine* fLineExpTimeMin;
65 TLine* fLineExpTimeMax;
66 TLine* fLineExpTotMin;
67 TLine* fLineExpTotMax;
70 AliTOFRawStream fTOFRawStream; // AliTOFRawStream variable
71 //counters for TRM - usage disabled
72 /* Short_t fTRMNoisyArray[720]; */
73 /* Short_t fTRMHwOkArray[720]; */
74 /* Short_t fTRMEnabledArray[720]; */
76 AliTOFDecoderSummaryData * fDecoderSummary;
78 ClassDef(AliTOFQADataMakerRec,6) // description
82 #endif // ALITOFQADATAMAKERREC_H