7 :
DQHarvester(ps), _nBad(0), _nTotal(0), _reportSummaryMap(nullptr) {
32 DQHarvester::beginRun(
r, es);
34 (*it)->beginRun(
r, es);
59 for (uint32_t
i = 0;
i <
_vFEDs.size();
i++) {
76 for (uint32_t
i = 0;
i <
_vmarks.size();
i++) {
94 _runSummary =
ib.book2D(
"runSummary",
"runSummary", 1, 0, 1, 1, 0, 1);
103 for (uint32_t im = 0; im <
_vmarks.size(); im++)
129 MonitorElement* meOccupancy_HF_depth = ig.
get(
"Hcal/TPTask/OccupancyDataHF_depth/OccupancyDataHF_depth");
131 ig.
get(
"Hcal/TPTask/OccupancyEmulHFNoTDC_depth/OccupancyEmulHFNoTDC_depth");
132 MonitorElement* meOccupancy_HF_ieta = ig.
get(
"Hcal/TPTask/OccupancyDataHF_ieta/OccupancyDataHF_ieta");
134 ig.
get(
"Hcal/TPTask/OccupancyEmulHFNoTDC_ieta/OccupancyEmulHFNoTDC_ieta");
136 if (meOccupancy_HF_depth && meOccupancyNoTDC_HF_depth && meOccupancy_HF_ieta && meOccupancyNoTDC_HF_ieta) {
137 TH2F* hOccupancy_HF_depth = meOccupancy_HF_depth->
getTH2F();
138 TH2F* hOccupancyNoTDC_HF_depth = meOccupancyNoTDC_HF_depth->
getTH2F();
139 TH1D* hOccupancy_HF_ieta = meOccupancy_HF_ieta->
getTH1D();
140 TH1D* hOccupancyNoTDC_HF_ieta = meOccupancyNoTDC_HF_ieta->
getTH1D();
142 TH2F* hEfficiency_HF_depth = (TH2F*)hOccupancy_HF_depth->Clone();
143 hEfficiency_HF_depth->Divide(hOccupancyNoTDC_HF_depth);
144 TH1D* hEfficiency_HF_ieta = (TH1D*)hOccupancy_HF_ieta->Clone();
145 hEfficiency_HF_ieta->Divide(hOccupancyNoTDC_HF_ieta);
147 ib.setCurrentFolder(
"Hcal/TPTask");
149 MonitorElement* meEfficiency_HF_depth =
ib.book2D(
"TDCCutEfficiency_depth", hEfficiency_HF_depth);
151 MonitorElement* meEfficiency_HF_ieta =
ib.book1DD(
"TDCCutEfficiency_ieta", hEfficiency_HF_ieta);
154 delete hEfficiency_HF_depth;
155 delete hEfficiency_HF_ieta;
ContainerXXX< uint32_t > _xQuality
std::vector< uint32_t > _vhashFEDs
std::vector< bool > _vmarks
virtual void setCurrentFolder(std::string const &fullpath)
HcalOnlineHarvesting(edm::ParameterSet const &)
virtual CompactMap::const_iterator begin()
hcaldqm::Container2D _cKnownBadChannels_depth
T getUntrackedParameter(std::string const &, T const &) const
virtual CompactMap::const_iterator end()
virtual TH2F * getTH2F() const
std::vector< std::string > _vnames
void _dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
MonitorElement * _reportSummaryMap
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
#define DEFINE_FWK_MODULE(type)
virtual TH1D * getTH1D() const
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
HcalElectronicsMap const * _emap
void beginRun(edm::Run const &, edm::EventSetup const &) override
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
void _dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
virtual MonitorElement * get(std::string const &fullpath) const
virtual TH1 * getTH1() const
std::vector< hcaldqm::DQClient * > _vsumgen
MonitorElement * _runSummary
void fill(HcalDetId const &) override
std::vector< int > _vFEDs
std::vector< hcaldqm::ContainerSingle2D > _vcSummaryvsLS
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Readout chain identification for Hcal.