Added histograms for dEdx and timing (Ruben)
[u/mrichter/AliRoot.git] / TOF / AliTOFQADataMakerRec.h
CommitLineData
55458a14 1#ifndef ALITOFQADATAMAKERREC_H
2#define ALITOFQADATAMAKERREC_H
04236e67 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6////////////////////////////////////////////////////////////////////
7// //
8// Produces the data needed to calculate the quality assurance. //
9// All data must be mergeable objects. //
10// S. Arcelli //
17f2cd01 11// //
12// /* last modified by F. Bellini on 25/02/2010 */ //
04236e67 13////////////////////////////////////////////////////////////////////
14
ea8ae424 15#include <TLine.h>
04236e67 16#include "AliQADataMakerRec.h"
17f2cd01 17#include "AliQAv1.h"
17f2cd01 18
19class AliCDBManager;
20class AliCDBEntry;
21class AliCDBStorage;
22class AliTOFChannelOnlineStatusArray;
724eb92e 23class AliTOFDecoderSummaryData;
17f2cd01 24
04236e67 25class AliTOFQADataMakerRec: public AliQADataMakerRec {
26
27public:
28 AliTOFQADataMakerRec() ; // ctor
29 AliTOFQADataMakerRec(const AliTOFQADataMakerRec& qadm) ;
30 AliTOFQADataMakerRec& operator = (const AliTOFQADataMakerRec& qadm) ;
6f972712 31 AliTOFChannelOnlineStatusArray *GetCalibData() ;
97430dfe 32 virtual ~AliTOFQADataMakerRec(); // dtor
04236e67 33
17f2cd01 34protected:
35 AliTOFChannelOnlineStatusArray * fCalibData; //! calibration data
36
04236e67 37private:
38 virtual void InitESDs() ;
39 virtual void InitRecPoints() ;
40 virtual void InitRaws() ;
32bd8225 41 virtual void MakeESDs(AliESDEvent * const esd) ;
04236e67 42 virtual void MakeRecPoints(TTree * recTree) ;
43 virtual void MakeRaws(AliRawReader* rawReader) ;
44 virtual void StartOfDetectorCycle() ;
4e25ac79 45 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list) ;
32bd8225 46 virtual void GetMapIndeces(const Int_t * const in, Int_t *out) ;
5f144062 47 Int_t GetStripIndex(const Int_t * const in);
17f2cd01 48 virtual void EnableNoiseFiltering(Bool_t enable){fEnableNoiseFiltering = enable;};
5f144062 49 virtual void EnableDqmShifterOpt(Bool_t enable){ fEnableDqmShifterOpt = enable;};
32bd8225 50 Bool_t CheckVolumeID(const Int_t * const equipmentID);
51 Bool_t CheckEquipID( const Int_t * const equipmentID);
5f144062 52 Bool_t FilterLTMData(const Int_t * const equipmentID) const ;
53 Bool_t FilterSpare( const Int_t * const equipmentID) const ;
724eb92e 54 // void ResetAllTRMcounters();
5f144062 55 Bool_t fEnableNoiseFiltering; //the choice is not implemented so far
56 Bool_t fEnableDqmShifterOpt; // draw option flag to help
57 // DQM shifter in the
58 // interpretation of the TOF
59 // raw QA histograms
724eb92e 60
92664bc8 61 // Int_t fProcessedRawEventN; // number of processed rawData events
724eb92e 62 Bool_t fIsSOC; //flag for StartOfCycle operations
ea8ae424 63 //lines for the DQM GUI
64 TLine* fLineExpTimeMin;
65 TLine* fLineExpTimeMax;
66 TLine* fLineExpTotMin;
67 TLine* fLineExpTotMax;
724eb92e 68 TLine* fLineSMid[17];
69
6f972712 70 AliTOFRawStream fTOFRawStream; // AliTOFRawStream variable
71 AliTOFDecoderSummaryData * fDecoderSummary; //pointer to decoder summary data object
72 Int_t fRunNumber;
73 ClassDef(AliTOFQADataMakerRec,7) // description
724eb92e 74
04236e67 75};
76
55458a14 77#endif // ALITOFQADATAMAKERREC_H