Reimplemented from hcaldqm::DQClient.
Definition at line 32 of file RecoRunSummary.cc.
References hcaldqm::DQClient::_emap, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, hcaldqm::DQClient::_taskname, _thresh_tcds, _thresh_unihf, hcaldqm::DQClient::_vhashCrates, a, HcalElectronicsMap::allPrecisionId(), b, hcaldqm::ContainerXXX< STDTYPE >::begin(), hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container1D::book(), HltBtagPostValidation_cff::c, runTauDisplay::eid, hcaldqm::ContainerXXX< STDTYPE >::end(), hcaldqm::flag::fBAD, hcaldqm::hashfunctions::fCrate, hcaldqm::hashfunctions::fCrateSlot, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fdepth, hcaldqm::flag::fGOOD, hcaldqm::hashfunctions::fHBHEPartition, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBERCH_MIN, hcaldqm::quantity::fieta, hcaldqm::quantity::fiphi, nanoDQM_cfi::Flag, hcaldqm::quantity::fN, hcaldqm::fOffline, hcaldqm::filter::fPreserver, hcaldqm::quantity::fState, fTCDS, hcaldqm::quantity::fTiming_ns, fUniSlotHF, hcaldqm::ContainerXXX< STDTYPE >::get(), hcaldqm::Container2D::getBinContent(), hcaldqm::Container1D::getMean(), HcalBarrel, HcalEndcap, HcalForward, cuy::ib, hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::Container1D::initialize(), hcaldqm::Container1D::load(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), HcalElectronicsMap::lookup(), nRecoFlag, hcaldqm::flag::Flag::reset(), hcaldqm::ContainerSingle2D::setBinContent(), hcaldqm::constants::SLOT_uTCA_MIN, and HcalDetId::subdet().
34 return std::vector<flag::Flag>();
37 std::vector<uint32_t> vhashCrateHF;
41 filter::HashFilter filter_CrateHF;
46 bool tcdsshift =
false;
47 std::vector<flag::Flag> vflags;
53 Container2D cOccupancy_depth, cOccupancyCut_depth;
54 ContainerSingle2D cSummary;
55 Container1D cTimingCut_HBHEPartition;
56 ContainerXXX<double> xUniHF, xUni;
73 cTimingCut_HBHEPartition.initialize(
_taskname,
80 cSummary.initialize(
_name,
82 new quantity::CrateQuantity(
_emap),
83 new quantity::FlagQuantity(vflags),
88 xUniHF.book(
_emap, filter_CrateHF);
98 for (std::vector<HcalGenericDetId>::const_iterator it = gids.begin(); it != gids.end(); ++it) {
99 if (!it->isHcalDetId())
106 xUniHF.get(
eid) += cOccupancyCut_depth.getBinContent(did);
110 for (doubleCompactMap::const_iterator it = xUniHF.begin(); it != xUniHF.end(); ++it) {
111 uint32_t hash1 = it->first;
113 double x1 = it->second;
114 for (doubleCompactMap::const_iterator jt = xUniHF.begin(); jt != xUniHF.end(); ++jt) {
118 double x2 = jt->second;
130 double dab = fabs(
a -
b);
131 double dac = fabs(
a -
c);
132 double dbc = fabs(
b -
c);
137 std::vector<flag::Flag> sumflags;
152 if (xUni.get(
eid) > 0)
160 for (std::vector<flag::Flag>::iterator ft = vflags.begin(); ft != vflags.end(); ++ft) {
161 cSummary.setBinContent(
eid, iflag, ft->_state);
166 sumflags.push_back(fSum);
const DetId lookup(HcalElectronicsId fId) const
lookup the logical detid associated with the given electronics id
HcalElectronicsMap const * _emap
std::vector< uint32_t > _vhashCrates
constexpr HcalSubdetector subdet() const
get the subdetector
int const FIBER_uTCA_MIN1
std::vector< HcalGenericDetId > allPrecisionId() const
Readout chain identification for Hcal.