#include <CSCDcsInfo.h>
Public Member Functions | |
CSCDcsInfo (const edm::ParameterSet &) | |
~CSCDcsInfo () | |
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 CSCDcsInfo.h.
CSCDcsInfo::CSCDcsInfo | ( | const edm::ParameterSet & | ps | ) | [explicit] |
Definition at line 24 of file CSCDcsInfo.cc.
{ }
CSCDcsInfo::~CSCDcsInfo | ( | ) | [inline] |
Definition at line 47 of file CSCDcsInfo.h.
{ }
virtual void CSCDcsInfo::analyze | ( | const edm::Event & | , |
const edm::EventSetup & | |||
) | [inline, private, virtual] |
void CSCDcsInfo::beginJob | ( | void | ) | [private, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 28 of file CSCDcsInfo.cc.
References cppFunctionSkipper::operator.
{ dbe = Service<DQMStore>().operator->(); dbe->setCurrentFolder("CSC/EventInfo/DCSContents"); 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("DCSSummary", dbe->bookFloat("DCSSummary"))); for (std::map<std::string, MonitorElement*>::iterator it = mos.begin(); it != mos.end(); it++) { it->second->Fill(-1); } }
virtual void CSCDcsInfo::beginLuminosityBlock | ( | const edm::LuminosityBlock & | , |
const edm::EventSetup & | |||
) | [inline, private, virtual] |
virtual void CSCDcsInfo::endJob | ( | void | ) | [inline, private, virtual] |
virtual void CSCDcsInfo::endLuminosityBlock | ( | const edm::LuminosityBlock & | , |
const edm::EventSetup & | |||
) | [inline, private, virtual] |
DQMStore* CSCDcsInfo::dbe [private] |
Definition at line 58 of file CSCDcsInfo.h.
std::map<std::string, MonitorElement*> CSCDcsInfo::mos [private] |
Definition at line 59 of file CSCDcsInfo.h.