CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
hcaldqm::DQModule Class Reference

#include <DQModule.h>

Inheritance diagram for hcaldqm::DQModule:
hcaldqm::DQClient hcaldqm::DQHarvester hcaldqm::DQTask hcaldqm::DigiRunSummary hcaldqm::PedestalRunSummary hcaldqm::RawRunSummary hcaldqm::RecoRunSummary hcaldqm::TPRunSummary HcalOfflineHarvesting HcalOnlineHarvesting DigiComparisonTask DigiPhase1Task DigiTask HFRaddamTask LaserTask LEDTask NoCQTask PedestalTask QIE10Task QIE11Task RawTask RecHitTask TestTask TPComparisonTask TPTask UMNioTask

Public Member Functions

 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule ()(false)
 

Protected Attributes

int _currentLS
 
int _debug
 
int _evsPerLS
 
int _evsTotal
 
Logger _logger
 
int _maxLS
 
ModuleType _mtype
 
std::string _name
 
ProcessingType _ptype
 
std::string _runkeyName
 
int _runkeyVal
 
std::string _subsystem
 

Detailed Description

Definition at line 45 of file DQModule.h.

Constructor & Destructor Documentation

hcaldqm::DQModule::DQModule ( edm::ParameterSet const &  ps)

Definition at line 6 of file DQModule.cc.

References _debug, _logger, _maxLS, _mtype, _name, _ptype, _runkeyName, _runkeyVal, _subsystem, Logger::debug(), hcaldqm::fClient, hcaldqm::fLocal, hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::fTask, edm::ParameterSet::getUntrackedParameter(), Logger::set(), and AlCaHLTBitMon_QueryRunRegistry::string.

6  :
7  _evsTotal(0), _evsPerLS(0)
8  {
9  _name = ps.getUntrackedParameter<std::string>("name", "Unknown_Module");
10  _debug = ps.getUntrackedParameter<int>("debug", 0);
11  _logger.set(_name, _debug);
12  _runkeyVal = ps.getUntrackedParameter<int>("runkeyVal", 0);
13  _runkeyName = ps.getUntrackedParameter<std::string>("runkeyName",
14  "pp_run");
15  _subsystem = ps.getUntrackedParameter<std::string>("subsystem", "Hcal");
16 
17  bool mtype = ps.getUntrackedParameter<bool>("mtype", true);
18  int ptype = ps.getUntrackedParameter<int>("ptype", 0);
19  _maxLS = ps.getUntrackedParameter<int>("maxLS", 4000);
20  if (mtype==true)
21  _mtype = fTask;
22  else
23  _mtype = fClient;
24  if (ptype==0)
25  _ptype = fOnline;
26  else if (ptype==1)
27  _ptype = fOffline;
28  else
29  _ptype = fLocal;
30 
31  _logger.debug("Calling Constructor");
32  }
ModuleType _mtype
Definition: DQModule.h:58
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
ProcessingType _ptype
Definition: DQModule.h:59
void set(std::string const &name, int debug=0)
Definition: Logger.h:41
Logger _logger
Definition: DQModule.h:70
std::string _name
Definition: DQModule.h:57
std::string _subsystem
Definition: DQModule.h:64
std::string _runkeyName
Definition: DQModule.h:63
virtual hcaldqm::DQModule::~DQModule ( )
inlinevirtual

Definition at line 49 of file DQModule.h.

49 {}

Member Data Documentation

int hcaldqm::DQModule::_currentLS
protected
int hcaldqm::DQModule::_debug
protected
int hcaldqm::DQModule::_evsPerLS
protected
int hcaldqm::DQModule::_evsTotal
protected

Definition at line 66 of file DQModule.h.

Referenced by LEDTask::_process(), and hcaldqm::DQTask::analyze().

Logger hcaldqm::DQModule::_logger
protected
int hcaldqm::DQModule::_maxLS
protected
ModuleType hcaldqm::DQModule::_mtype
protected

Definition at line 58 of file DQModule.h.

Referenced by DQModule().

std::string hcaldqm::DQModule::_name
protected

Definition at line 57 of file DQModule.h.

