CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes
CSCMonitorModule Class Reference

Common CSC DQM Module that uses CSCDQM Framework
More...

#include <CSCMonitorModule.h>

Inheritance diagram for CSCMonitorModule:
DQMOneEDAnalyzer<> cscdqm::MonitorObjectProvider edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

cscdqm::MonitorObjectbookMonitorObject (const cscdqm::HistoBookRequest &p_req) override
 Book Monitor Object on Request. More...
 
 CSCMonitorModule (const edm::ParameterSet &ps)
 Constructor. More...
 
bool getCSCDetId (const unsigned int crateId, const unsigned int dmbId, CSCDetId &detId) const override
 
 ~CSCMonitorModule () override
 Destructor. More...
 
- Public Member Functions inherited from DQMOneEDAnalyzer<>
void accumulate (edm::Event const &event, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMOneEDAnalyzer ()
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 
- Public Member Functions inherited from cscdqm::MonitorObjectProvider
virtual ~MonitorObjectProvider () noexcept(false)
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c) override
 Begin the run. More...
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 Book Histograms in the beginRun. More...
 
- Protected Member Functions inherited from DQMOneEDAnalyzer<>
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Private Attributes

cscdqm::Configuration config
 
cscdqm::Dispatcherdispatcher
 
DQMStore::IBookeribooker
 
edm::InputTag inputTag
 
std::vector< std::string > maskedHW
 
const CSCCrateMappcrate
 
bool prebookEffParams
 
bool processDcsScalers
 

Additional Inherited Members

- Public Types inherited from DQMOneEDAnalyzer<>
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from DQMOneEDAnalyzer<>
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Common CSC DQM Module that uses CSCDQM Framework

Definition at line 73 of file CSCMonitorModule.h.

Constructor & Destructor Documentation

◆ CSCMonitorModule()

CSCMonitorModule::CSCMonitorModule ( const edm::ParameterSet ps)

Constructor.

Global stuff

Parameters
psParameters.

Definition at line 25 of file CSCMonitorModule.cc.

25  {
27 
29  prebookEffParams = ps.getUntrackedParameter<bool>("PREBOOK_EFF_PARAMS", false);
30  processDcsScalers = ps.getUntrackedParameter<bool>("PROCESS_DCS_SCALERS", true);
32  config.load(params);
33 
34  fp = ps.getParameter<edm::FileInPath>("BOOKING_XML_FILE");
35  config.setBOOKING_XML_FILE(fp.fullPath());
36 
37  // dbe = edm::Service<DQMStore>().operator->();
38 
39 #ifdef DQMLOCAL
40  dispatcher = new cscdqm::Dispatcher(&config, const_cast<CSCMonitorModule*>(this));
41 #endif
42 #ifdef DQMGLOBAL
43  // edm::ConsumesCollector coco( consumesCollector() );
44  dispatcher = new cscdqm::Dispatcher(&config, const_cast<CSCMonitorModule*>(this), inputTag, consumesCollector());
45  dcstoken = consumes<DcsStatusCollection>(edm::InputTag("scalersRawToDigi"));
46 
47 #endif
48 
49  dispatcher->init();
50 
51  if (ps.exists("MASKEDHW")) {
52  maskedHW = ps.getUntrackedParameter<std::vector<std::string> >("MASKEDHW");
53  //dispatcher->maskHWElements(maskedHW);
54  }
55 }

References edm::EDConsumerBase::consumesCollector(), dispatcher, edm::ParameterSet::exists(), personalPlayback::fp, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), cscdqm::Dispatcher::init(), INPUT_TAG_LABEL, inputTag, HLT_FULL_cff::InputTag, maskedHW, CalibrationSummaryClient_cfi::params, prebookEffParams, and processDcsScalers.

◆ ~CSCMonitorModule()

CSCMonitorModule::~CSCMonitorModule ( )
override

Destructor.

Definition at line 60 of file CSCMonitorModule.cc.

