CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

CSCDaqInfo Class Reference

#include <CSCDaqInfo.h>

Inheritance diagram for CSCDaqInfo:
edm::EDAnalyzer

List of all members.

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

DQMStoredbe
std::map< std::string,
MonitorElement * > 
mos

Detailed Description

Definition at line 42 of file CSCDaqInfo.h.


Constructor & Destructor Documentation

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.

{ }

Member Function Documentation

virtual void CSCDaqInfo::analyze ( const edm::Event ,
const edm::EventSetup  
) [inline, private, virtual]

Implements edm::EDAnalyzer.

Definition at line 54 of file CSCDaqInfo.h.

{ }
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]

Reimplemented from edm::EDAnalyzer.

Definition at line 53 of file CSCDaqInfo.h.

{ }
virtual void CSCDaqInfo::endJob ( void  ) [inline, private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 56 of file CSCDaqInfo.h.

{ }
virtual void CSCDaqInfo::endLuminosityBlock ( const edm::LuminosityBlock ,
const edm::EventSetup  
) [inline, private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 55 of file CSCDaqInfo.h.

{ }

Member Data Documentation

Definition at line 59 of file CSCDaqInfo.h.

std::map<std::string, MonitorElement*> CSCDaqInfo::mos [private]

Definition at line 58 of file CSCDaqInfo.h.