]> 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 ab5b678258bf0fc4669a27373bf4a056805d0eaa..af990d5157bda721b7bec8fa638b542cdf254e4d 100644 (file)
@@ -25,6 +25,7 @@ class AliITSRecoParam : public AliDetectorRecoParam
   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 AliDetectorRecoParam
   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,14 +126,51 @@ class AliITSRecoParam : public AliDetectorRecoParam
   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   SetUseDeadZonesFromOCDB(Bool_t use=kTRUE) { fUseDeadZonesFromOCDB=use; return; }
-  Bool_t GetUseDeadZonesFromOCDB() const { return fUseDeadZonesFromOCDB; }
+  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; }
 
@@ -146,6 +186,9 @@ class AliITSRecoParam : public AliDetectorRecoParam
   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
@@ -250,9 +293,24 @@ class AliITSRecoParam : public AliDetectorRecoParam
   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 fUseDeadZonesFromOCDB; // enable using OCDB info on dead modules.. (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)
 
@@ -261,7 +319,9 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Bool_t fUseUnfoldingInClusterFinderSDD; // SDD
   Bool_t fUseUnfoldingInClusterFinderSSD; // SSD
 
-  ClassDef(AliITSRecoParam,1) // ITS reco parameters
+  Bool_t fUseChargeMatchingInClusterFinderSSD; // SSD
+
+  ClassDef(AliITSRecoParam,3) // ITS reco parameters
 };
 
 #endif