104 double zscale = t->
p4().Pz()/
_dist;
105 double x = t->
p4().Px()/zscale;
106 double y = t->
p4().Py()/zscale;
107 TVector3 hitpos(x,y,
_dist);
126 double theta = t->
p4().Theta();
127 double E=t->
p4().E();
128 double lund = t->
pdt();
136 double E = t->
p4().E();
144 double theta = t->
p4().Vect().Theta();
152 double theta = t->
p4().Vect().Theta();
159 o <<
"Detector <"<<
_detName<<
">"<<endl;
160 o <<
" _aPar = "<<
_aPar<<endl;
161 o <<
" _bPar = "<<
_bPar<<endl;
162 o <<
" _cPar = "<<
_cPar<<endl;
164 o <<
" _Emin = "<<
_Emin<<endl;
165 o <<
" _dist = "<<
_dist<<endl;
167 o <<
" _thtMin = "<<
_thtMin<<endl;
168 o <<
" _thtMax = "<<
_thtMax<<endl;
210 if (name ==
"xtalDim")
219 if (name ==
"resFactor")
222 if (name ==
"thtMin")
225 if (name ==
"thtMax")
228 if (name ==
"radiationLength")
231 if (name ==
"efficiency")
friend F32vec4 cos(const F32vec4 &a)
bool detected(PndFsmTrack *t) const
void setStopVtx(TVector3 v)
std::list< std::string > ArgList
friend F32vec4 sqrt(const F32vec4 &a)
bool hitMapResponse(unsigned int)
void parseParameterList(ArgList &par)
double dphi(PndFsmTrack *t) const
double dtheta(PndFsmTrack *t) const
double dE(PndFsmTrack *t) const
bool setParameter(std::string &name, double value)
static const std::string & name(unsigned int t)
basic_ostream< char, char_traits< char > > ostream
void setDetector(PndFsmAbsDet *detector)
virtual ~PndFsmEmcBwCap()
friend F32vec4 fabs(const F32vec4 &a)
void setDetected(bool isdet)
void print(std::ostream &o)
void setdtheta(double val)
virtual PndFsmResponse * respond(PndFsmTrack *t)