]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDClusterFinder.h
new functionality and new class added
[u/mrichter/AliRoot.git] / PMD / AliPMDClusterFinder.h
index 7881fb0c5dcbeb7c1db03d5d0887439eb8826868..e5a95be33dfdefd924473a2934f07900b6982fd5 100644 (file)
@@ -20,6 +20,9 @@ class AliRunLoader;
 class AliRawReader;
 class AliPMDCalibData;
 class AliPMDPedestal;
+class AliPMDHotData;
+class AliPMDNoiseCut;
+class AliPMDRecoParam;
 
 class AliPMDClusterFinder : public TObject
 {
@@ -32,13 +35,12 @@ class AliPMDClusterFinder : public TObject
   AliPMDClusterFinder &operator=(const AliPMDClusterFinder &finder); // assignment op
   virtual ~AliPMDClusterFinder();
 
-  void Digits2RecPoints(Int_t ievt);
   void Digits2RecPoints(TTree *digitsTree, TTree *clustersTree);
   void Digits2RecPoints(AliRawReader *rawReader, TTree *clustersTree);
-  void Digits2RecPoints(Int_t ievt, AliRawReader *rawReader);
-  void SetCellEdepCut(Float_t ecut);
+
   void AddRecPoint(Int_t idet, Int_t ismn, Float_t * clusdata);
-  void AddRecHit(Int_t celldataX, Int_t celldataY);
+  void AddRecHit(Int_t celldataX, Int_t celldataY, Int_t celldataTr,
+                Int_t celldataPid, Float_t celldataAdc);
   void ResetCellADC();
   void ResetRecpoint();
   void ResetRechit();
@@ -49,6 +51,8 @@ class AliPMDClusterFinder : public TObject
 
   AliPMDCalibData *GetCalibGain() const;
   AliPMDPedestal  *GetCalibPed() const;
+  AliPMDHotData   *GetCalibHot() const;
+  AliPMDNoiseCut  *GetNoiseCut() const;
 
  protected:
   AliRunLoader *fRunLoader; // Pointer to Run Loader
@@ -56,6 +60,10 @@ class AliPMDClusterFinder : public TObject
 
   AliPMDCalibData *fCalibGain;  //! Gain calibration data
   AliPMDPedestal  *fCalibPed;   //! Pedestal calibration data
+  AliPMDHotData   *fCalibHot;   //! Hot data
+  AliPMDNoiseCut  *fNoiseCut;   //! Noise cut
+
+  const AliPMDRecoParam *fRecoParam; // reconstruction parameter
 
   TTree        *fTreeD;     // Digits tree
   TTree        *fTreeR;     // Reconstructed points
@@ -67,13 +75,15 @@ class AliPMDClusterFinder : public TObject
   Int_t   fNpoint;          // 
   Int_t   fNhit;            // 
   Int_t   fDetNo;           // Detector Number (0:PRE, 1:CPV)
-  Float_t fEcut;            // Energy/ADC cut per cell
+
 
   static const Int_t fgkRow = 48; // Total number of rows in one unitmodule
   static const Int_t fgkCol = 96; // Total number of cols in one unitmodule
   Double_t fCellADC[fgkRow][fgkCol]; // Array containing individual cell ADC
+  Int_t    fCellTrack[fgkRow][fgkCol]; // Array containing individual cell tr
+  Int_t    fCellPid[fgkRow][fgkCol]; // Array containing individual cell pid
 
-  ClassDef(AliPMDClusterFinder,12) // To run PMD clustering
+  ClassDef(AliPMDClusterFinder,17) // To run PMD clustering
 };
 #endif