]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/TenderSupplies/AliTOFTenderSupply.h
First version of the TenderSupplies for TPC/TOF/TRD
[u/mrichter/AliRoot.git] / ANALYSIS / TenderSupplies / AliTOFTenderSupply.h
1 #ifndef ALITOFTENDERSUPPLY_H
2 #define ALITOFTENDERSUPPLY_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 //  TPC tender, reapply pid on the fly                                //
10 //                                                                    //
11 ////////////////////////////////////////////////////////////////////////
12
13
14
15 #include <AliTenderSupply.h>
16
17 class AliESDpid;
18 class AliTOFcalibESD;
19 class AliTOFT0makerANA;
20
21 class AliTOFTenderSupply: public AliTenderSupply {
22   
23 public:
24   AliTOFTenderSupply();
25   AliTOFTenderSupply(const char *name, const AliTender *tender=NULL);
26   
27   virtual ~AliTOFTenderSupply(){;}
28   
29   virtual void              Init();
30   virtual void              ProcessEvent();
31
32   // TOF method
33   void SetTOFres(Float_t res){fTOFres=res;}
34   
35 private:
36   AliESDpid          *fESDpid;         //! ESD pid object
37   
38   // variables for TOF calibrations
39   AliTOFcalibESD     *fTOFesdCalib;    //! recalibrate TOF signal with OCDB
40   AliTOFT0makerANA   *fTOFT0maker;     //! TOF maker objects (apply all the correction for T0)
41
42   Float_t fTOFres;                   // TOF resolution
43   
44   AliTOFTenderSupply(const AliTOFTenderSupply&c);
45   AliTOFTenderSupply& operator= (const AliTOFTenderSupply&c);
46   
47   ClassDef(AliTOFTenderSupply, 1);  // TPC tender task
48 };
49
50
51 #endif
52