60  {
61  if (dispatcher)
62  delete dispatcher;
63 }

References dispatcher.

Member Function Documentation

◆ analyze()

void CSCMonitorModule::analyze ( const edm::Event e,
const edm::EventSetup c 
)
overrideprotectedvirtual

Begin the run.

EDAnalyzer Implementation

Parameters
rRun object
cEvent setup

Analyze Event.

Parameters
eEvent to analyze
cEvent Setup

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 86 of file CSCMonitorModule.cc.

86  {
87  // Get crate mapping from database
89  c.get<CSCCrateMapRcd>().get(hcrate);
90  pcrate = hcrate.product();
91 
92  cscdqm::HWStandbyType standby;
93 
94  // Get DCS status scalers
95  if (processDcsScalers) {
97 #ifdef DQMLOCAL
98  if (e.getByToken(dcstoken, dcsStatus)) {
99 #endif
100 #ifdef DQMGLOBAL
101  if (e.getByToken(dcstoken, dcsStatus)) {
102 #endif
103  DcsStatusCollection::const_iterator dcsStatusItr = dcsStatus->begin();
104  for (; dcsStatusItr != dcsStatus->end(); ++dcsStatusItr) {
105  standby.applyMeP(dcsStatusItr->ready(DcsStatus::CSCp));
106  standby.applyMeM(dcsStatusItr->ready(DcsStatus::CSCm));
107  }
108  }
109  standby.process = true;
110  }

References cscdqm::HWStandbyType::applyMeM(), cscdqm::HWStandbyType::applyMeP(), c, DcsStatus::CSCm, DcsStatus::CSCp, dispatcher, MillePedeFileConverter_cfg::e, get, inputTag, pcrate, cscdqm::HWStandbyType::process, processDcsScalers, and edm::ESHandle< T >::product().

◆ bookHistograms()

void CSCMonitorModule::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Book Histograms in the beginRun.

Parameters
ib- DQMStore::IBooker interface access object
edm::Runconst & - not used
edm::EventSetupconst & - not used

Store pointer to IBooker to use it in ::bookMonitorObject() callback function used by the Dispatcher::book() method

Call Dispatcher histogram booking method to pre-boook all available histograms before processing data. New PREBOOK_ALL_HISTOS config option should be set to true (default). That should disable original CSC on-the-fly histo booking during data processing. Changed for multi-threaded framework compatibility. (pre-booking of all histos is not most efficient way for CSCi DQM).

Implements DQMOneEDAnalyzer<>.

Definition at line 121 of file CSCMonitorModule.cc.

121  {
123  ibooker = &ib;
124 
133  dispatcher->book();
134 
135  if (!maskedHW.empty())
137  if (prebookEffParams) {
139  }
140  }

References cscdqm::Dispatcher::book(), dispatcher, cuy::ib, ibooker, maskedHW, cscdqm::Dispatcher::maskHWElements(), prebookEffParams, and cscdqm::Dispatcher::updateFractionAndEfficiencyHistos().

◆ bookMonitorObject()

cscdqm::MonitorObject * CSCMonitorModule::bookMonitorObject ( const cscdqm::HistoBookRequest req)
overridevirtual

Book Monitor Object on Request.

Parameters
reqRequest.
Returns
MonitorObject created.

Implements cscdqm::MonitorObjectProvider.

Definition at line 147 of file CSCMonitorModule.cc.

147  {
148  cscdqm::MonitorObject* me = nullptr;
149  std::string name = req.hdef->getName();
150 
151  std::string path = req.folder;
152  if (!req.hdef->getPath().empty()) {
153  path = path + req.hdef->getPath() + "/";
154  }
155 
156  //std::cout << "Moving to " << path << " for name = " << name << " with fullPath = " << req.hdef->getFullPath() << "\n";
157 
158  //dbe->setCurrentFolder(path);
159  ibooker->cd();
161 
162  if (req.htype == cscdqm::INT) {
164  me->Fill(req.default_int);
165  } else if (req.htype == cscdqm::FLOAT) {
166  if (req.hdef->getId() == cscdqm::h::PAR_REPORT_SUMMARY || req.hdef->getId() == cscdqm::h::PAR_CRT_SUMMARY ||
167  req.hdef->getId() == cscdqm::h::PAR_DAQ_SUMMARY || req.hdef->getId() == cscdqm::h::PAR_DCS_SUMMARY) {
168  ibooker->cd();
170  } else if (cscdqm::Utility::regexMatch("^PAR_DCS_", cscdqm::h::keys[req.hdef->getId()])) {
171  ibooker->cd();
173  } else if (cscdqm::Utility::regexMatch("^PAR_DAQ_", cscdqm::h::keys[req.hdef->getId()])) {
174  ibooker->cd();
176  } else if (cscdqm::Utility::regexMatch("^PAR_CRT_", cscdqm::h::keys[req.hdef->getId()])) {
177  ibooker->cd();
179  }
181  me->Fill(req.default_float);
182  } else if (req.htype == cscdqm::STRING) {
184  } else if (req.htype == cscdqm::H1D) {
185  me = new CSCMonitorObject(ibooker->book1D(name, req.title, req.nchX, req.lowX, req.highX));
186  } else if (req.htype == cscdqm::H2D) {
187  if (req.hdef->getId() == cscdqm::h::EMU_CSC_STATS_SUMMARY) {
188  ibooker->cd();
190  name = "reportSummaryMap";
191  }
192  me = new CSCMonitorObject(
193  ibooker->book2D(name, req.title, req.nchX, req.lowX, req.highX, req.nchY, req.lowY, req.highY));
194  } else if (req.htype == cscdqm::H3D) {
196  name, req.title, req.nchX, req.lowX, req.highX, req.nchY, req.lowY, req.highY, req.nchZ, req.lowZ, req.highZ));
197  } else if (req.htype == cscdqm::PROFILE) {
199  name, req.title, req.nchX, req.lowX, req.highX, req.nchY, req.lowY, req.highY, req.option.c_str()));
200  } else if (req.htype == cscdqm::PROFILE2D) {
202  req.title,
203  req.nchX,
204  req.lowX,
205  req.highX,
206  req.nchY,
207  req.lowY,
208  req.highY,
209  req.nchZ,
210  req.lowZ,
211  req.highZ,
212  req.option.c_str()));
213  }
214 
215  return me;
216  }

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::book3D(), dqm::implementation::IBooker::bookFloat(), dqm::implementation::IBooker::bookInt(), dqm::implementation::IBooker::bookProfile(), dqm::implementation::IBooker::bookProfile2D(), dqm::implementation::IBooker::bookString(), dqm::implementation::NavigatorBase::cd(), cscdqm::HistoBookRequest::default_float, cscdqm::HistoBookRequest::default_int, cscdqm::HistoBookRequest::default_string, DIR_CRTINFO, DIR_DAQINFO, DIR_DCSINFO, DIR_EVENTINFO, cscdqm::FLOAT, cscdqm::HistoBookRequest::folder, cscdqm::HistoDef::getId(), cscdqm::HistoDef::getName(), cscdqm::HistoDef::getPath(), cscdqm::H1D, cscdqm::H2D, cscdqm::H3D, cscdqm::HistoBookRequest::hdef, cscdqm::HistoBookRequest::highX, cscdqm::HistoBookRequest::highY, cscdqm::HistoBookRequest::highZ, cscdqm::HistoBookRequest::htype, ibooker, cscdqm::INT, relativeConstraints::keys, cscdqm::HistoBookRequest::lowX, cscdqm::HistoBookRequest::lowY, cscdqm::HistoBookRequest::lowZ, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, cscdqm::HistoBookRequest::nchX, cscdqm::HistoBookRequest::nchY, cscdqm::HistoBookRequest::nchZ, cscdqm::HistoBookRequest::option, castor_dqm_sourceclient_file_cfg::path, cscdqm::PROFILE, cscdqm::PROFILE2D, cscdqm::Utility::regexMatch(), dqm::implementation::NavigatorBase::setCurrentFolder(), cscdqm::STRING, AlCaHLTBitMon_QueryRunRegistry::string, and cscdqm::HistoBookRequest::title.

