]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFRecoParam.cxx
Adding PiKP-only resolution histograms and switch to turn off many histograms which...
[u/mrichter/AliRoot.git] / TOF / AliTOFRecoParam.cxx
index 93d0eaee1359b533bab1d8cc56c8135c81eb4c54..25c2c391492a84fdf6274241e8d703a916fce1b8 100644 (file)
@@ -46,7 +46,8 @@ AliTOFRecoParam::AliTOFRecoParam():
   fMaxChi2TRD(150.),
   fTimeResolution(80.),
   fTimeNSigma(5.),
-  fMaxDeltaTime(2)
+  fMaxDeltaTime(2),
+  fStartTimeType(1)// 1 -> AliESDpid::kTOF_T0
 {
   //
   // constructor
@@ -71,7 +72,8 @@ AliTOFRecoParam::AliTOFRecoParam(const AliTOFRecoParam &p):
   fMaxChi2TRD(p.fMaxChi2TRD),
   fTimeResolution(p.fTimeResolution),
   fTimeNSigma(p.fTimeNSigma),
-  fMaxDeltaTime(p.fMaxDeltaTime)
+  fMaxDeltaTime(p.fMaxDeltaTime),
+  fStartTimeType(p.fStartTimeType)
  { 
   //copy Ctor
 
@@ -104,6 +106,7 @@ AliTOFRecoParam& AliTOFRecoParam::operator=(const AliTOFRecoParam &p)
   fTimeResolution=p.fTimeResolution;
   fTimeNSigma=p.fTimeNSigma;   
   fMaxDeltaTime=p.fMaxDeltaTime;
+  fStartTimeType=p.fStartTimeType;
   return *this;
 }
 //_____________________________________________________________________________
@@ -173,6 +176,6 @@ void AliTOFRecoParam::PrintParameters() const
               " coming from two (or more) neighbouring pads"
               " to define if they are coming from the same ionization event"
               " or not: %2d bins -> %f ps",
-              fMaxDeltaTime, fMaxDeltaTime*AliTOFGeometry::TdcBinWidth()))
+              fMaxDeltaTime, fMaxDeltaTime*AliTOFGeometry::TdcBinWidth()));
 
 }