45 for (
auto const&
id : did) {
60 for (
const auto&
id : did) {
88 edm::LogWarning(
"MinBias")<<
" The number of CaloDet records "<<did.size();
89 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();
T getParameter(std::string const &) const
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MinBias(const edm::ParameterSet &)
edm::EDGetTokenT< HFRecHitCollection > hfToken_
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)
Geom::Phi< T > phi() const
T * make(const Args &...args) const
make new ROOT object
std::map< DetId, double > theFillDetMap4_
edm::EDGetTokenT< HORecHitCollection > hoToken_
const CaloGeometry * geo_
int depth() const
get the tower depth
std::map< DetId, double > theFillDetMap3_
int ieta() const
get the cell ieta
edm::EDGetTokenT< HBHERecHitCollection > hbheToken_
GlobalPoint getPosition(const DetId &id) const
Namespace of DDCMS conversion namespace.
int iphi() const
get the cell iphi
void analyze(const edm::Event &, const edm::EventSetup &) override
void beginRun(edm::Run const &, edm::EventSetup const &) override
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
std::map< DetId, double > theFillDetMap2_
std::map< DetId, double > theFillDetMap0_
std::map< DetId, double > theFillDetMap1_
T const * product() const
Power< A, B >::type pow(const A &a, const B &b)