40 DQHarvester::beginRun(r,es);
41 for (std::vector<DQClient*>::const_iterator it=
_vsumgen.begin();
43 (*it)->beginRun(r,es);
88 for (uint32_t i=0; i<
_vmarks.size(); i++)
113 for (std::vector<uint32_t>::const_iterator it=
_vhashFEDs.begin();
118 for (uint32_t im=0; im<
_vmarks.size(); im++)
144 MonitorElement* meOccupancy_HF_depth = ig.
get(
"Hcal/TPTask/OccupancyDataHF_depth/OccupancyDataHF_depth");
145 MonitorElement* meOccupancyNoTDC_HF_depth = ig.
get(
"Hcal/TPTask/OccupancyEmulHFNoTDC_depth/OccupancyEmulHFNoTDC_depth");
146 MonitorElement* meOccupancy_HF_ieta = ig.
get(
"Hcal/TPTask/OccupancyDataHF_ieta/OccupancyDataHF_ieta");
147 MonitorElement* meOccupancyNoTDC_HF_ieta = ig.
get(
"Hcal/TPTask/OccupancyEmulHFNoTDC_ieta/OccupancyEmulHFNoTDC_ieta");
149 if (meOccupancy_HF_depth && meOccupancyNoTDC_HF_depth && meOccupancy_HF_ieta && meOccupancyNoTDC_HF_ieta) {
150 TH2F* hOccupancy_HF_depth = meOccupancy_HF_depth->
getTH2F();
151 TH2F* hOccupancyNoTDC_HF_depth = meOccupancyNoTDC_HF_depth->
getTH2F();
152 TH1F* hOccupancy_HF_ieta = meOccupancy_HF_ieta->
getTH1F();
153 TH1F* hOccupancyNoTDC_HF_ieta = meOccupancyNoTDC_HF_ieta->
getTH1F();
155 TH2F *hEfficiency_HF_depth = (TH2F*)hOccupancy_HF_depth->Clone();
156 hEfficiency_HF_depth->Divide(hOccupancyNoTDC_HF_depth);
157 TH1F *hEfficiency_HF_ieta = (TH1F*)hOccupancy_HF_ieta->Clone();
158 hEfficiency_HF_ieta->Divide(hOccupancyNoTDC_HF_ieta);
162 MonitorElement* meEfficiency_HF_depth = ib.
book2D(
"TDCCutEfficiency_depth", hEfficiency_HF_depth);
167 delete hEfficiency_HF_depth;
168 delete hEfficiency_HF_ieta;
ContainerXXX< uint32_t > _xQuality
T getUntrackedParameter(std::string const &, T const &) const
std::vector< uint32_t > _vhashFEDs
void setBinContent(int binx, double content)
set content of bin (1-D)
std::vector< bool > _vmarks
HcalOnlineHarvesting(edm::ParameterSet const &)
MonitorElement * get(const std::string &path)
#define DEFINE_FWK_MODULE(type)
virtual CompactMap::const_iterator begin()
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)
hcaldqm::Container2D _cKnownBadChannels_depth
virtual CompactMap::const_iterator end()
std::vector< std::string > _vnames
void _dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
MonitorElement * _reportSummaryMap
std::vector< hcaldqm::DQClient * > _vsumgen
MonitorElement * book1D(Args &&...args)
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
HcalElectronicsMap const * _emap
void setCurrentFolder(const std::string &fullpath)
void beginRun(edm::Run const &, edm::EventSetup const &) override
MonitorElement * book2D(Args &&...args)
void _dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
void setCurrentFolder(const std::string &fullpath)
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.