|
|
Go to the documentation of this file.
76 LogDebug(
"SimHCalData") <<
"PHcalTB04Info:: Called with " <<
nCrystal <<
" crystals";
88 LogDebug(
"SimHCalData") <<
"PHcalTB04Info:: Called with " <<
nTower <<
" HCal towers";
101 LogDebug(
"SimHCalData") <<
"PHcalTB04Info::setPrimary: nPrimary " <<
nPrimary <<
" partID " <<
idBeam <<
" initE "
113 LogDebug(
"SimHCalData") <<
"PHcalTB04Info::setEdep: simEtot " <<
simEtot <<
" simEEc " <<
simEEc <<
" simEHc "
120 if (
i <
int(esim.size()))
123 esime.push_back(edep);
124 if (
i <
int(eqie.size()))
127 edige.push_back(edep);
129 LogDebug(
"SimHCalData") <<
"PHcalTB04Info::setEdepEcal [" <<
i <<
"] Esim = " <<
esime[
i] <<
" Edig = " <<
edige[
i];
136 if (
i <
int(esim.size()))
139 esimh.push_back(edep);
140 if (
i <
int(eqie.size()))
143 edigh.push_back(edep);
145 LogDebug(
"SimHCalData") <<
"PHcalTB04Info::setEdepHcal [" <<
i <<
"] Esim = " <<
esimh[
i] <<
" Edig = " <<
edigh[
i];
150 const std::vector<double>& eq1,
151 const std::vector<double>& es2,
152 const std::vector<double>& eq2) {
153 int siz = (
int)(es1.size());
159 for (
int i = 0;
i < siz;
i++) {
164 LogDebug(
"SimHCalData") <<
"PHcalTB04Info::setTrnsProf [" <<
i <<
"] latsimEta = " <<
latsimEta[
i]
172 int siz = (
int)(es.size());
176 for (
int i = 0;
i < siz;
i++) {
179 LogDebug(
"SimHCalData") <<
"PHcalTB04Info::setLongProf [" <<
i <<
"] longsim = " <<
longsim[
i]
192 eHit.push_back((
float)(
e));
193 tHit.push_back((
float)(
t));
199 int evNum,
int type,
double x,
double y,
double z,
double u,
double v,
double w,
double px,
double py,
double pz) {
213 LogDebug(
"SimHCalData") <<
"PHcalTB04Info::setVtxPrim: EvNum " <<
v1EvNum <<
" Type " <<
v1Type <<
" X/Y/Z/R " <<
v1X
214 <<
"/" <<
v1Y <<
"/" <<
v1Z <<
"/" <<
v1R <<
" Px/Py/Pz " <<
v1Px <<
"/" <<
v1Py <<
"/"
225 v1secPz.push_back((
float)(pz));
226 v1secEk.push_back((
float)(ek));
void setIDs(const std::vector< int > &, const std::vector< int > &)
void setPrimary(int primary, int id, double energy, double eta, double phi)
void saveHit(int det, int lay, int eta, int phi, double e, double t)
void setEdep(double simtot, double sime, double simh, double digtot, double dige, double digh)
void setTrnsProf(const std::vector< double > &es1, const std::vector< double > &eq1, const std::vector< double > &es2, const std::vector< double > &eq2)
void setEdepEcal(const std::vector< double > &esim, const std::vector< double > &edig)
void setLongProf(const std::vector< double > &es, const std::vector< double > &eq)
void setVtxSec(int id, int pdg, double px, double py, double pz, double ek)
void setVtxPrim(int evNum, int type, double x, double y, double z, double u, double v, double w, double px, double py, double pz)
bool eq(const ELstring &s1, const ELstring s2)
void setEdepHcal(const std::vector< double > &esim, const std::vector< double > &edig)