43 for (
auto const&
id : did) {
58 for (
const auto&
id : did) {
61 mydet = (int)(
id.det());
84 <<
" " <<
ieta <<
" " <<
iphi <<
" " << pos.
eta() <<
" " << pos.
phi();
90 edm::LogWarning(
"MinBias") <<
" The number of CaloDet records " << did.size();
91 edm::LogWarning(
"MinBias") <<
" The number of Hcal records " << i << std::endl;
119 DetId id = (hbheItr).detid();
120 if (hbheItr.energy() > 0.)
141 DetId id = hoItr.detid();
161 DetId id = hfItr.detid();
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
T getUntrackedParameter(std::string const &, T const &) const
const std::vector< DetId > & getValidDetIds(DetId::Detector det=DetId::Detector(0), int subdet=0) const override
Get a list of valid detector ids (for the given subdetector)
uint16_t *__restrict__ id
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MinBias(const edm::ParameterSet &)
edm::EDGetTokenT< HFRecHitCollection > hfToken_
Geom::Phi< T > phi() const
std::map< DetId, double > theFillDetMap4_
std::map< DetId, double > theFillDetMap3_
T * make(const Args &...args) const
make new ROOT object
std::map< DetId, double > theFillDetMap0_
edm::EDGetTokenT< HORecHitCollection > hoToken_
const CaloGeometry * geo_
constexpr int iphi() const
get the cell iphi
std::map< DetId, double > theFillDetMap2_
constexpr int ieta() const
get the cell ieta
edm::EDGetTokenT< HBHERecHitCollection > hbheToken_
GlobalPoint getPosition(const DetId &id) const
std::map< DetId, double > theFillDetMap1_
void analyze(const edm::Event &, const edm::EventSetup &) override
void beginRun(edm::Run const &, edm::EventSetup const &) override
T const * product() const
T getParameter(std::string const &) const
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
constexpr int depth() const
get the tower depth
Log< level::Warning, false > LogWarning
Power< A, B >::type pow(const A &a, const B &b)