New class AliITSRecoParam. It replaces AliITSRecoV2 (A.Dainese)
[u/mrichter/AliRoot.git] / ITS / AliITSRecoParam.h
CommitLineData
44347160 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 */
5
6///////////////////////////////////////////////////////////////////////////////
7// //
8// Class with ITS reconstruction parameters //
9// Origin: andrea.dainese@lnl.infn.it //
10// //
11///////////////////////////////////////////////////////////////////////////////
12
13
14#include "TObject.h"
15
16//--------------- move from AliITSrecoV2.h ---------------------------
17const Int_t kMaxLayer = 6;
18
19const Int_t kLayersNotToSkip[6]={0,0,0,0,0,0};
20const Int_t kLastLayerToTrackTo=0;
21
22const Int_t kMaxClusterPerLayer=7000*10;
23const Int_t kMaxClusterPerLayer5=7000*10*2/5;
24const Int_t kMaxClusterPerLayer10=7000*10*2/10;
25const Int_t kMaxClusterPerLayer20=7000*10*2/20;
26const Int_t kMaxDetectorPerLayer=1000;
27//------------- end of move from AliITSrecoV2.h --------------------
28
29
30class AliITSRecoParam : public TObject
31{
32 public:
33 AliITSRecoParam();
34 virtual ~AliITSRecoParam();
35
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
39
40
41 Double_t GetSigmaY2(Int_t i) const { return fSigmaY2[i]; }
42 Double_t GetSigmaZ2(Int_t i) const { return fSigmaZ2[i]; }
43
44 Double_t GetMaxSnp() const { return fMaxSnp; }
45
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; }
54
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; }
65
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; }
72
73 void SetLayersParameters();
74 //
75 protected:
76 //
77 // spatial resolutions of the detectors
78 Double_t fSigmaY2[kMaxLayer];
79 Double_t fSigmaZ2[kMaxLayer];
80 //
81 Double_t fMaxSnp; // maximum of sin(phi) (MI)
82 //
83 // search road (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;
92 //
93 // chi2 cuts
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)
99 //
100 Double_t fMaxRoad; // (V2)
101 //
102 Double_t fMaxChi2In; // (NOT USED)
103 Double_t fMaxChi2sR[kMaxLayer]; // (NOT USED)
104 Double_t fChi2PerCluster; // (NOT USED)
105 //
106 // default primary vertex (MI,V2)
107 Double_t fXV;
108 Double_t fYV;
109 Double_t fZV;
110 Double_t fSigmaXV;
111 Double_t fSigmaYV;
112 Double_t fSigmaZV;
113 Double_t fVertexCut; // (V2)
114 //
115 ClassDef(AliITSRecoParam,1) // ITS reco parameters
116};
117
118#endif