78 eBeam = (float)(energy);
81 LogDebug(
"SimHCalData") <<
"PHcalTB06Info::setPrimary: nPrimary " <<
nPrimary
92 LogDebug(
"SimHCalData") <<
"PHcalTB06Info::setEdep: simEtot " <<
simEtot
103 newHit.
eta = (float)(eta);
104 newHit.
phi = (float)(phi);
105 newHit.
e = (float)(e);
106 newHit.
t = (float)(t);
107 hits.push_back(newHit);
108 LogDebug(
"SimHCalData") <<
"PHcalTB06Info::saveHit " <<
hit <<
" ID 0x"
110 <<
hits[nh].eta <<
" Phi " <<
hits[nh].phi
111 <<
" E " <<
hits[nh].e <<
" t " <<
hits[nh].t;
115 double z,
double u,
double v,
double w,
116 double px,
double py,
double pz) {
120 double r=
sqrt(x*x+y*y+z*z);
131 LogDebug(
"SimHCalData") <<
"PHcalTB06Info::setVtxPrim: EvNum " <<
v1EvNum
132 <<
" Type " <<
v1Type <<
" X/Y/Z/R " <<
v1X <<
"/"
133 <<
v1Y <<
"/" <<
v1Z <<
"/" <<
v1R <<
" Px/Py/Pz "
146 newVtx.
px = (float)(px);
147 newVtx.
py = (float)(py);
148 newVtx.
pz = (float)(pz);
149 newVtx.
eKin = (float)(ek);
150 v1Sec.push_back(newVtx);
151 LogDebug(
"SimHCalData") <<
"PHcalTB06Info::setVtxSec " <<
v1Nsec <<
" ID "
152 <<
v1Sec[ns].trackID <<
" PDG Code "
153 <<
v1Sec[ns].partID <<
" Px/Py/Pz/Ek "
void setEdep(double simtot, double sime, double simh)
void setVtxPrim(int evNum, int type, double x, double y, double z, double u, double v, double w, double px, double py, double pz)
T x() const
Cartesian x coordinate.
void setVtxSec(int id, int pdg, double px, double py, double pz, double ek)
void saveHit(unsigned int det, double eta, double phi, double e, double t)
void setPrimary(int primary, int id, double energy, double eta, double phi)
Geom::Phi< T > phi() const