23 myTree_ =
fs->make<TTree>(
"RecJet",
"RecJet Tree");
41 for (
auto const&
id : did) {
58 for (
const auto&
id : did) {
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;
112 if (!
hbhe.isValid()) {
120 if (hbheItr.energy() > 0.)
141 DetId id = hoItr.detid();
161 DetId id = hfItr.detid();
T getParameter(std::string 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)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
MinBias(const edm::ParameterSet &)
edm::EDGetTokenT< HFRecHitCollection > hfToken_
std::map< DetId, double > theFillDetMap4_
std::map< DetId, double > theFillDetMap3_
void endRun(edm::Run const &, edm::EventSetup const &) override
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryESToken_
std::map< DetId, double > theFillDetMap0_
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< HORecHitCollection > hoToken_
const CaloGeometry * geo_
constexpr int ieta() const
get the cell ieta
std::map< DetId, double > theFillDetMap2_
edm::EDGetTokenT< HBHERecHitCollection > hbheToken_
Namespace of DDCMS conversion namespace.
std::map< DetId, double > theFillDetMap1_
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
void beginRun(edm::Run const &, edm::EventSetup const &) override
GlobalPoint getPosition(const DetId &id) const
Log< level::Warning, false > LogWarning
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
constexpr int iphi() const
get the cell iphi
Power< A, B >::type pow(const A &a, const B &b)
constexpr int depth() const
get the tower depth