]>
Commit | Line | Data |
---|---|---|
95eeb3be | 1 | // |
2 | // Class AliRsnCutRange | |
3 | // | |
4 | // General implementation of cuts which check a value inside a range. | |
5 | // This range can be defined by two integers or two doubles. | |
6 | // A user-friendly enumeration allows to define what is checked. | |
7 | // | |
8 | // authors: Martin Vala (martin.vala@cern.ch) | |
9 | // Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it) | |
10 | // | |
11 | ||
12 | #ifndef ALIRSNTOFCORRECTIONESD_H | |
13 | #define ALIRSNTOFCORRECTIONESD_H | |
14 | ||
15 | #include "AliESDpid.h" | |
16 | ||
17 | class AliTOFT0maker; | |
18 | class AliTOFcalib; | |
19 | class AliESDEvent; | |
20 | ||
7356f978 | 21 | class AliRsnTOFCorrectionESD : public TObject { |
22 | public: | |
23 | ||
24 | AliRsnTOFCorrectionESD(Bool_t isMC, Double_t tofRes = 100.0); | |
25 | AliRsnTOFCorrectionESD(const AliRsnTOFCorrectionESD& copy); | |
26 | AliRsnTOFCorrectionESD& operator=(const AliRsnTOFCorrectionESD& copy); | |
27 | virtual ~AliRsnTOFCorrectionESD() { if (fOwnESDpid) delete fESDpid; } | |
28 | ||
29 | AliESDpid* ESDpid() {return fESDpid;} | |
30 | void SetMC(Bool_t yn = kTRUE) {fgTOFtuneMC = yn;} | |
31 | void SetESDpid(AliESDpid *pid) {fESDpid = pid; fOwnESDpid = kFALSE;} | |
32 | void ProcessEvent(AliESDEvent *esd); | |
33 | ||
34 | private: | |
35 | ||
36 | Bool_t fOwnESDpid; // to know if the object is owned or passed | |
37 | AliESDpid *fESDpid; // PID utility for ESD | |
38 | ||
39 | //static Bool_t fgTOFcalibrateESD; //! TOF settings | |
40 | static Bool_t fgTOFcorrectTExp; //! TOF settings | |
41 | static Bool_t fgTOFuseT0; //! TOF settings | |
42 | static Bool_t fgTOFtuneMC; //! TOF settings | |
43 | static Double_t fgTOFresolution; //! TOF settings | |
44 | static AliTOFT0maker *fgTOFmaker; //! TOF time0 computator | |
45 | static AliTOFcalib *fgTOFcalib; //! TOF calibration | |
46 | static Int_t fgLastRun; //! last run number | |
47 | ||
48 | ClassDef(AliRsnTOFCorrectionESD, 1) | |
95eeb3be | 49 | }; |
50 | ||
51 | #endif |