void PrintParameters() const;
+ void SetTracker(Int_t tracker=0) { fTracker=tracker; }
+ void SetTrackerDefault() { SetTracker(0); } // = MI and SA
+ void SetTrackerMI() { SetTracker(1); }
+ void SetTrackerV2() { SetTracker(2); }
+ Int_t GetTracker() const { return fTracker; }
+ void SetTrackerSAOnly(Bool_t flag=kTRUE) { fITSonly=flag; }
+ Bool_t GetTrackerSAOnly() const { return fITSonly; }
+ void SetVertexer(Int_t vertexer=0) { fVertexer=vertexer; }
+ void SetVertexer3D() { SetVertexer(0); }
+ void SetVertexerZ() { SetVertexer(1); }
+ void SetVertexerCosmics() { SetVertexer(2); }
+ void SetVertexerIons() { SetVertexer(3); }
+ void SetVertexerSmearMC() { SetVertexer(4); }
+ void SetVertexerFixedOnTDI() {SetVertexer(5);} // for injection tests
+ void SetVertexerFixedOnTED() {SetVertexer(6);} // for injection tests
+ Int_t GetVertexer() const { return fVertexer; }
+ void SetClusterFinder(Int_t cf=0) { fClusterFinder=cf; }
+ void SetClusterFinderV2() { SetClusterFinder(0); }
+ void SetClusterFinderOrig() { SetClusterFinder(1); }
+ Int_t GetClusterFinder() const { return fClusterFinder; }
+ void SetPID(Int_t pid=0) {fPID=pid;}
+ void SetDefaultPID() {SetPID(0);}
+ void SetLandauFitPID() {SetPID(1);}
+ Int_t GetPID() const {return fPID;}
+
+ void SetVertexer3DFiducialRegions(Float_t dzwid=20.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=20.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]; }
Double_t GetNSigma2RoadZC() const { return fNSigma2RoadZC; }
Double_t GetNSigma2RoadYNonC() const { return fNSigma2RoadYNonC; }
Double_t GetNSigma2RoadZNonC() const { return fNSigma2RoadZNonC; }
+ Double_t GetRoadMisal() const { return fRoadMisal; }
+ void SetRoadMisal(Double_t road=0) { fRoadMisal=road; }
Double_t GetChi2PerCluster() const { return fChi2PerCluster; }
Double_t GetMaxChi2PerCluster(Int_t i) const { return fMaxChi2PerCluster[i]; }
void SetClusterErrorsParam(Int_t param=1) { fClusterErrorsParam=param; return; }
Int_t GetClusterErrorsParam() const { return fClusterErrorsParam; }
+ void SetClusterMisalErrorY(Float_t e0,Float_t e1,Float_t e2,Float_t e3,Float_t e4,Float_t e5) { fClusterMisalErrorY[0]=e0; fClusterMisalErrorY[1]=e1; fClusterMisalErrorY[2]=e2; fClusterMisalErrorY[3]=e3; fClusterMisalErrorY[4]=e4; fClusterMisalErrorY[5]=e5; return; }
+ void SetClusterMisalErrorZ(Float_t e0,Float_t e1,Float_t e2,Float_t e3,Float_t e4,Float_t e5) { fClusterMisalErrorZ[0]=e0; fClusterMisalErrorZ[1]=e1; fClusterMisalErrorZ[2]=e2; fClusterMisalErrorZ[3]=e3; fClusterMisalErrorZ[4]=e4; fClusterMisalErrorZ[5]=e5; return; }
+ void SetClusterMisalError(Float_t err=0.) { SetClusterMisalErrorY(err,err,err,err,err,err); SetClusterMisalErrorZ(err,err,err,err,err,err); }
+ Float_t GetClusterMisalErrorY(Int_t i) const { return fClusterMisalErrorY[i]; }
+ Float_t GetClusterMisalErrorZ(Int_t i) const { return fClusterMisalErrorZ[i]; }
+
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)
+// Option for Plane Efficiency evaluation
+ 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 SetIPlanePlaneEff(Int_t i=0) {if(i<0 || i>=AliITSgeomTGeo::kNLayers) return; fIPlanePlaneEff=i; }
+ Int_t GetIPlanePlaneEff() const {return fIPlanePlaneEff;}
void SetReadPlaneEffFrom0CDB(Bool_t read=kTRUE) { fReadPlaneEffFromOCDB=read; }
Bool_t GetReadPlaneEffFromOCDB() const { return fReadPlaneEffFromOCDB; }
+ void SetMinPtPlaneEff(Bool_t ptmin=0.) { fMinPtPlaneEff=ptmin; }
+ Double_t GetMinPtPlaneEff() const { return fMinPtPlaneEff; }
+ void SetMaxMissingClustersPlaneEff(Int_t max=0) { fMaxMissingClustersPlaneEff=max;}
+ Int_t GetMaxMissingClustersPlaneEff() const {return fMaxMissingClustersPlaneEff;}
+ void SetRequireClusterInOuterLayerPlaneEff(Bool_t out=kTRUE) { fRequireClusterInOuterLayerPlaneEff=out;}
+ Bool_t GetRequireClusterInOuterLayerPlaneEff() const {return fRequireClusterInOuterLayerPlaneEff;}
+ void SetRequireClusterInInnerLayerPlaneEff(Bool_t in=kTRUE) { fRequireClusterInInnerLayerPlaneEff=in;}
+ Bool_t GetRequireClusterInInnerLayerPlaneEff() const {return fRequireClusterInInnerLayerPlaneEff;}
+ void SetOnlyConstraintPlaneEff(Bool_t con=kFALSE) { fOnlyConstraintPlaneEff=con; }
+ Bool_t GetOnlyConstraintPlaneEff() const { return fOnlyConstraintPlaneEff; }
//
void SetExtendedEtaAcceptance(Bool_t ext=kTRUE) { fExtendedEtaAcceptance=ext; return; }
Bool_t GetExtendedEtaAcceptance() const { return fExtendedEtaAcceptance; }
void SetMinFractionOfBadInRoad(Float_t frac=0) { fMinFractionOfBadInRoad=frac; return; }
Float_t GetMinFractionOfBadInRoad() const { return fMinFractionOfBadInRoad; }
+ void SetOuterStartLayerSA(Int_t lay) { fOuterStartLayerSA=lay; return; }
+ Int_t GetOuterStartLayerSA() const { return fOuterStartLayerSA; }
void SetFactorSAWindowSizes(Double_t fact=1.) { fFactorSAWindowSizes=fact; return; }
Double_t GetFactorSAWindowSizes() const { return fFactorSAWindowSizes; }
void SetUseChargeMatchingInClusterFinderSSD(Bool_t use=kTRUE) { fUseChargeMatchingInClusterFinderSSD=use; return; }
Bool_t GetUseChargeMatchingInClusterFinderSSD() const { return fUseChargeMatchingInClusterFinderSSD; }
+ // 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;}
+ Float_t GetTrackleterPhiWindow() const {return fTrackleterPhiWindow;}
+ Float_t GetTrackleterZetaWindow() const {return fTrackleterZetaWindow;}
+ void SetTrackleterRemoveClustersFromOverlaps(Bool_t use=kTRUE) { fTrackleterRemoveClustersFromOverlaps=use; return; }
+ Bool_t GetTrackleterRemoveClustersFromOverlaps() const { return fTrackleterRemoveClustersFromOverlaps; }
+ void SetTrackleterPhiOverlapCut(Float_t w=0.005) {fTrackleterPhiOverlapCut=w;}
+ void SetTrackleterZetaOverlapCut(Float_t w=0.05) {fTrackleterZetaOverlapCut=w;}
+ Float_t GetTrackleterPhiOverlapCut() const {return fTrackleterPhiOverlapCut;}
+ Float_t GetTrackleterZetaOverlapCut() const {return fTrackleterZetaOverlapCut;}
+
//
enum {fgkMaxClusterPerLayer=70000}; //7000*10; // max clusters per layer
static const Double_t fgkSPDdetzlength; // SPD ladder length in z
static const Double_t fgkSPDdetxlength; // SPD ladder length in x
+
+ Int_t fTracker; // ITS tracker to be used (see AliITSReconstructor)
+ Bool_t fITSonly; // tracking only in ITS (no TPC)
+ Int_t fVertexer; // ITS vertexer to be used (see AliITSReconstructor)
+ 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
Double_t fNSigma2RoadYC; // y
Double_t fNSigma2RoadZNonC; // z
Double_t fNSigma2RoadYNonC; // y
+
+ Double_t fRoadMisal; // [cm] increase of road for misalignment (MI)
//
// chi2 cuts
Double_t fMaxChi2PerCluster[AliITSgeomTGeo::kNLayers-1]; // max chi2 for MIP (MI)
Int_t fUseTGeoInTracker; // use TGeo to get material budget in tracker MI
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()
+ Float_t fClusterMisalErrorY[AliITSgeomTGeo::kNLayers]; // [cm] additional error on cluster Y pos. due to misalignment (MI,SA)
+ Float_t fClusterMisalErrorZ[AliITSgeomTGeo::kNLayers]; // [cm] additional error on cluster Z pos. due to misalignment (MI,SA)
+
Bool_t fUseAmplitudeInfo[AliITSgeomTGeo::kNLayers]; // use cluster charge in cluster-track matching (SDD,SSD) (MI)
+
+ // Plane Efficiency evaluation
Bool_t fComputePlaneEff; // flag to enable computation of PlaneEfficiency
Bool_t fHistoPlaneEff; // flag to enable auxiliary PlaneEff histograms (e.g. residual distributions)
+ Int_t fIPlanePlaneEff; // index of the plane (in the range [0,5]) to study the efficiency
Bool_t fReadPlaneEffFromOCDB; // enable initial reading of Plane Eff statistics from OCDB
// The analized events would be used to increase the statistics
+ Double_t fMinPtPlaneEff; // minimum p_t of the track to be used for Plane Efficiency evaluation
+ Int_t fMaxMissingClustersPlaneEff; // max n. of (other) layers without a cluster associated to the track
+ Bool_t fRequireClusterInOuterLayerPlaneEff; // if kTRUE, then only tracks with an associated cluster on the closest
+ Bool_t fRequireClusterInInnerLayerPlaneEff; // outer/inner layer are used. It has no effect for outermost/innermost layer
+ Bool_t fOnlyConstraintPlaneEff; // if kTRUE, use only constrained tracks at primary vertex for Plane Eff.
+
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)
+ Int_t fOuterStartLayerSA; // outer ITS layer to start track in SA
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
Bool_t fUseChargeMatchingInClusterFinderSSD; // SSD
- ClassDef(AliITSRecoParam,3) // ITS reco parameters
+ // 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
+ 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
+
+ ClassDef(AliITSRecoParam,11) // ITS reco parameters
};
#endif