]>
Commit | Line | Data |
---|---|---|
e75408ba | 1 | #ifndef ALITRDTENDERSUPPLY_H |
2 | #define ALITRDTENDERSUPPLY_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | //////////////////////////////////////////////////////////////////////// | |
8 | // // | |
9 | // TRD tender, reapply pid on the fly // | |
10 | // // | |
11 | //////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | ||
14 | ||
15 | #include <AliTenderSupply.h> | |
16 | ||
17 | class AliTRDTenderSupply: public AliTenderSupply { | |
18 | ||
19 | public: | |
20 | AliTRDTenderSupply(); | |
21 | AliTRDTenderSupply(const char *name, const AliTender *tender=NULL); | |
22 | virtual ~AliTRDTenderSupply(); | |
23 | ||
24 | void SetPIDmethod(Int_t pidMethod) { fPIDmethod = pidMethod; } | |
25 | ||
26 | virtual void Init(); | |
27 | virtual void ProcessEvent(); | |
28 | ||
29 | ||
30 | private: | |
31 | enum{ | |
32 | kNNpid = 0, | |
33 | k1DLQpid = 1, | |
34 | k2DLQpid = 2 | |
35 | }; | |
36 | AliESDpid *fESDpid; //! ESD PID object | |
37 | ||
38 | Int_t fPIDmethod; // PID method | |
39 | ||
40 | AliTRDTenderSupply(const AliTRDTenderSupply&c); | |
41 | AliTRDTenderSupply& operator= (const AliTRDTenderSupply&c); | |
42 | ||
43 | ClassDef(AliTRDTenderSupply, 1); // TRD tender task | |
44 | }; | |
45 | ||
46 | ||
47 | #endif | |
48 |