CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes
HcalOnlineHarvesting Class Reference

#include <HcalOnlineHarvesting.h>

Inheritance diagram for HcalOnlineHarvesting:
hcaldqm::DQHarvester DQMEDHarvester hcaldqm::DQModule 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

void beginRun (edm::Run const &, edm::EventSetup const &) override
 
 HcalOnlineHarvesting (edm::ParameterSet const &)
 
 ~HcalOnlineHarvesting () override
 
- Public Member Functions inherited from hcaldqm::DQHarvester
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQHarvester (edm::ParameterSet const &)
 
void dqmBeginLuminosityBlock (DQMStore::IBooker &ib, DQMStore::IGetter &ig, edm::LuminosityBlock const &lb, edm::EventSetup const &es)
 
void dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override
 
void dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DQHarvester () override
 
- 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
 
 EDProducer (const EDProducer &)=delete
 
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
 
const EDProduceroperator= (const EDProducer &)=delete
 
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
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
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 hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule () noexcept(false)
 

Public Attributes

 debug
 
 hcalOnlineHarvesting
 
 mtype
 
 name
 
 ptype
 
 refDigiSize
 
 runkeyName
 
 runkeyVal
 
 subsystem
 

Protected Types

enum  Summary {
  fRaw = 0, fDigi = 1, fReco = 2, fTP = 3,
  fPedestal = 4, nSummary = 5
}
 

Protected Member Functions

void _dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override
 
void _dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) 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)
 

Protected Attributes

hcaldqm::Container2D _cKnownBadChannels_depth
 
hcaldqm::ContainerSingle2D _cTDCCutEfficiency_depth
 
hcaldqm::ContainerSingle1D _cTDCCutEfficiency_ieta
 
int _nBad
 
int _nTotal
 
MonitorElement_reportSummaryMap
 
MonitorElement_runSummary
 
double _thresh_bad_bad
 
std::vector< hcaldqm::ContainerSingle2D_vcSummaryvsLS
 
std::vector< bool > _vmarks
 
std::vector< std::string > _vnames
 
std::vector< hcaldqm::DQClient * > _vsumgen
 
- Protected Attributes inherited from hcaldqm::DQHarvester
const HcalElectronicsMap_emap
 
int _totalLS
 
std::vector< uint32_t > _vcdaqEids
 
std::vector< int > _vCrates
 
std::vector< int > _vFEDs
 
std::vector< uint32_t > _vhashCrates
 
std::vector< uint32_t > _vhashFEDs
 
ContainerXXX< uint32_t > _xQuality
 
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcdhcalChannelQualityToken_
 
edm::ESGetToken< HcalDbService, HcalDbRecordhcalDbServiceToken_
 
edm::ESGetToken< RunInfo, RunInfoRcdrunInfoToken_
 
- Protected Attributes inherited from DQMEDHarvester
DQMStoredqmstore_
 
edm::GetterOfProducts< DQMTokenjobmegetter_
 
edm::EDPutTokenT< DQMTokenjobToken_
 
edm::GetterOfProducts< DQMTokenlumimegetter_
 
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::GetterOfProducts< DQMTokenrunmegetter_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
- Protected Attributes inherited from hcaldqm::DQModule
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
 

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)
 
- Static Public Member Functions inherited from hcaldqm::DQModule
static void fillPSetDescription (edm::ParameterSetDescription &desc)
 

Detailed Description

file: HcalOnlineHarvesting.h Author: VK Date: .. Description: This is DQMEDAnalyzer which is a edm::one module. edm::one enforces that only 1 run is being processed. https://twiki.cern.ch/twiki/bin/view/CMSPublic/FWMultithreadedFrameworkOneModuleInterface - for details.

HcalOnlineHarvesting is responsible for Status Evaluation and Summary Generation. In this step RAW, DIGI, RECO + TP Data Tiers are evaluated and Summary is generated.


Online: There is always a Current Summary - Summary for the Current LS being Evaluated. It might and might not include the information from previous LSs, depending on the Quantity.


Offline: For Offline only Run Summary is being generated. As it is meaningless to have current LS information being delivered. Only Total Summary makes sense

