CMS 3D CMS Logo

Public Member Functions | Private Attributes

SiStripMonitorCondDataOnDemandExample Class Reference

#include <SiStripMonitorCondDataOnDemandExample.h>

Inheritance diagram for SiStripMonitorCondDataOnDemandExample:
edm::EDAnalyzer

List of all members.

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
virtual void beginJob ()
virtual void beginRun (edm::Run const &run, edm::EventSetup const &eSetup)
virtual void endJob ()
virtual void endRun (edm::Run const &run, edm::EventSetup const &eSetup)
 SiStripMonitorCondDataOnDemandExample (const edm::ParameterSet &)
 ~SiStripMonitorCondDataOnDemandExample ()

Private Attributes

SiStripClassToMonitorCondDatacondDataMonitoring_
edm::ParameterSet conf_
int eventCounter_

Detailed Description

Definition at line 32 of file SiStripMonitorCondDataOnDemandExample.h.


Constructor & Destructor Documentation

SiStripMonitorCondDataOnDemandExample::SiStripMonitorCondDataOnDemandExample ( const edm::ParameterSet iConfig) [explicit]

Definition at line 35 of file SiStripMonitorCondDataOnDemandExample.cc.

:conf_(iConfig){}
SiStripMonitorCondDataOnDemandExample::~SiStripMonitorCondDataOnDemandExample ( )

Definition at line 43 of file SiStripMonitorCondDataOnDemandExample.cc.

{}

Member Function Documentation

void SiStripMonitorCondDataOnDemandExample::analyze ( const edm::Event iEvent,
const edm::EventSetup eSetup 
) [virtual]

Implements edm::EDAnalyzer.

Definition at line 74 of file SiStripMonitorCondDataOnDemandExample.cc.

References condDataMonitoring_.

                                                                                                      {
  //eventCounter_++; 

  // on demand type I : eventSetup and detId to be passed
  // output : ME's corresponding to that detId
  
  
  //if(eventCounter_==1){ condDataMonitoring_ -> getModMEsOnDemand(eSetup,369125542);}
  
  // on demand type II : eventSetup, subdetector-type(TIB/TOB/TEC/TID), 
  //                                 subdetector-side for TEC/TID (0 for TIB and TOB)
  //                                 layer_number (0=all layers)
 
  //if(eventCounter_==2){ condDataMonitoring_ -> getLayerMEsOnDemand(eSetup,"TEC",0,1);}
  //condDataMonitoring_ -> getModMEsOnDemand(eSetup,369125542);
  condDataMonitoring_ -> getLayerMEsOnDemand(eSetup,"TEC",2,4);

  
  
} // analyze
void SiStripMonitorCondDataOnDemandExample::beginJob ( void  ) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 67 of file SiStripMonitorCondDataOnDemandExample.cc.

{} //beginJob
void SiStripMonitorCondDataOnDemandExample::beginRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
) [virtual]
void SiStripMonitorCondDataOnDemandExample::endJob ( void  ) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 113 of file SiStripMonitorCondDataOnDemandExample.cc.

{} //endJob
void SiStripMonitorCondDataOnDemandExample::endRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 101 of file SiStripMonitorCondDataOnDemandExample.cc.

References condDataMonitoring_, and SiStripClassToMonitorCondData::endRun().

                                                                                                 {

  condDataMonitoring_->endRun(eSetup);       

} // endRun

Member Data Documentation

Definition at line 51 of file SiStripMonitorCondDataOnDemandExample.h.

Referenced by analyze(), beginRun(), and endRun().

Definition at line 50 of file SiStripMonitorCondDataOnDemandExample.h.

Referenced by beginRun().

Definition at line 49 of file SiStripMonitorCondDataOnDemandExample.h.

Referenced by beginRun().