1 #ifndef ALIESDV0PARAMS_H
2 #define ALIESDV0PARAMS_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //-------------------------------------------------------------------------
8 // ESD V0 Vertex Class - parameterization
9 // This class is part of the Event Summary Data set of classes
10 // Origin: Marian Ivanov marian.ivanov@cern.ch
11 // Modified in 18/10/09 by A. Marin, a.marin@gsi.de
12 //-------------------------------------------------------------------------
16 class AliESDV0Params : public TObject{
17 friend class AliESDv0; // ESD V0
21 void SetMaxDist0(Float_t kMaxDist0=0.1) {fkMaxDist0=kMaxDist0;}
22 void SetMaxDist1(Float_t kMaxDist1=0.1) {fkMaxDist1=kMaxDist1;}
23 void SetMaxDist(Float_t kMaxDist=1.) {fkMaxDist=kMaxDist;}
24 void SetMinPointAngle(Float_t kMinPointAngle=0.85){fkMinPointAngle=kMinPointAngle;}
25 void SetMinPointAngle2(Float_t kMinPointAngle2=0.99){fkMinPointAngle2=kMinPointAngle2;}
26 void SetMinR(Float_t kMinR= 0.5){fkMinR= kMinR;}
27 void SetMaxR(Float_t kMaxR= 220.){fkMaxR= kMaxR;}
28 void SetMinPABestConst(Float_t kMinPABestConst= 0.9999){fkMinPABestConst= kMinPABestConst;}
29 void SetMaxRBestConst(Float_t kMaxRBestConst= 10.){fkMaxRBestConst= kMaxRBestConst;}
31 void SetCausality0Cut(Float_t kCausality0Cut= 0.19){fkCausality0Cut= kCausality0Cut;}
32 void SetLikelihood01Cut(Float_t kLikelihood01Cut = 0.45) {fkLikelihood01Cut=kLikelihood01Cut;}
33 void SetLikelihood1Cut(Float_t kLikelihood1Cut = 0.5) {fkLikelihood1Cut=kLikelihood1Cut;}
34 void SetCombinedCut(Float_t kCombinedCut= 0.55) {fkCombinedCut=kCombinedCut;}
35 void SetMinClFullTrk(Float_t kMinClFullTrk=5.0){fkMinClFullTrk=kMinClFullTrk;}
36 void SetMinTgl0(Float_t kMinTgl0=1.05){fkMinTgl0=kMinTgl0;}
37 void SetMinRTgl0(Float_t kMinRTgl0=40.0){fkMinRTgl0=kMinRTgl0;}
39 void SetMinNormDistForbTgl0(Float_t kMinNormDistForbTgl0=3.0){fkMinNormDistForbTgl0=kMinNormDistForbTgl0;}
40 void SetMinClForb0(Float_t kMinClForb0=4.5){fkMinClForb0=kMinClForb0;}
41 void SetMinNormDistForb1(Float_t kMinNormDistForb1=3.0){fkMinNormDistForb1=kMinNormDistForb1;}
42 void SetMinNormDistForb2(Float_t kMinNormDistForb2=2.0){fkMinNormDistForb2=kMinNormDistForb2;}
43 void SetMinNormDistForb3(Float_t kMinNormDistForb3=1.0){fkMinNormDistForb3=kMinNormDistForb3;}
44 void SetMinNormDistForb4(Float_t kMinNormDistForb4=4.0){fkMinNormDistForb4=kMinNormDistForb4;}
45 void SetMinNormDistForb5(Float_t kMinNormDistForb5=5.0){fkMinNormDistForb5=kMinNormDistForb5;}
46 void SetMinNormDistForbProt(Float_t kMinNormDistForbProt=2.0){fkMinNormDistForbProt=kMinNormDistForbProt;}
47 void SetMaxPidProbPionForb(Float_t kMaxPidProbPionForb=0.5){fkMaxPidProbPionForb=kMaxPidProbPionForb;}
50 void SetMinRTPCdensity(Float_t kMinRTPCdensity=40.0){fkMinRTPCdensity=kMinRTPCdensity;}
51 void SetMaxRTPCdensity0( Float_t kMaxRTPCdensity0=110.0){fkMaxRTPCdensity0=kMaxRTPCdensity0;}
52 void SetMaxRTPCdensity10(Float_t kMaxRTPCdensity10=120.0){fkMaxRTPCdensity10=kMaxRTPCdensity10;}
53 void SetMaxRTPCdensity20(Float_t kMaxRTPCdensity20=130.0){fkMaxRTPCdensity20=kMaxRTPCdensity20;}
54 void SetMaxRTPCdensity30(Float_t kMaxRTPCdensity30=140.0){fkMaxRTPCdensity30=kMaxRTPCdensity30;}
56 void SetMinTPCdensity(Float_t kMinTPCdensity=0.6){fkMinTPCdensity=kMinTPCdensity;}
57 void SetMinTgl1(Float_t kMinTgl1=1.1){fkMinTgl1=kMinTgl1;}
58 void SetMinTgl2(Float_t kMinTgl2=1.){fkMinTgl1=kMinTgl2;}
59 void SetMinchi2before0(Float_t kMinchi2before0=16.){fkMinchi2before0=kMinchi2before0;}
60 void SetMinchi2before1(Float_t kMinchi2before1=16.){fkMinchi2before1=kMinchi2before1;}
61 void SetMinchi2after0(Float_t kMinchi2after0=16.){fkMinchi2after0=kMinchi2after0;}
62 void SetMinchi2after1(Float_t kMinchi2after1=16.){fkMinchi2after1=kMinchi2after1;}
63 void SetAddchi2SharedCl(Float_t kAddchi2SharedCl=18){fkAddchi2SharedCl=kAddchi2SharedCl;}
64 void SetAddchi2NegCl0(Float_t kAddchi2NegCl0=25){fkAddchi2NegCl0=kAddchi2NegCl0;}
65 void SetAddchi2NegCl1(Float_t kAddchi2NegCl1=30){fkAddchi2NegCl1=kAddchi2NegCl1;}
66 void SetSigp0Par0(Float_t kSigp0Par0=0.0001){fkSigp0Par0=kSigp0Par0;}
67 void SetSigp0Par1(Float_t kSigp0Par1=0.001){fkSigp0Par1=kSigp0Par1;}
68 void SetSigp0Par2(Float_t kSigp0Par2=0.1){fkSigp0Par2=kSigp0Par2;}
70 void SetSigpPar0(Float_t kSigpPar0=0.5){fkSigpPar0=kSigpPar0;}
71 void SetSigpPar1(Float_t kSigpPar1=0.6){fkSigpPar1=kSigpPar1;}
72 void SetSigpPar2(Float_t kSigpPar2=0.4){fkSigpPar2=kSigpPar2;}
73 void SetMaxDcaLh0(Float_t kMaxDcaLh0=0.5) {fkMaxDcaLh0=kMaxDcaLh0;}
75 void SetChi2KF(Float_t kChi2KF=100.){fkChi2KF=kChi2KF;}
76 void SetRobustChi2KF(Float_t kRobustChi2KF=100.){fkRobustChi2KF=kRobustChi2KF;}
79 Float_t GetMaxDist0() const {return fkMaxDist0;}
80 Float_t GetMaxDist1() const {return fkMaxDist1;}
81 Float_t GetMaxDist() const {return fkMaxDist;}
82 Float_t GetMinPointAngle() const {return fkMinPointAngle;}
83 Float_t GetMinPointAngle2() const {return fkMinPointAngle2;}
84 Float_t GetMinR() const {return fkMinR;}
85 Float_t GetMaxR() const {return fkMaxR;}
86 Float_t GetMinPABestConst() const {return fkMinPABestConst;}
87 Float_t GetMaxRBestConst() const {return fkMaxRBestConst;}
88 Float_t GetCausality0Cut() const {return fkCausality0Cut;}
89 Float_t GetLikelihood01Cut() const {return fkLikelihood01Cut;}
90 Float_t GetLikelihood1Cut() const {return fkLikelihood1Cut;}
91 Float_t GetCombinedCut() const {return fkCombinedCut;}
92 Float_t GetMinClFullTrk() const {return fkMinClFullTrk;}
93 Float_t GetMinTgl0() const {return fkMinTgl0;}
94 Float_t GetMinRTgl0() const {return fkMinRTgl0;}
96 Float_t GetMinNormDistForbTgl0() const {return fkMinNormDistForbTgl0;}
97 Float_t GetMinClForb0() const {return fkMinClForb0;}
98 Float_t GetMinNormDistForb1() const {return fkMinNormDistForb1;}
99 Float_t GetMinNormDistForb2() const {return fkMinNormDistForb2;}
100 Float_t GetMinNormDistForb3() const {return fkMinNormDistForb3;}
101 Float_t GetMinNormDistForb4() const {return fkMinNormDistForb4;}
102 Float_t GetMinNormDistForb5() const {return fkMinNormDistForb5;}
103 Float_t GetMinNormDistForbProt() const {return fkMinNormDistForbProt;}
104 Float_t GetMaxPidProbPionForb() const {return fkMaxPidProbPionForb;}
106 Float_t GetMinRTPCdensity() const {return fkMinRTPCdensity;}
107 Float_t GetMaxRTPCdensity0() const {return fkMaxRTPCdensity0;}
108 Float_t GetMaxRTPCdensity10() const {return fkMaxRTPCdensity10;}
109 Float_t GetMaxRTPCdensity20() const {return fkMaxRTPCdensity20;}
110 Float_t GetMaxRTPCdensity30() const {return fkMaxRTPCdensity30;}
112 Float_t GetMinTPCdensity() const {return fkMinTPCdensity;}
113 Float_t GetMinTgl1() const {return fkMinTgl1;}
114 Float_t GetMinTgl2() const {return fkMinTgl2;}
115 Float_t GetMinchi2before0() const {return fkMinchi2before0;}
116 Float_t GetMinchi2before1() const {return fkMinchi2before1;}
117 Float_t GetMinchi2after0() const {return fkMinchi2after0;}
118 Float_t GetMinchi2after1() const {return fkMinchi2after1;}
119 Float_t GetAddchi2SharedCl() const{return fkAddchi2SharedCl;}
120 Float_t GetAddchi2NegCl0() const{return fkAddchi2NegCl0;}
121 Float_t GetAddchi2NegCl1() const{return fkAddchi2NegCl1;}
122 Float_t GetSigp0Par0() const{return fkSigp0Par0;}
123 Float_t GetSigp0Par1() const{return fkSigp0Par1;}
124 Float_t GetSigp0Par2() const{return fkSigp0Par2;}
125 Float_t GetSigpPar0() const{return fkSigpPar0;}
126 Float_t GetSigpPar1() const{return fkSigpPar1;}
127 Float_t GetSigpPar2() const{return fkSigpPar2;}
128 Float_t GetMaxDcaLh0() const{return fkMaxDcaLh0;}
130 Float_t GetChi2KF() const{return fkChi2KF;}
131 Float_t GetRobustChi2KF() const{return fkRobustChi2KF;}
133 Int_t StreamLevel() const{return fgStreamLevel;}
134 void SetStreamLevel(Int_t level=0) { fgStreamLevel = level;}
138 Double_t fPSigmaOffsetD0; // sigma offset DCA
139 Double_t fPSigmaOffsetAP0; // sigma offset AP
140 // effective sigma DCA params
141 Double_t fPSigmaMaxDE; // maximal allowed sigma DCA
142 Double_t fPSigmaOffsetDE; // offset sigma DCA
143 Double_t fPSigmaCoefDE; // sigma coefiecient
144 Double_t fPSigmaRminDE; // max radius - with momentum dependence
145 // effective sigma PA params
146 Double_t fPSigmaBase0APE; // base sigma PA
147 Double_t fPSigmaMaxAPE; // maximal sigma PA
148 Double_t fPSigmaR0APE; // radial dependent part - coeficient
149 Double_t fPSigmaR1APE; // radial dependent part - offset
150 Double_t fPSigmaP0APE; // momentum dependent part - coeficient
151 Double_t fPSigmaP1APE; // momentum dependent part - offset
152 // minimax parameters
153 Double_t fPMinFractionAP0; // minimal allowed fraction of effective params - PA
154 Double_t fPMaxFractionAP0; // maximal allowed fraction of effective params - PA
155 Double_t fPMinAP0; // minimal minimax - PA sigma
157 Double_t fPMinFractionD0; // minimal allowed fraction of effective params - DCA
158 Double_t fPMaxFractionD0; // maximal allowed fraction of effective params - DCA
159 Double_t fPMinD0; // minimal minimax - DCA sigma
162 //Cuts for AliITSV0Finder
165 Float_t fkMaxDist0; // Maximum distance 0 coef (pol1)
166 Float_t fkMaxDist1; // Maximum distance 1 coef (pol1)
167 Float_t fkMaxDist; // Maximum distance
168 Float_t fkMinPointAngle; // Minimum pointing Angle Soft
169 Float_t fkMinPointAngle2; // Minimum pointing Angle Hard
170 Float_t fkMinR; // Minimum R
171 Float_t fkMaxR; // Maximum R
172 Float_t fkMinPABestConst; // Minimum PA Best
173 Float_t fkMaxRBestConst; // Maximum R Best
174 Float_t fkCausality0Cut; // Causality cut
175 Float_t fkLikelihood01Cut; // Likelihood cut
176 Float_t fkLikelihood1Cut; // Likelihood cut
177 Float_t fkCombinedCut; // Combined cut
178 Float_t fkMinClFullTrk; // Minimum Cluster full track
179 Float_t fkMinTgl0; // Minimu Tgl
181 Float_t fkMinClForb0; // Minimum cluster to forbid track
182 Float_t fkMinRTgl0; // Minimum R Tgl
183 Float_t fkMinNormDistForbTgl0; // Minimum normalized distance
184 Float_t fkMinNormDistForb1; // Minimum normalized distance Forbid cond 1
185 Float_t fkMinNormDistForb2; // Minimum normalize distance Forbid cond 2
186 Float_t fkMinNormDistForb3; // Minimum normalize distance Forbid cond 3
187 Float_t fkMinNormDistForb4; // Minimum normalize distance Forbid cond 4
188 Float_t fkMinNormDistForb5; // Minimum normalize distance Forbid cond 5
189 Float_t fkMinNormDistForbProt; // Minimum normalize distance to not Forbid Proton
190 Float_t fkMaxPidProbPionForb; // Max pid prob to decleare not pion
193 Float_t fkMinRTPCdensity; // Minimum R TPC density cond
194 Float_t fkMaxRTPCdensity0; // Maximum R TPC density cond
195 Float_t fkMaxRTPCdensity10; // Maximum R TPC density cond
196 Float_t fkMaxRTPCdensity20; // Maximum R TPC density cond
197 Float_t fkMaxRTPCdensity30; // Maximum R TPC density cond
199 Float_t fkMinTPCdensity; // Minimum TPC density
200 Float_t fkMinTgl1; // Minimum Tgl
201 Float_t fkMinTgl2; // Minimum Tgl
202 Float_t fkMinchi2before0; // Minimum chi2 before V0 cond 0
203 Float_t fkMinchi2before1; // Minimum chi2 before V0 cond 1
204 Float_t fkMinchi2after0; // Minimum chi2 after V0 cond 0
205 Float_t fkMinchi2after1; // Minimum chi2 after V0 cond 1
206 Float_t fkAddchi2SharedCl; // Add chi2 shared clusters
207 Float_t fkAddchi2NegCl0; // Add chi2 negative clusters
208 Float_t fkAddchi2NegCl1; // Add chi2 negative clusters
210 Float_t fkSigp0Par0; // par0 sigma_0
211 Float_t fkSigp0Par1; // par1 sigma_0
212 Float_t fkSigp0Par2; // par2 sigma_0
213 Float_t fkSigpPar0; // par0 sigma_1
214 Float_t fkSigpPar1; // par1 sigma_1
215 Float_t fkSigpPar2; // par2 sigma_1
216 Float_t fkMaxDcaLh0; // Maximum DCA Lh
218 Float_t fkChi2KF; // chi2 AliKF
219 Float_t fkRobustChi2KF; // robust chi2 KF
220 Int_t fgStreamLevel; // flag for streaming - for ITS V0
225 ClassDef(AliESDV0Params,4) // ESD V0 vertex - error and likelihood parameterization constant