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();
153 double theta = t->
p4().Vect().Theta();
160 o <<
"Detector <"<<
_detName<<
">"<<endl;
161 o <<
" _aPar = "<<
_aPar<<endl;
162 o <<
" _bPar = "<<
_bPar<<endl;
163 o <<
" _cPar = "<<
_cPar<<endl;
165 o <<
" _Emin = "<<
_Emin<<endl;
166 o <<
" _dist = "<<
_dist<<endl;
168 o <<
" _thtMin = "<<
_thtMin<<endl;
169 o <<
" _thtMax = "<<
_thtMax<<endl;
212 if (name ==
"xtalDim")
221 if (name ==
"resFactor")
224 if (name ==
"thtMin")
227 if (name ==
"thtMax")
230 if (name ==
"radiationLength")
233 if (name ==
"efficiency")
friend F32vec4 cos(const F32vec4 &a)
bool detected(PndFsmTrack *t) const
bool setParameter(std::string &name, double value)
void setStopVtx(TVector3 v)
std::list< std::string > ArgList
friend F32vec4 sqrt(const F32vec4 &a)
bool hitMapResponse(unsigned int)
void parseParameterList(ArgList &par)
virtual PndFsmResponse * respond(PndFsmTrack *t)
virtual ~PndFsmEmcFwCap()
static const std::string & name(unsigned int t)
basic_ostream< char, char_traits< char > > ostream
void setDetector(PndFsmAbsDet *detector)
double dphi(PndFsmTrack *t) const
friend F32vec4 fabs(const F32vec4 &a)
void setDetected(bool isdet)
void setdtheta(double val)
double dE(PndFsmTrack *t) const
void print(std::ostream &o)
double dtheta(PndFsmTrack *t) const