1 #ifndef ALIITSRECOPARAM_H
2 #define ALIITSRECOPARAM_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ///////////////////////////////////////////////////////////////////////////////
8 // Class with ITS reconstruction parameters //
9 // Origin: andrea.dainese@lnl.infn.it //
11 ///////////////////////////////////////////////////////////////////////////////
16 //--------------- move from AliITSrecoV2.h ---------------------------
17 const Int_t kMaxLayer = 6;
19 const Int_t kLayersNotToSkip[6]={0,0,0,0,0,0};
20 const Int_t kLastLayerToTrackTo=0;
22 const Int_t kMaxClusterPerLayer=7000*10;
23 const Int_t kMaxClusterPerLayer5=7000*10*2/5;
24 const Int_t kMaxClusterPerLayer10=7000*10*2/10;
25 const Int_t kMaxClusterPerLayer20=7000*10*2/20;
26 const Int_t kMaxDetectorPerLayer=1000;
27 //------------- end of move from AliITSrecoV2.h --------------------
30 class AliITSRecoParam : public TObject
34 virtual ~AliITSRecoParam();
36 static AliITSRecoParam *GetLowFluxParam();// make reco parameters for low flux env.
37 static AliITSRecoParam *GetHighFluxParam();// make reco parameters for high flux env.
38 static AliITSRecoParam *GetCosmicTestParam();// special setting for cosmic
41 Double_t GetSigmaY2(Int_t i) const { return fSigmaY2[i]; }
42 Double_t GetSigmaZ2(Int_t i) const { return fSigmaZ2[i]; }
44 Double_t GetMaxSnp() const { return fMaxSnp; }
46 Double_t GetNSigmaYLayerForRoadY() const { return fNSigmaYLayerForRoadY; }
47 Double_t GetNSigmaRoadY() const { return fNSigmaRoadY; }
48 Double_t GetNSigmaZLayerForRoadZ() const { return fNSigmaZLayerForRoadZ; }
49 Double_t GetNSigmaRoadZ() const { return fNSigmaRoadZ; }
50 Double_t GetNSigma2RoadYC() const { return fNSigma2RoadYC; }
51 Double_t GetNSigma2RoadZC() const { return fNSigma2RoadZC; }
52 Double_t GetNSigma2RoadYNonC() const { return fNSigma2RoadYNonC; }
53 Double_t GetNSigma2RoadZNonC() const { return fNSigma2RoadZNonC; }
55 Double_t GetChi2PerCluster() const { return fChi2PerCluster; }
56 Double_t GetMaxChi2PerCluster(Int_t i) const { return fMaxChi2PerCluster[i]; }
57 Double_t GetMaxNormChi2NonC(Int_t i) const { return fMaxNormChi2NonC[i]; }
58 Double_t GetMaxNormChi2C(Int_t i) const { return fMaxNormChi2C[i]; }
59 Double_t GetMaxChi2() const { return fMaxChi2; }
60 Double_t GetMaxChi2s(Int_t i) const { return fMaxChi2s[i]; }
61 Double_t GetMaxChi2sR(Int_t i) const { return fMaxChi2sR[i]; }
62 Double_t GetMaxChi2In() const { return fMaxChi2In; }
63 Double_t GetVertexCut() const { return fVertexCut; }
64 Double_t GetMaxRoad() const { return fMaxRoad; }
66 Double_t GetXVdef() const { return fXV; }
67 Double_t GetYVdef() const { return fYV; }
68 Double_t GetZVdef() const { return fZV; }
69 Double_t GetSigmaXVdef() const { return fSigmaXV; }
70 Double_t GetSigmaYVdef() const { return fSigmaYV; }
71 Double_t GetSigmaZVdef() const { return fSigmaZV; }
73 void SetLayersParameters();
77 // spatial resolutions of the detectors
78 Double_t fSigmaY2[kMaxLayer];
79 Double_t fSigmaZ2[kMaxLayer];
81 Double_t fMaxSnp; // maximum of sin(phi) (MI)
84 Double_t fNSigmaYLayerForRoadY;
85 Double_t fNSigmaRoadY;
86 Double_t fNSigmaZLayerForRoadZ;
87 Double_t fNSigmaRoadZ;
88 Double_t fNSigma2RoadZC;
89 Double_t fNSigma2RoadYC;
90 Double_t fNSigma2RoadZNonC;
91 Double_t fNSigma2RoadYNonC;
94 Double_t fMaxChi2PerCluster[kMaxLayer-1]; // max chi2 for MIP (MI)
95 Double_t fMaxNormChi2NonC[kMaxLayer]; //max norm chi2 for non constrained tracks (MI)
96 Double_t fMaxNormChi2C[kMaxLayer]; //max norm chi2 for constrained tracks (MI)
97 Double_t fMaxChi2; // used to initialize variables needed to find minimum chi2 (MI,V2)
98 Double_t fMaxChi2s[kMaxLayer]; // max predicted chi2 (cluster & track prol.) (MI)
100 Double_t fMaxRoad; // (V2)
102 Double_t fMaxChi2In; // (NOT USED)
103 Double_t fMaxChi2sR[kMaxLayer]; // (NOT USED)
104 Double_t fChi2PerCluster; // (NOT USED)
106 // default primary vertex (MI,V2)
113 Double_t fVertexCut; // (V2)
115 ClassDef(AliITSRecoParam,1) // ITS reco parameters