]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFClusterFinder.h
updating ChangeLog
[u/mrichter/AliRoot.git] / TOF / AliTOFClusterFinder.h
index 8fdc8bed2f4974857b0b6f478288b3b963d09c17..59f81b9c34f09e78d05e79871dc411b18367ec7b 100644 (file)
@@ -6,7 +6,7 @@
 // Task: Transform digits/raw data to TOF Clusters, to fill TOF RecPoints
 // and feed TOF tracking 
 
-#include "TTask.h"
+#include "TNamed.h"
 
 #include "AliTOFRawStream.h"
 
@@ -22,7 +22,7 @@ class AliTOFGeometry;
 class AliTOFcluster;
 class AliTOFcalib;
 
-class AliTOFClusterFinder : public TTask
+class AliTOFClusterFinder : public TNamed
 {
 
   enum {kTofMaxCluster=77777}; //maximal number of the TOF clusters
@@ -49,7 +49,7 @@ class AliTOFClusterFinder : public TTask
   void UnLoadClusters();
   void SetVerbose(Int_t Verbose){fVerbose=Verbose;} // To set the verbose level
   void SetDecoderVersion(Int_t version){fDecoderVersion=version;} // To set the decoder version
-  Bool_t GetDecoderVersion() const {return fDecoderVersion;} // To get the decoder version
+  Int_t GetDecoderVersion() const {return fDecoderVersion;} // To get the decoder version
   UShort_t  GetClusterVolIndex(const Int_t * const ind) const; //Volume Id getter
   void GetClusterPars(Int_t *ind, Double_t *pos, Double_t *cov) const; //cluster par getter
 
@@ -77,13 +77,11 @@ class AliTOFClusterFinder : public TTask
 
   Int_t fVerbose;           // Verbose level (0:no msg,
                             //  1:msg, 2:digits in txt files)
-  Bool_t fDecoderVersion;   //setting whether to use the new decoder version 
-                            // -true -> new version
-                            // -false ->old version  (default value!!)
+  Int_t fDecoderVersion;   //setting whether to use the new decoder version 
   AliTOFcalib *fTOFcalib;         // pointer to the TOF calibration info
   AliTOFRawStream fTOFRawStream; // AliTOFRawStream variable
 
-  ClassDef(AliTOFClusterFinder,6) // To run TOF clustering
+  ClassDef(AliTOFClusterFinder,7) // To run TOF clustering
 };
 #endif