Definition at line 47 of file HcalOnlineHarvesting.h.

Member Enumeration Documentation

◆ Summary

Enumerator
fRaw 
fDigi 
fReco 
fTP 
fPedestal 
nSummary 

Definition at line 60 of file HcalOnlineHarvesting.h.

60 { fRaw = 0, fDigi = 1, fReco = 2, fTP = 3, fPedestal = 4, nSummary = 5 };

Constructor & Destructor Documentation

◆ HcalOnlineHarvesting()

HcalOnlineHarvesting::HcalOnlineHarvesting ( edm::ParameterSet const &  ps)

Definition at line 6 of file HcalOnlineHarvesting.cc.

7  : DQHarvester(ps), _nBad(0), _nTotal(0), _reportSummaryMap(nullptr) {
8  // NOTE: I will leave Run Summary Generators in place
9  // just not triggering on endJob!
10  _vsumgen.resize(nSummary);
11  _vnames.resize(nSummary);
12  _vmarks.resize(nSummary);
13  for (uint32_t i = 0; i < _vmarks.size(); i++)
14  _vmarks[i] = false;
15  _vnames[fRaw] = "RawTask";
16  _vnames[fDigi] = "DigiTask";
17  _vnames[fReco] = "RecHitTask";
18  _vnames[fTP] = "TPTask";
19  _vnames[fPedestal] = "PedestalTask";
20 
21  auto iC = consumesCollector();
22  _vsumgen[fRaw] = new hcaldqm::RawRunSummary("RawRunHarvesting", _vnames[fRaw], ps, iC);
23  _vsumgen[fDigi] = new hcaldqm::DigiRunSummary("DigiRunHarvesting", _vnames[fDigi], ps, iC);
24  _vsumgen[fReco] = new hcaldqm::RecoRunSummary("RecoRunHarvesting", _vnames[fReco], ps, iC);
25  _vsumgen[fTP] = new hcaldqm::TPRunSummary("TPRunHarvesting", _vnames[fTP], ps, iC);
26  _vsumgen[fPedestal] = new hcaldqm::PedestalRunSummary("PedestalRunHarvesting", _vnames[fPedestal], ps, iC);
27 
28  _thresh_bad_bad = ps.getUntrackedParameter("thresh_bad_bad", 0.05);
29 }

References _thresh_bad_bad, _vmarks, _vnames, _vsumgen, edm::EDConsumerBase::consumesCollector(), fDigi, fPedestal, fRaw, fReco, fTP, edm::ParameterSet::getUntrackedParameter(), mps_fire::i, and nSummary.

◆ ~HcalOnlineHarvesting()

HcalOnlineHarvesting::~HcalOnlineHarvesting ( )
inlineoverride

Definition at line 50 of file HcalOnlineHarvesting.h.

50 {}

Member Function Documentation

◆ _dqmEndJob()

void HcalOnlineHarvesting::_dqmEndJob ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
overrideprotectedvirtual

Implements hcaldqm::DQHarvester.

Definition at line 163 of file HcalOnlineHarvesting.cc.

163 {}

◆ _dqmEndLuminosityBlock()

