Fixes for bug #52499: Field polarities inconsistiency
[u/mrichter/AliRoot.git] / STEER / AliESDV0Params.h
CommitLineData
d6a49f20 1#ifndef ALIESDV0PARAMS_H
2#define ALIESDV0PARAMS_H
c1e38247 3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
c1e38247 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//-------------------------------------------------------------------------
12
13#include "TObject.h"
14
d6a49f20 15class AliESDV0Params : public TObject{
16 friend class AliESDv0;
c1e38247 17 public:
d6a49f20 18 AliESDV0Params();
db4c5c7d 19
20 void SetMaxDist0(Float_t kMaxDist0=0.1) {fkMaxDist0=kMaxDist0;}
21 void SetMaxDist1(Float_t kMaxDist1=0.1) {fkMaxDist1=kMaxDist1;}
22 void SetMaxDist(Float_t kMaxDist=1.) {fkMaxDist=kMaxDist;}
23 void SetMinPointAngle(Float_t kMinPointAngle=0.85){fkMinPointAngle=kMinPointAngle;}
24 void SetMinPointAngle2(Float_t kMinPointAngle2=0.99){fkMinPointAngle2=kMinPointAngle2;}
25 void SetMinR(Float_t kMinR= 0.5){fkMinR= kMinR;}
26 void SetMaxR(Float_t kMaxR= 220.){fkMaxR= kMaxR;}
27 void SetCausality0Cut(Float_t kCausality0Cut= 0.19){fkCausality0Cut= kCausality0Cut;}
28 void SetLikelihood01Cut(Float_t kLikelihood01Cut = 0.45) {fkLikelihood01Cut=kLikelihood01Cut;}
29 void SetLikelihood1Cut(Float_t kLikelihood1Cut = 0.5) {fkLikelihood1Cut=kLikelihood1Cut;}
30 void SetCombinedCut(Float_t kCombinedCut= 0.55) {fkCombinedCut=kCombinedCut;}
31 void SetMinClFullTrk(Float_t kMinClFullTrk=5.0){fkMinClFullTrk=kMinClFullTrk;}
32 void SetMinTgl0(Float_t kMinTgl0=1.05){fkMinTgl0=kMinTgl0;}
33 void SetMinTPCdensity(Float_t kMinTPCdensity=0.6){fkMinTPCdensity=kMinTPCdensity;}
34 void SetMinTgl1(Float_t kMinTgl1=1.1){fkMinTgl1=kMinTgl1;}
35 void SetMinTgl2(Float_t kMinTgl2=1.){fkMinTgl1=kMinTgl2;}
36 void SetMinchi2before0(Float_t kMinchi2before0=16.){fkMinchi2before0=kMinchi2before0;}
37 void SetMinchi2before1(Float_t kMinchi2before1=16.){fkMinchi2before1=kMinchi2before1;}
38 void SetMinchi2after0(Float_t kMinchi2after0=16.){fkMinchi2after0=kMinchi2after0;}
39 void SetMinchi2after1(Float_t kMinchi2after1=16.){fkMinchi2after1=kMinchi2after1;}
40 void SetAddchi2SharedCl(Float_t kAddchi2SharedCl=18){fkAddchi2SharedCl=kAddchi2SharedCl;}
41 void SetAddchi2NegCl0(Float_t kAddchi2NegCl0=25){fkAddchi2NegCl0=kAddchi2NegCl0;}
42 void SetAddchi2NegCl1(Float_t kAddchi2NegCl1=30){fkAddchi2NegCl1=kAddchi2NegCl1;}
43 void SetSigp0Par0(Float_t kSigp0Par0=0.0001){fkSigp0Par0=kSigp0Par0;}
44 void SetSigp0Par1(Float_t kSigp0Par1=0.001){fkSigp0Par1=kSigp0Par1;}
45 void SetSigp0Par2(Float_t kSigp0Par2=0.1){fkSigp0Par2=kSigp0Par2;}
46
47 void SetSigpPar0(Float_t kSigpPar0=0.5){fkSigpPar0=kSigpPar0;}
48 void SetSigpPar1(Float_t kSigpPar1=0.6){fkSigpPar1=kSigpPar1;}
49 void SetSigpPar2(Float_t kSigpPar2=0.4){fkSigpPar2=kSigpPar2;}
50 void SetChi2KF(Float_t kChi2KF=100.){fkChi2KF=kChi2KF;}
51 void SetRobustChi2KF(Float_t kRobustChi2KF=100.){fkRobustChi2KF=kRobustChi2KF;}
52
53
54 Float_t GetMaxDist0() const {return fkMaxDist0;}
55 Float_t GetMaxDist1() const {return fkMaxDist1;}
56 Float_t GetMaxDist() const {return fkMaxDist;}
57 Float_t GetMinPointAngle() const {return fkMinPointAngle;}
58 Float_t GetMinPointAngle2() const {return fkMinPointAngle2;}
59 Float_t GetMinR() const {return fkMinR;}
60 Float_t GetMaxR() const {return fkMaxR;}
61 Float_t GetCausality0Cut() const {return fkCausality0Cut;}
62 Float_t GetLikelihood01Cut() const {return fkLikelihood01Cut;}
63 Float_t GetLikelihood1Cut() const {return fkLikelihood1Cut;}
64 Float_t GetCombinedCut() const {return fkCombinedCut;}
65 Float_t GetMinClFullTrk() const {return fkMinClFullTrk;}
66 Float_t GetMinTgl0() const {return fkMinTgl0;}
67 Float_t GetMinTPCdensity() const {return fkMinTPCdensity;}
68 Float_t GetMinTgl1() const {return fkMinTgl1;}
69 Float_t GetMinTgl2() const {return fkMinTgl2;}
70 Float_t GetMinchi2before0() const {return fkMinchi2before0;}
71 Float_t GetMinchi2before1() const {return fkMinchi2before1;}
72 Float_t GetMinchi2after0() const {return fkMinchi2after0;}
73 Float_t GetMinchi2after1() const {return fkMinchi2after1;}
74 Float_t GetAddchi2SharedCl() const{return fkAddchi2SharedCl;}
75 Float_t GetAddchi2NegCl0() const{return fkAddchi2NegCl0;}
76 Float_t GetAddchi2NegCl1() const{return fkAddchi2NegCl1;}
77 Float_t GetSigp0Par0() const{return fkSigp0Par0;}
78 Float_t GetSigp0Par1() const{return fkSigp0Par1;}
79 Float_t GetSigp0Par2() const{return fkSigp0Par2;}
80 Float_t GetSigpPar0() const{return fkSigpPar0;}
81 Float_t GetSigpPar1() const{return fkSigpPar1;}
82 Float_t GetSigpPar2() const{return fkSigpPar2;}
83 Float_t GetChi2KF() const{return fkChi2KF;}
84 Float_t GetRobustChi2KF() const{return fkRobustChi2KF;}
85
86 static Int_t StreamLevel() { return fgStreamLevel;}
87 static void SetStreamLevel(Int_t level) { fgStreamLevel = level;}
88 static Int_t fgStreamLevel; // flag for streaming - for ITS V0
89
c1e38247 90 private:
91 Double_t fPSigmaOffsetD0; // sigma offset DCA
92 Double_t fPSigmaOffsetAP0; // sigma offset AP
93 // effective sigma DCA params
94 Double_t fPSigmaMaxDE; // maximal allowed sigma DCA
95 Double_t fPSigmaOffsetDE; // offset sigma DCA
96 Double_t fPSigmaCoefDE; // sigma coefiecient
97 Double_t fPSigmaRminDE; // max radius - with momentum dependence
98 // effective sigma PA params
99 Double_t fPSigmaBase0APE; // base sigma PA
100 Double_t fPSigmaMaxAPE; // maximal sigma PA
101 Double_t fPSigmaR0APE; // radial dependent part - coeficient
102 Double_t fPSigmaR1APE; // radial dependent part - offset
103 Double_t fPSigmaP0APE; // momentum dependent part - coeficient
104 Double_t fPSigmaP1APE; // momentum dependent part - offset
105 // minimax parameters
106 Double_t fPMinFractionAP0; // minimal allowed fraction of effective params - PA
107 Double_t fPMaxFractionAP0; // maximal allowed fraction of effective params - PA
108 Double_t fPMinAP0; // minimal minimax - PA sigma
109 //
110 Double_t fPMinFractionD0; // minimal allowed fraction of effective params - DCA
111 Double_t fPMaxFractionD0; // maximal allowed fraction of effective params - DCA
112 Double_t fPMinD0; // minimal minimax - DCA sigma
113 //
db4c5c7d 114
115 //Cuts for AliITSV0Finder
116
117
118 Float_t fkMaxDist0;
119 Float_t fkMaxDist1;
120 Float_t fkMaxDist;
121 Float_t fkMinPointAngle;
122 Float_t fkMinPointAngle2;
123 Float_t fkMinR;
124 Float_t fkMaxR;
125 Float_t fkCausality0Cut;
126 Float_t fkLikelihood01Cut;
127 Float_t fkLikelihood1Cut;
128 Float_t fkCombinedCut;
129 Float_t fkMinClFullTrk;
130 Float_t fkMinTgl0;
131 Float_t fkMinTPCdensity;
132 Float_t fkMinTgl1;
133 Float_t fkMinTgl2;
134 Float_t fkMinchi2before0;
135 Float_t fkMinchi2before1;
136 Float_t fkMinchi2after0;
137 Float_t fkMinchi2after1;
138 Float_t fkAddchi2SharedCl;
139 Float_t fkAddchi2NegCl0;
140 Float_t fkAddchi2NegCl1;
141
142 Float_t fkSigp0Par0;
143 Float_t fkSigp0Par1;
144 Float_t fkSigp0Par2;
145 Float_t fkSigpPar0;
146 Float_t fkSigpPar1;
147 Float_t fkSigpPar2;
148
149 Float_t fkChi2KF;
150 Float_t fkRobustChi2KF;
151
152
153
154
155
156 ClassDef(AliESDV0Params,2) // ESD V0 vertex - error and likelihood parameterization constant
c1e38247 157};
158
159
160
161#endif