16 #include <TProfile2D.h>
26 m_verbose(parSet.getUntrackedParameter<bool>(
"verbose",
false)),
27 m_l1Systems(parSet.getParameter<std::vector<edm::
ParameterSet> >(
"L1Systems")),
57 for (std::vector<edm::ParameterSet>::const_iterator itSystem =
66 m_systemMask.push_back(itSystem->getParameter<
unsigned int>(
153 float percAgree = -1.;
159 std::cout <<
"\nWarning: ErrorFlag histogram for system "
168 int numUnMaskedSystems = 0;
171 numUnMaskedSystems++;
185 std::cout <<
"\nSummary report L1EmulatorErrorFlagClient" << std::endl;
187 std::cout <<
"\nL1 systems: " << m_nrL1Systems <<
" systems included\n"
194 <<
" \t" << std::setw(25) <<
" m_summaryContent["
232 bool isEmpty = (ntot == 0);
const std::string & getName(void) const
get name of ME
void setBinContent(int binx, double content)
set content of bin (1-D)
size_t m_nrL1Systems
number of L1 trigger systems
std::vector< Float_t > m_summaryContent
summary report
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * m_meSummaryErrorFlagMap
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 ~L1EmulatorErrorFlagClient()
Destructor.
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
void beginRun(const edm::Run &, const edm::EventSetup &)
begin run
L1EmulatorErrorFlagClient(const edm::ParameterSet &)
Constructor.
void removeElement(const std::string &name)
bool m_verbose
input parameters
std::vector< edm::ParameterSet > m_l1Systems
std::vector< std::string > m_systemLabel
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
void initialize()
private methods
void endRun(const edm::Run &, const edm::EventSetup &)
end run
void analyze(const edm::Event &, const edm::EventSetup &)
analyze
Float_t setSummary(const unsigned int &) const
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
end luminosity block
std::vector< std::string > m_systemLabelExt
double getBinContent(int binx) const
get content of bin (1-D)
std::vector< std::string > m_systemErrorFlag
char data[epos_bytes_allocation]
std::vector< std::string > m_systemFolder
int getNbinsX(void) const
get # of bins in X-axis
volatile std::atomic< bool > shutdown_flag false
std::vector< int > m_systemMask
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void setCurrentFolder(const std::string &fullpath)