void HcalOnlineHarvesting::_dqmEndLuminosityBlock ( DQMStore::IBooker ib,
DQMStore::IGetter ig,
edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements hcaldqm::DQHarvester.

Definition at line 37 of file HcalOnlineHarvesting.cc.

40  {
41  // DETERMINE WHICH MODULES ARE PRESENT IN DATA
42  if (ig.get(_subsystem + "/" + _vnames[fRaw] + "/EventsTotal") != nullptr)
43  _vmarks[fRaw] = true;
44  if (ig.get(_subsystem + "/" + _vnames[fDigi] + "/EventsTotal") != nullptr)
45  _vmarks[fDigi] = true;
46  if (ig.get(_subsystem + "/" + _vnames[fTP] + "/EventsTotal") != nullptr)
47  _vmarks[fTP] = true;
48  if (ig.get(_subsystem + "/" + _vnames[fReco] + "/EventsTotal") != nullptr)
49  _vmarks[fReco] = true;
50  if (ig.get(_subsystem + "/" + _vnames[fPedestal] + "/EventsTotal") != nullptr)
51  _vmarks[fPedestal] = true;
52 
53  // CREATE SUMMARY REPORT MAP FED vs LS and LOAD MODULE'S SUMMARIES
54  // NOTE: THIS STATEMENTS WILL BE EXECUTED ONLY ONCE!
55  if (!_reportSummaryMap) {
56  ig.setCurrentFolder(_subsystem + "/EventInfo");
58  ib.book2D("reportSummaryMap", "reportSummaryMap", _maxLS, 1, _maxLS + 1, _vFEDs.size(), 0, _vFEDs.size());
59  for (uint32_t i = 0; i < _vFEDs.size(); i++) {
60  char name[5];
61  sprintf(name, "%d", _vFEDs[i]);
63  }
64  // set LS bit to mark Xaxis as LS axis
66 
67  // INITIALIZE ALL THE MODULES
68  for (uint32_t i = 0; i < _vnames.size(); i++)
70  "SummaryvsLS",
74 
75  // LOAD ONLY THOSE MODULES THAT ARE PRESENT IN DATA
76  for (uint32_t i = 0; i < _vmarks.size(); i++) {
77  if (_vmarks[i])
78  _vcSummaryvsLS[i].load(ig, _subsystem);
79  }
80 
81  // Create a map of bad channels and fill
83  "KnownBadChannels",
88  0);
90  for (uintCompactMap::const_iterator it = _xQuality.begin(); it != _xQuality.end(); ++it)
92 
93  ig.setCurrentFolder(_subsystem + "/EventInfo");
94  _runSummary = ib.book2D("runSummary", "runSummary", 1, 0, 1, 1, 0, 1);
95  }
96 
97  int ifed = 0;
99  if (_ptype != fOffline) { // hidefed2crate
100  for (std::vector<uint32_t>::const_iterator it = _vhashFEDs.begin(); it != _vhashFEDs.end(); ++it) {
101  HcalElectronicsId eid(*it);
103  for (uint32_t im = 0; im < _vmarks.size(); im++)
104  if (_vmarks[im]) {
105  int x = _vcSummaryvsLS[im].getBinContent(eid, _currentLS);
107  fSum += flag;
108  }
109  _reportSummaryMap->setBinContent(_currentLS, ifed + 1, int(fSum._state));
110  ifed++;
111  fTotal += fSum;
112  }
113  }
114 
115  // update the Run Summary
116  // ^^^TEMPORARY AT THIS POINT!
117  if (fTotal._state == hcaldqm::flag::fBAD)
118  _nBad++;
119  _nTotal++;
120  if (double(_nBad) / double(_nTotal) >= _thresh_bad_bad)
122  else if (fTotal._state == hcaldqm::flag::fNCDAQ)
124  else
126 
127  // HF TDC TP efficiency
128  if (_vmarks[fTP]) {
129  MonitorElement* meOccupancy_HF_depth = ig.get("Hcal/TPTask/OccupancyDataHF_depth/OccupancyDataHF_depth");
130  MonitorElement* meOccupancyNoTDC_HF_depth =
131  ig.get("Hcal/TPTask/OccupancyEmulHFNoTDC_depth/OccupancyEmulHFNoTDC_depth");
132  MonitorElement* meOccupancy_HF_ieta = ig.get("Hcal/TPTask/OccupancyDataHF_ieta/OccupancyDataHF_ieta");
133  MonitorElement* meOccupancyNoTDC_HF_ieta =
134  ig.get("Hcal/TPTask/OccupancyEmulHFNoTDC_ieta/OccupancyEmulHFNoTDC_ieta");
135 
136  if (meOccupancy_HF_depth && meOccupancyNoTDC_HF_depth && meOccupancy_HF_ieta && meOccupancyNoTDC_HF_ieta) {
137  TH2F* hOccupancy_HF_depth = meOccupancy_HF_depth->getTH2F();
138  TH2F* hOccupancyNoTDC_HF_depth = meOccupancyNoTDC_HF_depth->getTH2F();
139  TH1D* hOccupancy_HF_ieta = meOccupancy_HF_ieta->getTH1D();
140  TH1D* hOccupancyNoTDC_HF_ieta = meOccupancyNoTDC_HF_ieta->getTH1D();
141 
142  TH2F* hEfficiency_HF_depth = (TH2F*)hOccupancy_HF_depth->Clone();
143  hEfficiency_HF_depth->Divide(hOccupancyNoTDC_HF_depth);
144  TH1D* hEfficiency_HF_ieta = (TH1D*)hOccupancy_HF_ieta->Clone();
145  hEfficiency_HF_ieta->Divide(hOccupancyNoTDC_HF_ieta);
146 
147  ib.setCurrentFolder("Hcal/TPTask");
148 
149  MonitorElement* meEfficiency_HF_depth = ib.book2D("TDCCutEfficiency_depth", hEfficiency_HF_depth);
150  meEfficiency_HF_depth->setEfficiencyFlag();
151  MonitorElement* meEfficiency_HF_ieta = ib.book1DD("TDCCutEfficiency_ieta", hEfficiency_HF_ieta);
152  meEfficiency_HF_ieta->setEfficiencyFlag();
153 
154  delete hEfficiency_HF_depth;
155  delete hEfficiency_HF_ieta;
156  }
157  }
158 }

