ClassImp(AliTOFClusterFinder)
AliTOFClusterFinder::AliTOFClusterFinder(AliTOFcalib *calib):
+ TTask("AliTOFClusterFinder",""),
fRunLoader(0),
fTOFLoader(0),
fTreeD(0),
//______________________________________________________________________________
AliTOFClusterFinder::AliTOFClusterFinder(AliRunLoader* runLoader, AliTOFcalib *calib):
+ TTask("AliTOFClusterFinder",""),
fRunLoader(runLoader),
fTOFLoader(runLoader->GetLoader("TOFLoader")),
fTreeD(0),
//------------------------------------------------------------------------
AliTOFClusterFinder::AliTOFClusterFinder(const AliTOFClusterFinder &source)
- :TObject(source),
+ :TTask(source),
fRunLoader(0),
fTOFLoader(0),
fTreeD(0),
if (this == &source)
return *this;
- TObject::operator=(source);
+ TTask::operator=(source);
fDigits=source.fDigits;
fRecPoints=source.fRecPoints;
fVerbose=source.fVerbose;
// Task: Transform digits/raw data to TOF Clusters, to fill TOF RecPoints
// and feed TOF tracking
-#include "TObject.h"
+#include "TTask.h"
#include "AliTOFRawStream.h"
class AliTOFcluster;
class AliTOFcalib;
-class AliTOFClusterFinder : public TObject
+class AliTOFClusterFinder : public TTask
{
enum {kTofMaxCluster=77777}; //maximal number of the TOF clusters
AliTOFcalib *fTOFcalib; // pointer to the TOF calibration info
AliTOFRawStream fTOFRawStream; // AliTOFRawStream variable
- ClassDef(AliTOFClusterFinder,5) // To run TOF clustering
+ ClassDef(AliTOFClusterFinder,6) // To run TOF clustering
};
#endif