|
|
Go to the documentation of this file.
7 :
DQHarvester(ps), _nBad(0), _nTotal(0), _reportSummaryMap(nullptr) {
32 DQHarvester::beginRun(
r, es);
33 for (std::vector<DQClient*>::const_iterator it =
_vsumgen.begin(); it !=
_vsumgen.end(); ++it)
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);
100 for (std::vector<uint32_t>::const_iterator it =
_vhashFEDs.begin(); it !=
_vhashFEDs.end(); ++it) {
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;
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 _dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
const HcalElectronicsMap * _emap
std::vector< int > _vFEDs
virtual void setCurrentFolder(std::string const &fullpath)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::Container2D _cKnownBadChannels_depth
std::vector< uint32_t > _vhashFEDs
MonitorElement * _reportSummaryMap
virtual CompactMap::const_iterator begin()
#define DEFINE_FWK_MODULE(type)
virtual CompactMap::const_iterator end()
Readout chain identification for Hcal.
std::vector< hcaldqm::ContainerSingle2D > _vcSummaryvsLS
virtual TH1D * getTH1D() const
virtual TH1 * getTH1() const
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void fill(HcalDetId const &) override
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)
std::vector< bool > _vmarks
void _dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
void beginRun(edm::Run const &, edm::EventSetup const &) override
ContainerXXX< uint32_t > _xQuality
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual MonitorElement * get(std::string const &fullpath) const
MonitorElement * _runSummary
HcalOnlineHarvesting(edm::ParameterSet const &)
std::vector< hcaldqm::DQClient * > _vsumgen
std::vector< std::string > _vnames
virtual TH2F * getTH2F() const