◆ getCSCDetId()

bool CSCMonitorModule::getCSCDetId ( const unsigned int  crateId,
const unsigned int  dmbId,
CSCDetId detId 
) const
inlineoverridevirtual

MonitorObjectProvider Implementation

Implements cscdqm::MonitorObjectProvider.

Definition at line 105 of file CSCMonitorModule.h.

105  {
106  // Check parameter values
107  if (crateId < MIN_CRATE_ID || crateId > MAX_CRATE_ID || dmbId < MIN_DMB_SLOT || dmbId > MAX_DMB_SLOT) {
108  return false;
109  }
110  detId = pcrate->detId(crateId, dmbId, 0, 0);
111  return (detId.rawId() != 0);
112  }

References CSCCrateMap::detId(), MAX_CRATE_ID, MAX_DMB_SLOT, pcrate, and DetId::rawId().

Member Data Documentation

◆ config

cscdqm::Configuration CSCMonitorModule::config
private

◆ dispatcher

cscdqm::Dispatcher* CSCMonitorModule::dispatcher
private

Definition at line 84 of file CSCMonitorModule.h.

Referenced by analyze(), bookHistograms(), CSCMonitorModule(), and ~CSCMonitorModule().

◆ ibooker

DQMStore::IBooker* CSCMonitorModule::ibooker
private

