CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
CSCCertificationInfo Class Reference

#include <CSCCertificationInfo.h>

Inheritance diagram for CSCCertificationInfo:
edm::EDAnalyzer

Public Member Functions

 CSCCertificationInfo (const edm::ParameterSet &)
 
 ~CSCCertificationInfo ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

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
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Detailed Description

Definition at line 42 of file CSCCertificationInfo.h.

Constructor & Destructor Documentation

CSCCertificationInfo::CSCCertificationInfo ( const edm::ParameterSet ps)
explicit

Definition at line 24 of file CSCCertificationInfo.cc.

24  {
25 
26 }
CSCCertificationInfo::~CSCCertificationInfo ( )
inline

Definition at line 47 of file CSCCertificationInfo.h.

47 { }

Member Function Documentation

virtual void CSCCertificationInfo::analyze ( const edm::Event ,
const edm::EventSetup  
)
inlineprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 54 of file CSCCertificationInfo.h.

54 { }
void CSCCertificationInfo::beginJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 28 of file CSCCertificationInfo.cc.

References cppFunctionSkipper::operator.

28  {
29 
31 
32  dbe->setCurrentFolder("CSC/EventInfo/CertificationContents");
33  mos.insert(std::make_pair("CSC_SideMinus", dbe->bookFloat("CSC_SideMinus")));
34  mos.insert(std::make_pair("CSC_SideMinus_Station01", dbe->bookFloat("CSC_SideMinus_Station01")));
35  mos.insert(std::make_pair("CSC_SideMinus_Station01_Ring01", dbe->bookFloat("CSC_SideMinus_Station01_Ring01")));
36  mos.insert(std::make_pair("CSC_SideMinus_Station01_Ring02", dbe->bookFloat("CSC_SideMinus_Station01_Ring02")));
37  mos.insert(std::make_pair("CSC_SideMinus_Station01_Ring03", dbe->bookFloat("CSC_SideMinus_Station01_Ring03")));
38  mos.insert(std::make_pair("CSC_SideMinus_Station02", dbe->bookFloat("CSC_SideMinus_Station02")));
39  mos.insert(std::make_pair("CSC_SideMinus_Station02_Ring01", dbe->bookFloat("CSC_SideMinus_Station02_Ring01")));
40  mos.insert(std::make_pair("CSC_SideMinus_Station02_Ring02", dbe->bookFloat("CSC_SideMinus_Station02_Ring02")));
41  mos.insert(std::make_pair("CSC_SideMinus_Station03", dbe->bookFloat("CSC_SideMinus_Station03")));
42  mos.insert(std::make_pair("CSC_SideMinus_Station03_Ring01", dbe->bookFloat("CSC_SideMinus_Station03_Ring01")));
43  mos.insert(std::make_pair("CSC_SideMinus_Station03_Ring02", dbe->bookFloat("CSC_SideMinus_Station03_Ring02")));
44  mos.insert(std::make_pair("CSC_SideMinus_Station04", dbe->bookFloat("CSC_SideMinus_Station04")));
45  mos.insert(std::make_pair("CSC_SidePlus", dbe->bookFloat("CSC_SidePlus")));
46  mos.insert(std::make_pair("CSC_SidePlus_Station01", dbe->bookFloat("CSC_SidePlus_Station01")));
47  mos.insert(std::make_pair("CSC_SidePlus_Station01_Ring01", dbe->bookFloat("CSC_SidePlus_Station01_Ring01")));
48  mos.insert(std::make_pair("CSC_SidePlus_Station01_Ring02", dbe->bookFloat("CSC_SidePlus_Station01_Ring02")));
49  mos.insert(std::make_pair("CSC_SidePlus_Station01_Ring03", dbe->bookFloat("CSC_SidePlus_Station01_Ring03")));
50  mos.insert(std::make_pair("CSC_SidePlus_Station02", dbe->bookFloat("CSC_SidePlus_Station02")));
51  mos.insert(std::make_pair("CSC_SidePlus_Station02_Ring01", dbe->bookFloat("CSC_SidePlus_Station02_Ring01")));
52  mos.insert(std::make_pair("CSC_SidePlus_Station02_Ring02", dbe->bookFloat("CSC_SidePlus_Station02_Ring02")));
53  mos.insert(std::make_pair("CSC_SidePlus_Station03", dbe->bookFloat("CSC_SidePlus_Station03")));
54  mos.insert(std::make_pair("CSC_SidePlus_Station03_Ring01", dbe->bookFloat("CSC_SidePlus_Station03_Ring01")));
55  mos.insert(std::make_pair("CSC_SidePlus_Station03_Ring02", dbe->bookFloat("CSC_SidePlus_Station03_Ring02")));
56  mos.insert(std::make_pair("CSC_SidePlus_Station04", dbe->bookFloat("CSC_SidePlus_Station04")));
57 
58  dbe->setCurrentFolder("CSC/EventInfo");
59  mos.insert(std::make_pair("CertificationSummary", dbe->bookFloat("CertificationSummary")));
60 
61  for (std::map<std::string, MonitorElement*>::iterator it = mos.begin(); it != mos.end(); it++) {
62  it->second->Fill(-1);
63  }
64 
65 }
std::map< std::string, MonitorElement * > mos
MonitorElement * bookFloat(const char *name)
Book float.
Definition: DQMStore.cc:654
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
virtual void CSCCertificationInfo::beginLuminosityBlock ( const edm::LuminosityBlock ,
const edm::EventSetup  
)
inlineprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 53 of file CSCCertificationInfo.h.

53 { }
virtual void CSCCertificationInfo::endJob ( void  )
inlineprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 56 of file CSCCertificationInfo.h.

56 { }
virtual void CSCCertificationInfo::endLuminosityBlock ( const edm::LuminosityBlock ,
const edm::EventSetup  
)
inlineprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 55 of file CSCCertificationInfo.h.

55 { }

Member Data Documentation

DQMStore* CSCCertificationInfo::dbe
private

Definition at line 58 of file CSCCertificationInfo.h.

std::map<std::string, MonitorElement*> CSCCertificationInfo::mos
private

Definition at line 59 of file CSCCertificationInfo.h.