References _cKnownBadChannels_depth, hcaldqm::DQModule::_currentLS, hcaldqm::DQHarvester::_emap, hcaldqm::DQModule::_maxLS, _nBad, _nTotal, hcaldqm::DQModule::_ptype, _reportSummaryMap, _runSummary, hcaldqm::flag::Flag::_state, hcaldqm::DQModule::_subsystem, _thresh_bad_bad, _vcSummaryvsLS, hcaldqm::DQHarvester::_vFEDs, hcaldqm::DQHarvester::_vhashFEDs, _vmarks, _vnames, hcaldqm::DQHarvester::_xQuality, hcaldqm::ContainerXXX< STDTYPE >::begin(), hcaldqm::constants::BIT_AXIS_LS, hcaldqm::constants::BIT_OFFSET, hcaldqm::Container2D::book(), runTauDisplay::eid, hcaldqm::ContainerXXX< STDTYPE >::end(), hcaldqm::flag::fBAD, hcaldqm::hashfunctions::fdepth, fDigi, hcaldqm::flag::fGOOD, hcaldqm::quantity::fieta, hcaldqm::Container2D::fill(), hcaldqm::quantity::fiphi, RemoveAddSevLevel::flag, hcaldqm::quantity::fN, hcaldqm::flag::fNCDAQ, hcaldqm::fOffline, fPedestal, fRaw, fReco, hcaldqm::quantity::fState, fTP, dqm::implementation::IGetter::get(), dqm::legacy::MonitorElement::getTH1(), dqm::legacy::MonitorElement::getTH1D(), dqm::legacy::MonitorElement::getTH2F(), mps_fire::i, cuy::ib, hcaldqm::Container2D::initialize(), name, dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), and dqm::impl::MonitorElement::setEfficiencyFlag().

◆ beginRun()

void HcalOnlineHarvesting::beginRun ( edm::Run const &  r,
edm::EventSetup const &  es 
)
override

Definition at line 31 of file HcalOnlineHarvesting.cc.

31  {
32  DQHarvester::beginRun(r, es);
33  for (std::vector<DQClient*>::const_iterator it = _vsumgen.begin(); it != _vsumgen.end(); ++it)
34  (*it)->beginRun(r, es);
35 }

References _vsumgen, and alignCSCRings::r.

Member Data Documentation

◆ _cKnownBadChannels_depth

hcaldqm::Container2D HcalOnlineHarvesting::_cKnownBadChannels_depth
protected

Definition at line 77 of file HcalOnlineHarvesting.h.

Referenced by _dqmEndLuminosityBlock().

◆ _cTDCCutEfficiency_depth

hcaldqm::ContainerSingle2D HcalOnlineHarvesting::_cTDCCutEfficiency_depth
protected

Definition at line 84 of file HcalOnlineHarvesting.h.

◆ _cTDCCutEfficiency_ieta

hcaldqm::ContainerSingle1D HcalOnlineHarvesting::_cTDCCutEfficiency_ieta
protected

