CMS 3D CMS Logo

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

#include <L1TEventInfoClient.h>

Inheritance diagram for L1TEventInfoClient:
DQMEDHarvester edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 L1TEventInfoClient (const edm::ParameterSet &)
 Constructor. More...
 
 ~L1TEventInfoClient () override
 Destructor. More...
 
- Public Member Functions inherited from DQMEDHarvester
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginJob () override
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &) override
 
virtual void dqmAnalyze (DQMStore::IBooker &, DQMStore::IGetter &, edm::Event const &, edm::EventSetup const &)
 
 DQMEDHarvester ()
 
 DQMEDHarvester (edm::ParameterSet const &iConfig)
 
virtual void dqmEndRun (DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &es) final
 
void endProcessBlockProduce (edm::ProcessBlock &) final
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &es) final
 
 ~DQMEDHarvester () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >
 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)
 

Protected Member Functions

void dqmEndJob (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
 end job More...
 
void dqmEndLuminosityBlock (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const edm::LuminosityBlock &, const edm::EventSetup &) override
 
- 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 Member Functions

void book (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
 book histograms More...
 
void dumpContentMonitorElements (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
 dump the content of the monitoring elements defined in this module More...
 
void initialize ()
 private methods More...
 
void readQtResults (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
 read quality test results More...
 

Private Attributes

std::vector< std::string > m_disableL1Objects
 
std::vector< std::string > m_disableL1Systems
 
std::vector< edm::ParameterSetm_l1Objects
 
std::vector< edm::ParameterSetm_l1Systems
 
MonitorElementm_meReportSummary
 a summary report More...
 
std::vector< MonitorElement * > m_meReportSummaryContent
 monitor elements to report content for all quality tests More...
 
MonitorElementm_meReportSummaryMap
 report summary map More...
 
std::string m_monitorDir
 
size_t m_nrL1Objects
 number of L1 trigger objects More...
 
size_t m_nrL1Systems
 number of L1 trigger systems More...
 
std::vector< int > m_objectDisable
 
std::vector< std::string > m_objectFolder
 
std::vector< std::string > m_objectLabel
 
std::vector< std::vector< unsigned int > > m_objectQtSummaryEnabled
 
std::vector< std::vector< std::string > > m_objectQualityTestHist
 
std::vector< std::vector< std::string > > m_objectQualityTestName
 
Float_t m_reportSummary
 summary report More...
 
bool m_runInEndJob
 
bool m_runInEndLumi
 
bool m_runInEndRun
 
bool m_runInEventLoop
 
std::vector< int > m_summaryContent
 
Float_t m_summarySum
 
std::vector< int > m_systemDisable
 
std::vector< std::string > m_systemLabel
 
std::vector< std::string > m_systemLabelExt
 
std::vector< std::vector< unsigned int > > m_systemQtSummaryEnabled
 
std::vector< std::vector< std::string > > m_systemQualityTestHist
 
std::vector< std::vector< std::string > > m_systemQualityTestName
 
size_t m_totalNrQtSummaryEnabled
 
bool m_verbose
 input parameters More...
 

Additional Inherited Members

- Public Types inherited from DQMEDHarvester
typedef dqm::harvesting::DQMStore DQMStore
 
typedef dqm::harvesting::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 DQMEDHarvester
DQMStoredqmstore_
 
edm::GetterOfProducts< DQMTokenjobmegetter_
 
edm::EDPutTokenT< DQMTokenjobToken_
 
edm::GetterOfProducts< DQMTokenlumimegetter_
 
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::GetterOfProducts< DQMTokenrunmegetter_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Description: fill L1 report summary for trigger L1T and emulator L1TEMU DQM.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

Re-designed and fully rewritten class. Original version and authors: see CVS history

Description: see header file.

Author
: Vasile Mihai Ghete - HEPHY Vienna

Definition at line 40 of file L1TEventInfoClient.h.

Constructor & Destructor Documentation

◆ L1TEventInfoClient()

L1TEventInfoClient::L1TEventInfoClient ( const edm::ParameterSet parSet)

Constructor.

Definition at line 42 of file L1TEventInfoClient.cc.

43  : m_verbose(parSet.getUntrackedParameter<bool>("verbose", false)),
44  m_monitorDir(parSet.getUntrackedParameter<std::string>("monitorDir", "")),
45  m_runInEventLoop(parSet.getUntrackedParameter<bool>("runInEventLoop", false)),
46  m_runInEndLumi(parSet.getUntrackedParameter<bool>("runInEndLumi", false)),
47  m_runInEndRun(parSet.getUntrackedParameter<bool>("runInEndRun", false)),
48  m_runInEndJob(parSet.getUntrackedParameter<bool>("runInEndJob", false)),
49  m_l1Systems(parSet.getParameter<std::vector<edm::ParameterSet> >("L1Systems")),
50  m_l1Objects(parSet.getParameter<std::vector<edm::ParameterSet> >("L1Objects")),
51  m_disableL1Systems(parSet.getParameter<std::vector<std::string> >("DisableL1Systems")),
52  m_disableL1Objects(parSet.getParameter<std::vector<std::string> >("DisableL1Objects")),
53  m_nrL1Systems(0),
54  m_nrL1Objects(0),
56  initialize();
57 }

References initialize().

◆ ~L1TEventInfoClient()

L1TEventInfoClient::~L1TEventInfoClient ( )
override

Destructor.

Definition at line 60 of file L1TEventInfoClient.cc.

60  {
61  //empty
62 }

Member Function Documentation

◆ book()

void L1TEventInfoClient::book ( DQMStore::IBooker ibooker,
DQMStore::IGetter igetter 
)
private

book histograms

Definition at line 295 of file L1TEventInfoClient.cc.

295  {
296  std::string dirEventInfo = m_monitorDir + "/EventInfo";
297 
298  ibooker.setCurrentFolder(dirEventInfo);
299 
300  // ...and book it again
301  m_meReportSummary = ibooker.bookFloat("reportSummary");
302 
303  // initialize reportSummary to 1
304 
305  if (m_meReportSummary) {
307  }
308 
309  // define float histograms for reportSummaryContents (one histogram per quality test),
310  // initialize them to zero
311  // initialize also m_summaryContent to dqm::qstatus::DISABLED
312 
313  ibooker.setCurrentFolder(dirEventInfo + "/reportSummaryContents");
314  // general counters:
315  // iAllQTest: all quality tests for all systems and objects
316  // iAllMon: all monitored systems and objects
317  int iAllQTest = 0;
318  int iAllMon = 0;
319 
320  for (unsigned int iMon = 0; iMon < m_nrL1Systems; ++iMon) {
322 
323  const std::vector<std::string>& sysQtName = m_systemQualityTestName[iMon];
324 
325  for (std::vector<std::string>::const_iterator itQtName = sysQtName.begin(); itQtName != sysQtName.end();
326  ++itQtName) {
327  const std::string hStr = m_monitorDir + "_L1Sys_" + m_systemLabel[iMon] + "_" + (*itQtName);
328 
329  m_meReportSummaryContent.push_back(ibooker.bookFloat(hStr));
330  m_meReportSummaryContent[iAllQTest]->Fill(0.);
331 
332  iAllQTest++;
333  }
334 
335  iAllMon++;
336  }
337 
338  for (unsigned int iMon = 0; iMon < m_nrL1Objects; ++iMon) {
340 
341  const std::vector<std::string>& objQtName = m_objectQualityTestName[iMon];
342 
343  for (std::vector<std::string>::const_iterator itQtName = objQtName.begin(); itQtName != objQtName.end();
344  ++itQtName) {
345  const std::string hStr = m_monitorDir + "_L1Obj_" + m_objectLabel[iMon] + "_" + (*itQtName);
346 
347  m_meReportSummaryContent.push_back(ibooker.bookFloat(hStr));
348  m_meReportSummaryContent[iAllQTest]->Fill(0.);
349 
350  iAllQTest++;
351  }
352 
353  iAllMon++;
354  }
355 
356  ibooker.setCurrentFolder(dirEventInfo);
357 
358  // define a histogram with two bins on X and maximum of m_nrL1Systems, m_nrL1Objects on Y
359 
360  int nBinsY = std::max(m_nrL1Systems, m_nrL1Objects);
361 
362  m_meReportSummaryMap = ibooker.book2D("reportSummaryMap", "reportSummaryMap", 2, 1, 3, nBinsY, 1, nBinsY + 1);
363 
364  if (m_monitorDir == "L1TEMU") {
365  m_meReportSummaryMap->setTitle("L1TEMU: L1 Emulator vs Data Report Summary Map");
366 
367  } else if (m_monitorDir == "L1T") {
368  m_meReportSummaryMap->setTitle("L1T: L1 Trigger Data Report Summary Map");
369  } else {
370  // do nothing
371  }
372 
375 
376  m_meReportSummaryMap->setBinLabel(1, "L1 systems", 1);
377  m_meReportSummaryMap->setBinLabel(2, "L1 objects", 1);
378 
379  for (int iBin = 0; iBin < nBinsY; ++iBin) {
380  m_meReportSummaryMap->setBinLabel(iBin + 1, " ", 2);
381  }
382 }

References dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookFloat(), dqm::qstatus::DISABLED, dqm::impl::MonitorElement::Fill(), m_meReportSummary, m_meReportSummaryContent, m_meReportSummaryMap, m_monitorDir, m_nrL1Objects, m_nrL1Systems, m_objectLabel, m_objectQualityTestName, m_summaryContent, m_systemLabel, m_systemQualityTestName, SiStripPI::max, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), dqm::impl::MonitorElement::setTitle(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by dqmEndJob(), and dqmEndLuminosityBlock().

◆ dqmEndJob()

void L1TEventInfoClient::dqmEndJob ( DQMStore::IBooker ibooker,
DQMStore::IGetter igetter 
)
overrideprotectedvirtual

end job

Implements DQMEDHarvester.

Definition at line 218 of file L1TEventInfoClient.cc.

218  {
219  book(ibooker, igetter);
220 
221  readQtResults(ibooker, igetter);
222 
223  if (m_verbose) {
224  std::cout << "\n L1TEventInfoClient::endRun\n" << std::endl;
225  dumpContentMonitorElements(ibooker, igetter);
226  }
227 }

References book(), gather_cfg::cout, dumpContentMonitorElements(), m_verbose, and readQtResults().

◆ dqmEndLuminosityBlock()

void L1TEventInfoClient::dqmEndLuminosityBlock ( DQMStore::IBooker ibooker,
DQMStore::IGetter igetter,
const edm::LuminosityBlock lumiSeg,
const edm::EventSetup evSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDHarvester.

Definition at line 203 of file L1TEventInfoClient.cc.

206  {
207  if (m_runInEndLumi) {
208  book(ibooker, igetter);
209  readQtResults(ibooker, igetter);
210 
211  if (m_verbose) {
212  std::cout << "\n L1TEventInfoClient::endLuminosityBlock\n" << std::endl;
213  dumpContentMonitorElements(ibooker, igetter);
214  }
215  }
216 }

References book(), gather_cfg::cout, dumpContentMonitorElements(), m_runInEndLumi, m_verbose, and readQtResults().

◆ dumpContentMonitorElements()

void L1TEventInfoClient::dumpContentMonitorElements ( DQMStore::IBooker ibooker,
DQMStore::IGetter igetter 
)
private

dump the content of the monitoring elements defined in this module

Definition at line 229 of file L1TEventInfoClient.cc.

229  {
230  std::cout << "\nSummary report " << std::endl;
231 
232  // summary content
233 
235 
236  std::cout << "\nSummary content per system and object as filled in histogram\n " << m_meReportSummaryMap->getName()
237  << std::endl;
238 
239  if (!me) {
240  std::cout << "\nNo histogram " << m_meReportSummaryMap->getName()
241  << "\nNo summary content per system and object as filled in histogram.\n " << std::endl;
242  return;
243  }
244 
245  TH2F* hist = me->getTH2F();
246 
247  const int nBinsX = hist->GetNbinsX();
248  const int nBinsY = hist->GetNbinsY();
249  std::cout << nBinsX << " " << nBinsY;
250 
251  std::vector<std::vector<int> > meReportSummaryMap(nBinsX, std::vector<int>(nBinsY));
252 
253  // for (int iBinX = 0; iBinX < nBinsX; iBinX++) {
254  // for (int iBinY = 0; iBinY < nBinsY; iBinY++) {
255  // meReportSummaryMap[iBinX][iBinY]
256  // = static_cast<int>(me->GetBinContent(iBinX + 1, iBinY + 1));
257  // }
258  // }
259 
260  std::cout << "\nL1 systems: " << m_nrL1Systems << " systems included\n"
261  << "\n Summary content size: " << (m_summaryContent.size()) << std::endl;
262 
263  for (unsigned int iSys = 0; iSys < m_nrL1Systems; ++iSys) {
264  std::cout << std::setw(10) << m_systemLabel[iSys] << std::setw(10) << m_systemLabelExt[iSys] << " \t"
265  << m_systemDisable[iSys] << " \t" << std::setw(25) << " m_summaryContent[" << std::setw(2) << iSys
266  << "] = " << meReportSummaryMap[0][iSys] << std::endl;
267  }
268 
269  std::cout << "\n L1 trigger objects: " << m_nrL1Objects << " objects included\n" << std::endl;
270 
271  for (unsigned int iMon = m_nrL1Systems; iMon < m_nrL1Systems + m_nrL1Objects; ++iMon) {
272  std::cout << std::setw(20) << m_objectLabel[iMon - m_nrL1Systems] << " \t" << m_objectDisable[iMon - m_nrL1Systems]
273  << " \t" << std::setw(25) << " m_summaryContent[" << std::setw(2) << iMon << "] = \t"
274  << m_summaryContent[iMon] << std::endl;
275  }
276 
277  std::cout << std::endl;
278 
279  // quality tests
280 
281  std::cout << "\nQuality test results as filled in "
282  << "\n " << m_monitorDir << "/EventInfo/reportSummaryContents\n"
283  << "\n Total number of quality tests: " << (m_meReportSummaryContent.size()) << "\n"
284  << std::endl;
285 
286  for (std::vector<MonitorElement*>::const_iterator itME = m_meReportSummaryContent.begin();
287  itME != m_meReportSummaryContent.end();
288  ++itME) {
289  std::cout << std::setw(50) << (*itME)->getName() << " \t" << std::setw(25) << (*itME)->getFloatValue() << std::endl;
290  }
291 
292  std::cout << std::endl;
293 }

References gather_cfg::cout, dqm::implementation::IGetter::get(), dqm::impl::MonitorElement::getName(), gpuVertexFinder::hist, m_meReportSummaryContent, m_meReportSummaryMap, m_monitorDir, m_nrL1Objects, m_nrL1Systems, m_objectDisable, m_objectLabel, m_summaryContent, m_systemDisable, m_systemLabel, m_systemLabelExt, and hlt_dqm_clientPB-live_cfg::me.

Referenced by dqmEndJob(), and dqmEndLuminosityBlock().

◆ initialize()

void L1TEventInfoClient::initialize ( )
private

private methods

initialize properly all elements

Definition at line 64 of file L1TEventInfoClient.cc.

64  {
65  if (m_verbose) {
66  std::cout << "\nMonitor directory = " << m_monitorDir << std::endl;
67  }
68 
69  // L1 systems
70 
71  m_nrL1Systems = m_l1Systems.size();
72 
76 
77  // on average five quality test per system - just a best guess
81 
82  int indexSys = 0;
83 
84  int totalNrQualityTests = 0;
85 
86  for (std::vector<edm::ParameterSet>::const_iterator itSystem = m_l1Systems.begin(); itSystem != m_l1Systems.end();
87  ++itSystem) {
88  m_systemLabel.push_back(itSystem->getParameter<std::string>("SystemLabel"));
89 
90  m_systemLabelExt.push_back(itSystem->getParameter<std::string>("HwValLabel"));
91 
92  m_systemDisable.push_back(itSystem->getParameter<unsigned int>("SystemDisable"));
93  // check the additional disable flag from m_disableL1Systems
94  for (std::vector<std::string>::const_iterator itSys = m_disableL1Systems.begin(); itSys != m_disableL1Systems.end();
95  ++itSys) {
96  if (*itSys == m_systemLabel[indexSys]) {
97  m_systemDisable[indexSys] = 1;
98  }
99  }
100 
101  std::vector<edm::ParameterSet> qTests = itSystem->getParameter<std::vector<edm::ParameterSet> >("QualityTests");
102  size_t qtPerSystem = qTests.size();
103 
104  std::vector<std::string> qtNames;
105  qtNames.reserve(qtPerSystem);
106 
107  std::vector<std::string> qtFullPathHists;
108  qtFullPathHists.reserve(qtPerSystem);
109 
110  std::vector<unsigned int> qtSumEnabled;
111  qtSumEnabled.reserve(qtPerSystem);
112 
113  for (std::vector<edm::ParameterSet>::const_iterator itQT = qTests.begin(); itQT != qTests.end(); ++itQT) {
114  totalNrQualityTests++;
115 
116  qtNames.push_back(itQT->getParameter<std::string>("QualityTestName"));
117 
118  qtFullPathHists.push_back(itQT->getParameter<std::string>("QualityTestHist"));
119 
120  unsigned int qtEnabled = itQT->getParameter<unsigned int>("QualityTestSummaryEnabled");
121 
122  qtSumEnabled.push_back(qtEnabled);
123 
124  if (qtEnabled) {
126  }
127  }
128 
129  m_systemQualityTestName.push_back(qtNames);
130  m_systemQualityTestHist.push_back(qtFullPathHists);
131  m_systemQtSummaryEnabled.push_back(qtSumEnabled);
132 
133  indexSys++;
134  }
135 
136  // L1 objects
137 
138  //
139  m_nrL1Objects = m_l1Objects.size();
140 
141  m_objectLabel.reserve(m_nrL1Objects);
143 
144  // on average five quality test per object - just a best guess
148 
149  int indexObj = 0;
150 
151  for (std::vector<edm::ParameterSet>::const_iterator itObject = m_l1Objects.begin(); itObject != m_l1Objects.end();
152  ++itObject) {
153  m_objectLabel.push_back(itObject->getParameter<std::string>("ObjectLabel"));
154 
155  m_objectDisable.push_back(itObject->getParameter<unsigned int>("ObjectDisable"));
156  // check the additional disable flag from m_disableL1Objects
157  for (std::vector<std::string>::const_iterator itObj = m_disableL1Objects.begin(); itObj != m_disableL1Objects.end();
158  ++itObj) {
159  if (*itObj == m_objectLabel[indexObj]) {
160  m_objectDisable[indexObj] = 1;
161  }
162  }
163 
164  std::vector<edm::ParameterSet> qTests = itObject->getParameter<std::vector<edm::ParameterSet> >("QualityTests");
165  size_t qtPerObject = qTests.size();
166 
167  std::vector<std::string> qtNames;
168  qtNames.reserve(qtPerObject);
169 
170  std::vector<std::string> qtFullPathHists;
171  qtFullPathHists.reserve(qtPerObject);
172 
173  std::vector<unsigned int> qtSumEnabled;
174  qtSumEnabled.reserve(qtPerObject);
175 
176  for (std::vector<edm::ParameterSet>::const_iterator itQT = qTests.begin(); itQT != qTests.end(); ++itQT) {
177  totalNrQualityTests++;
178 
179  qtNames.push_back(itQT->getParameter<std::string>("QualityTestName"));
180 
181  qtFullPathHists.push_back(itQT->getParameter<std::string>("QualityTestHist"));
182 
183  unsigned int qtEnabled = itQT->getParameter<unsigned int>("QualityTestSummaryEnabled");
184 
185  qtSumEnabled.push_back(qtEnabled);
186 
187  if (qtEnabled) {
189  }
190  }
191 
192  m_objectQualityTestName.push_back(qtNames);
193  m_objectQualityTestHist.push_back(qtFullPathHists);
194  m_objectQtSummaryEnabled.push_back(qtSumEnabled);
195 
196  indexObj++;
197  }
198 
200  m_meReportSummaryContent.reserve(totalNrQualityTests);
201 }

References gather_cfg::cout, m_disableL1Objects, m_disableL1Systems, m_l1Objects, m_l1Systems, m_meReportSummaryContent, m_monitorDir, m_nrL1Objects, m_nrL1Systems, m_objectDisable, m_objectLabel, m_objectQtSummaryEnabled, m_objectQualityTestHist, m_objectQualityTestName, m_summaryContent, m_systemDisable, m_systemLabel, m_systemLabelExt, m_systemQtSummaryEnabled, m_systemQualityTestHist, m_systemQualityTestName, m_totalNrQtSummaryEnabled, m_verbose, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by L1TEventInfoClient().

◆ readQtResults()

void L1TEventInfoClient::readQtResults ( DQMStore::IBooker ibooker,
DQMStore::IGetter igetter 
)
private

read quality test results

Definition at line 384 of file L1TEventInfoClient.cc.

384  {
385  // initialize summary content, summary sum and ReportSummaryContent float histograms
386  // for all L1 systems and L1 objects
387 
388  for (std::vector<int>::iterator it = m_summaryContent.begin(); it != m_summaryContent.end(); ++it) {
389  (*it) = dqm::qstatus::DISABLED;
390  }
391 
392  m_summarySum = 0.;
393 
394  for (std::vector<MonitorElement*>::iterator itME = m_meReportSummaryContent.begin();
395  itME != m_meReportSummaryContent.end();
396  ++itME) {
397  (*itME)->Fill(0.);
398  }
399 
400  // general counters:
401  // iAllQTest: all quality tests for all systems and objects
402  // iAllMon: all monitored systems and objects
403  int iAllQTest = 0;
404  int iAllMon = 0;
405 
406  // quality tests for all L1 systems
407 
408  for (unsigned int iSys = 0; iSys < m_nrL1Systems; ++iSys) {
409  // get the reports for each quality test
410 
411  const std::vector<std::string>& sysQtName = m_systemQualityTestName[iSys];
412  const std::vector<std::string>& sysQtHist = m_systemQualityTestHist[iSys];
413  const std::vector<unsigned int>& sysQtSummaryEnabled = m_systemQtSummaryEnabled[iSys];
414 
415  // pro system counter for quality tests
416  int iSysQTest = 0;
417 
418  for (std::vector<std::string>::const_iterator itQtName = sysQtName.begin(); itQtName != sysQtName.end();
419  ++itQtName) {
420  // get results, status and message
421 
422  MonitorElement* qHist = igetter.get(sysQtHist[iSysQTest]);
423 
424  if (qHist) {
425  const std::vector<QReport*> qtVec = qHist->getQReports();
426 
427  if (m_verbose) {
428  std::cout << "\nNumber of quality tests "
429  << " for histogram " << sysQtHist[iSysQTest] << ": " << qtVec.size() << "\n"
430  << std::endl;
431  }
432 
433  const QReport* sysQReport = qHist->getQReport(*itQtName);
434  if (sysQReport) {
435  const float sysQtResult = sysQReport->getQTresult();
436  const int sysQtStatus = sysQReport->getStatus();
437  const std::string& sysQtMessage = sysQReport->getMessage();
438 
439  if (m_verbose) {
440  std::cout << "\n"
441  << (*itQtName) << " quality test:"
442  << "\n result: " << sysQtResult << "\n status: " << sysQtStatus
443  << "\n message: " << sysQtMessage << "\n"
444  << "\nFilling m_meReportSummaryContent[" << iAllQTest << "] with value " << sysQtResult << "\n"
445  << std::endl;
446  }
447 
448  m_meReportSummaryContent[iAllQTest]->Fill(sysQtResult);
449 
450  // for the summary map, keep the highest status value ("ERROR") of all tests
451  // which are considered for the summary plot
452  if (sysQtSummaryEnabled[iSysQTest]) {
453  if (sysQtStatus > m_summaryContent[iAllMon]) {
454  m_summaryContent[iAllMon] = sysQtStatus;
455  }
456 
457  m_summarySum += sysQtResult;
458  }
459 
460  } else {
461  // for the summary map, if the test was not found but it is assumed to be
462  // considered for the summary plot, set it to dqm::qstatus::INVALID
463 
464  int sysQtStatus = dqm::qstatus::INVALID;
465 
466  if (sysQtSummaryEnabled[iSysQTest]) {
467  if (sysQtStatus > m_summaryContent[iAllMon]) {
468  m_summaryContent[iAllMon] = sysQtStatus;
469  }
470  }
471 
472  m_meReportSummaryContent[iAllQTest]->Fill(0.);
473 
474  if (m_verbose) {
475  std::cout << "\n" << (*itQtName) << " quality test not found\n" << std::endl;
476  }
477  }
478 
479  } else {
480  // for the summary map, if the histogram was not found but it is assumed
481  // to have a test be considered for the summary plot, set it to dqm::qstatus::INVALID
482 
483  int sysQtStatus = dqm::qstatus::INVALID;
484 
485  if (sysQtSummaryEnabled[iSysQTest]) {
486  if (sysQtStatus > m_summaryContent[iAllMon]) {
487  m_summaryContent[iAllMon] = sysQtStatus;
488  }
489  }
490 
491  m_meReportSummaryContent[iAllQTest]->Fill(0.);
492 
493  if (m_verbose) {
494  std::cout << "\nHistogram " << sysQtHist[iSysQTest] << " not found\n" << std::endl;
495  }
496  }
497 
498  // increase counters for quality tests
499  iSysQTest++;
500  iAllQTest++;
501  }
502 
503  iAllMon++;
504  }
505 
506  // quality tests for all L1 objects
507 
508  for (unsigned int iObj = 0; iObj < m_nrL1Objects; ++iObj) {
509  // get the reports for each quality test
510 
511  const std::vector<std::string>& objQtName = m_objectQualityTestName[iObj];
512  const std::vector<std::string>& objQtHist = m_objectQualityTestHist[iObj];
513  const std::vector<unsigned int>& objQtSummaryEnabled = m_objectQtSummaryEnabled[iObj];
514 
515  // pro object counter for quality tests
516  int iObjQTest = 0;
517 
518  for (std::vector<std::string>::const_iterator itQtName = objQtName.begin(); itQtName != objQtName.end();
519  ++itQtName) {
520  // get results, status and message
521 
522  MonitorElement* qHist = igetter.get(objQtHist[iObjQTest]);
523 
524  if (qHist) {
525  const std::vector<QReport*> qtVec = qHist->getQReports();
526 
527  if (m_verbose) {
528  std::cout << "\nNumber of quality tests "
529  << " for histogram " << objQtHist[iObjQTest] << ": " << qtVec.size() << "\n"
530  << std::endl;
531  }
532 
533  const QReport* objQReport = qHist->getQReport(*itQtName);
534  if (objQReport) {
535  const float objQtResult = objQReport->getQTresult();
536  const int objQtStatus = objQReport->getStatus();
537  const std::string& objQtMessage = objQReport->getMessage();
538 
539  if (m_verbose) {
540  std::cout << "\n"
541  << (*itQtName) << " quality test:"
542  << "\n result: " << objQtResult << "\n status: " << objQtStatus
543  << "\n message: " << objQtMessage << "\n"
544  << "\nFilling m_meReportSummaryContent[" << iAllQTest << "] with value " << objQtResult << "\n"
545  << std::endl;
546  }
547 
548  m_meReportSummaryContent[iAllQTest]->Fill(objQtResult);
549 
550  // for the summary map, keep the highest status value ("ERROR") of all tests
551  // which are considered for the summary plot
552  if (objQtSummaryEnabled[iObjQTest]) {
553  if (objQtStatus > m_summaryContent[iAllMon]) {
554  m_summaryContent[iAllMon] = objQtStatus;
555  }
556 
557  m_summarySum += objQtResult;
558  }
559 
560  } else {
561  // for the summary map, if the test was not found but it is assumed to be
562  // considered for the summary plot, set it to dqm::qstatus::INVALID
563 
564  int objQtStatus = dqm::qstatus::INVALID;
565 
566  if (objQtSummaryEnabled[iObjQTest]) {
567  if (objQtStatus > m_summaryContent[iAllMon]) {
568  m_summaryContent[iAllMon] = objQtStatus;
569  }
570  }
571 
572  m_meReportSummaryContent[iAllQTest]->Fill(0.);
573 
574  if (m_verbose) {
575  std::cout << "\n" << (*itQtName) << " quality test not found\n" << std::endl;
576  }
577  }
578 
579  } else {
580  // for the summary map, if the histogram was not found but it is assumed
581  // to have a test be considered for the summary plot, set it to dqm::qstatus::INVALID
582 
583  int objQtStatus = dqm::qstatus::INVALID;
584 
585  if (objQtSummaryEnabled[iObjQTest]) {
586  if (objQtStatus > m_summaryContent[iAllMon]) {
587  m_summaryContent[iAllMon] = objQtStatus;
588  }
589  }
590 
591  m_meReportSummaryContent[iAllQTest]->Fill(0.);
592 
593  if (m_verbose) {
594  std::cout << "\nHistogram " << objQtHist[iObjQTest] << " not found\n" << std::endl;
595  }
596  }
597 
598  // increase counters for quality tests
599  iObjQTest++;
600  iAllQTest++;
601  }
602 
603  iAllMon++;
604  }
605 
606  // reportSummary value
608  if (m_meReportSummary) {
610  }
611 
612  // fill the ReportSummaryMap for L1 systems (bin 1 on X)
613  for (unsigned int iSys = 0; iSys < m_nrL1Systems; ++iSys) {
614  double summCont = static_cast<double>(m_summaryContent[iSys]);
615  m_meReportSummaryMap->setBinContent(1, iSys + 1, summCont);
616  }
617 
618  // fill the ReportSummaryMap for L1 objects (bin 2 on X)
619  for (unsigned int iMon = m_nrL1Systems; iMon < m_nrL1Systems + m_nrL1Objects; ++iMon) {
620  double summCont = static_cast<double>(m_summaryContent[iMon]);
621  m_meReportSummaryMap->setBinContent(2, iMon - m_nrL1Systems + 1, summCont);
622  }
623 }

References gather_cfg::cout, dqm::qstatus::DISABLED, dqm::impl::MonitorElement::Fill(), dqmMemoryStats::float, dqm::implementation::IGetter::get(), MonitorElementData::QReport::getMessage(), dqm::impl::MonitorElement::getQReport(), dqm::impl::MonitorElement::getQReports(), MonitorElementData::QReport::getQTresult(), MonitorElementData::QReport::getStatus(), dqm::qstatus::INVALID, m_meReportSummary, m_meReportSummaryContent, m_meReportSummaryMap, m_nrL1Objects, m_nrL1Systems, m_objectQtSummaryEnabled, m_objectQualityTestHist, m_objectQualityTestName, m_reportSummary, m_summaryContent, m_summarySum, m_systemQtSummaryEnabled, m_systemQualityTestHist, m_systemQualityTestName, m_totalNrQtSummaryEnabled, m_verbose, dqm::impl::MonitorElement::setBinContent(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by dqmEndJob(), and dqmEndLuminosityBlock().

Member Data Documentation

◆ m_disableL1Objects

std::vector<std::string> L1TEventInfoClient::m_disableL1Objects
private

Definition at line 71 of file L1TEventInfoClient.h.

Referenced by initialize().

◆ m_disableL1Systems

std::vector<std::string> L1TEventInfoClient::m_disableL1Systems
private

Definition at line 70 of file L1TEventInfoClient.h.

Referenced by initialize().

◆ m_l1Objects

std::vector<edm::ParameterSet> L1TEventInfoClient::m_l1Objects
private

Definition at line 69 of file L1TEventInfoClient.h.

Referenced by initialize().

◆ m_l1Systems

std::vector<edm::ParameterSet> L1TEventInfoClient::m_l1Systems
private

Definition at line 68 of file L1TEventInfoClient.h.

Referenced by initialize().

◆ m_meReportSummary

MonitorElement* L1TEventInfoClient::m_meReportSummary
private

a summary report

Definition at line 120 of file L1TEventInfoClient.h.

Referenced by book(), and readQtResults().

◆ m_meReportSummaryContent

std::vector<MonitorElement *> L1TEventInfoClient::m_meReportSummaryContent
private

monitor elements to report content for all quality tests

Definition at line 123 of file L1TEventInfoClient.h.

Referenced by book(), dumpContentMonitorElements(), initialize(), and readQtResults().

◆ m_meReportSummaryMap

MonitorElement* L1TEventInfoClient::m_meReportSummaryMap
private

report summary map

Definition at line 126 of file L1TEventInfoClient.h.

Referenced by book(), dumpContentMonitorElements(), and readQtResults().

◆ m_monitorDir

std::string L1TEventInfoClient::m_monitorDir
private

Definition at line 61 of file L1TEventInfoClient.h.

Referenced by book(), dumpContentMonitorElements(), and initialize().

◆ m_nrL1Objects

size_t L1TEventInfoClient::m_nrL1Objects
private

number of L1 trigger objects

Definition at line 91 of file L1TEventInfoClient.h.

Referenced by book(), dumpContentMonitorElements(), initialize(), and readQtResults().

◆ m_nrL1Systems

size_t L1TEventInfoClient::m_nrL1Systems
private

number of L1 trigger systems

Definition at line 88 of file L1TEventInfoClient.h.

Referenced by book(), dumpContentMonitorElements(), initialize(), and readQtResults().

◆ m_objectDisable

std::vector<int> L1TEventInfoClient::m_objectDisable
private

Definition at line 105 of file L1TEventInfoClient.h.

Referenced by dumpContentMonitorElements(), and initialize().

◆ m_objectFolder

std::vector<std::string> L1TEventInfoClient::m_objectFolder
private

Definition at line 107 of file L1TEventInfoClient.h.

◆ m_objectLabel

std::vector<std::string> L1TEventInfoClient::m_objectLabel
private

Definition at line 106 of file L1TEventInfoClient.h.

Referenced by book(), dumpContentMonitorElements(), and initialize().

◆ m_objectQtSummaryEnabled

std::vector<std::vector<unsigned int> > L1TEventInfoClient::m_objectQtSummaryEnabled
private

Definition at line 111 of file L1TEventInfoClient.h.

Referenced by initialize(), and readQtResults().

◆ m_objectQualityTestHist

std::vector<std::vector<std::string> > L1TEventInfoClient::m_objectQualityTestHist
private

Definition at line 110 of file L1TEventInfoClient.h.

Referenced by initialize(), and readQtResults().

◆ m_objectQualityTestName

std::vector<std::vector<std::string> > L1TEventInfoClient::m_objectQualityTestName
private

Definition at line 109 of file L1TEventInfoClient.h.

Referenced by book(), initialize(), and readQtResults().

◆ m_reportSummary

Float_t L1TEventInfoClient::m_reportSummary
private

summary report

Definition at line 115 of file L1TEventInfoClient.h.

Referenced by readQtResults().

◆ m_runInEndJob

bool L1TEventInfoClient::m_runInEndJob
private

Definition at line 66 of file L1TEventInfoClient.h.

◆ m_runInEndLumi

bool L1TEventInfoClient::m_runInEndLumi
private

Definition at line 64 of file L1TEventInfoClient.h.

Referenced by dqmEndLuminosityBlock().

◆ m_runInEndRun

bool L1TEventInfoClient::m_runInEndRun
private

Definition at line 65 of file L1TEventInfoClient.h.

◆ m_runInEventLoop

bool L1TEventInfoClient::m_runInEventLoop
private

Definition at line 63 of file L1TEventInfoClient.h.

◆ m_summaryContent

std::vector<int> L1TEventInfoClient::m_summaryContent
private

Definition at line 117 of file L1TEventInfoClient.h.

Referenced by book(), dumpContentMonitorElements(), initialize(), and readQtResults().

◆ m_summarySum

Float_t L1TEventInfoClient::m_summarySum
private

Definition at line 116 of file L1TEventInfoClient.h.

Referenced by readQtResults().

◆ m_systemDisable

std::vector<int> L1TEventInfoClient::m_systemDisable
private

Definition at line 99 of file L1TEventInfoClient.h.

Referenced by dumpContentMonitorElements(), and initialize().

◆ m_systemLabel

std::vector<std::string> L1TEventInfoClient::m_systemLabel
private

Definition at line 97 of file L1TEventInfoClient.h.

Referenced by book(), dumpContentMonitorElements(), and initialize().

◆ m_systemLabelExt

std::vector<std::string> L1TEventInfoClient::m_systemLabelExt
private

Definition at line 98 of file L1TEventInfoClient.h.

Referenced by dumpContentMonitorElements(), and initialize().

◆ m_systemQtSummaryEnabled

std::vector<std::vector<unsigned int> > L1TEventInfoClient::m_systemQtSummaryEnabled
private

Definition at line 103 of file L1TEventInfoClient.h.

Referenced by initialize(), and readQtResults().

◆ m_systemQualityTestHist

std::vector<std::vector<std::string> > L1TEventInfoClient::m_systemQualityTestHist
private

Definition at line 102 of file L1TEventInfoClient.h.

Referenced by initialize(), and readQtResults().

◆ m_systemQualityTestName

std::vector<std::vector<std::string> > L1TEventInfoClient::m_systemQualityTestName
private

Definition at line 101 of file L1TEventInfoClient.h.

Referenced by book(), initialize(), and readQtResults().

◆ m_totalNrQtSummaryEnabled

size_t L1TEventInfoClient::m_totalNrQtSummaryEnabled
private

total number of quality tests enabled for summary report for L1 trigger systems and L1 trigger objects

Definition at line 95 of file L1TEventInfoClient.h.

Referenced by initialize(), and readQtResults().

◆ m_verbose

bool L1TEventInfoClient::m_verbose
private

input parameters

Definition at line 60 of file L1TEventInfoClient.h.

Referenced by dqmEndJob(), dqmEndLuminosityBlock(), initialize(), and readQtResults().

L1TEventInfoClient::m_runInEndLumi
bool m_runInEndLumi
Definition: L1TEventInfoClient.h:64
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
L1TEventInfoClient::m_systemQualityTestHist
std::vector< std::vector< std::string > > m_systemQualityTestHist
Definition: L1TEventInfoClient.h:102
dqm::implementation::IBooker::bookFloat
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
Definition: DQMStore.h:80
dqm::impl::MonitorElement::setTitle
virtual void setTitle(const std::string &title)
set (ie. change) histogram/profile title
Definition: MonitorElement.cc:818
L1TEventInfoClient::m_l1Systems
std::vector< edm::ParameterSet > m_l1Systems
Definition: L1TEventInfoClient.h:68
L1TEventInfoClient::m_meReportSummaryContent
std::vector< MonitorElement * > m_meReportSummaryContent
monitor elements to report content for all quality tests
Definition: L1TEventInfoClient.h:123
gather_cfg.cout
cout
Definition: gather_cfg.py:144
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
L1TEventInfoClient::m_systemLabelExt
std::vector< std::string > m_systemLabelExt
Definition: L1TEventInfoClient.h:98
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
L1TEventInfoClient::m_nrL1Objects
size_t m_nrL1Objects
number of L1 trigger objects
Definition: L1TEventInfoClient.h:91
dqm::impl::MonitorElement::getQReports
std::vector< MonitorElementData::QReport * > getQReports() const
get map of QReports
Definition: MonitorElement.cc:502
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
L1TEventInfoClient::book
void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
book histograms
Definition: L1TEventInfoClient.cc:295
L1TEventInfoClient::m_nrL1Systems
size_t m_nrL1Systems
number of L1 trigger systems
Definition: L1TEventInfoClient.h:88
L1TEventInfoClient::m_runInEndJob
bool m_runInEndJob
Definition: L1TEventInfoClient.h:66
L1TEventInfoClient::m_systemQtSummaryEnabled
std::vector< std::vector< unsigned int > > m_systemQtSummaryEnabled
Definition: L1TEventInfoClient.h:103
L1TEventInfoClient::m_objectQualityTestName
std::vector< std::vector< std::string > > m_objectQualityTestName
Definition: L1TEventInfoClient.h:109
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
MonitorElementData::QReport::getQTresult
float getQTresult() const
get test result i.e. prob value
Definition: MonitorElementCollection.h:103
L1TEventInfoClient::m_meReportSummary
MonitorElement * m_meReportSummary
a summary report
Definition: L1TEventInfoClient.h:120
L1TEventInfoClient::initialize
void initialize()
private methods
Definition: L1TEventInfoClient.cc:64
L1TEventInfoClient::m_reportSummary
Float_t m_reportSummary
summary report
Definition: L1TEventInfoClient.h:115
L1TEventInfoClient::readQtResults
void readQtResults(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
read quality test results
Definition: L1TEventInfoClient.cc:384
L1TEventInfoClient::m_objectQualityTestHist
std::vector< std::vector< std::string > > m_objectQualityTestHist
Definition: L1TEventInfoClient.h:110
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1TEventInfoClient::m_monitorDir
std::string m_monitorDir
Definition: L1TEventInfoClient.h:61
dqm::impl::MonitorElement::getQReport
const MonitorElementData::QReport * getQReport(const std::string &qtname) const
get QReport corresponding to <qtname> (null pointer if QReport does not exist)
Definition: MonitorElement.cc:481
L1TEventInfoClient::m_l1Objects
std::vector< edm::ParameterSet > m_l1Objects
Definition: L1TEventInfoClient.h:69
L1TEventInfoClient::dumpContentMonitorElements
void dumpContentMonitorElements(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
dump the content of the monitoring elements defined in this module
Definition: L1TEventInfoClient.cc:229
dqm::qstatus::DISABLED
static const int DISABLED
Definition: MonitorElement.h:48
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
gpuVertexFinder::hist
__shared__ Hist hist
Definition: gpuClusterTracksDBSCAN.h:48
L1TEventInfoClient::m_systemLabel
std::vector< std::string > m_systemLabel
Definition: L1TEventInfoClient.h:97
MonitorElementData::QReport
Definition: MonitorElementCollection.h:55
L1TEventInfoClient::m_disableL1Systems
std::vector< std::string > m_disableL1Systems
Definition: L1TEventInfoClient.h:70
dqm::impl::MonitorElement::setBinLabel
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:771
L1TEventInfoClient::m_runInEndRun
bool m_runInEndRun
Definition: L1TEventInfoClient.h:65
L1TEventInfoClient::m_meReportSummaryMap
MonitorElement * m_meReportSummaryMap
report summary map
Definition: L1TEventInfoClient.h:126
L1TEventInfoClient::m_objectDisable
std::vector< int > m_objectDisable
Definition: L1TEventInfoClient.h:105
L1TEventInfoClient::m_summarySum
Float_t m_summarySum
Definition: L1TEventInfoClient.h:116
MonitorElementData::QReport::getStatus
int getStatus() const
get test status
Definition: MonitorElementCollection.h:100
dqm::impl::MonitorElement::setBinContent
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: MonitorElement.cc:691
L1TEventInfoClient::m_objectQtSummaryEnabled
std::vector< std::vector< unsigned int > > m_objectQtSummaryEnabled
Definition: L1TEventInfoClient.h:111
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
L1TEventInfoClient::m_systemDisable
std::vector< int > m_systemDisable
Definition: L1TEventInfoClient.h:99
dqm::impl::MonitorElement::getName
const std::string & getName() const
get name of ME
Definition: MonitorElement.h:250
dqm::implementation::IGetter::get
virtual MonitorElement * get(std::string const &fullpath) const
Definition: DQMStore.cc:651
MonitorElementData::QReport::getMessage
const std::string & getMessage() const
get message attached to test
Definition: MonitorElementCollection.h:106
dqm::qstatus::INVALID
static const int INVALID
Definition: MonitorElement.h:49
L1TEventInfoClient::m_objectLabel
std::vector< std::string > m_objectLabel
Definition: L1TEventInfoClient.h:106
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
L1TEventInfoClient::m_runInEventLoop
bool m_runInEventLoop
Definition: L1TEventInfoClient.h:63
L1TEventInfoClient::m_disableL1Objects
std::vector< std::string > m_disableL1Objects
Definition: L1TEventInfoClient.h:71
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
L1TEventInfoClient::m_totalNrQtSummaryEnabled
size_t m_totalNrQtSummaryEnabled
Definition: L1TEventInfoClient.h:95
dqm::impl::MonitorElement::setAxisTitle
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:800
L1TEventInfoClient::m_summaryContent
std::vector< int > m_summaryContent
Definition: L1TEventInfoClient.h:117
L1TEventInfoClient::m_verbose
bool m_verbose
input parameters
Definition: L1TEventInfoClient.h:60
L1TEventInfoClient::m_systemQualityTestName
std::vector< std::vector< std::string > > m_systemQualityTestName
Definition: L1TEventInfoClient.h:101