74 for (
int zs = 0; zs < 2; ++zs) {
75 int zside = 2 * zs - 1;
77 for (
int eta = etas.first;
eta <= etas.second; ++
eta) {
78 std::vector<std::pair<int, double> > phis = hcr->
getPhis(sub,
eta);
79 for (
unsigned int k = 0;
k < phis.size(); ++
k) {
80 int phi = phis[
k].first;
81 int lmin = (
type == 1 &&
eta == 16) ? 8 : 1;
82 int lmax = (
type == 1) ? 19 : ((
eta == 16) ? 7 : 17);
83 for (
int lay = lmin; lay <= lmax; ++lay) {
84 std::pair<int, int> etd = hcs->
getEtaDepth(sub,
eta, phi, zside, 0, lay);
90 edm::LogVerbatim(
"HcalSim") <<
"I/P " << sub <<
":" << zside *
eta <<
":" << phi <<
":" << lay <<
" Normal "
const edm::ESGetToken< HcalDDDSimConstants, HcalSimNumberingRecord > tokSim_
Log< level::Info, true > LogVerbatim
~HcalTestNumberingTester() override
const edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tokReco_
#define DEFINE_FWK_MODULE(type)
virtual uint32_t getUnitID(const HcalNumberingFromDDD::HcalID &id)
constexpr uint32_t rawId() const
get the raw id
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
bool getData(T &iHolder) const
std::vector< std::pair< int, double > > getPhis(const int &subdet, const int &ieta) const
HcalTestNumberingTester(const edm::ParameterSet &)
std::pair< int, int > getEtaDepth(const int &det, int etaR, const int &phi, const int &zside, int depth, const int &lay) const
DetId relabel(const uint32_t testId) const
std::pair< int, int > getEtaRange(const int &i) const