|
|
Go to the documentation of this file.
7 :
DQHarvester(ps), _nBad(0), _nTotal(0), _reportSummaryMap(nullptr) {
31 DQHarvester::beginRun(
r, es);
32 for (std::vector<DQClient*>::const_iterator it =
_vsumgen.begin(); it !=
_vsumgen.end(); ++it)
33 (*it)->beginRun(
r, es);
58 for (uint32_t
i = 0;
i <
_vFEDs.size();
i++) {
75 for (uint32_t
i = 0;
i <
_vmarks.size();
i++) {
93 _runSummary =
ib.book2D(
"runSummary",
"runSummary", 1, 0, 1, 1, 0, 1);
99 for (std::vector<uint32_t>::const_iterator it =
_vhashFEDs.begin(); it !=
_vhashFEDs.end(); ++it) {
102 for (uint32_t im = 0; im <
_vmarks.size(); im++)
128 MonitorElement* meOccupancy_HF_depth = ig.
get(
"Hcal/TPTask/OccupancyDataHF_depth/OccupancyDataHF_depth");
130 ig.
get(
"Hcal/TPTask/OccupancyEmulHFNoTDC_depth/OccupancyEmulHFNoTDC_depth");
131 MonitorElement* meOccupancy_HF_ieta = ig.
get(
"Hcal/TPTask/OccupancyDataHF_ieta/OccupancyDataHF_ieta");
133 ig.
get(
"Hcal/TPTask/OccupancyEmulHFNoTDC_ieta/OccupancyEmulHFNoTDC_ieta");
135 if (meOccupancy_HF_depth && meOccupancyNoTDC_HF_depth && meOccupancy_HF_ieta && meOccupancyNoTDC_HF_ieta) {
136 TH2F* hOccupancy_HF_depth = meOccupancy_HF_depth->
getTH2F();
137 TH2F* hOccupancyNoTDC_HF_depth = meOccupancyNoTDC_HF_depth->
getTH2F();
138 TH1F* hOccupancy_HF_ieta = meOccupancy_HF_ieta->
getTH1F();
139 TH1F* hOccupancyNoTDC_HF_ieta = meOccupancyNoTDC_HF_ieta->
getTH1F();
141 TH2F* hEfficiency_HF_depth = (TH2F*)hOccupancy_HF_depth->Clone();
142 hEfficiency_HF_depth->Divide(hOccupancyNoTDC_HF_depth);
143 TH1F* hEfficiency_HF_ieta = (TH1F*)hOccupancy_HF_ieta->Clone();
144 hEfficiency_HF_ieta->Divide(hOccupancyNoTDC_HF_ieta);
146 ib.setCurrentFolder(
"Hcal/TPTask");
148 MonitorElement* meEfficiency_HF_depth =
ib.book2D(
"TDCCutEfficiency_depth", hEfficiency_HF_depth);
150 MonitorElement* meEfficiency_HF_ieta =
ib.book1D(
"TDCCutEfficiency_ieta", hEfficiency_HF_ieta);
153 delete hEfficiency_HF_depth;
154 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)
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::Container2D _cKnownBadChannels_depth
virtual TH1F * getTH1F() const
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 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