#include "AliTOFdigit.h"
#include "AliTOFDigitMap.h"
#include "AliTOFrawData.h"
+#include "AliTOFReconstructor.h"
+#include "AliTOFRecoParam.h"
ClassImp(AliTOFClusterFinderV1)
fRecPoints(new TClonesArray("AliTOFcluster", 4000)),
fNumberOfTofClusters(0),
fNumberOfTofDigits(0),
- fMaxDeltaTime(2),
+ fMaxDeltaTime(0),
fVerbose(0),
fDecoderVersion(0),
fTOFcalib(calib),
//
// Constructor
//
-
+ const AliTOFRecoParam *recoParam = AliTOFReconstructor::GetRecoParam(); // instantiate reco param from STEER...
+ fMaxDeltaTime = recoParam->GetMaxDeltaTime();
}
//_____________________________________________________________________________
fRecPoints(new TClonesArray("AliTOFcluster", 4000)),
fNumberOfTofClusters(0),
fNumberOfTofDigits(0),
- fMaxDeltaTime(2),
+ fMaxDeltaTime(0),
fVerbose(0),
fDecoderVersion(0),
fTOFcalib(calib),
//
// Constructor
//
+ const AliTOFRecoParam *recoParam = AliTOFReconstructor::GetRecoParam(); // instantiate reco param from STEER...
+ fMaxDeltaTime = recoParam->GetMaxDeltaTime();
}
//_____________________________________________________________________________
FillRecPoint();
clusterTree->Fill();
- AliInfo(Form("Number of found TOF clusters: %d", fNumberOfTofClusters));
+ AliInfo(Form("Number of found clusters: %d", fNumberOfTofClusters));
ResetRecpoint();