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
DTDCSSummary Class Reference

#include <DTDCSSummary.h>

Inheritance diagram for DTDCSSummary:
edm::EDAnalyzer

Public Member Functions

 DTDCSSummary (const edm::ParameterSet &pset)
 Constructor. More...
 
virtual ~DTDCSSummary ()
 Destructor. More...
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Private Member Functions

virtual void analyze (const edm::Event &event, const edm::EventSetup &setup)
 
virtual void beginJob ()
 
virtual void beginLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
 
virtual void endJob ()
 
virtual void endLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
 

Private Attributes

std::map< int, MonitorElement * > dcsFractions
 
DQMStoretheDbe
 
MonitorElementtotalDCSFraction
 

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)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Detailed Description

No description available.

Date:
2009/03/02 17:03:50
Revision:
1.1
Author
G. Cerminara - INFN Torino

Definition at line 20 of file DTDCSSummary.h.

Constructor & Destructor Documentation

DTDCSSummary::DTDCSSummary ( const edm::ParameterSet pset)

Constructor.

Definition at line 27 of file DTDCSSummary.cc.

27 {}
DTDCSSummary::~DTDCSSummary ( )
virtual

Destructor.

Definition at line 32 of file DTDCSSummary.cc.

32 {}

Member Function Documentation

void DTDCSSummary::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
privatevirtual

Implements edm::EDAnalyzer.

Definition at line 71 of file DTDCSSummary.cc.

71 {}
void DTDCSSummary::beginJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 36 of file DTDCSSummary.cc.

References cmsCodeRules.cppFunctionSkipper::operator, and hcal_dqm_sourceclient-file_cfg::streams.

36  {
37  // get the DQMStore
39 
40  // book the ME
41  theDbe->setCurrentFolder("DT/EventInfo/DCSContents");
42  // global fraction
43  totalDCSFraction = theDbe->bookFloat("DTDCSSummary");
45  // Wheel "fractions" -> will be 0 or 1
46  for(int wheel = -2; wheel != 3; ++wheel) {
47  stringstream streams;
48  streams << "DT_Wheel" << wheel;
49  dcsFractions[wheel] = theDbe->bookFloat(streams.str());
50  dcsFractions[wheel]->Fill(-1);
51  }
52 
53 }
MonitorElement * totalDCSFraction
Definition: DTDCSSummary.h:41
std::map< int, MonitorElement * > dcsFractions
Definition: DTDCSSummary.h:42
MonitorElement * bookFloat(const char *name)
Book float.
Definition: DQMStore.cc:456
void Fill(long long x)
DQMStore * theDbe
Definition: DTDCSSummary.h:39
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:237
void DTDCSSummary::beginLuminosityBlock ( const edm::LuminosityBlock lumi,
const edm::EventSetup setup 
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 57 of file DTDCSSummary.cc.

57  {
58 }
void DTDCSSummary::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 67 of file DTDCSSummary.cc.

67 {}
void DTDCSSummary::endLuminosityBlock ( const edm::LuminosityBlock lumi,
const edm::EventSetup setup 
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 63 of file DTDCSSummary.cc.

63 {}

Member Data Documentation

std::map<int, MonitorElement*> DTDCSSummary::dcsFractions
private

Definition at line 42 of file DTDCSSummary.h.

DQMStore* DTDCSSummary::theDbe
private

Definition at line 39 of file DTDCSSummary.h.

MonitorElement* DTDCSSummary::totalDCSFraction
private

Definition at line 41 of file DTDCSSummary.h.