44 #include "TProfile2D.h" 67 static bool sortTime(
const std::pair<double, double>&
i,
const std::pair<double, double>&
j);
132 : ifEE_(iConfig.getParameter<
bool>(
"useEE")),
133 ifFH_(iConfig.getParameter<
bool>(
"useFH")),
134 ifBH_(iConfig.getParameter<
bool>(
"useBH")),
135 ifBeam_(iConfig.getParameter<
bool>(
"useBeam")),
136 doSimHits_(iConfig.getParameter<
bool>(
"doSimHits")),
137 doTree_(iConfig.getParameter<
bool>(
"doTree")),
138 doTreeCell_(iConfig.getParameter<
bool>(
"doTreeCell")),
139 doPassive_(iConfig.getParameter<
bool>(
"doPassive")),
140 doPassiveEE_(iConfig.getParameter<
bool>(
"doPassiveEE")),
141 doPassiveHE_(iConfig.getParameter<
bool>(
"doPassiveHE")),
142 doPassiveBH_(iConfig.getParameter<
bool>(
"doPassiveBH")),
143 addP_(iConfig.getParameter<
bool>(
"addP")),
144 doBeam_(iConfig.getParameter<
bool>(
"doBeam")),
145 detectorEE_(iConfig.getParameter<
std::
string>(
"detectorEE")),
146 detectorFH_(iConfig.getParameter<
std::
string>(
"detectorFH")),
147 detectorBH_(iConfig.getParameter<
std::
string>(
"detectorBH")),
148 detectorBeam_(iConfig.getParameter<
std::
string>(
"detectorBeam")),
149 zFrontEE_(iConfig.getParameter<double>(
"zFrontEE")),
150 zFrontFH_(iConfig.getParameter<double>(
"zFrontFH")),
151 zFrontBH_(iConfig.getParameter<double>(
"zFrontBH")),
152 gev2mip200_(iConfig.getUntrackedParameter<double>(
"gev2mip200", 57.0
e-6)),
153 gev2mip300_(iConfig.getUntrackedParameter<double>(
"gev2mip300", 85.5
e-6)),
154 stoc_smear_time_200_(iConfig.getUntrackedParameter<double>(
"stoc_smear_time_200", 10.24)),
155 stoc_smear_time_300_(iConfig.getUntrackedParameter<double>(
"stoc_smear_time_300", 15.5)),
156 labelGen_(iConfig.getParameter<
edm::
InputTag>(
"generatorSrc")),
157 labelHitEE_(iConfig.getParameter<
std::
string>(
"caloHitSrcEE")),
158 labelHitFH_(iConfig.getParameter<
std::
string>(
"caloHitSrcFH")),
159 labelHitBH_(iConfig.getParameter<
std::
string>(
"caloHitSrcBH")),
160 labelHitBeam_(iConfig.getParameter<
std::
string>(
"caloHitSrcBeam")),
161 labelPassiveEE_(iConfig.getParameter<
edm::
InputTag>(
"passiveEE")),
162 labelPassiveFH_(iConfig.getParameter<
edm::
InputTag>(
"passiveFH")),
163 labelPassiveBH_(iConfig.getParameter<
edm::
InputTag>(
"passiveBH")),
164 labelPassiveCMSE_(iConfig.getParameter<
edm::
InputTag>(
"passiveCMSE")),
165 labelPassiveBeam_(iConfig.getParameter<
edm::
InputTag>(
"passiveBeam")),
182 usesResource(
"TFileService");
183 ahcalGeom_ = std::make_unique<AHCalGeometry>(iConfig);
223 desc.add<
bool>(
"useEE",
true);
224 desc.add<
double>(
"zFrontEE", 0.0);
227 desc.add<
bool>(
"useFH",
false);
228 desc.add<
double>(
"zFrontFH", 0.0);
231 desc.add<
bool>(
"useBH",
false);
232 desc.add<
double>(
"zFrontBH", 0.0);
235 desc.add<
bool>(
"useBeam",
false);
237 std::vector<int> ids = {
238 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1011, 1012, 1013, 1014, 2001, 2002, 2003, 2004, 2005};
239 desc.add<std::vector<int>>(
"idBeams", ids);
247 desc.add<
bool>(
"doSimHits",
true);
248 desc.add<
bool>(
"doTree",
true);
249 desc.add<
bool>(
"doTreeCell",
true);
250 desc.add<
bool>(
"doPassive",
false);
251 desc.add<
bool>(
"doPassiveEE",
false);
252 desc.add<
bool>(
"doPassiveHE",
false);
253 desc.add<
bool>(
"doPassiveBH",
false);
254 desc.add<
bool>(
"addP",
false);
255 desc.add<
bool>(
"doBeam",
false);
256 desc.addUntracked<
double>(
"gev2mip200", 57.0e-6);
257 desc.addUntracked<
double>(
"gev2mip300", 85.5e-6);
258 desc.addUntracked<
double>(
"stoc_smear_time_200", 10.24);
259 desc.addUntracked<
double>(
"stoc_smear_time_300", 15.5);
260 desc.addUntracked<
int>(
"maxDepth", 12);
261 desc.addUntracked<
double>(
"deltaX", 30.0);
262 desc.addUntracked<
double>(
"deltaY", 30.0);
263 desc.addUntracked<
double>(
"deltaZ", 81.0);
264 desc.addUntracked<
double>(
"zFirst", 17.6);
265 descriptions.
add(
"HGCalTB23Analyzer",
desc);
270 hBeam_ =
fs_->
make<TH1D>(
"BeamP",
"Beam Momentum", 1000, 0, 1000.0);
271 for (
int i = 0;
i < 3; ++
i) {
283 sprintf(
name,
"SimHitEn%s", det.c_str());
284 sprintf(
title,
"Sim Hit Energy for %s", det.c_str());
286 sprintf(
name,
"SimHitEnX%s", det.c_str());
287 sprintf(
title,
"Sim Hit Energy for %s", det.c_str());
289 sprintf(
name,
"SimHitTm%s", det.c_str());
290 sprintf(
title,
"Sim Hit Timing for %s", det.c_str());
292 sprintf(
name,
"SimHitLat%s", det.c_str());
293 sprintf(
title,
"Lateral Shower profile (Sim Hit) for %s", det.c_str());
295 sprintf(
name,
"SimHitLng%s", det.c_str());
296 sprintf(
title,
"Longitudinal Shower profile (Sim Hit) for %s", det.c_str());
298 sprintf(
name,
"SimHitLng1%s", det.c_str());
299 sprintf(
title,
"Longitudinal Shower profile (Layer) for %s", det.c_str());
301 sprintf(
name,
"SimHitLng2%s", det.c_str());
302 sprintf(
title,
"Longitudinal Shower profile (Layer) for %s", det.c_str());
398 sprintf(
title,
"Sim Hit Energy in SIM layer %d for %s",
l + 1,
detectorEE_.c_str());
402 sprintf(
title,
"Sim Hit Energy in layer %d for %s", (
l / 3 + 1),
detectorEE_.c_str());
422 sprintf(
title,
"Sim Hit Energy in layer %d for %s", (
l / 3 + 1),
detectorFH_.c_str());
446 for (
unsigned int l = 0;
l <
idBeams_.size(); ++
l) {
462 HepMC::FourVector pxyz(0, 0, 0, 0);
463 for (HepMC::GenEvent::particle_const_iterator
p = myGenEvent->particles_begin();
p != myGenEvent->particles_end();
465 edm::LogVerbatim(
"HGCSim") <<
"Particle [" <<
k <<
"] with p " << (*p)->momentum().rho() <<
" theta " 466 << (*p)->momentum().theta() <<
" phi " << (*p)->momentum().phi() <<
" pxyz (" 467 << (*p)->momentum().px() <<
", " << (*p)->momentum().py() <<
", " 468 << (*p)->momentum().pz() <<
")";
470 pxyz.setPx(pxyz.px() + (*p)->momentum().px());
471 pxyz.setPy(pxyz.py() + (*p)->momentum().py());
472 pxyz.setPz(pxyz.pz() + (*p)->momentum().pz());
473 pxyz.setE(pxyz.e() + (*p)->momentum().e());
474 }
else if (!
addP_ && (
k == 0)) {
475 pxyz = (*p)->momentum();
479 edm::LogVerbatim(
"HGCSim") <<
"Particle with p " << pxyz.rho() <<
" theta " << pxyz.theta() <<
" phi " 513 std::vector<PCaloHit> caloHits;
518 if (theCaloHitContainers.isValid()) {
524 caloHits.insert(caloHits.end(), theCaloHitContainers->begin(), theCaloHitContainers->end());
536 if (theCaloHitContainers.isValid()) {
542 caloHits.insert(caloHits.end(), theCaloHitContainers->begin(), theCaloHitContainers->end());
554 if (theCaloHitContainers.isValid()) {
560 caloHits.insert(caloHits.end(), theCaloHitContainers->begin(), theCaloHitContainers->end());
571 if (theCaloHitContainers.isValid()) {
574 << theCaloHitContainers->size() <<
" hits";
577 caloHits.insert(caloHits.end(), theCaloHitContainers->begin(), theCaloHitContainers->end());
632 std::map<uint32_t, double> map_hits, map_hitn;
633 std::map<uint32_t, double> map_hittime_firsthit, map_hittime_lasthit, map_hittime_15Mip;
634 std::map<int, double> map_hitDepth, map_hitWafer;
635 std::map<int, std::pair<uint32_t, double>> map_hitLayer, map_hitCell;
637 std::map<uint32_t, double>
nhits;
638 std::map<uint32_t, int>
ID,
Depth;
639 std::map<uint32_t, double> GeV2Mip;
640 std::map<uint32_t, double> StochTermTime;
641 std::vector<int> nSimLayers;
643 std::map<uint32_t, std::vector<std::pair<double, double>>> map_hitTimeEn;
646 for (
unsigned int i = 0;
i <
hits.size();
i++) {
649 uint32_t
id =
hits[
i].id();
664 }
else if (
type == 3) {
681 static constexpr uint32_t maskcell = 0x3FF;
687 <<
" Position " <<
xy.first <<
":" <<
xy.second <<
":" 690 cell = (
idx & maskcell);
697 if (map_hits.count(
id) != 0) {
702 if (map_hitLayer.count(
layer) != 0) {
704 map_hitLayer[
layer] = std::make_pair(
id, ee);
708 if (map_hitWafer.count(
sector) != 0)
713 if (map_hitCell.count(
idx) != 0) {
714 double ee =
energy + map_hitCell[
idx].second;
715 map_hitCell[
idx] = std::make_pair(
id, ee);
717 map_hitCell[
idx] = std::make_pair(
id,
energy);
725 if (map_hitDepth.count(
depth) != 0) {
732 map_hitTimeEn[idn].push_back(std::make_pair(
time,
energy));
737 if (map_hitn.count(idn) != 0) {
749 edm::LogVerbatim(
"HGCSim") <<
"HGCalTB23Analyzer:: " << map_hitWafer.size() <<
" wafers are hit in type " <<
type;
750 for (
auto itr = map_hitWafer.begin(); itr != map_hitWafer.end(); ++itr)
751 edm::LogVerbatim(
"HGCSim") <<
"Wafer: " << itr->first <<
" Deposited Energy " << itr->second;
753 for (
const auto& itr : map_hitTimeEn) {
754 uint32_t
id = itr.first;
764 <<
"\nID(sim) and id(reco) " << std::hex <<
ID[
id] <<
" " <<
id <<
std::dec;
777 double totEbeforeThreshold = 0.;
778 double timebeforeThreshold = 0.;
779 double timeAtThresohld = 0.;
780 for (
unsigned int ihit = 0; ihit < map_hitTimeEn[
id].size(); ihit++) {
781 double energy = (map_hitTimeEn[
id].at(ihit)).
second / GeV2Mip[
id];
785 edm::LogVerbatim(
"HGCSim") <<
"Tot E till now : time of that E : GeV2Mip[id] is " << totE <<
" " <<
time 786 <<
" " << GeV2Mip[
id];
788 totEbeforeThreshold = totE;
789 timebeforeThreshold =
time;
792 (
threshold - totEbeforeThreshold) * (
time - timebeforeThreshold) / (totE - totEbeforeThreshold) +
794 map_hittime_15Mip[
id] = timeAtThresohld;
796 edm::LogVerbatim(
"HGCSim") <<
"ihit : energyBefore : timeBefore : energyTot : timeTot : timeAt15MIP " 797 << ihit <<
" " << totEbeforeThreshold <<
" " << timebeforeThreshold <<
" " 798 << totE <<
" " <<
time <<
" " << map_hittime_15Mip[
id];
802 if (!map_hitTimeEn[
id].
empty()) {
803 map_hittime_firsthit[
id] = (map_hitTimeEn[
id].at(0)).
first;
804 map_hittime_lasthit[
id] = (map_hitTimeEn[
id].at(map_hitTimeEn[
id].
size() - 1)).
first;
805 if (map_hittime_15Mip[
id] < map_hittime_firsthit[
id])
806 map_hittime_15Mip[
id] = map_hittime_firsthit[
id];
816 map_hittime_15Mip[
id] = -99;
818 edm::LogVerbatim(
"HGCSim") <<
"id : first hit time : last hit time " <<
id <<
" " << map_hittime_firsthit[
id]
819 <<
" " << map_hittime_lasthit[
id] <<
"\nFinally for this cell, time is " 820 << map_hittime_15Mip[
id];
825 for (
const auto& itr : map_hits) {
831 for (
const auto& itr : map_hitLayer) {
832 int layer = (
type == 2) ? itr.first : (itr.first - 1);
851 }
else if (
type == 1) {
856 }
else if (
type == 2) {
864 for (
unsigned int k = 0;
k <
idBeams_.size(); ++
k) {
873 for (
const auto& itr : map_hitDepth) {
874 int layer = (
type == 2) ? itr.first : (itr.first - 1);
875 double energy = itr.second;
885 }
else if (
type == 1) {
890 }
else if (
type == 2) {
903 for (
const auto& itr : map_hitCell) {
904 uint32_t
id = ((itr.second).
first);
906 std::pair<float, float>
xy(0, 0);
916 xx = (zp < 0) ? -
xy.first :
xy.first;
922 for (
const auto& itr : map_hitn) {
923 uint32_t
id = itr.first;
924 double energy = itr.second;
926 double time_firsthit = map_hittime_firsthit[
id];
927 double time15Mip = map_hittime_15Mip[
id];
928 double time_lasthit = map_hittime_lasthit[
id];
934 if (
debug && (
energy / GeV2Mip[
id] < 15) && (map_hittime_15Mip[
id] > 0))
936 <<
" " << map_hittime_15Mip[
id];
937 }
else if (
type == 1) {
938 double time_firsthit = map_hittime_firsthit[
id];
939 double time15Mip = map_hittime_15Mip[
id];
940 double time_lasthit = map_hittime_lasthit[
id];
946 }
else if (
type == 2) {
950 int row = hid.
irow();
960 }
else if (
type == 3) {
983 std::vector<float> verX, verY, verZ;
987 for (
const auto& simVtxItr : *SimVtx) {
988 verX.push_back(simVtxItr.position().X());
989 verY.push_back(simVtxItr.position().Y());
990 verZ.push_back(simVtxItr.position().Z());
995 HepMC::FourVector pxyz(0, 0, 0, 0);
996 for (
const auto& simTrkItr : *SimTk) {
997 if (
addP_ && !(simTrkItr.noGenpart())) {
998 pxyz.setPx(pxyz.px() + simTrkItr.momentum().px());
999 pxyz.setPy(pxyz.py() + simTrkItr.momentum().py());
1000 pxyz.setPz(pxyz.pz() + simTrkItr.momentum().pz());
1001 pxyz.setE(pxyz.e() + simTrkItr.momentum().e());
1003 edm::LogVerbatim(
"HGCSim") <<
"Track " << simTrkItr.trackId() <<
" Vertex " << simTrkItr.vertIndex() <<
" Type " 1004 << simTrkItr.type() <<
" Charge " << simTrkItr.charge() <<
" px " 1005 << simTrkItr.momentum().px() <<
" py " << simTrkItr.momentum().py() <<
" pz " 1006 << simTrkItr.momentum().pz() <<
" P " << simTrkItr.momentum().P() <<
" GenIndex " 1007 << simTrkItr.genpartIndex();
1009 <<
" position-> X: " << verX[simTrkItr.vertIndex()]
1010 <<
" Y: " << verY[simTrkItr.vertIndex()] <<
" Z: " << verZ[simTrkItr.vertIndex()];
1013 if (
doBeam_ && !(simTrkItr.noGenpart())) {
1016 xBeamMC_.push_back(verX[simTrkItr.vertIndex()]);
1017 yBeamMC_.push_back(verY[simTrkItr.vertIndex()]);
1018 zBeamMC_.push_back(verZ[simTrkItr.vertIndex()]);
1019 pxBeamMC_.push_back(simTrkItr.momentum().px());
1020 pyBeamMC_.push_back(simTrkItr.momentum().py());
1021 pzBeamMC_.push_back(simTrkItr.momentum().pz());
1022 pBeamMC_.push_back(simTrkItr.momentum().P());
1023 }
else if (!
addP_ && (vertIndex == -1)) {
1024 pxyz = simTrkItr.momentum();
1026 if (vertIndex == -1)
1027 vertIndex = simTrkItr.vertIndex();
1035 if (vertIndex != -1 && vertIndex < static_cast<int>(SimVtx->size())) {
1036 edm::SimVertexContainer::const_iterator simVtxItr = SimVtx->begin();
1037 for (
int iv = 0;
iv < vertIndex;
iv++)
1039 edm::LogVerbatim(
"HGCSim") <<
"Vertex " << vertIndex <<
" position " << simVtxItr->position();
1047 for (
const auto&
v : *hgcPH) {
1050 unsigned int id =
v.id();
1052 double time =
v.time();
1053 edm::LogVerbatim(
"HGCSim") <<
"HGCalTB23Analyzer::analyzePassiveHits:Energy:" 1061 }
else if (subdet == 2) {
1065 }
else if (subdet == 3) {
1069 }
else if (subdet == 4) {
1073 }
else if (subdet == 5) {
1082 return i.first <
j.first;
edm::Service< TFileService > fs_
const edm::EDGetTokenT< edm::HepMCProduct > tok_hepMC_
std::vector< TH1D * > hSimHitLayEn2BH_
double waferZ(int layer, bool reco) const
std::vector< std::string > hgcPassiveEEName_
std::vector< float > simHitCellTimeLastHitFH_
Log< level::Info, true > LogVerbatim
T getParameter(std::string const &) const
std::vector< PCaloHit > PCaloHitContainer
std::vector< int > pdgIdBeamMC_
int zside() const
get the z-side of the cell (1/-1)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
int icol() const
get the column number
std::vector< uint32_t > simHitCellIdFH_
const edm::InputTag labelPassiveFH_
std::vector< float > hgcPassiveFHEnergy_
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_hitsEE_
TProfile * hSimHitLng1_[3]
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_hitsBeam_
std::vector< float > simHitLayEnBeam_
int32_t waferU(const int32_t index)
std::unique_ptr< AHCalGeometry > ahcalGeom_
std::vector< float > hgcPassiveBeamEnergy_
std::vector< float > hgcPassiveCMSEEnergy_
static bool sortTime(const std::pair< double, double > &i, const std::pair< double, double > &j)
std::vector< float > zBeamMC_
std::vector< int > hgcPassiveFHID_
static uint32_t packHexagonIndex(int subdet, int z, int lay, int wafer, int celltyp, int cell)
const HGCalDDDConstants * hgcons_[2]
std::vector< float > pxBeamMC_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< float > simHitLayEn1EE_
const edm::InputTag labelGen_
std::vector< std::string > hgcPassiveCMSEName_
const std::string labelHitBH_
std::vector< std::string > hgcPassiveFHName_
std::vector< float > simHitLayEn2EE_
std::vector< float > simHitLayEn1BH_
const edm::InputTag labelPassiveEE_
std::vector< int > hgcPassiveCMSEID_
const edm::InputTag labelPassiveBeam_
std::vector< TH1D * > hSimHitLayEnBeam_
~HGCalTB23Analyzer() override=default
U second(std::pair< T, U > const &p)
const edm::InputTag labelPassiveCMSE_
const std::string detectorEE_
std::vector< float > simHitCellEnBH_
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_hitsBH_
constexpr HcalSubdetector subdet() const
get the subdetector
constexpr int32_t waferV() const
std::vector< float > hgcPassiveBHEnergy_
constexpr void unpack(int32_t &ty, int32_t &zs, int32_t &ly, int32_t &wU, int32_t &wV, int32_t &cU, int32_t &cV) const
std::vector< TH1D * > hSimHitLayEn2FH_
std::vector< float > pBeamMC_
const edm::EDGetTokenT< edm::PassiveHitContainer > tok_hgcPHCMSE_
std::vector< float > hgcPassiveEEEnergy_
std::vector< TH1D * > hSimHitLayEn1BH_
std::vector< uint32_t > simHitCellIdBeam_
void beginRun(edm::Run const &, edm::EventSetup const &) override
const std::string labelHitFH_
void analyzeSimTracks(edm::Handle< edm::SimTrackContainer > const &SimTk, edm::Handle< edm::SimVertexContainer > const &SimVtx)
void analyzeSimHits(int type, std::vector< PCaloHit > &hits, double zFront)
const std::string labelHitEE_
std::pair< int, int > simToReco(int cell, int layer, int mod, bool half) const
void analyze(edm::Event const &, edm::EventSetup const &) override
std::vector< float > simHitLayEn1FH_
void endRun(edm::Run const &, edm::EventSetup const &) override
std::vector< uint32_t > simHitCellIdEE_
const std::string detectorBH_
#define DEFINE_FWK_MODULE(type)
HGCalTB23Analyzer(edm::ParameterSet const &)
unsigned int layers(bool reco) const
std::vector< int > hgcPassiveEEID_
std::vector< float > simHitLayEn2BH_
const edm::InputTag labelPassiveBH_
std::vector< TH1D * > hSimHitLayEn2EE_
std::vector< PassiveHit > PassiveHitContainer
TProfile * hSimHitLng2_[3]
const HepMC::GenEvent * GetEvent() const
std::vector< uint32_t > simHitCellIdBH_
std::vector< float > simHitLayEn2FH_
std::vector< float > simHitCellEnEE_
const edm::EDGetTokenT< edm::PassiveHitContainer > tok_hgcPHBeam_
std::vector< int > hgcPassiveBeamID_
const edm::EDGetTokenT< edm::SimTrackContainer > tok_simTk_
std::vector< TH1D * > hSimHitLayEn1EE_
std::vector< float > pyBeamMC_
std::vector< int > simHitCellLayerBH_
std::vector< float > simHitCellTime15MipBH_
std::vector< float > simHitCellEnFH_
std::vector< float > simHitCellTimeFirstHitBH_
std::vector< float > simHitCellTime15MipEE_
std::vector< float > simHitCellTimeFirstHitEE_
std::vector< int > hgcPassiveBHID_
std::vector< float > simHitCellTime15MipFH_
const edm::EDGetTokenT< edm::SimVertexContainer > tok_simVtx_
double cellThickness(int layer, int waferU, int waferV) const
std::vector< float > simHitCellTimeFirstHitFH_
std::vector< SimVertex > SimVertexContainer
void add(std::string const &label, ParameterSetDescription const &psetDescription)
int irow() const
get the row number
constexpr int32_t layer() const
get the layer #
std::vector< int > simHitCellColBH_
const edm::EDGetTokenT< edm::PassiveHitContainer > tok_hgcPHBH_
std::pair< float, float > locateCell(int cell, int lay, int type, bool reco) const
const edm::EDGetTokenT< edm::PassiveHitContainer > tok_hgcPHFH_
const double stoc_smear_time_200_
std::vector< int > idBeams_
std::vector< float > simHitCellTimeLastHitEE_
const std::string detectorBeam_
int32_t waferV(const int32_t index)
void analyzePassiveHits(edm::Handle< edm::PassiveHitContainer > const &hgcPh, int subdet)
std::vector< std::string > hgcPassiveBeamName_
std::vector< float > simHitCellTimeLastHitBH_
T * make(const Args &...args) const
make new ROOT object
std::vector< float > simHitCellEnBeam_
TProfile * hSimHitLng_[3]
static void unpackIndex(const uint32_t &idx, int &det, int &lay, int &x, int &y)
const edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > tokDDDFH_
Log< level::Warning, false > LogWarning
const edm::EDGetTokenT< edm::PassiveHitContainer > tok_hgcPHEE_
constexpr int32_t waferU() const
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_hitsFH_
std::vector< float > yBeamMC_
std::vector< std::string > hgcPassiveBHName_
const edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > tokDDDEE_
const std::string detectorFH_
std::vector< SimTrack > SimTrackContainer
std::vector< float > xBeamMC_
std::vector< int > simHitCellRowBH_
const std::string labelHitBeam_
int depth() const
get the layer number
static void unpackHexagonIndex(const uint32_t &idx, int &subdet, int &z, int &lay, int &wafer, int &celltyp, int &cell)
TProfile2D * hSimHitLat_[3]
const double stoc_smear_time_300_
std::vector< TH1D * > hSimHitLayEn1FH_
std::vector< float > pzBeamMC_