]>
Commit | Line | Data |
---|---|---|
a1f96974 | 1 | #ifndef ALIAODTZERO_H |
2 | #define ALIAODTZERO_H | |
3 | ||
4 | //------------------------------------------------------------------------- | |
5 | // Container class for AOD TZERO data | |
6 | // Author: Filip Krizek | |
7 | // filip.krizek@cern.ch 18/11/2011 | |
8 | //------------------------------------------------------------------------- | |
9 | ||
10 | #include <TObject.h> | |
11 | ||
12 | class AliAODTZERO : public TObject | |
13 | { | |
14 | public: | |
15 | AliAODTZERO(); | |
16 | AliAODTZERO(const AliAODTZERO& source); | |
17 | AliAODTZERO &operator=(const AliAODTZERO& source); | |
18 | ||
19 | virtual ~AliAODTZERO() {}; | |
20 | ||
21 | // Getters | |
22 | //1st | |
23 | Double32_t GetT0TOF(Int_t i) const {return fT0TOF[i];} | |
24 | const Double32_t * GetT0TOF() const {return fT0TOF;} | |
25 | //best | |
26 | Double32_t GetT0TOFbest(Int_t i) const {return fT0TOFbest[i];} | |
27 | const Double32_t * GetT0TOFbest() const {return fT0TOFbest;} | |
28 | ||
29 | Bool_t GetBackgroundFlag() const {return fBackground;} | |
30 | Bool_t GetPileupFlag() const {return fPileup;} | |
31 | Bool_t GetSatellite() const {return fSattelite;} | |
32 | ||
33 | //Setters | |
34 | void SetT0TOF(Int_t icase, Double32_t time) { fT0TOF[icase] = time;} | |
35 | void SetT0TOFbest(Int_t icase, Double32_t time) { fT0TOFbest[icase] = time;} | |
36 | ||
37 | void SetBackgroundFlag(Bool_t back = false) {fBackground = back;} | |
38 | void SetPileupFlag(Bool_t back = false) {fPileup = back;} | |
39 | void SetSatelliteFlag(Bool_t sat = false) { fSattelite = sat;} | |
40 | ||
41 | ||
42 | ||
43 | protected: | |
44 | Double32_t fT0TOF[3]; // interaction time in ps with 1st time( A&C, A, C) | |
45 | Bool_t fPileup; // pile-up flag | |
46 | Bool_t fSattelite; // sattelite flag | |
47 | Bool_t fBackground; // sattelite flag | |
48 | Double32_t fT0TOFbest[3];// interaction time in ps ( A&C, A, C) with best time | |
49 | ||
50 | ClassDef(AliAODTZERO,1) | |
51 | }; | |
52 | ||
53 | #endif |