#include <CSCDaqInfo.h>
Public Member Functions | |
CSCDaqInfo (const edm::ParameterSet &) | |
~CSCDaqInfo () | |
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 | endJob () |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
Private Attributes | |
DQMStore * | dbe |
std::map< std::string, MonitorElement * > | mos |
Definition at line 42 of file CSCDaqInfo.h.
CSCDaqInfo::CSCDaqInfo | ( | const edm::ParameterSet & | ps | ) | [explicit] |
Definition at line 24 of file CSCDaqInfo.cc.
{ }
CSCDaqInfo::~CSCDaqInfo | ( | ) | [inline] |
Definition at line 47 of file CSCDaqInfo.h.
{ }
virtual void CSCDaqInfo::analyze | ( | const edm::Event & | , |
const edm::EventSetup & | |||
) | [inline, private, virtual] |
void CSCDaqInfo::beginJob | ( | void | ) | [private, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 28 of file CSCDaqInfo.cc.
References cmsCodeRules::cppFunctionSkipper::operator.
{ dbe = Service<DQMStore>().operator->(); dbe->setCurrentFolder("CSC/EventInfo/DAQContents"); mos.insert(std::make_pair("CSC_SideMinus", dbe->bookFloat("CSC_SideMinus"))); mos.insert(std::make_pair("CSC_SideMinus_Station01", dbe->bookFloat("CSC_SideMinus_Station01"))); mos.insert(std::make_pair("CSC_SideMinus_Station01_Ring01", dbe->bookFloat("CSC_SideMinus_Station01_Ring01"))); mos.insert(std::make_pair("CSC_SideMinus_Station01_Ring02", dbe->bookFloat("CSC_SideMinus_Station01_Ring02"))); mos.insert(std::make_pair("CSC_SideMinus_Station01_Ring03", dbe->bookFloat("CSC_SideMinus_Station01_Ring03"))); mos.insert(std::make_pair("CSC_SideMinus_Station02", dbe->bookFloat("CSC_SideMinus_Station02"))); mos.insert(std::make_pair("CSC_SideMinus_Station02_Ring01", dbe->bookFloat("CSC_SideMinus_Station02_Ring01"))); mos.insert(std::make_pair("CSC_SideMinus_Station02_Ring02", dbe->bookFloat("CSC_SideMinus_Station02_Ring02"))); mos.insert(std::make_pair("CSC_SideMinus_Station03", dbe->bookFloat("CSC_SideMinus_Station03"))); mos.insert(std::make_pair("CSC_SideMinus_Station03_Ring01", dbe->bookFloat("CSC_SideMinus_Station03_Ring01"))); mos.insert(std::make_pair("CSC_SideMinus_Station03_Ring02", dbe->bookFloat("CSC_SideMinus_Station03_Ring02"))); mos.insert(std::make_pair("CSC_SideMinus_Station04", dbe->bookFloat("CSC_SideMinus_Station04"))); mos.insert(std::make_pair("CSC_SidePlus", dbe->bookFloat("CSC_SidePlus"))); mos.insert(std::make_pair("CSC_SidePlus_Station01", dbe->bookFloat("CSC_SidePlus_Station01"))); mos.insert(std::make_pair("CSC_SidePlus_Station01_Ring01", dbe->bookFloat("CSC_SidePlus_Station01_Ring01"))); mos.insert(std::make_pair("CSC_SidePlus_Station01_Ring02", dbe->bookFloat("CSC_SidePlus_Station01_Ring02"))); mos.insert(std::make_pair("CSC_SidePlus_Station01_Ring03", dbe->bookFloat("CSC_SidePlus_Station01_Ring03"))); mos.insert(std::make_pair("CSC_SidePlus_Station02", dbe->bookFloat("CSC_SidePlus_Station02"))); mos.insert(std::make_pair("CSC_SidePlus_Station02_Ring01", dbe->bookFloat("CSC_SidePlus_Station02_Ring01"))); mos.insert(std::make_pair("CSC_SidePlus_Station02_Ring02", dbe->bookFloat("CSC_SidePlus_Station02_Ring02"))); mos.insert(std::make_pair("CSC_SidePlus_Station03", dbe->bookFloat("CSC_SidePlus_Station03"))); mos.insert(std::make_pair("CSC_SidePlus_Station03_Ring01", dbe->bookFloat("CSC_SidePlus_Station03_Ring01"))); mos.insert(std::make_pair("CSC_SidePlus_Station03_Ring02", dbe->bookFloat("CSC_SidePlus_Station03_Ring02"))); mos.insert(std::make_pair("CSC_SidePlus_Station04", dbe->bookFloat("CSC_SidePlus_Station04"))); dbe->setCurrentFolder("CSC/EventInfo"); mos.insert(std::make_pair("DAQSummary", dbe->bookFloat("DAQSummary"))); for (std::map<std::string, MonitorElement*>::iterator it = mos.begin(); it != mos.end(); it++) { it->second->Fill(-1); } }
virtual void CSCDaqInfo::beginLuminosityBlock | ( | const edm::LuminosityBlock & | , |
const edm::EventSetup & | |||
) | [inline, private, virtual] |
virtual void CSCDaqInfo::endJob | ( | void | ) | [inline, private, virtual] |
virtual void CSCDaqInfo::endLuminosityBlock | ( | const edm::LuminosityBlock & | , |
const edm::EventSetup & | |||
) | [inline, private, virtual] |
DQMStore* CSCDaqInfo::dbe [private] |
Definition at line 59 of file CSCDaqInfo.h.
std::map<std::string, MonitorElement*> CSCDaqInfo::mos [private] |
Definition at line 58 of file CSCDaqInfo.h.