112 double theta = t->
p4().Theta();
113 double p_t=t->
p4().Vect().Perp(TVector3(0.,0.,1.));
114 double p=t->
p4().Vect().Mag();
115 double charge=t->
charge();
123 if (p<0.6) eff = eff * (0.32602 + 1.91679*p -1.58341*p*p + 0.305179*p*p*
p);
133 double p=t->
p4().Vect().Mag();
140 res = 0.012 + p*0.0034;
156 double p=t->
p4().Vect().Mag();
157 res = 2.497e-3/pow(p,1.307) + 8.77e-4;
172 double p=t->
p4().Vect().Mag();
173 res = 1.81e-3/pow(p,1.131) + 3.85e-4;
181 o <<
"Parameters for detector <"<<
detName()<<
">"<<endl;
182 o <<
" _thtMin = " <<
_thtMin << endl;
183 o <<
" _thtMax = " <<
_thtMax << endl;
184 o <<
" _ptmin = " <<
_ptmin << endl;
185 o <<
" _pmin = " <<
_pmin << endl;
186 o <<
" _pRes = " <<
_pRes <<
" (rel)"<< endl;
187 if (
_pRes<0) o<<
" ... using parametrisation function for dp/p."<<endl;
188 o <<
" _thtRes = " <<
_thtRes << endl;
189 if (
_thtRes<0) o<<
" ... using parametrisation function for dtht."<<endl;
190 o <<
" _phiRes = " <<
_phiRes << endl;
191 if (
_phiRes<0) o<<
" ... using parametrisation function for dphi."<<endl;
193 if (
_efficiency<0) o<<
" ... using parametrisation function for p<0.6."<<endl;
224 if (name ==
"thtMin")
227 if (name ==
"thtMax")
239 if (name ==
"thtRes")
242 if (name ==
"phiRes")
245 if (name ==
"efficiency")
std::list< std::string > ArgList
double dp(PndFsmTrack *t) const
void print(std::ostream &o)
void parseParameterList(ArgList &par)
virtual void initParameters()
basic_ostream< char, char_traits< char > > ostream
void setDetector(PndFsmAbsDet *detector)
virtual PndFsmResponse * respond(PndFsmTrack *t)
const std::string & detName()
virtual ~PndFsmSimpleTracker()
friend F32vec4 fabs(const F32vec4 &a)
double dtheta(PndFsmTrack *t) const
double dphi(PndFsmTrack *t) const
bool detected(PndFsmTrack *t) const
void setDetected(bool isdet)
void setdtheta(double val)
bool setParameter(std::string &name, double value)