]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSRecoParam.h
Adding TDC channel delays to the calib object.
[u/mrichter/AliRoot.git] / ITS / AliITSRecoParam.h
index a0e4556291b015e1dd726ac83b782462868f1850..81e9422e47088abe8215c0fd4a1d38ad9e0cdad7 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "AliDetectorRecoParam.h"
 #include "AliITSgeomTGeo.h"
+#include "AliESDV0Params.h"
 
 class AliITSRecoParam : public AliDetectorRecoParam
 {
@@ -182,7 +183,8 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Double_t GetSigmaZDeadZoneHit2() const { return fSigmaZDeadZoneHit2; }
   Double_t GetXPassDeadZoneHits() const { return fXPassDeadZoneHits; }
 
-
+  Bool_t   GetSkipSubdetsNotInTriggerCluster() const { return fSkipSubdetsNotInTriggerCluster; }
+  void     SetSkipSubdetsNotInTriggerCluster(Bool_t flag=kTRUE) { fSkipSubdetsNotInTriggerCluster=flag; }
 
   void   SetUseTGeoInTracker(Int_t use=1) { fUseTGeoInTracker=use; return; }
   Int_t  GetUseTGeoInTracker() const { return fUseTGeoInTracker; }
@@ -219,8 +221,12 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Bool_t  GetBkgTrackletsPlaneEff() const {return fBkgTrackletsPlaneEff;}
   void    SetTrackleterPhiWindowL1(Float_t w=0.10) {fTrackleterPhiWindowL1=w; return;}
   Float_t GetTrackleterPhiWindowL1() const {return fTrackleterPhiWindowL1;}
+  void    SetTrackleterPhiWindowL2(Float_t w=0.07) {fTrackleterPhiWindowL2=w; return;}
+  Float_t GetTrackleterPhiWindowL2() const {return fTrackleterPhiWindowL2;}
   void    SetTrackleterZetaWindowL1(Float_t w=0.6) {fTrackleterZetaWindowL1=w; return;}
   Float_t GetTrackleterZetaWindowL1() const {return fTrackleterZetaWindowL1;}
+  void    SetTrackleterZetaWindowL2(Float_t w=0.40) {fTrackleterZetaWindowL2=w; return;}
+  Float_t GetTrackleterZetaWindowL2() const {return fTrackleterZetaWindowL2;}
   void    SetUpdateOncePerEventPlaneEff(Bool_t use=kTRUE) {fUpdateOncePerEventPlaneEff=use; return;}
   Bool_t  GetUpdateOncePerEventPlaneEff() const {return fUpdateOncePerEventPlaneEff;}
   void    SetMinContVtxPlaneEff(Int_t n=3) {fMinContVtxPlaneEff=n; return;}
@@ -285,7 +291,7 @@ class AliITSRecoParam : public AliDetectorRecoParam
   void   SetSAOnePointTracks() { fSAOnePointTracks=kTRUE; return; }
   Bool_t GetSAOnePointTracks() const { return fSAOnePointTracks; }
 
-  void   SetSAUseAllClusters() { fSAUseAllClusters=kTRUE; return; }
+  void   SetSAUseAllClusters(Bool_t opt=kTRUE) { fSAUseAllClusters=opt; return; }
   Bool_t GetSAUseAllClusters() const { return fSAUseAllClusters; }
 
   void   SetFindV0s(Bool_t find=kTRUE) { fFindV0s=find; return; }
@@ -323,12 +329,12 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Bool_t GetUseCosmicRunShiftsSSD() const { return fUseCosmicRunShiftsSSD; }
 
   // SPD Tracklets (D. Elia)
-  void    SetTrackleterOnlyOneTrackletPerC2(Bool_t use= kTRUE) {fTrackleterOnlyOneTrackletPerC2=use; return; }
-  Bool_t  GetTrackleterOnlyOneTrackletPerC2() const { return fTrackleterOnlyOneTrackletPerC2; }
   void    SetTrackleterPhiWindow(Float_t w=0.08) {fTrackleterPhiWindow=w;}
-  void    SetTrackleterZetaWindow(Float_t w=1.) {fTrackleterZetaWindow=w;}
+  void    SetTrackleterThetaWindow(Float_t w=0.025) {fTrackleterThetaWindow=w;}
+  void    SetTrackleterPhiShift(Float_t w=0.0045) {fTrackleterPhiShift=w;}
   Float_t GetTrackleterPhiWindow() const {return fTrackleterPhiWindow;}
-  Float_t GetTrackleterZetaWindow() const {return fTrackleterZetaWindow;}
+  Float_t GetTrackleterThetaWindow() const {return fTrackleterThetaWindow;}
+  Float_t GetTrackleterPhiShift() const {return fTrackleterPhiShift;}
   void    SetTrackleterRemoveClustersFromOverlaps(Bool_t use=kTRUE) { fTrackleterRemoveClustersFromOverlaps=use; return; }
   Bool_t  GetTrackleterRemoveClustersFromOverlaps() const { return fTrackleterRemoveClustersFromOverlaps; }
   void    SetTrackleterPhiOverlapCut(Float_t w=0.005) {fTrackleterPhiOverlapCut=w;}
@@ -370,6 +376,7 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Float_t GetAlignFilterMaxPt() const {return fAlignFilterMaxPt;}          
   Bool_t  GetAlignFilterFillQANtuples() const {return fAlignFilterFillQANtuples;}     
 
+  AliESDV0Params *GetESDV0Params() const {return fESDV0Params;}
 
 
   enum {fgkMaxClusterPerLayer=70000}; //7000*10;   // max clusters per layer
@@ -489,6 +496,7 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Double_t fSigmaZDeadZoneHit2; // z error virtual cls
   Double_t fXPassDeadZoneHits;  // x distance between clusters
 
+  Bool_t fSkipSubdetsNotInTriggerCluster; // skip the subdetectors that are not in the trigger cluster
 
   Int_t fUseTGeoInTracker; // use TGeo to get material budget in tracker MI
   Double_t fStepSizeTGeo; // step size (cm)
@@ -509,7 +517,9 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Bool_t fMCTrackletsPlaneEff; // flag to enable the use of MC info for corrections (SPD PlaneEff using tracklets)
   Bool_t fBkgTrackletsPlaneEff; // flag to evaluate background instead of normal use (SPD PlaneEff using tracklets)
   Float_t fTrackleterPhiWindowL1; // Search window in phi for inner layer (1) (SPD PlaneEff using tracklets)
+  Float_t fTrackleterPhiWindowL2; // Search window in phi for outer layer (2) (SPD PlaneEff using tracklets)
   Float_t fTrackleterZetaWindowL1; // Search window in zeta for inner layer (1) (SPD PlaneEff using tracklets)
+  Float_t fTrackleterZetaWindowL2; // Search window in zeta for outer layer (2) (SPD PlaneEff using tracklets)
   Bool_t fUpdateOncePerEventPlaneEff; // option to update chip efficiency once/event (to avoid doubles)
   Int_t  fMinContVtxPlaneEff; // min number of contributors to ESD vtx for SPD PlaneEff using tracklets
   Int_t  fIPlanePlaneEff; // index of the plane (in the range [-1,5]) to study the efficiency (-1 ->Tracklets)
@@ -557,9 +567,9 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Bool_t fUseChargeMatchingInClusterFinderSSD; // SSD
 
   // SPD Tracklets (D. Elia)
-  Bool_t  fTrackleterOnlyOneTrackletPerC2;         // Allow only one tracklet per cluster in the outer layer
   Float_t fTrackleterPhiWindow;                    // Search window in phi
-  Float_t fTrackleterZetaWindow;                   // Search window in eta
+  Float_t fTrackleterThetaWindow;                   // Search window in theta
+  Float_t fTrackleterPhiShift;                     // Phi shift reference value (at 0.5 T) 
   Bool_t  fTrackleterRemoveClustersFromOverlaps;   // Option to skip clusters in the overlaps
   Float_t fTrackleterPhiOverlapCut;                // Fiducial window in phi for overlap cut
   Float_t fTrackleterZetaOverlapCut;               // Fiducial window in eta for overlap cut
@@ -591,8 +601,13 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Float_t fAlignFilterMaxPt;              // max pt
   Bool_t  fAlignFilterFillQANtuples;      // fill QA ntuples  
 
+ private:
+  AliESDV0Params * fESDV0Params;  // declare the AliESDV0Params to be able to used in AliITSV0Finder
+
+  AliITSRecoParam(const AliITSRecoParam & param);
+  AliITSRecoParam & operator=(const AliITSRecoParam &param);
 
-  ClassDef(AliITSRecoParam,24) // ITS reco parameters
+  ClassDef(AliITSRecoParam,27) // ITS reco parameters
 };
 
 #endif