]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Parameters of AliITSVertexer3D added in AliITSRecoParam (F.Prino)
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Aug 2008 15:27:08 +0000 (15:27 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Aug 2008 15:27:08 +0000 (15:27 +0000)
ITS/AliITSRecoParam.cxx
ITS/AliITSRecoParam.h
ITS/AliITSReconstructor.cxx
ITS/AliITSVertexer3D.cxx
ITS/AliITSVertexer3D.h
ITS/Calib/RecoParam/Run0_999999999_v0_s0.root

index b4ba0dec215424814b7c49d11122c02c7967e956..6292e93fd8c6edf2486df1e068d55dcdfaedec38 100644 (file)
@@ -67,6 +67,13 @@ fITSonly(kFALSE),
 fVertexer(0),
 fClusterFinder(0),
 fPID(0),
+fVtxr3DZCutWide(0.),
+fVtxr3DRCutWide(0.),
+fVtxr3DZCutNarrow(0.),
+fVtxr3DRCutNarrow(0.),
+fVtxr3DPhiCutLoose(0.),
+fVtxr3DPhiCutTight(0.),
+fVtxr3DDCACut(0.),
 fMaxSnp(1.),
 fNSigmaYLayerForRoadY(0),
 fNSigmaRoadY(0),
@@ -147,6 +154,7 @@ fUseChargeMatchingInClusterFinderSSD(kTRUE)
   SetUseAmplitudeInfo(kTRUE);
   SetClusterErrorsParam(1);
   SetClusterMisalError(0.);
+  SetVertexer3DDefaults();
 }
 //_____________________________________________________________________________
 AliITSRecoParam::~AliITSRecoParam() 
@@ -162,6 +170,7 @@ AliITSRecoParam *AliITSRecoParam::GetHighFluxParam()
   // make default reconstruction  parameters for hig  flux env.
   //
   AliITSRecoParam *param = new AliITSRecoParam();
+  param->SetVertexer3DDefaults();
 
   param->fMaxSnp = 0.95;
 
@@ -252,6 +261,7 @@ AliITSRecoParam *AliITSRecoParam::GetLowFluxParam()
   // make default reconstruction  parameters for low  flux env.
   //
   AliITSRecoParam *param = new AliITSRecoParam();
+  param->SetVertexer3DDefaults();
 
   param->fMaxSnp = 0.95;
 
@@ -333,7 +343,7 @@ AliITSRecoParam *AliITSRecoParam::GetLowFluxParam()
   param->fSigmaZDeadZoneHit2 = 0.001/12.;
   param->fXPassDeadZoneHits = 0.018;
   param->SetNLoopsSA(10);
-  
+
   return param;
 }
 //_____________________________________________________________________________
index b242060b20b6749f9cf8519eb453cacc6fa43586..a6d5fcc7b67101a844e256d8a166458b4a6de985 100644 (file)
@@ -88,6 +88,38 @@ class AliITSRecoParam : public AliDetectorRecoParam
   void     SetLandauFitPID() {SetPID(1);}
   Int_t    GetPID() const {return fPID;}
 
+  void     SetVertexer3DFiducialRegions(Float_t dzwid=14.0, Float_t drwid=2.5, Float_t dznar=0.5, Float_t drnar=0.5){
+    SetVertexer3DWideFiducialRegion(dzwid,drwid);
+    SetVertexer3DNarrowFiducialRegion(dznar,drnar);
+  }
+  void     SetVertexer3DWideFiducialRegion(Float_t dz=14.0, Float_t dr=2.5){
+    fVtxr3DZCutWide=dz; fVtxr3DRCutWide=dr;
+  }
+  void     SetVertexer3DNarrowFiducialRegion(Float_t dz=0.5, Float_t dr=0.5){
+    fVtxr3DZCutNarrow=dz; fVtxr3DRCutNarrow=dr;
+  }
+  void     SetVertexer3DDeltaPhiCuts(Float_t dphiloose=0.5, Float_t dphitight=0.01){
+    fVtxr3DPhiCutLoose=dphiloose;
+    fVtxr3DPhiCutTight=dphitight;
+  }
+  void     SetVertexer3DDCACut(Float_t dca=0.1){
+    fVtxr3DDCACut=dca;
+  }
+  void SetVertexer3DDefaults(){
+    SetVertexer3DFiducialRegions();
+    SetVertexer3DDeltaPhiCuts();
+    SetVertexer3DDCACut();    
+  }
+
+  Float_t  GetVertexer3DWideFiducialRegionZ() const {return fVtxr3DZCutWide;}
+  Float_t  GetVertexer3DWideFiducialRegionR() const {return fVtxr3DRCutWide;}
+  Float_t  GetVertexer3DNarrowFiducialRegionZ() const {return fVtxr3DZCutNarrow;}
+  Float_t  GetVertexer3DNarrowFiducialRegionR() const {return fVtxr3DRCutNarrow;}
+  Float_t  GetVertexer3DLooseDeltaPhiCut() const {return fVtxr3DPhiCutLoose;}
+  Float_t  GetVertexer3DTightDeltaPhiCut() const {return fVtxr3DPhiCutTight;}
+  Float_t  GetVertexer3DDCACut() const {return fVtxr3DDCACut;}
+  
+
   Double_t GetSigmaY2(Int_t i) const { return fSigmaY2[i]; }
   Double_t GetSigmaZ2(Int_t i) const { return fSigmaZ2[i]; }
 
@@ -282,6 +314,15 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Int_t  fClusterFinder; // ITS cf to be used (see AliITSReconstructor)
   Int_t  fPID;      // ITS PID method to be used (see AliITSReconstructor)
 