Definition at line 86 of file CSCMonitorModule.h.

Referenced by bookHistograms(), and bookMonitorObject().

◆ inputTag

edm::InputTag CSCMonitorModule::inputTag
private

Definition at line 87 of file CSCMonitorModule.h.

Referenced by analyze(), and CSCMonitorModule().

◆ maskedHW

std::vector<std::string> CSCMonitorModule::maskedHW
private

Definition at line 94 of file CSCMonitorModule.h.

Referenced by bookHistograms(), and CSCMonitorModule().

◆ pcrate

const CSCCrateMap* CSCMonitorModule::pcrate
private

Pointer to crate mapping from database

Definition at line 92 of file CSCMonitorModule.h.

Referenced by analyze(), and getCSCDetId().

◆ prebookEffParams

bool CSCMonitorModule::prebookEffParams
private

Definition at line 88 of file CSCMonitorModule.h.

Referenced by bookHistograms(), and CSCMonitorModule().

◆ processDcsScalers

bool CSCMonitorModule::processDcsScalers
private

Definition at line 89 of file CSCMonitorModule.h.

Referenced by analyze(), and CSCMonitorModule().

CSCMonitorModule::processDcsScalers
bool processDcsScalers
Definition: CSCMonitorModule.h:89
DIR_CRTINFO
static const char DIR_CRTINFO[]
Definition: CSCMonitorModule.h:62
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
cscdqm::HWStandbyType
Definition: CSCDQM_EventProcessor.h:59
dqm::implementation::IBooker::bookFloat
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
Definition: DQMStore.h:80
cscdqm::FLOAT
Definition: CSCDQM_MonitorObjectProvider.h:29
CSCMonitorModule::maskedHW
std::vector< std::string > maskedHW
Definition: CSCMonitorModule.h:94
cscdqm::HistoBookRequest::hdef
const HistoDef * hdef
Definition: CSCDQM_MonitorObjectProvider.h:32
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
CSCMonitorModule::inputTag
edm::InputTag inputTag
Definition: CSCMonitorModule.h:87
DcsStatus::CSCm
Definition: DcsStatus.h:48
dqm::implementation::IBooker::bookProfile2D
MonitorElement * bookProfile2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:399
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89281
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
DcsStatus::CSCp
Definition: DcsStatus.h:47
cscdqm::Dispatcher::updateFractionAndEfficiencyHistos
void updateFractionAndEfficiencyHistos()
On demand update fraction and efficiency MOs.
Definition: CSCDQM_Dispatcher.cc:257
edm::EDConsumerBase::consumesCollector
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
Definition: EDConsumerBase.cc:47
cscdqm::Utility::regexMatch
static bool regexMatch(const std::string &expression, const std::string &message)
Match RegExp expression string against string message and return result.
Definition: CSCDQM_Utility.cc:166
personalPlayback.fp
fp
Definition: personalPlayback.py:523
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
relativeConstraints.keys
keys
Definition: relativeConstraints.py:89
DIR_DCSINFO
static const char DIR_DCSINFO[]
Definition: CSCMonitorModule.h:60
cscdqm::HWStandbyType::process
bool process
Definition: CSCDQM_EventProcessor.h:62
edm::Handle
Definition: AssociativeIterator.h:50
cscdqm::HistoBookRequest::nchZ
int nchZ
Definition: CSCDQM_MonitorObjectProvider.h:46
cscdqm::HistoBookRequest::nchX
int nchX
Definition: CSCDQM_MonitorObjectProvider.h:38
config
Definition: config.py:1
edm::FileInPath
Definition: FileInPath.h:64
CSCMonitorObject
cscdqm::MonitorObject implementation used in CSCMonitorModuleCmn
Definition: CSCMonitorObject.h:29
cscdqm::PROFILE2D
Definition: CSCDQM_MonitorObjectProvider.h:29
edm::ESHandle
Definition: DTSurvey.h:22
dqm::implementation::NavigatorBase::cd
virtual void cd()
Definition: DQMStore.cc:29
dqm::implementation::IBooker::bookProfile
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:322
cscdqm::HistoBookRequest::lowX
double lowX
Definition: CSCDQM_MonitorObjectProvider.h:39
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
edm::ParameterSet
Definition: ParameterSet.h:47
dqm::implementation::IBooker::bookString
MonitorElement * bookString(TString const &name, TString const &value, FUNC onbooking=NOOP())
Definition: DQMStore.h:87
CSCMonitorModule::ibooker
DQMStore::IBooker * ibooker
Definition: CSCMonitorModule.h:86
cscdqm::HistoBookRequest::highY
double highY
Definition: CSCDQM_MonitorObjectProvider.h:44
cscdqm::Dispatcher::maskHWElements
unsigned int maskHWElements(std::vector< std::string > &tokens)
Mask HW elements from the efficiency calculations. Can be applied on runtime!
Definition: CSCDQM_Dispatcher.cc:190
dqm::implementation::IBooker::bookInt
MonitorElement * bookInt(TString const &name, FUNC onbooking=NOOP())
Definition: DQMStore.h:73
CSCMonitorModule::dispatcher
cscdqm::Dispatcher * dispatcher
Definition: CSCMonitorModule.h:84
cscdqm::HistoDef::getId
const HistoId getId() const
Get Histogram ID.
Definition: CSCDQM_HistoDef.h:84
cscdqm::H2D
Definition: CSCDQM_MonitorObjectProvider.h:29
cscdqm::HWStandbyType::applyMeM
void applyMeM(bool ready)
Definition: CSCDQM_EventProcessor.h:74
CSCMonitorModule::prebookEffParams
bool prebookEffParams
Definition: CSCMonitorModule.h:88
cscdqm::HistoBookRequest::nchY
int nchY
Definition: CSCDQM_MonitorObjectProvider.h:42
CSCMonitorModule::pcrate
const CSCCrateMap * pcrate
Definition: CSCMonitorModule.h:92
cuy.ib
ib
Definition: cuy.py:662
cscdqm::HistoBookRequest::title
std::string title
Definition: CSCDQM_MonitorObjectProvider.h:36
cscdqm::HistoDef::getName
virtual const std::string getName() const
Get processed histogram name. It can include additional parameter in formated name....
Definition: CSCDQM_HistoDef.h:98
cscdqm::H3D
Definition: CSCDQM_MonitorObjectProvider.h:29
get
#define get
cscdqm::HistoBookRequest::highX
double highX
Definition: CSCDQM_MonitorObjectProvider.h:40
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
cscdqm::HistoDef::getPath
virtual const std::string getPath() const
Get path part of the histogram (used only for DDUs and CSCs)
Definition: CSCDQM_HistoDef.h:177
cscdqm::STRING
Definition: CSCDQM_MonitorObjectProvider.h:29
cscdqm::H1D
Definition: CSCDQM_MonitorObjectProvider.h:29
cscdqm::HistoBookRequest::highZ
double highZ
Definition: CSCDQM_MonitorObjectProvider.h:48
cscdqm::HistoBookRequest::default_int
int default_int
Definition: CSCDQM_MonitorObjectProvider.h:50
cscdqm::HWStandbyType::applyMeP
void applyMeP(bool ready)
Definition: CSCDQM_EventProcessor.h:72
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
cscdqm::INT
Definition: CSCDQM_MonitorObjectProvider.h:29
dqm::implementation::IBooker::book3D
MonitorElement * book3D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, FUNC onbooking=NOOP())
Definition: DQMStore.h:290
cscdqm::Dispatcher::init
void init()
Initialize Dispatcher: book histograms, init processor, etc.
Definition: CSCDQM_Dispatcher.cc:98
cscdqm::Dispatcher
CSCDQM Framework frontend and Histogram Cache controller.
Definition: CSCDQM_Dispatcher.h:115
CSCCrateMap::detId
CSCDetId detId(int vme, int dmb, int cfeb, int layer=0) const
Definition: CSCCrateMap.cc:9
cscdqm::HistoBookRequest::option
std::string option
Definition: CSCDQM_MonitorObjectProvider.h:54
CSCCrateMapRcd
Definition: CSCCrateMapRcd.h:5
MAX_DMB_SLOT
static const unsigned int MAX_DMB_SLOT
Definition: CSCMonitorModule.h:67
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
cscdqm::HistoBookRequest::default_float
float default_float
Definition: CSCDQM_MonitorObjectProvider.h:51
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
INPUT_TAG_LABEL
static const char INPUT_TAG_LABEL[]
Global stuff.
Definition: CSCMonitorModule.h:58
cscdqm::MonitorObject
Monitoring Object interface used to cover Root object and provide common interface to EventProcessor ...
Definition: CSCDQM_MonitorObject.h:35
cscdqm::HistoBookRequest::folder
std::string folder
Definition: CSCDQM_MonitorObjectProvider.h:35
cscdqm::PROFILE
Definition: CSCDQM_MonitorObjectProvider.h:29
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
DIR_EVENTINFO
static const char DIR_EVENTINFO[]
Definition: CSCMonitorModule.h:59
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
cscdqm::Dispatcher::book
void book()
Definition: CSCDQM_Dispatcher.cc:104
cscdqm::HistoBookRequest::htype
HistoType htype
Definition: CSCDQM_MonitorObjectProvider.h:33
edm::InputTag
Definition: InputTag.h:15
MAX_CRATE_ID
static const unsigned int MAX_CRATE_ID
Definition: CSCMonitorModule.h:65
cscdqm::HistoBookRequest::default_string
std::string default_string
Definition: CSCDQM_MonitorObjectProvider.h:52
DIR_DAQINFO
static const char DIR_DAQINFO[]
Definition: CSCMonitorModule.h:61
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
cscdqm::HistoBookRequest::lowY
double lowY
Definition: CSCDQM_MonitorObjectProvider.h:43
cscdqm::HistoBookRequest::lowZ
double lowZ
Definition: CSCDQM_MonitorObjectProvider.h:47
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37