correct mask for V0 charge decoding in STU payload
[u/mrichter/AliRoot.git] / VZERO / AliVZEROTriggerMask.h
CommitLineData
2647fc37 1#ifndef ALIVZEROTRIGGERMASK_H
2#define ALIVZEROTRIGGERMASK_H
a055ee24 3
4///_________________________________________________________________________
5///
6/// Auxiliary classs to compute the VZERO Trigger
7///_________________________________________________________________________
8
9#include <TObject.h>
7bf5b178 10
2647fc37 11class TTree;
12class TClonesArray;
b44c933e 13class AliESDVZERO;
14class AliVZEROCalibData;
7bf5b178 15class AliVZERORecoParam;
a055ee24 16
17class AliVZEROTriggerMask : public TObject
18{
19 public:
20 AliVZEROTriggerMask(); // constructor
21 virtual ~AliVZEROTriggerMask(){} // destructor
22
b44c933e 23 void FillMasks(AliESDVZERO *esdV0,
24 AliVZEROCalibData *cal,
25 TF1 *slewing);
a055ee24 26 Double_t GetZPosition(const char* symname);
27
7bf5b178 28 void SetRecoParam(const AliVZERORecoParam *param) { fRecoParam = param; }
29 const AliVZERORecoParam* GetRecoParam() const
30 {
31 if (!fRecoParam) {
32 AliFatal("Reco-param object is not set!");
33 return NULL;
34 }
35 return fRecoParam;
36 }
a055ee24 37
38private:
7bf5b178 39 AliVZEROTriggerMask(const AliVZEROTriggerMask& mask);
40 AliVZEROTriggerMask& operator = (const AliVZEROTriggerMask& mask);
b44c933e 41
42 Float_t fV0ADist; // Z position of V0A
43 Float_t fV0CDist; // Z position of V0C
7bf5b178 44 const AliVZERORecoParam* fRecoParam; //! Pointer to VZERO reco-param object
b44c933e 45
7bf5b178 46 ClassDef( AliVZEROTriggerMask, 3 ) // VZERO Trigger Detector class
a055ee24 47};
48
2647fc37 49#endif // ALIVZEROTRIGGERMASK_H