///////////////////////////////////////////////////////////////////////////////
-#include "TObject.h"
+#include "AliDetectorRecoParam.h"
-class AliTOFRecoParam : public TObject
+#include "AliTOFGeometry.h"
+
+class AliTOFRecoParam : public AliDetectorRecoParam
{
public:
AliTOFRecoParam();
+ AliTOFRecoParam(const AliTOFRecoParam &p); //Copy Ctor
+ AliTOFRecoParam& operator=(const AliTOFRecoParam &p); // ass. op.
virtual ~AliTOFRecoParam();
+
+ virtual void PrintParameters() const;
+
//Getters
Bool_t UseTimeZero() const { return fTimeZero;}
Bool_t GetTimeZerofromT0() const { return fTimeZerofromT0;}
Float_t GetSensRadius() const { return fSensRadius;}
Float_t GetStepSize() const { return fStepSize;}
Double_t GetMaxChi2() const { return fMaxChi2;}
+ Double_t GetMaxChi2TRD() const { return fMaxChi2TRD;}
Double_t GetTimeResolution() const { return fTimeResolution;}
Double_t GetTimeNSigma() const { return fTimeNSigma;}
+ Int_t GetMaxDeltaTime() const { return fMaxDeltaTime;}
+ Int_t GetStartTimeType() const { return fStartTimeType;}
//Setters
void SetSensRadius(Float_t in) {fSensRadius=in;}
void SetStepSize(Float_t in) {fStepSize=in;}
void SetMaxChi2(Double_t in) {fMaxChi2=in;}
+ void SetMaxChi2TRD(Double_t in) {fMaxChi2TRD=in;}
void SetTimeResolution(Double_t in) {fTimeResolution=in;}
void SetTimeNSigma(Double_t in) {fTimeNSigma=in;}
+ void SetMaxDeltaTime(Int_t a) {fMaxDeltaTime = a;}; // to set deltaTime [bin number]
+ void SetMaxDeltaTime(Float_t a) {fMaxDeltaTime = (Int_t)(a/AliTOFGeometry::TdcBinWidth());}; // to set deltaTime [ps]
+ void SetStartTimeType(Int_t a) {fStartTimeType = a;};
- static AliTOFRecoParam *GetPbPbparam(); // reco param for PbPb.
- static AliTOFRecoParam *GetPPparam(); // reco param for PP
+ static AliTOFRecoParam *GetPbPbparam(); // reco param for PbPb.
+ static AliTOFRecoParam *GetPPparam(); // reco param for PP
private:
Bool_t fTimeZero; //use Time Zero info in Pid
Float_t fDistanceCut; // cut on the closest approach distance
Float_t fSensRadius; // Average radius of sensitive volumes (cm)
Float_t fStepSize; // Propagation step size (cm)
- Double_t fMaxChi2; // maximum X2 out of the TRD
+ Double_t fMaxChi2; // maximum X2 track-tof clusters
+ Double_t fMaxChi2TRD; // maximum X2 track-tof clusters (TRD)
Double_t fTimeResolution; // Time resolution for resp. function in PID (ps)
Double_t fTimeNSigma; // N-Sigma Range used for resp. function in PID
+ Int_t fMaxDeltaTime; // max time difference in between two tof
+ // measurements for two neighbouring pads
+ // [number of bins]
+ Int_t fStartTimeType; // flag to set start_time to be used for TOF PID
- ClassDef(AliTOFRecoParam, 1)
+ ClassDef(AliTOFRecoParam, 5)
};
#endif