]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/TenderSupplies/AliTRDTenderSupply.h
Corrections for test mode of the plugin in proof.
[u/mrichter/AliRoot.git] / ANALYSIS / TenderSupplies / AliTRDTenderSupply.h
CommitLineData
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
17class AliTRDTenderSupply: public AliTenderSupply {
18
19public:
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
30private:
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