CMS 3D CMS Logo

Public Member Functions | Private Attributes

SiStripMonitorCondData Class Reference

#include <SiStripMonitorCondData.h>

Inheritance diagram for SiStripMonitorCondData:
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)
 SiStripMonitorCondData (const edm::ParameterSet &)
 ~SiStripMonitorCondData ()

Private Attributes

SiStripApvGainsDQMapvgainsDQM_
SiStripCablingDQMcablingDQM_
edm::ParameterSet conf_
SiStripThresholdDQMhighthresholdDQM_
SiStripLorentzAngleDQMlorentzangleDQM_
SiStripThresholdDQMlowthresholdDQM_
bool monitorApvGains_
bool monitorCabling_
bool monitorHighThreshold_
bool monitorLorentzAngle_
bool monitorLowThreshold_
bool monitorNoises_
bool monitorPedestals_
bool monitorQuality_
SiStripNoisesDQMnoisesDQM_
std::string outPutFileName
SiStripPedestalsDQMpedestalsDQM_
SiStripQualityDQMqualityDQM_

Detailed Description

Definition at line 41 of file SiStripMonitorCondData.h.


Constructor & Destructor Documentation

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

Definition at line 52 of file SiStripMonitorCondData.cc.

References edm::ParameterSet::getParameter(), monitorApvGains_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, and monitorQuality_.

                                                                            :conf_(iConfig){
  
  monitorPedestals_      = iConfig.getParameter<bool>("MonitorSiStripPedestal");
  monitorNoises_         = iConfig.getParameter<bool>("MonitorSiStripNoise");
  monitorLowThreshold_   = iConfig.getParameter<bool>("MonitorSiStripLowThreshold");
  monitorHighThreshold_  = iConfig.getParameter<bool>("MonitorSiStripHighThreshold");
  monitorQuality_        = iConfig.getParameter<bool>("MonitorSiStripQuality");
  monitorApvGains_       = iConfig.getParameter<bool>("MonitorSiStripApvGain");
  monitorLorentzAngle_   = iConfig.getParameter<bool>("MonitorSiStripLorentzAngle");
  monitorCabling_        = iConfig.getParameter<bool>("MonitorSiStripCabling");
  
}
SiStripMonitorCondData::~SiStripMonitorCondData ( )

Member Function Documentation

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

Reimplemented from edm::EDAnalyzer.

Definition at line 150 of file SiStripMonitorCondData.cc.

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

Reimplemented from edm::EDAnalyzer.

Definition at line 90 of file SiStripMonitorCondData.cc.

References apvgainsDQM_, cablingDQM_, conf_, edm::ParameterSet::getParameter(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.

                                                                                    {

  if(monitorPedestals_){
    pedestalsDQM_ = new SiStripPedestalsDQM(eSetup,
                                           conf_.getParameter<edm::ParameterSet>("SiStripPedestalsDQM_PSet"),
                                           conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
  }
  
  
  if(monitorNoises_){
    noisesDQM_ = new SiStripNoisesDQM(eSetup,
                                     conf_.getParameter<edm::ParameterSet>("SiStripNoisesDQM_PSet"),
                                     conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
  }
  
  
  if(monitorLowThreshold_){
    lowthresholdDQM_ = new SiStripThresholdDQM(eSetup,
                                           conf_.getParameter<edm::ParameterSet>("SiStripLowThresholdDQM_PSet"),
                                           conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
  }

  if(monitorHighThreshold_){
    highthresholdDQM_ = new SiStripThresholdDQM(eSetup,
                                           conf_.getParameter<edm::ParameterSet>("SiStripHighThresholdDQM_PSet"),
                                           conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
  }

  if(monitorQuality_){
    qualityDQM_ = new SiStripQualityDQM(eSetup,
                                       conf_.getParameter<edm::ParameterSet>("SiStripQualityDQM_PSet"),
                                       conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
  } 
  
 
  if(monitorApvGains_){
    apvgainsDQM_ = new SiStripApvGainsDQM(eSetup,
                                         conf_.getParameter<edm::ParameterSet>("SiStripApvGainsDQM_PSet"),
                                         conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
  }
  
  
  if(monitorLorentzAngle_){
    lorentzangleDQM_ = new SiStripLorentzAngleDQM(eSetup,
                                                 conf_.getParameter<edm::ParameterSet>("SiStripLorentzAngleDQM_PSet"),
                                                 conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
  }
  if(monitorCabling_){
    cablingDQM_ = new SiStripCablingDQM(eSetup,
                                        conf_.getParameter<edm::ParameterSet>("SiStripCablingDQM_PSet"),
                                        conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
  }
} // beginRun
void SiStripMonitorCondData::endJob ( void  ) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 204 of file SiStripMonitorCondData.cc.

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

Member Data Documentation

Definition at line 76 of file SiStripMonitorCondData.h.

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

Definition at line 78 of file SiStripMonitorCondData.h.

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

Definition at line 58 of file SiStripMonitorCondData.h.

Referenced by beginRun(), and endRun().

Definition at line 74 of file SiStripMonitorCondData.h.

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

Definition at line 77 of file SiStripMonitorCondData.h.

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

Definition at line 73 of file SiStripMonitorCondData.h.

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

Definition at line 72 of file SiStripMonitorCondData.h.

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

Definition at line 69 of file SiStripMonitorCondData.h.

Definition at line 71 of file SiStripMonitorCondData.h.

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

Definition at line 75 of file SiStripMonitorCondData.h.

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