Coverity fix for uninitialized variables and check for returned null value
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerQADataMakerRec.h
CommitLineData
ece56eb9 1#ifndef ALIMUONTRIGGERQADATAMAKERREC_H
2#define ALIMUONTRIGGERQADATAMAKERREC_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6// $Id$
7
8/// \ingroup rec
9/// \class AliMUONTriggerQADataMakerRec
10/// \brief MUON Quality assurance data maker for MTR
11///
12
13// --- AliRoot header files ---
14#include "AliMUONVQADataMakerRec.h"
15
16class AliMUONCalibrationData;
17class AliMUONDigitMaker;
18class AliMUONVClusterStore;
19class AliMUONTriggerElectronics;
20class AliMUONVDigitStore;
21class TObjectArray;
22class TMap;
23class AliMpDCSNamer;
a026ce9e 24class AliMUONVTriggerStore;
25class AliMUONGlobalTrigger;
ece56eb9 26
27class AliMUONTriggerQADataMakerRec: public AliMUONVQADataMakerRec {
28
29public:
30 AliMUONTriggerQADataMakerRec(AliQADataMakerRec* master);
31 virtual ~AliMUONTriggerQADataMakerRec();
32
33 virtual void InitRaws();
34 virtual void InitRecPoints();
35 virtual void InitDigits();
36 virtual void InitESDs();
37
38 void EndOfDetectorCycleRaws(Int_t specie, TObjArray** list);
39 void EndOfDetectorCycleRecPoints(Int_t specie, TObjArray** list);
40 void EndOfDetectorCycleESDs(Int_t specie, TObjArray** list);
3e1866ad 41
42 /// Empty implementation
ece56eb9 43 void EndOfDetectorCycleDigits(Int_t , TObjArray** ) {}
44
45 virtual void MakeRaws(AliRawReader* rawReader);
46
47 virtual void MakeDigits(TTree* dig);
48 virtual void MakeRecPoints(TTree* recpo);
49 virtual void MakeESDs(AliESDEvent* esd) ;
50
bbeb95a9 51 void ResetDetectorRaws(TObjArray* list);
52
ece56eb9 53private:
3e1866ad 54 /// Not implemented
ece56eb9 55 AliMUONTriggerQADataMakerRec(const AliMUONTriggerQADataMakerRec& qadm);
3e1866ad 56 /// Not implemented
ece56eb9 57 AliMUONTriggerQADataMakerRec& operator=(const AliMUONTriggerQADataMakerRec& qadm);
58
ac09753d 59 void DisplayTriggerInfo(Int_t itc);
60 void FillRatio4434Histos(Int_t evtInterval, Int_t itc, Bool_t isEndOfCycle);
ece56eb9 61 Bool_t FillTriggerDCSHistos();
62 TObjArray* GetDCSValues(Int_t iMeas, Int_t detElemId,
63 TMap* triggerDcsMap, AliMpDCSNamer& triggerDcsNamer);
a026ce9e 64 UChar_t RawTriggerInGlobal2OutGlobal(UInt_t globalInput[4]);
9f3f7bb6 65 void RawTriggerMatchOutLocal();
a026ce9e 66 //void RawTriggerMatchOutLocalInRegional();
c39cf12d 67 void RawTriggerMatchOutGlobal(AliMUONGlobalTrigger& inputLocalTrigger,
68 AliMUONGlobalTrigger& recoGlobalTrigger,
203ce87e 69 Char_t histo);
70 AliMUONTriggerElectronics* TriggerElectronics();
e35bc8c6 71 AliMUONCalibrationData* CalibrationData();
a026ce9e 72
73 //Int_t fTriggerOutputRegionalData[16]; ///< Data Regional Trigger decision for each Regional Board (1R:0, 2R:1, ... , 1L:8, ...) -> 4 bits LPt, 4 bits HPt
74 //Int_t fTriggerInputRegionalRecLPt[2][16][16]; ///< Reconstructed Regional Input LPt for each Regional Board ([bit][reg][loc]) (reg -> 1R:0, 2R:1, ... , 1L:8, ...)
75 //Int_t fTriggerInputRegionalRecHPt[2][16][16]; ///< Reconstructed Regional Input HPt for each Regional Board ([bit][reg][loc]) (reg -> 1R:0, 2R:1, ... , 1L:8, ...)
76 //Int_t fTriggerOutputRegionalRec[16]; ///< Reconstructed Regional Trigger decision for each Regional Board (8 Bits)
77
78 //Int_t fTriggerInputGlobalDataLPt[16][4]; ///< Data Global inputs LPt (1R:0, 2R:1, ... , 1L:8, ...)
79 //Int_t fTriggerInputGlobalDataHPt[16][4]; ///< Data Global inputs HPt (1R:0, 2R:1, ... , 1L:8, ...)
80 //Int_t fTriggerOutputGlobalRecFromLocalInput[6]; //< Reconstructed Global outputs from Local inputs
81 //Int_t fTriggerOutputGlobalRecFromLocalOutput[6]; //< Reconstructed Global outputs from Local outputs
c39cf12d 82
83 static const Int_t fgkUpdateRatio4434=50; ///< Event interval between 2 update of the Ratio4434 histos
ece56eb9 84
85 AliMUONDigitMaker* fDigitMaker; //!< pointer to digit maker
86 AliMUONCalibrationData* fCalibrationData; //!< Used to load Local, Regional and Global masks
87 AliMUONTriggerElectronics* fTriggerProcessor; //!< trigger processore to re-compute response
88 AliMUONVDigitStore* fDigitStore; //!< pointer to digits store
9f3f7bb6 89 AliMUONVDigitStore* fDigitStoreFromRaw; //!< pointer to digit store from RAW data
90 AliMUONVTriggerStore* fTriggerStoreFromRaw; //!< pointer to trigger store from input RAW data
91 AliMUONVTriggerStore* fTriggerStoreReprocessRaw; //!< pointer to trigger store from re-computed RAW data
ece56eb9 92
9f3f7bb6 93 ClassDef(AliMUONTriggerQADataMakerRec,2) // MUON Quality assurance data maker
ece56eb9 94
95};
96
97#endif