112 double theta = t->
p4().Theta();
113 double p_t=t->
p4().Vect().Perp(TVector3(0.,0.,1.));
114 double charge=t->
charge();
123 double p=t->
p4().Vect().Mag();
143 o <<
"Parameters for detector <"<<
detName()<<
">"<<endl;
144 o <<
" _thtMin = " <<
_thtMin << endl;
145 o <<
" _thtMax = " <<
_thtMax << endl;
146 o <<
" _ptmin = " <<
_ptmin << endl;
147 o <<
" _pRes = " <<
_pRes <<
" (rel)"<< endl;
148 o <<
" _thtRes = " <<
_thtRes << endl;
149 o <<
" _phiRes = " <<
_phiRes << endl;
176 if (name ==
"thtMin")
179 if (name ==
"thtMax")
188 if (name ==
"thtRes")
191 if (name ==
"phiRes")
194 if (name ==
"efficiency")
std::list< std::string > ArgList
void parseParameterList(ArgList &par)
bool setParameter(std::string &name, double value)
virtual ~PndFsmDetTemplate()
bool detected(PndFsmTrack *t) const
double dphi(PndFsmTrack *t) const
basic_ostream< char, char_traits< char > > ostream
void setDetector(PndFsmAbsDet *detector)
double dp(PndFsmTrack *t) const
const std::string & detName()
friend F32vec4 fabs(const F32vec4 &a)
double dtheta(PndFsmTrack *t) const
void setDetected(bool isdet)
virtual PndFsmResponse * respond(PndFsmTrack *t)
void setdtheta(double val)
void print(std::ostream &o)