#include <AliTenderSupply.h>
+class TObjArray;
class AliESDpid;
class AliSplineFit;
class AliGRPObject;
virtual ~AliTPCTenderSupply(){;}
void SetGainCorrection(Bool_t gainCorr) {fGainCorrection=gainCorr;}
+ void SetDebugLevel(Int_t level) {fDebugLevel=level;}
+ void SetMip(Double_t mip) {fMip=mip;}
+ void SetResponseFunctions(TObjArray *arr) {fArrPidResponseMaster=arr;}
virtual void Init();
virtual void ProcessEvent();
AliSplineFit *fGainOld; //! Old gain correction
Bool_t fGainCorrection; //Perform gain correction
+ Bool_t fPcorrection; //!Perform pressure correction
+ TObjArray *fArrPidResponseMaster; //array with gain curves
+
+ Int_t fDebugLevel; //debug level
+ Double_t fMip; //mip position
+
AliGRPObject *fGRP; //!GRP for pressure temperature correction
void SetSplines();
Double_t GetGainCorrection();
+ void SetParametrisation();
+
AliTPCTenderSupply(const AliTPCTenderSupply&c);
AliTPCTenderSupply& operator= (const AliTPCTenderSupply&c);