]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCclustererKr.h
Temporary removed information from the event HEADER (Marian)
[u/mrichter/AliRoot.git] / TPC / AliTPCclustererKr.h
index 4f4fedf96bbd58b1fcd8ba4c674ec3290f3eeeba..4da0ca518176823015932181a267754bdbd0e7c7 100644 (file)
@@ -43,9 +43,12 @@ public:
   ~AliTPCclustererKr();
 
   //finders
-  Int_t finderIO();//for MC
-  Int_t finderIO(AliRawReader* rawReader);//for data
-  Int_t findClusterKrIO();//main routine for finding clusters
+  Int_t FinderIO();//for MC
+  Int_t FinderIO(AliRawReader* rawReader);//for data
+  Int_t FindClusterKrIO();//main routine for finding clusters
+
+  //other
+  void GetXY(Short_t sec,Short_t row,Short_t pad,Double_t& xGlob,Double_t& yGlob);//give XY coordinate of the pad
 
   virtual void SetInput(TTree * tree);  //set input tree with digits    
   virtual void SetOutput(TTree * tree); //set output tree with clusters
@@ -59,6 +62,40 @@ public:
   Bool_t fRawData; //flague =0 for MC =1 for real data
   AliTPCClustersRow * fRowCl;  //! current cluster row (used in rootuple fill)
 
+  //setters for cluster finder parameters
+  void SetZeroSup(Int_t v){fZeroSup=v;}//set zero suppresion parameter
+  void SetFirstBin(Short_t v){fFirstBin=v;}//set first considered timebin
+  void SetLastBin(Short_t v){fLastBin=v;}//set last considered timebin
+  void SetMaxNoiseAbs(Float_t v){fMaxNoiseAbs=v;}//set maximal noise value
+  void SetMaxNoiseSigma(Float_t v){fMaxNoiseSigma=v;}//set maximal noise sigma
+
+  void SetMinAdc(Short_t v){v<=0?fMinAdc=1:fMinAdc=v;}//set fMinAdc
+  void SetMinTimeBins(Short_t v){fMinTimeBins=v;}//set fMinTimeBins
+//  void SetMaxPadRange(Short_t v){fMaxPadRange=v;}//set fMaxPadRange
+//  void SetMaxRowRange(Short_t v){fMaxRowRange=v;}//set fMaxRowRange
+  void SetMaxTimeRange(Short_t v){fMaxTimeRange=v;}//set fMaxTimeRange
+  void SetValueToSize(Float_t v){fValueToSize=v;}//set fValueToSize
+
+  void SetMaxPadRangeCm(Double_t v){fMaxPadRangeCm=v;}//set fMaxPadRangeCm
+  void SetMaxRowRangeCm(Double_t v){fMaxRowRangeCm=v;}//set fMaxRowRangeCm
+
+  //getters for cluster finder parameters
+  Int_t GetZeroSup(){return fZeroSup;}//get zero suppresion parameter
+  Short_t GetFirstBin(){return fFirstBin;}//get first considered timebin
+  Short_t GetLastBin(){return fLastBin;}//get last considered timebin
+  Float_t GetMaxNoiseAbs(){return fMaxNoiseAbs;}//get maximal noise value
+  Float_t GetMaxNoiseSigma(){return fMaxNoiseSigma;}//get maximal noise sigma
+
+  Short_t GetMinAdc(){return fMinAdc;}//get fMinAdc
+  Short_t GetMinTimeBins(){return fMinTimeBins;}//get fMinTimeBins
+//  Short_t GetMaxPadRange(){return fMaxPadRange;}//get fMaxPadRange
+//  Short_t GetMaxRowRange(){return fMaxRowRange;}//get fMaxRowRange
+  Short_t GetMaxTimeRange(){return fMaxTimeRange;}//get fMaxTimeRange
+  Float_t GetValueToSize(){return fValueToSize;}//get fValueToSize
+
+  Double_t GetMaxPadRangeCm(){return fMaxPadRangeCm;}//get fMaxPadRangeCm
+  Double_t GetMaxRowRangeCm(){return fMaxRowRangeCm;}//get fMaxRowRangeCm
+
 private:
   TTree * fInput;   //!input  tree with digits - object not owner
   TTree * fOutput;   //!output tree with clusters - object not owner
@@ -68,9 +105,25 @@ private:
   //only for raw data :)
   const AliTPCRecoParam  * fRecoParam;        //! reconstruction parameters
   Bool_t fIsOldRCUFormat; // assume old RCU raw data format
-  
 
-  ClassDef(AliTPCclustererKr,1)  // Time Projection Chamber Kr clusters
+  //cluster finder parameters
+  Int_t fZeroSup;//zero suppresion parameter = 2 def.
+  Short_t fFirstBin;//first considered time bin used by cluster finder = 60 def.
+  Short_t fLastBin;//last considered time bin used by cluster finder = 950 def.
+  Float_t fMaxNoiseAbs;// maximal noise value on pad used in cluster finder = 2 def.
+  Float_t fMaxNoiseSigma;// maximal noise sigma on pad used in cluster finder = 3 def.
+
+  Short_t fMinAdc;//minimal value of acd count in each timebin = 3 def.
+  Short_t fMinTimeBins;//minimal value of time bins one after each other = 2 def.
+//  Short_t fMaxPadRange;//maximal pad range from maximum = 4 def.
+//  Short_t fMaxRowRange;//maximal row range from maximum = 3 def.
+  Short_t fMaxTimeRange;//maximal time bin range from maximum = 7 def.
+  Float_t fValueToSize;//ratio cluster value to cluster size = 3.5 def.
+
+  Double_t fMaxPadRangeCm;//maximal pad range in cm from maximum = 2.5cm def.
+  Double_t fMaxRowRangeCm;//maximal row range in cm from maximum = 3.5cm def.
+
+  ClassDef(AliTPCclustererKr,2)  // Time Projection Chamber Kr clusters
 };