]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSRecoParam.h
- Extended paragraph about geometry checking in REAMEgeometry.txt
[u/mrichter/AliRoot.git] / ITS / AliITSRecoParam.h
index fb527082f650eedc5a30438ae4f1039eadbc2082..af990d5157bda721b7bec8fa638b542cdf254e4d 100644 (file)
 ///////////////////////////////////////////////////////////////////////////////
 
 
-#include "TObject.h"
+#include "AliDetectorRecoParam.h"
 #include "AliITSgeomTGeo.h"
 
-class AliITSRecoParam : public TObject
+class AliITSRecoParam : public AliDetectorRecoParam
 {
  public: 
   AliITSRecoParam();
@@ -25,6 +25,7 @@ class AliITSRecoParam : public TObject
   static AliITSRecoParam *GetLowFluxParam();// make reco parameters for low flux env.
   static AliITSRecoParam *GetHighFluxParam();// make reco parameters for high flux env. 
   static AliITSRecoParam *GetCosmicTestParam();// special setting for cosmic  
+  static AliITSRecoParam *GetPlaneEffParam(Int_t i);// special setting for Plane Efficiency studies
 
   static Int_t GetLayersNotToSkip(Int_t i) { return fgkLayersNotToSkip[i]; }
   static Int_t GetLastLayerToTrackTo() { return fgkLastLayerToTrackTo; }
@@ -62,6 +63,8 @@ class AliITSRecoParam : public TObject
   static Double_t GetSPDdetzlength() { return fgkSPDdetzlength; }
   static Double_t GetSPDdetxlength() { return fgkSPDdetxlength; }
 
+  void PrintParameters() const; 
+
   Double_t GetSigmaY2(Int_t i) const { return fSigmaY2[i]; }
   Double_t GetSigmaZ2(Int_t i) const { return fSigmaZ2[i]; }
 
@@ -123,12 +126,69 @@ class AliITSRecoParam : public TObject
   void   SetUseAmplitudeInfo(Bool_t use=kTRUE) { for(Int_t i=0;i<AliITSgeomTGeo::kNLayers;i++) fUseAmplitudeInfo[i]=use; return; }
   void   SetUseAmplitudeInfo(Int_t ilay,Bool_t use) { fUseAmplitudeInfo[ilay]=use; return; }
   Bool_t GetUseAmplitudeInfo(Int_t ilay) const { return fUseAmplitudeInfo[ilay]; }
+  //
+  void   SetComputePlaneEff(Bool_t eff=kTRUE, Bool_t his=kTRUE) 
+      { fComputePlaneEff=eff; fHistoPlaneEff=his; return; }
+  Bool_t GetComputePlaneEff() const { return fComputePlaneEff; }
+  Bool_t GetHistoPlaneEff() const { return fHistoPlaneEff; }
+  void   SetReadPlaneEffFrom0CDB(Bool_t read=kTRUE) { fReadPlaneEffFromOCDB=read; }
+  Bool_t GetReadPlaneEffFromOCDB() const { return fReadPlaneEffFromOCDB; }
+  //
+  void   SetExtendedEtaAcceptance(Bool_t ext=kTRUE) { fExtendedEtaAcceptance=ext; return; }
+  Bool_t GetExtendedEtaAcceptance() const { return fExtendedEtaAcceptance; }
+  void   SetAllowProlongationWithEmptyRoad(Bool_t allow=kTRUE) { fAllowProlongationWithEmptyRoad=allow; return; }  
+  Bool_t GetAllowProlongationWithEmptyRoad() const { return fAllowProlongationWithEmptyRoad; }
+
+  void   SetUseBadZonesFromOCDB(Bool_t use=kTRUE) { fUseBadZonesFromOCDB=use; return; }
+  Bool_t GetUseBadZonesFromOCDB() const { return fUseBadZonesFromOCDB; }
+
+  void   SetUseSingleBadChannelsFromOCDB(Bool_t use=kTRUE) { fUseSingleBadChannelsFromOCDB=use; return; }
+  Bool_t GetUseSingleBadChannelsFromOCDB() const { return fUseSingleBadChannelsFromOCDB; }
+
+  void   SetMinFractionOfBadInRoad(Float_t frac=0) { fMinFractionOfBadInRoad=frac; return; }
+  Float_t GetMinFractionOfBadInRoad() const { return fMinFractionOfBadInRoad; }
+
+  void   SetFactorSAWindowSizes(Double_t fact=1.) { fFactorSAWindowSizes=fact; return; }
+  Double_t GetFactorSAWindowSizes() const { return fFactorSAWindowSizes; }
+
+  void SetNLoopsSA(Int_t nl=10) {fNLoopsSA=nl;}
+  Int_t GetNLoopsSA() const { return fNLoopsSA;}
+  void SetPhiLimitsSA(Double_t phimin,Double_t phimax){
+    fMinPhiSA=phimin; fMaxPhiSA=phimax;
+  }
+  Double_t GetMinPhiSA() const {return fMinPhiSA;}
+  Double_t GetMaxPhiSA() const {return fMaxPhiSA;}
+  void SetLambdaLimitsSA(Double_t lambmin,Double_t lambmax){
+    fMinLambdaSA=lambmin; fMaxLambdaSA=lambmax;
+  }
+  Double_t GetMinLambdaSA() const {return fMinLambdaSA;}
+  Double_t GetMaxLambdaSA() const {return fMaxLambdaSA;}
+
 
+  void   SetSAOnePointTracks() { fSAOnePointTracks=kTRUE; return; }
+  Bool_t GetSAOnePointTracks() const { return fSAOnePointTracks; }
+
+  void   SetSAUseAllClusters() { fSAUseAllClusters=kTRUE; return; }
+  Bool_t GetSAUseAllClusters() const { return fSAUseAllClusters; }
 
   void   SetFindV0s(Bool_t find=kTRUE) { fFindV0s=find; return; }
   Bool_t GetFindV0s() const { return fFindV0s; }
 
-  void SetLayersParameters();
+  void   SetLayersParameters();
+
+  void   SetLayerToSkip(Int_t i) { fLayersToSkip[i]=1; return; }
+  Int_t  GetLayersToSkip(Int_t i) const { return fLayersToSkip[i]; }
+
+  void   SetUseUnfoldingInClusterFinderSPD(Bool_t use=kTRUE) { fUseUnfoldingInClusterFinderSPD=use; return; }
+  Bool_t GetUseUnfoldingInClusterFinderSPD() const { return fUseUnfoldingInClusterFinderSPD; }
+  void   SetUseUnfoldingInClusterFinderSDD(Bool_t use=kTRUE) { fUseUnfoldingInClusterFinderSDD=use; return; }
+  Bool_t GetUseUnfoldingInClusterFinderSDD() const { return fUseUnfoldingInClusterFinderSDD; }
+  void   SetUseUnfoldingInClusterFinderSSD(Bool_t use=kTRUE) { fUseUnfoldingInClusterFinderSSD=use; return; }
+  Bool_t GetUseUnfoldingInClusterFinderSSD() const { return fUseUnfoldingInClusterFinderSSD; }
+
+  void   SetUseChargeMatchingInClusterFinderSSD(Bool_t use=kTRUE) { fUseChargeMatchingInClusterFinderSSD=use; return; }
+  Bool_t GetUseChargeMatchingInClusterFinderSSD() const { return fUseChargeMatchingInClusterFinderSSD; }
+
   //
 
   enum {fgkMaxClusterPerLayer=70000}; //7000*10;   // max clusters per layer
@@ -170,6 +230,8 @@ class AliITSRecoParam : public TObject
   static const Double_t fgkSPDdetzlength;     // SPD ladder length in z
   static const Double_t fgkSPDdetxlength;     // SPD ladder length in x
 
+  Int_t fLayersToSkip[AliITSgeomTGeo::kNLayers]; // array with layers to skip (MI,SA)
+
   // spatial resolutions of the detectors
   Double_t fSigmaY2[AliITSgeomTGeo::kNLayers]; // y
   Double_t fSigmaZ2[AliITSgeomTGeo::kNLayers]; // z
@@ -231,10 +293,35 @@ class AliITSRecoParam : public TObject
   Bool_t fAllowSharedClusters; // if kFALSE don't set to kITSin tracks with shared clusters (MI)
   Int_t fClusterErrorsParam; // parametrization for cluster errors (MI), see AliITSRecoParam::GetError()
   Bool_t fUseAmplitudeInfo[AliITSgeomTGeo::kNLayers]; // use cluster charge in cluster-track matching (SDD,SSD) (MI)
+  Bool_t fComputePlaneEff;  // flag to enable computation of PlaneEfficiency
+  Bool_t fHistoPlaneEff;  // flag to enable auxiliary PlaneEff histograms (e.g. residual distributions)
+  Bool_t fReadPlaneEffFromOCDB; // enable initial reading of Plane Eff statistics from OCDB
+                               // The analized events would be used to increase the statistics
+  Bool_t fExtendedEtaAcceptance;  // enable jumping from TPC to SPD at large eta (MI)
+  Bool_t fUseBadZonesFromOCDB; // enable using OCDB info on dead modules and chips (MI)
+  Bool_t fUseSingleBadChannelsFromOCDB; // enable using OCDB info on bad single SPD pixels and SDD anodes (MI)
+  Float_t fMinFractionOfBadInRoad; // to decide whether to skip the layer (MI)
+  Bool_t fAllowProlongationWithEmptyRoad; // allow to prolong even if road is empty (MI)
+  Double_t fFactorSAWindowSizes; // larger window sizes in SA
+  Int_t fNLoopsSA;               // number of loops in tracker SA
+  Double_t fMinPhiSA;               // minimum phi value for SA windows
+  Double_t fMaxPhiSA;               // maximum phi value for SA windows
+  Double_t fMinLambdaSA;            // minimum lambda value for SA windows
+  Double_t fMaxLambdaSA;            // maximum lambda value for SA windows
+
+  Bool_t fSAOnePointTracks; // one-cluster tracks in SA (only for cosmics!)
+  Bool_t fSAUseAllClusters; // do not skip clusters used by MI (same track twice in AliESDEvent!)
 
   Bool_t fFindV0s;  // flag to enable V0 finder (MI)
 
-  ClassDef(AliITSRecoParam,1) // ITS reco parameters
+  // cluster unfolding in ITS cluster finders
+  Bool_t fUseUnfoldingInClusterFinderSPD; // SPD
+  Bool_t fUseUnfoldingInClusterFinderSDD; // SDD
+  Bool_t fUseUnfoldingInClusterFinderSSD; // SSD
+
+  Bool_t fUseChargeMatchingInClusterFinderSSD; // SSD
+
+  ClassDef(AliITSRecoParam,3) // ITS reco parameters
 };
 
 #endif