Referenced by plotting.Subtract::__str__(), plotting.Transform::__str__(), plotting.FakeDuplicate::__str__(), plotting.CutEfficiency::__str__(), plotting.AggregateBins::__str__(), plotting.AggregateHistos::__str__(), plotting.ROC::__str__(), trackingPlots.TimePerTrackPlot::__str__(), SequenceTypes.SequencePlaceholder::_clonesequence(), HcalOfflineHarvesting::_dqmEndJob(), plotting.PlotGroup::_drawSeparate(), plotting.PlotGroup::_save(), hcaldqm::DQTask::analyze(), hcaldqm::DigiRunSummary::beginRun(), hcaldqm::RawRunSummary::beginRun(), NoCQTask::bookHistograms(), HFRaddamTask::bookHistograms(), DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), LaserTask::bookHistograms(), TPTask::bookHistograms(), PedestalTask::bookHistograms(), LEDTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), DigiPhase1Task::bookHistograms(), SequenceTypes.SequencePlaceholder::copy(), plotting.Subtract::create(), plotting.Transform::create(), plotting.FakeDuplicate::create(), plotting.CutEfficiency::create(), plotting.AggregateBins::create(), plotting.AggregateHistos::create(), trackingPlots.TimePerTrackPlot::create(), plotting.Plot::create(), hcaldqm::DQClient::DQClient(), DQModule(), plotting.PlotGroup::draw(), SequenceTypes.SequencePlaceholder::dumpPython(), SequenceTypes.SequencePlaceholder::dumpSequenceConfig(), SequenceTypes.SequencePlaceholder::dumpSequencePython(), hcaldqm::RawRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), plotting.Plot::getName(), plotting.PlotGroup::getName(), plotting.PlotterFolder::getName(), plotting.PlotterItem::getName(), plotting.PlotterFolder::getSelectionNameIterator(), SequenceTypes.SequencePlaceholder::insertInto(), Vispa.Views.PropertyView.Property::name(), validation.SimpleSample::name(), trackingPlots.Iteration::name(), plotting.PlotterItem::readDirs(), plotting.PlotGroup::remove(), and SequenceTypes.SequencePlaceholder::resolve().

ProcessingType hcaldqm::DQModule::_ptype
protected

Definition at line 59 of file DQModule.h.

Referenced by HcalOnlineHarvesting::_dqmEndLuminosityBlock(), PedestalTask::_dump(), LEDTask::_dump(), LaserTask::_dump(), HFRaddamTask::_isApplicable(), QIE11Task::_isApplicable(), PedestalTask::_isApplicable(), LEDTask::_isApplicable(), LaserTask::_isApplicable(), DigiComparisonTask::_process(), TPComparisonTask::_process(), TPTask::_process(), RawTask::_process(), RecHitTask::_process(), LEDTask::_process(), DigiPhase1Task::_process(), DigiTask::_process(), LaserTask::_process(), DigiTask::_resetMonitors(), RawTask::beginLuminosityBlock(), hcaldqm::DigiRunSummary::beginRun(), hcaldqm::RawRunSummary::beginRun(), hcaldqm::DQHarvester::beginRun(), hcaldqm::DQClient::beginRun(), DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), QIE11Task::bookHistograms(), QIE10Task::bookHistograms(), TPTask::bookHistograms(), LaserTask::bookHistograms(), PedestalTask::bookHistograms(), LEDTask::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), DigiPhase1Task::bookHistograms(), hcaldqm::DQTask::bookHistograms(), DQModule(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::RawRunSummary::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), hcaldqm::DigiRunSummary::endLuminosityBlock(), TPTask::endLuminosityBlock(), PedestalTask::endLuminosityBlock(), RawTask::endLuminosityBlock(), RecHitTask::endLuminosityBlock(), DigiTask::endLuminosityBlock(), LaserTask::endLuminosityBlock(), LaserTask::endRun(), LEDTask::endRun(), UMNioTask::endRun(), and PedestalTask::endRun().

std::string hcaldqm::DQModule::_runkeyName
protected

Definition at line 63 of file DQModule.h.

Referenced by hcaldqm::DQTask::bookHistograms(), and DQModule().

int hcaldqm::DQModule::_runkeyVal
protected
std::string hcaldqm::DQModule::_subsystem
protected