]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/TenderSupplies/AliPIDTenderSupply.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / ANALYSIS / TenderSupplies / AliPIDTenderSupply.h
1 #ifndef ALIPIDTENDERSUPPLY_H
2 #define ALIPIDTENDERSUPPLY_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 //  PID tender, reapply pid on the fly                                //
10 //                                                                    //
11 ////////////////////////////////////////////////////////////////////////
12
13
14
15 #include <AliTenderSupply.h>
16
17 class AliPIDTenderSupply: public AliTenderSupply {
18   
19 public:
20   AliPIDTenderSupply();
21   AliPIDTenderSupply(const char *name, const AliTender *tender=NULL);
22   
23   virtual ~AliPIDTenderSupply(){;}
24   
25   virtual void              Init(){;}
26   virtual void              ProcessEvent();
27
28   void SetCachePID(Bool_t cachePID) { fCachePID=cachePID; }
29 private:
30   Bool_t fCachePID;                    // Cache PID values in transient object
31   
32   AliPIDTenderSupply(const AliPIDTenderSupply&c);
33   AliPIDTenderSupply& operator= (const AliPIDTenderSupply&c);
34   
35   ClassDef(AliPIDTenderSupply, 2);  // PID tender task
36 };
37
38
39 #endif
40