]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/AliHMPIDReconstructor.h
Remove verbosity
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDReconstructor.h
index 60310b4c4dc15c12b7f2fd70defbbbabd045ecf1..9d94ac136498586b32f15affd3394d65158605c0 100644 (file)
@@ -8,6 +8,7 @@
 #include <AliReconstructor.h>        //base class
 #include "AliHMPIDTracker.h"         //CreateTracker()
 #include "AliHMPIDDigit.h"           //Dig2Clu(), UseDig()
+#include "AliHMPIDRecoParam.h"       //Init
 
 #include <TMatrixF.h>                //UseDig()
 #include <TClonesArray.h>            //UseDig()
@@ -31,12 +32,17 @@ public:
   using AliReconstructor::Reconstruct;                                                                                  // 
 
   //private part  
-  static        void           Dig2Clu (TObjArray *pDigLst,TObjArray *pCluLst,Bool_t isUnfold=kTRUE                      );//digits->clusters
+  static        void           Dig2Clu (TObjArray *pDigLst,TObjArray *pCluLst,Bool_t isUnfold=kFALSE                      );//digits->clusters
   static        void           FormClu (AliHMPIDCluster *pClu,AliHMPIDDigit *pDig,TClonesArray *pDigLst,TMatrixF *pPadMap);//cluster formation recursive algorithm
   static inline AliHMPIDDigit* UseDig  (Int_t padX,Int_t padY,                    TClonesArray *pDigLst,TMatrixF *pDigMap);//use this pad's digit to form a cluster
   inline Bool_t                IsDigSurvive(AliHMPIDDigit *pDig                                                     )const;//check for sigma cut
   
+  void SetRecoParam(AliHMPIDRecoParam *recopar){ fgkRecoParam = recopar;}
+  static const AliHMPIDRecoParam* GetRecoParam(){ return fgkRecoParam;}
+
+  
   protected:
+  static AliHMPIDRecoParam*  fgkRecoParam;      // Pointer to HMPID RecoParams
   Int_t     *fUserCut;                 // n sigmas for pedestals decided by the User for each chamber(if in OCDB)
   TObjArray *fDaqSig;                  // container for the pad pedestal sigmas
   TObjArray *fDig;                     // tmp list of digits
@@ -46,10 +52,10 @@ public:
   AliHMPIDReconstructor(const AliHMPIDReconstructor& r);              //dummy copy constructor
   AliHMPIDReconstructor &operator=(const AliHMPIDReconstructor& r);   //dummy assignment operator
 //  
-  ClassDef(AliHMPIDReconstructor, 0)   // class for the HMPID reconstruction
+  ClassDef(AliHMPIDReconstructor, 1)   // class for the HMPID reconstruction
 };
 
-//__________________________________________________________________________________________________
+//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 AliHMPIDDigit* AliHMPIDReconstructor::UseDig(Int_t padX,Int_t padY,TClonesArray *pDigLst,TMatrixF *pPadMap)
 {
 //Digit map contains a matrix if digit numbers.