#include <L1ExtraRecoDQM.h>
Public Member Functions | |
L1ExtraRecoDQM (const edm::ParameterSet &) | |
virtual | ~L1ExtraRecoDQM () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
virtual void | endJob () |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
end section | |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
Private Attributes | |
int | m_currentRun |
DQMStore * | m_dbe |
internal members | |
std::string | m_dirName |
directory name for L1Extra plots | |
int | m_nrBxInEventGct |
int | m_nrBxInEventGmt |
number of bunch crosses in event to be monitored | |
int | m_nrEvJob |
int | m_nrEvRun |
bool | m_resetModule |
L1RetrieveL1Extra | m_retrieveL1Extra |
input parameters |
Description: online DQM module for L1Extra versus Reco trigger objects.
Implementation: <TODO: enter implementation details>
Definition at line 74 of file L1ExtraRecoDQM.h.
L1ExtraRecoDQM::L1ExtraRecoDQM | ( | const edm::ParameterSet & | paramSet | ) | [explicit] |
Definition at line 30 of file L1ExtraRecoDQM.cc.
References edm::ParameterSet::getUntrackedParameter(), m_dbe, m_dirName, m_nrBxInEventGct, m_nrBxInEventGmt, cppFunctionSkipper::operator, DQMStore::setCurrentFolder(), and DQMStore::setVerbose().
: // m_retrieveL1Extra( paramSet.getParameter<edm::ParameterSet> ( "L1ExtraInputTags")), m_dirName( paramSet.getUntrackedParameter("DirName", std::string("L1T/L1ExtraRecoDQM"))), // m_nrBxInEventGmt(paramSet.getParameter<int> ("NrBxInEventGmt")), m_nrBxInEventGct(paramSet.getParameter<int> ("NrBxInEventGct")), // m_dbe(0), m_resetModule(true), m_currentRun(-99), // m_nrEvJob(0), m_nrEvRun(0) { // if ((m_nrBxInEventGmt > 0) && ((m_nrBxInEventGmt % 2) == 0)) { m_nrBxInEventGmt = m_nrBxInEventGmt - 1; edm::LogInfo("L1ExtraRecoDQM") << "\nWARNING: Number of bunch crossing to be monitored for GMT rounded to: " << m_nrBxInEventGmt << "\n The number must be an odd number!\n" << std::endl; } if ((m_nrBxInEventGct > 0) && ((m_nrBxInEventGct % 2) == 0)) { m_nrBxInEventGct = m_nrBxInEventGct - 1; edm::LogInfo("L1ExtraRecoDQM") << "\nWARNING: Number of bunch crossing to be monitored for GCT rounded to: " << m_nrBxInEventGct << "\n The number must be an odd number!\n" << std::endl; } m_dbe = edm::Service<DQMStore>().operator->(); if (m_dbe == 0) { edm::LogInfo("L1ExtraRecoDQM") << "\n Unable to get DQMStore service."; } else { if (paramSet.getUntrackedParameter<bool> ("DQMStore", false)) { m_dbe->setVerbose(0); } m_dbe->setCurrentFolder(m_dirName); } }
L1ExtraRecoDQM::~L1ExtraRecoDQM | ( | ) | [virtual] |
Definition at line 85 of file L1ExtraRecoDQM.cc.
{
// empty
}
void L1ExtraRecoDQM::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup | ||
) | [private, virtual] |
Implements edm::EDAnalyzer.
Definition at line 125 of file L1ExtraRecoDQM.cc.
References m_nrEvJob, m_nrEvRun, m_retrieveL1Extra, and L1RetrieveL1Extra::retrieveL1ExtraObjects().
{ ++m_nrEvJob; ++m_nrEvRun; // m_retrieveL1Extra.retrieveL1ExtraObjects(iEvent, evSetup); }
void L1ExtraRecoDQM::beginJob | ( | void | ) | [private, virtual] |
void L1ExtraRecoDQM::beginLuminosityBlock | ( | const edm::LuminosityBlock & | iLumi, |
const edm::EventSetup & | evSetup | ||
) | [private, virtual] |
void L1ExtraRecoDQM::beginRun | ( | const edm::Run & | iRun, |
const edm::EventSetup & | evSetup | ||
) | [private, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 96 of file L1ExtraRecoDQM.cc.
References DQMStore::dirExists(), m_dirName, m_nrEvRun, cppFunctionSkipper::operator, DQMStore::rmdir(), and DQMStore::setCurrentFolder().
void L1ExtraRecoDQM::endJob | ( | void | ) | [private, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 150 of file L1ExtraRecoDQM.cc.
References m_nrEvJob.
{ edm::LogInfo("L1ExtraRecoDQM") << "\n\nTotal number of events analyzed in this job: " << m_nrEvJob << "\n" << std::endl; return; }
void L1ExtraRecoDQM::endLuminosityBlock | ( | const edm::LuminosityBlock & | iLumi, |
const edm::EventSetup & | evSetup | ||
) | [private, virtual] |
end section
Reimplemented from edm::EDAnalyzer.
Definition at line 137 of file L1ExtraRecoDQM.cc.
{
// empty
}
void L1ExtraRecoDQM::endRun | ( | const edm::Run & | run, |
const edm::EventSetup & | evSetup | ||
) | [private, virtual] |
int L1ExtraRecoDQM::m_currentRun [private] |
Definition at line 118 of file L1ExtraRecoDQM.h.
DQMStore* L1ExtraRecoDQM::m_dbe [private] |
std::string L1ExtraRecoDQM::m_dirName [private] |
directory name for L1Extra plots
Definition at line 107 of file L1ExtraRecoDQM.h.
Referenced by beginRun(), and L1ExtraRecoDQM().
int L1ExtraRecoDQM::m_nrBxInEventGct [private] |
Definition at line 111 of file L1ExtraRecoDQM.h.
Referenced by L1ExtraRecoDQM().
int L1ExtraRecoDQM::m_nrBxInEventGmt [private] |
number of bunch crosses in event to be monitored
Definition at line 110 of file L1ExtraRecoDQM.h.
Referenced by L1ExtraRecoDQM().
int L1ExtraRecoDQM::m_nrEvJob [private] |
Definition at line 121 of file L1ExtraRecoDQM.h.
int L1ExtraRecoDQM::m_nrEvRun [private] |
Definition at line 122 of file L1ExtraRecoDQM.h.
Referenced by analyze(), and beginRun().
bool L1ExtraRecoDQM::m_resetModule [private] |
Definition at line 117 of file L1ExtraRecoDQM.h.