29 std::vector<flag::Flag> vflags;
113 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
128 xEtMsm.
get(
eid) += numetmsm;
129 xFGMsm.
get(
eid) += numfgmsm;
130 xNumCorr.
get(
eid) += numcorr;
137 std::vector<flag::Flag> sumflags;
144 double etmsmfr = xNumCorr.
get(
eid) > 0 ? double(xEtMsm.
get(
eid)) /
double(xNumCorr.
get(
eid)) : 0;
145 double fgmsmfr = xNumCorr.
get(
eid) > 0 ? double(xFGMsm.
get(
eid)) /
double(xNumCorr.
get(
eid)) : 0;
163 for (std::vector<flag::Flag>::iterator ft = vflags.begin(); ft != vflags.end(); ++ft) {
169 sumflags.push_back(fSum);
ContainerSingle2D _cFGMsmFraction_depthlike
double _thresh_EtMsmRate_high
virtual double getBinEntries(int, int)
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
void beginRun(edm::Run const &, edm::EventSetup const &) override
std::vector< HcalTrigTowerDetId > allTriggerId() const
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
const DetId lookup(HcalElectronicsId fId) const
lookup the logical detid associated with the given electronics id
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
HcalElectronicsMap const * _emap
double _thresh_FGMsmRate_low
std::vector< uint32_t > _vhashCrates
double _thresh_EtMsmRate_low
std::vector< flag::Flag > endJob(DQMStore::IBooker &, DQMStore::IGetter &) override
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
T getUntrackedParameter(std::string const &, T const &) const
uint32_t lookup(DetId const &)
constexpr HcalSubdetector subdet() const
get the subdetector
double _thresh_FGMsmRate_high
virtual void setBinContent(int, int, int)
virtual void endLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
virtual void book(HcalElectronicsMap const *)
ContainerSingle2D _cEtMsmFraction_depthlike
int ietaAbs() const
get the absolute value of the tower ieta
virtual STDTYPE & get(HcalDetId const &)
void endLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
virtual double getBinContent(int, int)
virtual void initialize(hashfunctions::HashType, int debug=0)
TPRunSummary(std::string const &, std::string const &, edm::ParameterSet const &, edm::ConsumesCollector &iC)
virtual void load(DQMStore::IGetter &, std::string subsystem="Hcal", std::string aux="")
int version() const
get the version code for the trigger tower
Readout chain identification for Hcal.