Definition at line 85 of file HcalOnlineHarvesting.h.

◆ _nBad

int HcalOnlineHarvesting::_nBad
protected

Definition at line 71 of file HcalOnlineHarvesting.h.

Referenced by _dqmEndLuminosityBlock().

◆ _nTotal

int HcalOnlineHarvesting::_nTotal
protected

Definition at line 72 of file HcalOnlineHarvesting.h.

Referenced by _dqmEndLuminosityBlock().

◆ _reportSummaryMap

MonitorElement* HcalOnlineHarvesting::_reportSummaryMap
protected

Definition at line 80 of file HcalOnlineHarvesting.h.

Referenced by _dqmEndLuminosityBlock().

◆ _runSummary

MonitorElement* HcalOnlineHarvesting::_runSummary
protected

Definition at line 81 of file HcalOnlineHarvesting.h.

Referenced by _dqmEndLuminosityBlock().

◆ _thresh_bad_bad

double HcalOnlineHarvesting::_thresh_bad_bad
protected

Definition at line 68 of file HcalOnlineHarvesting.h.

Referenced by _dqmEndLuminosityBlock(), and HcalOnlineHarvesting().

◆ _vcSummaryvsLS

std::vector<hcaldqm::ContainerSingle2D> HcalOnlineHarvesting::_vcSummaryvsLS
protected

Definition at line 75 of file HcalOnlineHarvesting.h.

Referenced by _dqmEndLuminosityBlock().

◆ _vmarks

std::vector<bool> HcalOnlineHarvesting::_vmarks
protected

Definition at line 63 of file HcalOnlineHarvesting.h.

Referenced by _dqmEndLuminosityBlock(), and HcalOnlineHarvesting().

◆ _vnames

std::vector<std::string> HcalOnlineHarvesting::_vnames
protected

Definition at line 65 of file HcalOnlineHarvesting.h.

Referenced by _dqmEndLuminosityBlock(), and HcalOnlineHarvesting().

◆ _vsumgen

std::vector<hcaldqm::DQClient *> HcalOnlineHarvesting::_vsumgen
protected

Definition at line 64 of file HcalOnlineHarvesting.h.

Referenced by beginRun(), and HcalOnlineHarvesting().

◆ debug

HcalOnlineHarvesting.debug

◆ hcalOnlineHarvesting

HcalOnlineHarvesting.hcalOnlineHarvesting

Definition at line 5 of file HcalOnlineHarvesting.py.

◆ mtype

HcalOnlineHarvesting.mtype

Definition at line 13 of file HcalOnlineHarvesting.py.

◆ name

HcalOnlineHarvesting.name

Definition at line 8 of file HcalOnlineHarvesting.py.

