105 double zscale = t->
p4().Pz()/
_dist;
106 double x = t->
p4().Px()/zscale;
107 double y = t->
p4().Py()/zscale;
108 TVector3 hitpos(x,y,
_dist);
127 double theta = t->
p4().Theta();
128 double E=t->
p4().E();
129 double lund = t->
pdt();
137 double E = t->
p4().E();
145 double theta = t->
p4().Vect().Theta();
147 if (denom==0)
return 0;
158 double E = t->
p4().E();
159 return (0.002/
sqrt(E));
165 o <<
"Detector <"<<
_detName<<
">"<<endl;
166 o <<
" _aPar = "<<
_aPar<<endl;
167 o <<
" _bPar = "<<
_bPar<<endl;
169 o <<
" _Emin = "<<
_Emin<<endl;
170 o <<
" _dist = "<<
_dist<<endl;
172 o <<
" _thtMin = "<<
_thtMin<<endl;
173 o <<
" _thtMax = "<<
_thtMax<<endl;
209 if (name ==
"xtalDim")
218 if (name ==
"resFactor")
221 if (name ==
"thtMin")
224 if (name ==
"thtMax")
227 if (name ==
"radiationLength")
230 if (name ==
"efficiency")
double dtheta(PndFsmTrack *t) const
void setStopVtx(TVector3 v)
std::list< std::string > ArgList
friend F32vec4 sqrt(const F32vec4 &a)
bool hitMapResponse(unsigned int)
void print(std::ostream &o)
double dE(PndFsmTrack *t) const
void parseParameterList(ArgList &par)
virtual PndFsmResponse * respond(PndFsmTrack *t)
double dphi(PndFsmTrack *t) const
bool detected(PndFsmTrack *t) const
static const std::string & name(unsigned int t)
basic_ostream< char, char_traits< char > > ostream
void setDetector(PndFsmAbsDet *detector)
bool setParameter(std::string &name, double value)
friend F32vec4 fabs(const F32vec4 &a)
void setDetected(bool isdet)
void setdtheta(double val)