15 #include <TProfile2D.h>
46 for (std::vector<edm::ParameterSet>::const_iterator itSystem =
m_l1Systems.begin(); itSystem !=
m_l1Systems.end();
52 m_systemMask.push_back(itSystem->getParameter<
unsigned int>(
"SystemMask"));
105 float percAgree = -1.;
111 std::cout <<
"\nWarning: ErrorFlag histogram for system " <<
m_systemLabel[iSys] <<
" empty!" << std::endl;
118 int numUnMaskedSystems = 0;
121 numUnMaskedSystems++;
132 std::cout <<
"\nSummary report L1EmulatorErrorFlagClient" << std::endl;
134 std::cout <<
"\nL1 systems: " << m_nrL1Systems <<
" systems included\n" << std::endl;
138 <<
m_systemMask[iSys] <<
" \t" << std::setw(25) <<
" m_summaryContent[" << std::setw(2) << iSys
153 bool isEmpty = (ntot == 0);
~L1EmulatorErrorFlagClient() override
Destructor.
size_t m_nrL1Systems
number of L1 trigger systems
std::vector< Float_t > m_summaryContent
summary report
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * m_meSummaryErrorFlagMap
m_verbose(ps.getUntrackedParameter< bool >("verbose"))
Float_t setSummary(DQMStore::IGetter &igetter, const unsigned int &) const
L1EmulatorErrorFlagClient(const edm::ParameterSet &)
Constructor.
virtual int getNbinsX() const
get # of bins in X-axis
virtual MonitorElement * get(std::string const &fullpath) const
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
bool m_verbose
input parameters
std::vector< edm::ParameterSet > m_l1Systems
std::vector< std::string > m_systemLabel
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)
virtual double getBinContent(int binx) const
get content of bin (1-D)
void initialize()
private methods
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
std::vector< std::string > m_systemLabelExt
std::vector< std::string > m_systemErrorFlag
std::vector< std::string > m_systemFolder
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
std::vector< int > m_systemMask
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)