Referenced by ElectronMVAID.ElectronMVAID.__call__(), FWLite.ElectronMVAID.__call__(), dirstructure.Directory.__create_pie_image(), DisplayManager.DisplayManager.__del__(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dirstructure.Comparison.__make_image(), core.autovars.NTupleVariable.__repr__(), core.autovars.NTupleObjectType.__repr__(), core.autovars.NTupleObject.__repr__(), core.autovars.NTupleCollection.__repr__(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), config.Service.__setattr__(), config.CFG.__str__(), counter.Counter.__str__(), average.Average.__str__(), _dqmEndLuminosityBlock(), FWLite.WorkingPoints._reformat_cut_definitions(), core.autovars.NTupleObjectType.addSubObjects(), core.autovars.NTupleObjectType.addVariables(), core.autovars.NTupleObjectType.allVars(), dataset.CMSDataset.buildListOfFiles(), dataset.LocalDataset.buildListOfFiles(), dataset.CMSDataset.buildListOfFilesDBS(), dirstructure.Directory.calcStats(), validation.Sample.digest(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), DisplayManager.DisplayManager.Draw(), TreeCrawler.Package.dump(), core.autovars.NTupleVariable.fillBranch(), core.autovars.NTupleObject.fillBranches(), core.autovars.NTupleCollection.fillBranchesScalar(), core.autovars.NTupleCollection.fillBranchesVector(), core.autovars.NTupleCollection.get_cpp_declaration(), core.autovars.NTupleCollection.get_cpp_wrapper_class(), core.autovars.NTupleCollection.get_py_wrapper_class(), utils.StatisticalTest.get_status(), production_tasks.Task.getname(), dataset.CMSDataset.getPrimaryDatasetEntries(), dataset.PrivateDataset.getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase.initialize(), personalPlayback.Applet.log(), core.autovars.NTupleVariable.makeBranch(), core.autovars.NTupleObject.makeBranches(), core.autovars.NTupleCollection.makeBranchesScalar(), core.autovars.NTupleCollection.makeBranchesVector(), dirstructure.Directory.print_report(), dataset.BaseDataset.printInfo(), dataset.Dataset.printInfo(), production_tasks.MonitorJobs.run(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), counter.Counter.write(), and average.Average.write().

◆ ptype

HcalOnlineHarvesting.ptype

Definition at line 12 of file HcalOnlineHarvesting.py.

◆ refDigiSize

HcalOnlineHarvesting.refDigiSize

Definition at line 15 of file HcalOnlineHarvesting.py.

◆ runkeyName

HcalOnlineHarvesting.runkeyName

Definition at line 11 of file HcalOnlineHarvesting.py.

◆ runkeyVal

HcalOnlineHarvesting.runkeyVal

Definition at line 10 of file HcalOnlineHarvesting.py.

◆ subsystem

HcalOnlineHarvesting.subsystem

Definition at line 14 of file HcalOnlineHarvesting.py.

hcaldqm::flag::Flag
Definition: Flag.h:24
hcaldqm::quantity::FEDQuantity
Definition: ElectronicsQuantity.h:356
mps_fire.i
i
Definition: mps_fire.py:428
hcaldqm::Container2D::initialize
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: Container2D.cc:25
HcalOnlineHarvesting.name
name
Definition: HcalOnlineHarvesting.py:8
hcaldqm::flag::State
State
Definition: Flag.h:13
HcalOnlineHarvesting::fDigi
Definition: HcalOnlineHarvesting.h:60
hcaldqm::quantity::ValueQuantity
Definition: ValueQuantity.h:319
hcaldqm::DQHarvester::_emap
const HcalElectronicsMap * _emap
Definition: DQHarvester.h:35
hcaldqm::DQHarvester::_vFEDs
std::vector< int > _vFEDs
Definition: DQHarvester.h:45
hcaldqm::flag::fGOOD
Definition: Flag.h:17
dqm::impl::MonitorElement::setEfficiencyFlag
void setEfficiencyFlag()
Definition: MonitorElement.h:267
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
edm::EDConsumerBase::consumesCollector
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
Definition: EDConsumerBase.cc:47
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
DDAxes::x
HcalOnlineHarvesting::_cKnownBadChannels_depth
hcaldqm::Container2D _cKnownBadChannels_depth
Definition: HcalOnlineHarvesting.h:77
hcaldqm::ContainerSingle2D
Definition: ContainerSingle2D.h:20
hcaldqm::constants::BIT_OFFSET
const int BIT_OFFSET
Definition: Constants.h:282
hcaldqm::DQModule::_ptype
ProcessingType _ptype
Definition: DQModule.h:44
hcaldqm::flag::fBAD
Definition: Flag.h:19
HcalOnlineHarvesting::nSummary
Definition: HcalOnlineHarvesting.h:60
hcaldqm::hashfunctions::fdepth
Definition: HashFunctions.h:140
hcaldqm::DQHarvester::_vhashFEDs
std::vector< uint32_t > _vhashFEDs
Definition: DQHarvester.h:46
hcaldqm::RawRunSummary
Definition: RawRunSummary.h:8
HcalOnlineHarvesting::fReco
Definition: HcalOnlineHarvesting.h:60
HcalOnlineHarvesting::_nBad
int _nBad
Definition: HcalOnlineHarvesting.h:71
HcalOnlineHarvesting::_reportSummaryMap
MonitorElement * _reportSummaryMap
Definition: HcalOnlineHarvesting.h:80
hcaldqm::DQHarvester::DQHarvester
DQHarvester(edm::ParameterSet const &)
Definition: DQHarvester.cc:7
hcaldqm::ContainerXXX::begin
virtual CompactMap::const_iterator begin()
Definition: ContainerXXX.h:69
hcaldqm::quantity::fieta
Definition: DetectorQuantity.h:15
hcaldqm::quantity::fiphi
Definition: DetectorQuantity.h:14
hcaldqm::DQModule::_currentLS
int _currentLS
Definition: DQModule.h:53
hcaldqm::ContainerXXX::end
virtual CompactMap::const_iterator end()
Definition: ContainerXXX.h:70
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
HcalOnlineHarvesting::_vcSummaryvsLS
std::vector< hcaldqm::ContainerSingle2D > _vcSummaryvsLS
Definition: HcalOnlineHarvesting.h:75
dqm::legacy::MonitorElement::getTH1D
virtual TH1D * getTH1D() const
Definition: MonitorElement.h:487
hcaldqm::quantity::DetectorQuantity
Definition: DetectorQuantity.h:59
dqm::legacy::MonitorElement::getTH1
virtual TH1 * getTH1() const
Definition: MonitorElement.h:475
hcaldqm::DigiRunSummary
Definition: DigiRunSummary.h:9
hcaldqm::quantity::fN
Definition: ValueQuantity.h:11
HcalOnlineHarvesting::fPedestal
Definition: HcalOnlineHarvesting.h:60
hcaldqm::PedestalRunSummary
Definition: PedestalRunSummary.h:8
hcaldqm::Container2D::book
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:567
hcaldqm::Container2D::fill
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
HcalOnlineHarvesting::_nTotal
int _nTotal
Definition: HcalOnlineHarvesting.h:72
HcalDetId
Definition: HcalDetId.h:12
runTauDisplay.eid
eid
Definition: runTauDisplay.py:298
hcaldqm::constants::BIT_AXIS_LS
const int BIT_AXIS_LS
Definition: Constants.h:286
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:762
HcalOnlineHarvesting::_vmarks
std::vector< bool > _vmarks
Definition: HcalOnlineHarvesting.h:63
HcalOnlineHarvesting::fTP
Definition: HcalOnlineHarvesting.h:60
cuy.ib
ib
Definition: cuy.py:661
hcaldqm::DQModule::_subsystem
std::string _subsystem
Definition: DQModule.h:49
alignCSCRings.r
r
Definition: alignCSCRings.py:93
hcaldqm::DQModule::_maxLS
int _maxLS
Definition: DQModule.h:54
hcaldqm::DQHarvester::_xQuality
ContainerXXX< uint32_t > _xQuality
Definition: DQHarvester.h:48
dqm::impl::MonitorElement::setBinContent
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: MonitorElement.cc:682
dqm::implementation::IGetter::get
virtual MonitorElement * get(std::string const &fullpath) const
Definition: DQMStore.cc:673
hcaldqm::TPRunSummary
Definition: TPRunSummary.h:8
HcalOnlineHarvesting::_thresh_bad_bad
double _thresh_bad_bad
Definition: HcalOnlineHarvesting.h:68
HcalOnlineHarvesting::_runSummary
MonitorElement * _runSummary
Definition: HcalOnlineHarvesting.h:81
hcaldqm::flag::fNCDAQ
Definition: Flag.h:15
hcaldqm::quantity::fState
Definition: ValueQuantity.h:49
HcalOnlineHarvesting::_vsumgen
std::vector< hcaldqm::DQClient * > _vsumgen
Definition: HcalOnlineHarvesting.h:64
hcaldqm::RecoRunSummary
Definition: RecoRunSummary.h:8
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:117
HcalOnlineHarvesting::_vnames
std::vector< std::string > _vnames
Definition: HcalOnlineHarvesting.h:65
HcalOnlineHarvesting::fRaw
Definition: HcalOnlineHarvesting.h:60
hcaldqm::fOffline
Definition: DQModule.h:26
dqm::legacy::MonitorElement::getTH2F
virtual TH2F * getTH2F() const
Definition: MonitorElement.h:491
hcaldqm::quantity::LumiSection
Definition: ValueQuantity.h:400