+
+  Float_t fVtxr3DZCutWide;    // Z extension of the wide fiducial region for vertexer 3D
+  Float_t fVtxr3DRCutWide;    // R extension of the wide fiducial region for vertexer 3D
+  Float_t fVtxr3DZCutNarrow;  // Z extension of the narrow fiducial region for vertexer 3D
+  Float_t fVtxr3DRCutNarrow;  // R extension of the narrow fiducial region for vertexer 3D
+  Float_t fVtxr3DPhiCutLoose; // loose deltaPhi cut to define tracklets in vertexer 3D
+  Float_t fVtxr3DPhiCutTight; // tight deltaPhi cut to define tracklets in vertexer 3D
+  Float_t fVtxr3DDCACut;      // cut on tracklet-to-tracklet DCA in vertexer3D
+
   Int_t fLayersToSkip[AliITSgeomTGeo::kNLayers]; // array with layers to skip (MI,SA)
 
   // spatial resolutions of the detectors
@@ -388,7 +429,7 @@ class AliITSRecoParam : public AliDetectorRecoParam
 
   Bool_t fUseChargeMatchingInClusterFinderSSD; // SSD
 
-  ClassDef(AliITSRecoParam,9) // ITS reco parameters
+  ClassDef(AliITSRecoParam,10) // ITS reco parameters
 };
 
 #endif
index 622e57f046bf1dfc6dd03907f09410c9cf18d6d2..789d9411906c4a125c0aca1c1d6633c94aff6c66 100644 (file)
@@ -187,7 +187,19 @@ AliVertexer* AliITSReconstructor::CreateVertexer() const
   }
   // by default an AliITSVertexer3D object is instatiated
   Info("CreateVertexer","a AliITSVertexer3D object has been selected\n");
-  return new AliITSVertexer3D();
+  AliITSVertexer3D*  vtxr = new AliITSVertexer3D();
+  Float_t dzw=GetRecoParam()->GetVertexer3DWideFiducialRegionZ();
+  Float_t drw=GetRecoParam()->GetVertexer3DWideFiducialRegionR();
+  vtxr->SetWideFiducialRegion(dzw,drw);
+  Float_t dzn=GetRecoParam()->GetVertexer3DNarrowFiducialRegionZ();
+  Float_t drn=GetRecoParam()->GetVertexer3DNarrowFiducialRegionR();
+  vtxr->SetNarrowFiducialRegion(dzn,drn);
+  Float_t dphil=GetRecoParam()->GetVertexer3DLooseDeltaPhiCut();
+  Float_t dphit=GetRecoParam()->GetVertexer3DTightDeltaPhiCut();
+  vtxr->SetDeltaPhiCuts(dphil,dphit);
+  Float_t dcacut=GetRecoParam()->GetVertexer3DDCACut();
+  vtxr->SetDCACut(dcacut);
+  return vtxr;
 }
 
 //_____________________________________________________________________________
index 72a99b52b4a72c882c579780bd1576cadd85558f..784f8062f83f4611225386043bd55c676448d0ff 100644 (file)
@@ -55,7 +55,7 @@ fMeanPtSelTrk(0.)
   SetMaxRCut();
   SetZCutDiamond();
   SetMaxZCut();
-  SetDCAcut();
+  SetDCACut();
   SetDiffPhiMax();
   SetMeanPSelTracks();
   SetMeanPtSelTracks();
index d270cddacae30ea70fcbb7d7ce9be75a48f29627..023c35bbf87d9be6fa545616f37e73ed7461f277 100644 (file)
@@ -23,12 +23,24 @@ class AliITSVertexer3D : public AliITSVertexer {
   virtual AliESDVertex* FindVertexForCurrentEvent(TTree *itsClusterTree);
   AliESDVertex GetVertex3D() const {return fVert3D;}
   virtual void PrintStatus() const;
+  void SetWideFiducialRegion(Float_t dz = 14.0, Float_t dr=2.5){
+    SetCoarseMaxRCut(dr);
+    SetZCutDiamond(dz);
+  }
+  void SetNarrowFiducialRegion(Float_t dz = 0.5, Float_t dr=0.5){
+    SetMaxRCut(dr);
+    SetMaxZCut(dz);
+  }
+  void SetDeltaPhiCuts(Float_t dphiloose=0.5, Float_t dphitight=0.01){
+    SetCoarseDiffPhiCut(dphiloose);
+    SetDiffPhiMax(dphitight);
+  }
   void SetCoarseDiffPhiCut(Float_t dphi = 0.5){fCoarseDiffPhiCut=dphi;}
   void SetCoarseMaxRCut(Float_t rad = 2.5){fCoarseMaxRCut=rad;}
   void SetMaxRCut(Float_t rad = 0.5){fMaxRCut=rad;}
   void SetZCutDiamond(Float_t zcut = 14.0){fZCutDiamond=zcut;}
   void SetMaxZCut(Float_t dz = 0.5){fMaxZCut=dz;}
-  void SetDCAcut(Float_t dca=0.1){fDCAcut=dca;} 
+  void SetDCACut(Float_t dca=0.1){fDCAcut=dca;} 
   void SetDiffPhiMax(Float_t pm = 0.01){fDiffPhiMax = pm;}
   void SetMeanPSelTracks(Float_t pGeV=0.875){fMeanPSelTrk = pGeV;}
   void SetMeanPtSelTracks(Float_t ptGeV=0.630){fMeanPtSelTrk = ptGeV;}
index 46ca444ac11e803496edd7a9c810dac9b3337ec1..8a8bdf34b7739f9e96cec8de2066849f52623198 100644 (file)
Binary files a/ITS/Calib/RecoParam/Run0_999999999_v0_s0.root and b/ITS/Calib/RecoParam/Run0_999999999_v0_s0.root differ