CMS 3D CMS Logo

List of all members | Public Member Functions | Static 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 DigiTask HcalGPUComparisonTask HcalMLTask HFRaddamTask LaserTask LEDTask NoCQTask PedestalTask QIE10Task QIE11Task RawTask RecHitTask TPTask UMNioTask

Public Member Functions

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

Static Public Member Functions

static void fillPSetDescription (edm::ParameterSetDescription &desc)
 

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 30 of file DQModule.h.

Constructor & Destructor Documentation

◆ DQModule()

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

Definition at line 5 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(), OfflineHarvestingSequence_cosmic::ptype, Logger::set(), and AlCaHLTBitMon_QueryRunRegistry::string.

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

◆ ~DQModule()

virtual hcaldqm::DQModule::~DQModule ( )
inlinevirtualnoexcept

Definition at line 33 of file DQModule.h.

33 {}

Member Function Documentation

◆ fillPSetDescription()

void hcaldqm::DQModule::fillPSetDescription ( edm::ParameterSetDescription desc)
static

Definition at line 30 of file DQModule.cc.

References submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by hcaldqm::DQTask::fillPSetDescription().

30  {
31  desc.addUntracked<std::string>("subsystem", "Hcal");
32  desc.addUntracked("mtype", true);
33  desc.addUntracked<int>("ptype", 0);
34  desc.addUntracked<int>("maxLS", 4000);
35  }

Member Data Documentation

◆ _currentLS

int hcaldqm::DQModule::_currentLS
protected

◆ _debug

int hcaldqm::DQModule::_debug
protected

◆ _evsPerLS

int hcaldqm::DQModule::_evsPerLS
protected

◆ _evsTotal

int hcaldqm::DQModule::_evsTotal
protected

Definition at line 51 of file DQModule.h.

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

◆ _logger

Logger hcaldqm::DQModule::_logger
protected

◆ _maxLS

int hcaldqm::DQModule::_maxLS
protected

◆ _mtype

ModuleType hcaldqm::DQModule::_mtype
protected

Definition at line 43 of file DQModule.h.

Referenced by DQModule().

◆ _name

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

Definition at line 42 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.TimePerEventPlot::__str__(), trackingPlots.TimePerTrackPlot::__str__(), SequenceTypes.SequencePlaceholder::_clonesequence(), trackingPlots.TimePerEventPlot::_create(), HcalOfflineHarvesting::_dqmEndJob(), plotting.PlotGroup::_drawSeparate(), plotting.PlotGroup::_save(), hcaldqm::DQTask::analyze(), hcaldqm::RawRunSummary::beginRun(), hcaldqm::DigiRunSummary::beginRun(), NoCQTask::bookHistograms(), HFRaddamTask::bookHistograms(), PedestalTask::bookHistograms(), TPTask::bookHistograms(), LEDTask::bookHistograms(), HcalGPUComparisonTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), LaserTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), HcalMLTask::bookHistograms(), SequenceTypes.SequencePlaceholder::copy(), SequenceTypes._TaskBasePlaceholder::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._TaskBasePlaceholder::dumpPython(), SequenceTypes.SequencePlaceholder::dumpSequenceConfig(), SequenceTypes.SequencePlaceholder::dumpSequencePython(), SequenceTypes._TaskBasePlaceholder::dumpSequencePython(), hcaldqm::TPRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::RawRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), plotting.Plot::getName(), plotting.PlotGroup::getName(), plotting.PlotterFolder::getName(), plotting.PlotterItem::getName(), plotting.PlotterFolder::getSelectionNameIterator(), SequenceTypes.SequencePlaceholder::insertInto(), SequenceTypes._TaskBasePlaceholder::insertInto(), validation.SimpleSample::name(), trackingPlots.Iteration::name(), plotting.PlotterItem::readDirs(), plotting.PlotGroup::remove(), SequenceTypes.SequencePlaceholder::resolve(), SequenceTypes._TaskBasePlaceholder::resolve(), and plotting.Plot::setName().

◆ _ptype

ProcessingType hcaldqm::DQModule::_ptype
protected

Definition at line 44 of file DQModule.h.

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

◆ _runkeyName

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

Definition at line 48 of file DQModule.h.

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

◆ _runkeyVal

int hcaldqm::DQModule::_runkeyVal
protected

◆ _subsystem

std::string hcaldqm::DQModule::_subsystem
protected