]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFClusterFinder.h
Extra library EMCALUtils needed for particle correlations task.
[u/mrichter/AliRoot.git] / TOF / AliTOFClusterFinder.h
index 9089182db0639409c81be8332733b1e4c182abec..e46c1beca7d9888ec4c30e426efe26510d7c37d0 100644 (file)
@@ -8,6 +8,8 @@
 
 #include "TObject.h"
 
+#include "AliTOFRawStream.h"
+
 class TClonesArray;
 class TFile;
 class TTree;
@@ -48,6 +50,8 @@ class AliTOFClusterFinder : public TObject
   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
+  UShort_t  GetClusterVolIndex(Int_t *ind) const; //Volume Id getter
+  void GetClusterPars(Int_t *ind, Double_t *pos, Double_t *cov) const; //cluster par getter
 
  protected:
   AliRunLoader *fRunLoader;      // Pointer to Run Loader
@@ -58,7 +62,6 @@ class AliTOFClusterFinder : public TObject
 
   AliTOFcluster *fTofClusters[kTofMaxCluster];  // pointers to the TOF clusters
 
-  AliTOFGeometry  *fTOFGeometry; // Pointer to TOF geometry
   TClonesArray *fDigits;         // List of digits
   TClonesArray *fRecPoints;      // List of reconstructed points
 
@@ -72,13 +75,15 @@ class AliTOFClusterFinder : public TObject
   Int_t FindClusterIndex(Double_t z) const; // Returns cluster index 
   void  CalibrateRecPoint(); // Apply calibration pars to Clusters
 
-  Int_t fVerbose;  //Verbose level (0:no msg, 1:msg, 2:digits in txt files)
+  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!!)
-  AliTOFcalib *fTOFcalib;       // pointer to the TOF calibration info
+  AliTOFcalib *fTOFcalib;         // pointer to the TOF calibration info
+  AliTOFRawStream fTOFRawStream; // AliTOFRawStream variable
 
-  ClassDef(AliTOFClusterFinder,3) // To run TOF clustering
+  ClassDef(AliTOFClusterFinder,5) // To run TOF clustering
 };
 #endif