]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/TenderSupplies/AliTPCTenderSupply.h
Doxygen documentation fixes
[u/mrichter/AliRoot.git] / ANALYSIS / TenderSupplies / AliTPCTenderSupply.h
CommitLineData
e75408ba 1#ifndef ALITPCTENDERSUPPLY_H
2#define ALITPCTENDERSUPPLY_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
ee981ab3 17class TObjArray;
e75408ba 18class AliESDpid;
19class AliSplineFit;
20class AliGRPObject;
21
22class AliTPCTenderSupply: public AliTenderSupply {
23
24public:
25 AliTPCTenderSupply();
26 AliTPCTenderSupply(const char *name, const AliTender *tender=NULL);
27
28 virtual ~AliTPCTenderSupply(){;}
29
30 void SetGainCorrection(Bool_t gainCorr) {fGainCorrection=gainCorr;}
f19a0c5e 31 void SetDebugLevel(Int_t level) {fDebugLevel=level;}
32 void SetMip(Double_t mip) {fMip=mip;}
ee981ab3 33 void SetResponseFunctions(TObjArray *arr) {fArrPidResponseMaster=arr;}
e75408ba 34
35 virtual void Init();
36 virtual void ProcessEvent();
37
38private:
39 AliESDpid *fESDpid; //! ESD pid object
40 AliSplineFit *fGainNew; //! New gain correction
41 AliSplineFit *fGainOld; //! Old gain correction
42
43 Bool_t fGainCorrection; //Perform gain correction
f19a0c5e 44 Bool_t fPcorrection; //!Perform pressure correction
ee981ab3 45 TObjArray *fArrPidResponseMaster; //array with gain curves
f19a0c5e 46
47 Int_t fDebugLevel; //debug level
48 Double_t fMip; //mip position
49
e75408ba 50 AliGRPObject *fGRP; //!GRP for pressure temperature correction
51
52 void SetSplines();
53 Double_t GetGainCorrection();
54
ee981ab3 55 void SetParametrisation();
56
e75408ba 57 AliTPCTenderSupply(const AliTPCTenderSupply&c);
58 AliTPCTenderSupply& operator= (const AliTPCTenderSupply&c);
59
60 ClassDef(AliTPCTenderSupply, 1); // TPC tender task
61};
62
63
64#endif
65