]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFClusterFinder.h
Fake tagging added
[u/mrichter/AliRoot.git] / TOF / AliTOFClusterFinder.h
index 8fdc8bed2f4974857b0b6f478288b3b963d09c17..c05b9907d7985b3840095cae442b76360e98f6a7 100644 (file)
@@ -17,6 +17,7 @@ class TTree;
 class AliLoader;
 class AliRunLoader;
 class AliRawReader;
+class AliTOFrawData;
 
 class AliTOFGeometry;
 class AliTOFcluster;
@@ -49,9 +50,11 @@ 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
+  Int_t GetNumberOfTOFclusters() const {return fNumberOfTofClusters;} // number of clusters getter
+  Int_t GetNumberOfTOFtrgPads() const {return fNumberOfTofTrgPads;} // number of pads getter
 
  protected:
   AliRunLoader *fRunLoader;      // Pointer to Run Loader
@@ -66,8 +69,10 @@ class AliTOFClusterFinder : public TTask
   TClonesArray *fRecPoints;      // List of reconstructed points
 
   Int_t fNumberOfTofClusters;    // Number of TOF Clusters
+  Int_t fNumberOfTofTrgPads;  // Number of TOF trigger pads
 
  private:
+  void  FillTOFtriggerMap(Int_t iDDL, AliTOFrawData *tofRawDatum);
 
   //Int_t InsertCluster(Int_t *aa, Double_t *bb);    // Fills TofClusters Array
   //Int_t InsertCluster(Int_t *aa, Double_t *bb, Int_t *cc, Int_t d); // Fills TofClusters Array
@@ -77,13 +82,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,8) // To run TOF clustering
 };
 #endif