36 #include "G4HCofThisEvent.hh" 37 #include "G4SDManager.hh" 40 #include "G4VProcess.hh" 51 public Observer<const BeginOfEvent *>,
80 void collectEnergyRdir(
const double,
const double);
87 std::unique_ptr<SimG4HcalHitJetFinder>
jetf;
93 std::unique_ptr<HcalTestNumberingScheme>
org;
117 double edepEB, edepEE, edepHB, edepHE,
edepHO;
118 double edepd[5], edepl[20];
126 hcalOnly = m_Anal.
getParameter<
bool>(
"HcalClusterOnly");
127 applySampling = m_Anal.
getParameter<
bool>(
"HcalSampling");
129 ehitThreshold = m_Anal.
getParameter<
double>(
"EcalHitThreshold");
130 hhitThreshold = m_Anal.
getParameter<
double>(
"HcalHitThreshold");
131 timeLowlim = m_Anal.
getParameter<
double>(
"TimeLowLimit");
141 produces<PHcalValidInfoLayer>(labelLayer);
143 produces<PHcalValidInfoNxN>(labelNxN);
145 produces<PHcalValidInfoJets>(labelJets);
147 edm::LogVerbatim(
"ValidHcal") <<
"HcalTestAnalysis:: Initialized as observer of begin/end events and " 148 <<
"of G4step with Parameter values: \n\tInfoLevel = " << infolevel
149 <<
"\n\thcalOnly = " << hcalOnly <<
"\n\tapplySampling = " << applySampling
150 <<
"\n\tconeSize = " <<
coneSize <<
"\n\tehitThreshold = " << ehitThreshold
151 <<
"\n\thhitThreshold = " << hhitThreshold <<
"\n\tttimeLowlim = " << timeLowlim
152 <<
"\n\tttimeUplim = " << timeUplim <<
"\n\teta0 = " << eta0
153 <<
"\n\tphi0 = " << phi0 <<
"\nLabels (Layer): " << labelLayer
154 <<
" (NxN): " << labelNxN <<
" (Jets): " << labelJets;
160 edm::LogVerbatim(
"ValidHcal") <<
"\n --------> Total number of selected entries" 166 edm::LogVerbatim(
"ValidHcal") <<
"SimG4HcalValidation::Initialize ESGetToken for HcalDDDSimConstants";
171 layerAnalysis(*productLayer);
176 nxNAnalysis(*productNxN);
189 float sHB[4] = {117., 117., 178., 217.};
190 float sHE[3] = {178., 178., 178.};
191 float sHF[3] = {2.84, 2.09, 0.};
193 float deta[4] = {0.0435, 0.1305, 0.2175, 0.3045};
194 float dphi[4] = {0.0436, 0.1309, 0.2182, 0.3054};
197 for (
i = 0;
i < 4;
i++) {
198 scaleHB.push_back(sHB[
i]);
200 for (
i = 0;
i < 3;
i++) {
201 scaleHE.push_back(sHE[
i]);
203 for (
i = 0;
i < 3;
i++) {
204 scaleHF.push_back(sHF[
i]);
208 for (
i = 0;
i < 4;
i++) {
209 dEta.push_back(deta[
i]);
210 dPhi.push_back(dphi[
i]);
214 jetf = std::make_unique<SimG4HcalHitJetFinder>(
coneSize);
223 edm::LogVerbatim(
"ValidHcal") <<
"HcalTestAnalysis:: Initialise HcalNumberingFromDDD";
224 numberingFromDDD = std::make_unique<HcalNumberingFromDDD>(hcons);
227 org = std::make_unique<HcalTestNumberingScheme>(
false);
231 int irun = (*run)()->GetRunID();
236 G4SDManager *sd = G4SDManager::GetSDMpointerIfExist();
238 G4VSensitiveDetector *aSD = sd->FindSensitiveDetector(sdname);
239 if (aSD ==
nullptr) {
240 edm::LogWarning(
"ValidHcal") <<
"SimG4HcalValidation::beginOfRun: No SD" 241 <<
" with name " << sdname <<
" in this " 245 edm::LogVerbatim(
"ValidHcal") <<
"SimG4HcalValidation::beginOfRun: Finds SD with name " << theCaloSD->GetName()
249 edm::LogVerbatim(
"ValidHcal") <<
"SimG4HcalValidation::beginOfRun: set a new numbering scheme";
253 edm::LogWarning(
"ValidHcal") <<
"SimG4HcalValidation::beginOfRun: Could " 254 <<
"not get SD Manager!";
261 edepEB = edepEE = edepHB = edepHE = edepHO = 0.;
262 for (
i = 0;
i < 5;
i++)
264 for (
i = 0;
i < 20;
i++)
266 vhitec = vhithc = enEcal = enHcal = 0;
270 int iev = (*evt)()->GetEventID();
271 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation: =====> Begin of event = " <<
iev;
276 if (aStep !=
nullptr) {
277 G4VPhysicalVolume *curPV = aStep->GetPreStepPoint()->GetPhysicalVolume();
278 G4String
name = curPV->GetName();
280 double edeposit = aStep->GetTotalEnergyDeposit();
281 int layer = -1,
depth = -1;
285 }
else if (
name ==
"EFR") {
288 }
else if (
name ==
"HBS") {
289 layer = (curPV->GetCopyNo() / 10) % 100;
290 depth = (curPV->GetCopyNo()) % 10 + 1;
291 if (
depth > 0 && depth < 4 && layer >= 0 && layer < 17) {
294 edm::LogWarning(
"ValidHcal") <<
"SimG4HcalValidation:Error " << curPV->GetName() << curPV->GetCopyNo();
298 }
else if (
name ==
"HES") {
299 layer = (curPV->GetCopyNo() / 10) % 100;
300 depth = (curPV->GetCopyNo()) % 10 + 1;
301 if (
depth > 0 && depth < 3 && layer >= 0 && layer < 19) {
304 edm::LogWarning(
"ValidHcal") <<
"SimG4HcalValidation:Error " << curPV->GetName() << curPV->GetCopyNo();
308 }
else if (
name ==
"HTS") {
309 layer = (curPV->GetCopyNo() / 10) % 100;
310 depth = (curPV->GetCopyNo()) % 10 + 1;
311 if (
depth > 3 && depth < 5 && layer >= 17 && layer < 20) {
314 edm::LogWarning(
"ValidHcal") <<
"SimG4HcalValidation:Error " << curPV->GetName() << curPV->GetCopyNo();
320 edepd[
depth] += edeposit;
321 if (layer >= 0 && layer < 20)
322 edepl[layer] += edeposit;
324 if (layer >= 0 && layer < 20) {
325 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation:: G4Step: " <<
name <<
" Layer " << std::setw(3) << layer
326 <<
" Depth " << std::setw(2) <<
depth <<
" Edep " << std::setw(6) << edeposit / MeV
338 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation:: --- after Fill ";
343 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation:Fill event " << (*evt)()->GetEventID();
346 G4HCofThisEvent *allHC = (*evt)()->GetHCofThisEvent();
351 int HCHCid = G4SDManager::GetSDMpointer()->GetCollectionID(
names[0]);
353 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation :: Hit Collection for " <<
names[0] <<
" of ID " << HCHCid
354 <<
" is obtained at " << theHCHC;
355 if (HCHCid >= 0 && theHCHC !=
nullptr) {
356 int nhits = theHCHC->entries();
366 double phi =
pos.phi();
369 int subdet,
zside, layer, etaIndex, phiIndex, lay;
370 org->unpackHcalIndex(unitID, subdet,
zside, layer, etaIndex, phiIndex, lay);
387 edm::LogVerbatim(
"ValidHcal") <<
"SimG4HcalValidation::HitPMT " << subdet <<
" " << (2 *
zside - 1) * etaIndex
388 <<
" " << phiIndex <<
" " << layer + 1 <<
" R " <<
pos.rho() <<
" Phi " 390 }
else if (subdet == static_cast<int>(
HcalEndcap)) {
391 if (etaIndex <= 20) {
397 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation::debugFill Hcal " << det <<
" layer " << std::setw(2) << layer
398 <<
" lay " << std::setw(2) << lay <<
" time " << std::setw(6) <<
time <<
" theta " 399 << std::setw(8) <<
theta <<
" eta " << std::setw(8) <<
eta <<
" phi " << std::setw(8) << phi
400 <<
" e " << std::setw(8) <<
e <<
" ID 0x" << std::hex << unitID <<
" ID dec " <<
std::dec 405 e *= getHcalScale(det, layer);
408 if (
time >= timeLowlim && time <= timeUplim && e > hhitThreshold) {
411 hitcache.push_back(ahit);
416 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation:: HCAL hits : " << nhc;
419 int ndets =
names.size();
422 for (
int idty = 1; idty < ndets; idty++) {
430 int ECHCid = G4SDManager::GetSDMpointer()->GetCollectionID(
names[idty]);
432 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation:: Hit Collection for " <<
names[idty] <<
" of ID " << ECHCid
433 <<
" is obtained at " << theECHC;
434 int theechc_entries = theECHC->entries();
435 if (ECHCid >= 0 && theECHC !=
nullptr) {
436 for (
j = 0;
j < theechc_entries;
j++) {
445 double phi =
pos.phi();
447 uint32_t unitID = org->getUnitID(
id);
449 org->unpackHcalIndex(unitID, subdet,
zside, layer,
ieta,
iphi, lay);
452 unitID = org->packHcalIndex(subdet,
zside, layer,
ieta,
iphi, lay);
455 if (
time >= timeLowlim && time <= timeUplim && e > ehitThreshold) {
458 hitcache.push_back(ahit);
462 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation::debugFill Ecal " << det <<
" layer " << std::setw(2) << layer
463 <<
" lay " << std::setw(2) << lay <<
" time " << std::setw(6) <<
time <<
" theta " 464 << std::setw(8) <<
theta <<
" eta " << std::setw(8) <<
eta <<
" phi " << std::setw(8)
465 << phi <<
" e " << std::setw(8) <<
e <<
" ID 0x" << std::hex << unitID <<
" ID dec " 470 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation:: " << det <<
" hits : " << nec;
477 LogDebug(
"ValidHcal") <<
"\n ===>>> SimG4HcalValidation: Energy deposit " 478 <<
"in MeV\n at EB : " << std::setw(6) << edepEB / MeV <<
"\n at EE : " << std::setw(6)
479 << edepEE / MeV <<
"\n at HB : " << std::setw(6) << edepHB / MeV
480 <<
"\n at HE : " << std::setw(6) << edepHE / MeV <<
"\n at HO : " << std::setw(6)
481 << edepHO / MeV <<
"\n ---- SimG4HcalValidation: Energy deposit in";
482 for (
i = 0;
i < 5;
i++)
483 LogDebug(
"ValidHcal") <<
" Depth " << std::setw(2) <<
i <<
" E " << std::setw(8) << edepd[
i] / MeV <<
" MeV";
484 LogDebug(
"ValidHcal") <<
" ---- SimG4HcalValidation: Energy deposit in" 486 for (
i = 0;
i < 20;
i++)
487 LogDebug(
"ValidHcal") <<
" Layer " << std::setw(2) <<
i <<
" E " << std::setw(8) << edepl[
i] / MeV <<
" MeV";
489 product.
fillLayers(edepl, edepd, edepHO, edepHB + edepHE, edepEB + edepEE);
492 product.
fillHF(vhitec, vhithc, enEcal, enHcal);
493 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation::HF hits " << vhitec <<
" in EC and " << vhithc <<
" in HC\n" 494 <<
" HB/HE " << enEcal <<
" in EC and " << enHcal <<
" in HC";
499 LogDebug(
"ValidHcal") <<
" layerAnalysis ===> after fetchHits";
504 std::vector<CaloHit> *
hits = &hitcache;
505 std::vector<CaloHit>::iterator hit_itr;
507 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation::NxNAnalysis : entrance ";
509 collectEnergyRdir(eta0, phi0);
512 LogDebug(
"ValidHcal") <<
" NxNAnalysis : coolectEnergyRdir - Ecal " << een <<
" Hcal " << hen;
521 for (hit_itr =
hits->begin(); hit_itr <
hits->end(); hit_itr++) {
522 double e = hit_itr->e();
523 double t = hit_itr->t();
524 double eta = hit_itr->eta();
525 double phi = hit_itr->phi();
526 int type = hit_itr->det();
527 int layer = hit_itr->layer();
531 if (fabs(eta0 -
eta) <=
dEta[
max - 1] && fabs(phi0 - phi) <= dPhi[
max - 1]) {
542 for (
int i = 0;
i <
max;
i++) {
543 if ((eta0 -
eta) <=
dEta[
i] && (eta0 -
eta) >= -
dEta[
i] && (phi0 - phi) <= dPhi[
i] &&
544 (phi0 - phi) >= -dPhi[
i]) {
545 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation:: nxNAnalysis eta0," 546 <<
" phi0 = " << eta0 <<
" " << phi0 <<
" type, layer = " <<
type <<
"," << layer
547 <<
" eta, phi = " <<
eta <<
" " << phi;
559 product.
fillHvsE(een, hen, hoen, een + hen);
561 LogDebug(
"ValidHcal") <<
" nxNAnalysis ===> after fillHvsE";
566 std::vector<CaloHit> *hhit = &hitcache;
568 jetf->setInput(hhit);
571 std::vector<SimG4HcalHitCluster> *
result = jetf->getClusters(hcalOnly);
573 std::vector<SimG4HcalHitCluster>::iterator clus_itr;
575 LogDebug(
"ValidHcal") <<
"\n ---------- Final list of " << (*result).size() <<
" clusters ---------------";
576 for (clus_itr =
result->begin(); clus_itr <
result->end(); clus_itr++)
577 LogDebug(
"ValidHcal") << (*clus_itr);
579 std::vector<double> enevec, etavec, phivec;
581 if (!(*result).empty()) {
582 sort((*result).begin(), (*result).end());
584 clus_itr =
result->begin();
585 double etac = clus_itr->eta();
586 double phic = clus_itr->phi();
588 double ecal_collect = 0.;
590 ecal_collect = clus_itr->collectEcalEnergyR();
592 collectEnergyRdir(etac, phic);
595 LogDebug(
"ValidHcal") <<
" JetAnalysis ===> ecal_collect = " << ecal_collect;
598 double dist = jetf->rDist(eta0, phi0, etac, phic);
599 LogDebug(
"ValidHcal") <<
" JetAnalysis ===> eta phi deviation = " << dist;
602 LogDebug(
"ValidHcal") <<
" JetAnalysis ===> after fillEtaPhiProfileJet";
604 std::vector<CaloHit> *
hits = clus_itr->getHits();
605 std::vector<CaloHit>::iterator hit_itr;
607 double ee = 0.,
he = 0.,
hoe = 0., etot = 0.;
610 for (hit_itr =
hits->begin(); hit_itr <
hits->end(); hit_itr++) {
611 double e = hit_itr->e();
612 double t = hit_itr->t();
613 double r = jetf->rDist(&(*clus_itr), &(*hit_itr));
617 if (hit_itr->det() == 10 || hit_itr->det() == 11 || hit_itr->det() == 12)
619 if (hit_itr->det() ==
static_cast<int>(
HcalBarrel) || hit_itr->det() ==
static_cast<int>(
HcalEndcap) ||
622 if (hit_itr->det() ==
static_cast<int>(
HcalBarrel) && hit_itr->layer() > 17)
626 if (hit_itr->det() ==
static_cast<int>(
HcalBarrel) || hit_itr->det() ==
static_cast<int>(
HcalEndcap) ||
634 LogDebug(
"ValidHcal") <<
" JetAnalysis ===> after fillEcollectJet: " 635 <<
"ee/he/hoe/etot " << ee <<
"/" <<
he <<
"/" <<
hoe <<
"/" << etot;
638 for (clus_itr =
result->begin(); clus_itr <
result->end(); clus_itr++) {
640 enevec.push_back(clus_itr->e());
641 etavec.push_back(clus_itr->eta());
642 phivec.push_back(clus_itr->phi());
645 product.
fillJets(enevec, etavec, phivec);
647 LogDebug(
"ValidHcal") <<
" JetAnalysis ===> after fillJets\n" 648 <<
" JetAnalysis ===> (*result).size() " << (*result).size();
651 if (etavec.size() > 1) {
652 if (etavec[0] > -2.5 && etavec[0] < 2.5 && etavec[1] > -2.5 && etavec[1] < 2.5) {
653 LogDebug(
"ValidHcal") <<
" JetAnalysis ===> Di-jet mass enter\n" 654 <<
" JetAnalysis ===> Di-jet vectors ";
655 for (
unsigned int i = 0;
i < enevec.size();
i++)
656 LogDebug(
"ValidHcal") <<
" e, eta, phi = " << enevec[
i] <<
" " << etavec[
i] <<
" " << phivec[
i];
658 double et0 = enevec[0] / cosh(etavec[0]);
659 double px0 = et0 *
cos(phivec[0]);
660 double py0 = et0 *
sin(phivec[0]);
661 double pz0 = et0 * sinh(etavec[0]);
662 double et1 = enevec[1] / cosh(etavec[1]);
663 double px1 = et1 *
cos(phivec[1]);
664 double py1 = et1 *
sin(phivec[1]);
665 double pz1 = et1 * sinh(etavec[1]);
667 double dijetmass2 = (enevec[0] + enevec[1]) * (enevec[0] + enevec[1]) - (px1 + px0) * (px1 + px0) -
668 (py1 + py0) * (py1 + py0) - (pz1 + pz0) * (pz1 + pz0);
670 LogDebug(
"ValidHcal") <<
" JetAnalysis ===> Di-jet massSQ " << dijetmass2;
673 if (dijetmass2 >= 0.)
674 dijetmass =
sqrt(dijetmass2);
676 dijetmass = -
sqrt(-1. * dijetmass2);
680 LogDebug(
"ValidHcal") <<
" JetAnalysis ===> after fillDiJets";
688 LogDebug(
"ValidHcal") <<
"Enter SimG4HcalValidation::fetchHits with " << hitcache.size() <<
" hits";
689 int nHit = hitcache.size();
692 std::vector<CaloHit>::iterator itr;
693 std::vector<CaloHit *> lhits(nHit);
694 for (
i = 0, itr = hitcache.begin(); itr != hitcache.end();
i++, itr++) {
695 uint32_t unitID = itr->id();
700 group = (subdet & 15) << 20;
701 group += ((lay - 1) & 31) << 15;
706 lhits[
i] = &hitcache[
i];
707 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation::fetchHits:Original " <<
i <<
" " << hitcache[
i] <<
"\n" 708 <<
"SimG4HcalValidation::fetchHits:Copied " <<
i <<
" " << *lhits[
i];
711 std::vector<CaloHit *>::iterator k1, k2;
712 for (
i = 0, k1 = lhits.begin(); k1 != lhits.end();
i++, k1++)
713 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation::fetchHits:Sorted " <<
i <<
" " << **k1;
715 for (
i = 0, k1 = lhits.begin(); k1 != lhits.end();
i++, k1++) {
716 double ehit = (**k1).e();
717 double t = (**k1).t();
718 uint32_t unitID = (**k1).id();
720 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation::fetchHits:Start " <<
i <<
" U/T/E" 721 <<
" 0x" << std::hex << unitID <<
std::dec <<
" " <<
t <<
" " << ehit;
722 for (k2 = k1 + 1; k2 != lhits.end() && (
t - (**k2).t()) < 1 && (
t - (**k2).t()) > -1 && unitID == (**k2).id();
725 LogDebug(
"ValidHcal") <<
"\t + " << (**k2).e();
728 LogDebug(
"ValidHcal") <<
"\t = " << ehit <<
" in " << jump;
730 double eta = (*k1)->eta();
731 double phi = (*k1)->phi();
732 int lay = ((unitID >> 15) & 31) + 1;
733 int subdet = (unitID >> 20) & 15;
734 int zside = (unitID >> 14) & 1;
735 int ieta = (unitID >> 7) & 127;
736 int iphi = (unitID)&127;
742 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation::fetchHits:Hit " <<
nHits <<
" " <<
i <<
" ID 0x" << std::hex
743 << unitID <<
" det " <<
std::dec << subdet <<
" " << lay <<
" " <<
zside <<
" " <<
ieta 744 <<
" " <<
iphi <<
" Time " <<
t <<
" E " << ehit;
750 LogDebug(
"ValidHcal") <<
"SimG4HcalValidation::fetchHits called with " << nHit <<
" hits" 751 <<
" and writes out " <<
nHits <<
'(' <<
hit <<
") hits";
758 std::vector<CaloHit> *
hits = &hitcache;
759 std::vector<CaloHit>::iterator hit_itr;
761 double sume = 0., sumh = 0., sumho = 0.;
763 for (hit_itr =
hits->begin(); hit_itr <
hits->end(); hit_itr++) {
764 double e = hit_itr->e();
765 double eta = hit_itr->eta();
766 double phi = hit_itr->phi();
768 int type = hit_itr->det();
770 double r = jetf->rDist(eta0, phi0,
eta, phi);
776 if (
type == static_cast<int>(
HcalBarrel) && hit_itr->layer() > 17)
792 tmp = scaleHB[layer];
793 }
else if (det ==
"HES" || det ==
"HED") {
794 tmp = scaleHE[layer];
795 }
else if (det ==
"HF") {
796 tmp = scaleHF[layer];
void fillJets(const std::vector< double > &enj, const std::vector< double > &etaj, const std::vector< double > &phij)
Log< level::Info, true > LogVerbatim
double getHcalScale(std::string, int) const
#define DEFINE_SIMWATCHER(type)
T getParameter(std::string const &) const
std::unique_ptr< HcalNumberingFromDDD > numberingFromDDD
void fillHvsE(double ee, double he, double hoe, double etot)
void fillTProfileJet(double e, double r, double t)
void beginRun(edm::EventSetup const &) override
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
void fill(const EndOfEvent *ev)
void fillLayers(double el[], double ed[], double ho, double hbhe, double ebee)
std::vector< float > scaleHF
void registerConsumes(edm::ConsumesCollector) override
void fillEcollectJet(double ee, double he, double hoe, double etot)
void collectEnergyRdir(const double, const double)
std::vector< std::string > names
void fillEtaPhiProfileJet(double eta0, double phi0, double eta, double phi, double dist)
uint32_t cc[maxCellsPerHit]
constexpr NumType convertRadToDeg(NumType radians)
std::vector< CaloHit > hitcache
Sin< T >::type sin(const T &t)
void produce(edm::Event &, const edm::EventSetup &) override
void fillDiJets(double mass)
std::vector< double > dEta
TkSoAView< TrackerTraits > HitToTuple< TrackerTraits > const *__restrict__ int32_t int32_t int iev
uint16_t getDepth() const
void setNumberingScheme(HcalNumberingScheme *)
const std::string names[nVars_]
void fillHits(int Nhits, int lay, int unitID, double eta, double phi, double ehit, double t)
T getUntrackedParameter(std::string const &, T const &) const
~SimG4HcalValidation() override
void jetAnalysis(PHcalValidInfoJets &)
math::XYZPoint getPosition() const
void nxNAnalysis(PHcalValidInfoNxN &)
std::vector< double > dPhi
void fetchHits(PHcalValidInfoLayer &)
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)
edm::ESGetToken< HcalDDDSimConstants, HcalSimNumberingRecord > ddconsToken_
std::vector< float > scaleHB
void fillEcollectNxN(double een, double hen, double hoen, double etotn)
void update(const BeginOfRun *run) override
This routine will be called when the appropriate signal arrives.
std::unique_ptr< SimG4HcalHitJetFinder > jetf
void fillTProfileNxN(double e, int i, double t)
XYZPointD XYZPoint
point in space with cartesian internal representation
double getEnergyDeposit() const
uint32_t getUnitID() const
std::vector< float > scaleHE
std::unique_ptr< HcalTestNumberingScheme > org
G4THitsCollection< CaloG4Hit > CaloG4HitCollection
double getTimeSlice() const
SimG4HcalValidation(const edm::ParameterSet &p)
Log< level::Warning, false > LogWarning
TupleMultiplicity< TrackerTraits > const *__restrict__ uint32_t nHits
Geom::Theta< T > theta() const
void layerAnalysis(PHcalValidInfoLayer &)
void fillHF(double fibl, double fibs, double enec, double enhc)