CMS 3D CMS Logo

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

#include <DigiRunSummary.h>

Inheritance diagram for hcaldqm::DigiRunSummary:
hcaldqm::DQClient hcaldqm::DQModule

Public Member Functions

void beginRun (edm::Run const &, edm::EventSetup const &) override
 
 DigiRunSummary (std::string const &, std::string const &, edm::ParameterSet const &)
 
std::vector< flag::FlagendJob (DQMStore::IBooker &, DQMStore::IGetter &) override
 
void endLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DigiRunSummary () override
 
- Public Member Functions inherited from hcaldqm::DQClient
virtual void beginLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &lb, edm::EventSetup const &)
 
 DQClient (std::string const &, std::string const &, edm::ParameterSet const &)
 
 ~DQClient () override
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule () noexcept(false)
 

Protected Types

enum  DigiLSFlag {
  fDigiSize = 0, fNChsHF = 1, fUnknownIds = 2, fLED = 3,
  nLSFlags = 4, fUniHF = 5, fDead = 6, nDigiFlag = 7
}
 

Protected Attributes

bool _booked
 
Container2D _cOccupancy_depth
 
electronicsmap::ElectronicsMap _ehashmap
 
filter::HashFilter _filter_FEDHF
 
filter::HashFilter _filter_uTCA
 
filter::HashFilter _filter_VME
 
MonitorElement_meNumEvents
 
std::map< HcalSubdetector, uint32_t > _refDigiSize
 
double _thresh_unihf
 
std::vector< int > _vFEDsuTCA
 
std::vector< int > _vFEDsVME
 
std::vector< LSSummary_vflagsLS
 
std::vector< uint32_t > _vhashFEDHF
 
std::vector< uint32_t > _vhashuTCA
 
std::vector< uint32_t > _vhashVME
 
ContainerXXX< uint32_t > _xDead
 
ContainerXXX< uint32_t > _xDigiSize
 
ContainerXXX< uint32_t > _xNChs
 
ContainerXXX< uint32_t > _xNChsNominal
 
ContainerXXX< uint32_t > _xUni
 
ContainerXXX< uint32_t > _xUniHF
 
- Protected Attributes inherited from hcaldqm::DQClient
const HcalElectronicsMap_emap
 
int _maxProcessedLS
 
std::string _taskname
 
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
 
- 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 hcaldqm::DQClient
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Detailed Description

Definition at line 9 of file DigiRunSummary.h.

Member Enumeration Documentation

◆ DigiLSFlag

Enumerator
fDigiSize 
fNChsHF 
fUnknownIds 
fLED 
nLSFlags 
fUniHF 
fDead 
nDigiFlag 

Definition at line 41 of file DigiRunSummary.h.

41  {
42  fDigiSize = 0,
43  fNChsHF = 1,
44  fUnknownIds = 2,
45  fLED = 3,
46  nLSFlags = 4, // defines the boundary between lumi-based and run-based flags
47  fUniHF = 5,
48  fDead = 6,
49  nDigiFlag = 7
50  };

Constructor & Destructor Documentation

◆ DigiRunSummary()

hcaldqm::DigiRunSummary::DigiRunSummary ( std::string const &  name,
std::string const &  taskname,
edm::ParameterSet const &  ps 
)

Definition at line 6 of file DigiRunSummary.cc.

7  : DQClient(name, taskname, ps), _booked(false) {
8  _thresh_unihf = ps.getUntrackedParameter<double>("thresh_unihf", 0.2);
9 
10  std::vector<uint32_t> vrefDigiSize = ps.getUntrackedParameter<std::vector<uint32_t>>("refDigiSize");
11  _refDigiSize[HcalBarrel] = vrefDigiSize[0];
12  _refDigiSize[HcalEndcap] = vrefDigiSize[1];
13  _refDigiSize[HcalOuter] = vrefDigiSize[2];
14  _refDigiSize[HcalForward] = vrefDigiSize[3];
15  }

References _refDigiSize, _thresh_unihf, edm::ParameterSet::getUntrackedParameter(), HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.

◆ ~DigiRunSummary()

hcaldqm::DigiRunSummary::~DigiRunSummary ( )
inlineoverride

Definition at line 12 of file DigiRunSummary.h.

12 {}

Member Function Documentation

◆ beginRun()

void hcaldqm::DigiRunSummary::beginRun ( edm::Run const &  r,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQClient.

Definition at line 17 of file DigiRunSummary.cc.

17  {
18  DQClient::beginRun(r, es);
19 
20  if (_ptype != fOffline)
21  return;
22 
23  // INITIALIZE WHAT NEEDS TO BE INITIALIZE ONLY ONCE!
25  _vhashVME.push_back(
29  _vhashVME); // filter out VME
31  _vhashuTCA); // filter out uTCA
35  _vhashFEDHF.push_back(HcalElectronicsId(22, SLOT_uTCA_MIN + 6, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
36  _vhashFEDHF.push_back(HcalElectronicsId(29, SLOT_uTCA_MIN + 6, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
37  _vhashFEDHF.push_back(HcalElectronicsId(32, SLOT_uTCA_MIN + 6, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
39  _vhashFEDHF); // preserve only HF FEDs
40 
45 
46  _xDead.book(_emap);
52  _xNChs.book(_emap);
54 
56  "Occupancy",
58  new quantity::DetectorQuantity(quantity::fieta),
59  new quantity::DetectorQuantity(quantity::fiphi),
60  new quantity::ValueQuantity(quantity::fN),
61  0);
62 
63  // GET THE NOMINAL NUMBER OF CHANNELS PER FED
64  std::vector<HcalGenericDetId> gids = _emap->allPrecisionId();
65  for (std::vector<HcalGenericDetId>::const_iterator it = gids.begin(); it != gids.end(); ++it) {
66  if (!it->isHcalDetId())
67  continue;
68  HcalDetId did(it->rawId());
71  }
72  }

References _cOccupancy_depth, _ehashmap, hcaldqm::DQClient::_emap, _filter_FEDHF, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, _vhashFEDHF, _vhashuTCA, _vhashVME, _xDead, _xDigiSize, _xNChs, _xNChsNominal, _xUni, _xUniHF, HcalElectronicsMap::allPrecisionId(), hcaldqm::DQClient::beginRun(), hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, runTauDisplay::eid, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fdepth, hcaldqm::hashfunctions::fElectronics, hcaldqm::hashfunctions::fFED, hcaldqm::hashfunctions::fFEDSlot, hcaldqm::filter::fFilter, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::quantity::fieta, hcaldqm::quantity::fiphi, hcaldqm::quantity::fN, hcaldqm::fOffline, hcaldqm::filter::fPreserver, hcaldqm::ContainerXXX< STDTYPE >::get(), hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), alignCSCRings::r, hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

◆ endJob()

std::vector< flag::Flag > hcaldqm::DigiRunSummary::endJob ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
overridevirtual

Reimplemented from hcaldqm::DQClient.

Definition at line 215 of file DigiRunSummary.cc.

215  {
216  if (_ptype != fOffline)
217  return std::vector<flag::Flag>();
218 
219  _xDead.reset();
220  _xUniHF.reset();
221  _xUni.reset();
222 
223  // PREPARE LS AND RUN BASED FLAGS TO USE IT FOR BOOKING
224  std::vector<flag::Flag> vflagsPerLS;
225  std::vector<flag::Flag> vflagsPerRun;
226  vflagsPerLS.resize(nLSFlags);
227  vflagsPerRun.resize(nDigiFlag - nLSFlags + 1);
228  vflagsPerLS[fDigiSize] = flag::Flag("DigiSize");
229  vflagsPerLS[fNChsHF] = flag::Flag("NChsHF");
230  vflagsPerLS[fUnknownIds] = flag::Flag("UnknownIds");
231  vflagsPerLS[fLED] = flag::Flag("LEDMisfire");
232  vflagsPerRun[fDigiSize] = flag::Flag("DigiSize");
233  vflagsPerRun[fNChsHF] = flag::Flag("NChsHF");
234  vflagsPerRun[fUniHF - nLSFlags + 1] = flag::Flag("UniSlotHF");
235  vflagsPerRun[fDead - nLSFlags + 1] = flag::Flag("Dead");
236 
237  // INITIALIZE SUMMARY CONTAINERS
238  ContainerSingle2D cSummaryvsLS;
239  Container2D cSummaryvsLS_Crate;
240  cSummaryvsLS.initialize(_name,
241  "SummaryvsLS",
242  new quantity::LumiSection(_maxProcessedLS),
243  new quantity::CrateQuantity(_emap),
244  new quantity::ValueQuantity(quantity::fState),
245  0);
246  cSummaryvsLS.book(ib, _subsystem);
247  cSummaryvsLS_Crate.initialize(_name,
248  "SummaryvsLS",
250  new quantity::LumiSection(_maxProcessedLS),
251  new quantity::FlagQuantity(vflagsPerLS),
252  new quantity::ValueQuantity(quantity::fState),
253  0);
254  cSummaryvsLS_Crate.book(ib, _emap, _subsystem);
255 
256  // INITIALIZE CONTAINERS WE NEED TO LOAD or BOOK
257  Container2D cOccupancyCut_depth;
258  Container2D cDead_depth, cDead_Crate;
259  cOccupancyCut_depth.initialize(_taskname,
260  "OccupancyCut",
262  new quantity::DetectorQuantity(quantity::fieta),
263  new quantity::DetectorQuantity(quantity::fiphi),
264  new quantity::ValueQuantity(quantity::fN),
265  0);
266  cDead_depth.initialize(_name,
267  "Dead",
269  new quantity::DetectorQuantity(quantity::fieta),
270  new quantity::DetectorQuantity(quantity::fiphi),
271  new quantity::ValueQuantity(quantity::fN),
272  0);
273  cDead_Crate.initialize(_name,
274  "Dead",
276  new quantity::ElectronicsQuantity(quantity::fSpigot),
277  new quantity::ElectronicsQuantity(quantity::fFiberVMEFiberCh),
278  new quantity::ValueQuantity(quantity::fN),
279  0);
280 
281  // LOAD
282  cOccupancyCut_depth.load(ig, _emap, _subsystem);
283  cDead_depth.book(ib, _emap, _subsystem);
284  cDead_Crate.book(ib, _emap, _subsystem);
285 
286  // ANALYZE RUN BASED QUANTITIES
287  std::vector<HcalGenericDetId> gids = _emap->allPrecisionId();
288  for (std::vector<HcalGenericDetId>::const_iterator it = gids.begin(); it != gids.end(); ++it) {
289  if (!it->isHcalDetId())
290  continue;
291 
292  HcalDetId did = HcalDetId(it->rawId());
294 
295  if (_cOccupancy_depth.getBinContent(did) < 1) {
296  _xDead.get(eid)++;
297  cDead_depth.fill(did);
298  cDead_Crate.fill(eid);
299  }
300  if (did.subdet() == HcalForward)
301  _xUniHF.get(eid) += cOccupancyCut_depth.getBinContent(did);
302  }
303  // ANALYZE FOR HF SLOT UNIFORMITY
304  for (uintCompactMap::const_iterator it = _xUniHF.begin(); it != _xUniHF.end(); ++it) {
305  uint32_t hash1 = it->first;
306  HcalElectronicsId eid1(hash1);
307  double x1 = it->second;
308 
309  for (uintCompactMap::const_iterator jt = _xUniHF.begin(); jt != _xUniHF.end(); ++jt) {
310  if (jt == it)
311  continue;
312 
313  double x2 = jt->second;
314  if (x2 == 0)
315  continue;
316  if (x1 / x2 < _thresh_unihf)
317  _xUni.get(eid1)++;
318  }
319  }
320 
321  /*
322  * Iterate over each crate
323  * Iterate over each LS Summary
324  * Iterate over all flags
325  * set...
326  */
327  // iterate over all crates
328  std::vector<flag::Flag> sumflags;
329  int icrate = 0;
330  for (auto& it_crate : _vhashCrates) {
331  flag::Flag fSumRun("DIGI"); // summary flag for this FED
332  flag::Flag ffDead("Dead");
333  flag::Flag ffUniSlotHF("UniSlotHF");
334  HcalElectronicsId eid(it_crate);
336 
337  // ITERATE OVER EACH LS
338  for (std::vector<LSSummary>::const_iterator itls = _vflagsLS.begin(); itls != _vflagsLS.end(); ++itls) {
339  int iflag = 0;
340  flag::Flag fSumLS("DIGI");
341  for (std::vector<flag::Flag>::const_iterator ft = itls->_vflags[icrate].begin();
342  ft != itls->_vflags[icrate].end();
343  ++ft) {
344  cSummaryvsLS_Crate.setBinContent(eid, itls->_LS, int(iflag), ft->_state);
345  fSumLS += (*ft);
346  iflag++;
347  }
348  cSummaryvsLS.setBinContent(eid, itls->_LS, fSumLS._state);
349  fSumRun += fSumLS;
350  }
351 
352  // EVALUATE RUN BASED FLAGS
353  if (_xDead.get(eid) > 0)
354  ffDead._state = flag::fBAD;
355  else
356  ffDead._state = flag::fGOOD;
357  if (did.subdet() == HcalForward) {
358  if (_xUni.get(eid) > 0)
359  ffUniSlotHF._state = flag::fBAD;
360  else
361  ffUniSlotHF._state = flag::fGOOD;
362  }
363  fSumRun += ffDead + ffUniSlotHF;
364 
365  // push the summary flag for this FED for the Whole Run
366  sumflags.push_back(fSumRun);
367 
368  // increment fed
369  icrate++;
370  }
371 
372  return sumflags;
373  }

References _cOccupancy_depth, _ehashmap, hcaldqm::DQClient::_emap, hcaldqm::DQClient::_maxProcessedLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::flag::Flag::_state, hcaldqm::DQModule::_subsystem, hcaldqm::DQClient::_taskname, _thresh_unihf, _vflagsLS, hcaldqm::DQClient::_vhashCrates, _xDead, _xUni, _xUniHF, HcalElectronicsMap::allPrecisionId(), hcaldqm::ContainerXXX< STDTYPE >::begin(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), runTauDisplay::eid, hcaldqm::ContainerXXX< STDTYPE >::end(), hcaldqm::flag::fBAD, hcaldqm::hashfunctions::fCrate, fDead, hcaldqm::hashfunctions::fdepth, fDigiSize, hcaldqm::quantity::fFiberVMEFiberCh, hcaldqm::flag::fGOOD, hcaldqm::quantity::fieta, hcaldqm::Container2D::fill(), hcaldqm::quantity::fiphi, nanoDQM_cff::Flag, fLED, hcaldqm::quantity::fN, fNChsHF, hcaldqm::fOffline, hcaldqm::quantity::fSpigot, hcaldqm::quantity::fState, fUniHF, fUnknownIds, hcaldqm::ContainerXXX< STDTYPE >::get(), hcaldqm::Container2D::getBinContent(), HcalForward, cuy::ib, if(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::Container1D::load(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), HcalElectronicsMap::lookup(), nDigiFlag, nLSFlags, hcaldqm::ContainerXXX< STDTYPE >::reset(), hcaldqm::ContainerSingle2D::setBinContent(), hcaldqm::Container2D::setBinContent(), HcalDetId::subdet(), testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::x2.

◆ endLuminosityBlock()

void hcaldqm::DigiRunSummary::endLuminosityBlock ( DQMStore::IBooker ib,
DQMStore::IGetter ig,
edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQClient.

Definition at line 77 of file DigiRunSummary.cc.

80  {
81  DQClient::endLuminosityBlock(ib, ig, lb, es);
82 
83  if (_ptype != fOffline)
84  return;
85 
86  LSSummary lssum;
87  lssum._LS = _currentLS;
88 
89  _xDigiSize.reset();
90  _xNChs.reset();
91 
92  // INITIALIZE LUMI BASED HISTOGRAMS
93  Container2D cDigiSize_Crate, cOccupancy_depth;
94  cDigiSize_Crate.initialize(_taskname,
95  "DigiSize",
97  new quantity::ValueQuantity(quantity::fDigiSize),
98  new quantity::ValueQuantity(quantity::fN),
99  0);
100  cOccupancy_depth.initialize(_taskname,
101  "Occupancy",
103  new quantity::DetectorQuantity(quantity::fieta),
104  new quantity::DetectorQuantity(quantity::fiphi),
105  new quantity::ValueQuantity(quantity::fN),
106  0);
107 
108  // LOAD LUMI BASED HISTOGRAMS
109  cOccupancy_depth.load(ig, _emap, _subsystem);
110  cDigiSize_Crate.load(ig, _emap, _subsystem);
111  MonitorElement* meNumEvents = ig.get(_subsystem + "/RunInfo/NumberOfEvents");
112  int numEvents = meNumEvents->getBinContent(1);
113  bool unknownIdsPresent = ig.get(_subsystem + "/" + _taskname + "/UnknownIds")->getBinContent(1) > 0;
114 
115  // book the Numer of Events - set axis extendable
116  if (!_booked) {
117  ib.setCurrentFolder(_subsystem + "/" + _taskname);
118  _meNumEvents = ib.book1DD("NumberOfEvents", "NumberOfEvents", 1000, 1, 1001); // 1000 to start with
119  _meNumEvents->getTH1()->SetCanExtend(TH1::kXaxis);
120 
122  _booked = true;
123  }
125 
126  // ANALYZE THIS LS for LS BASED FLAGS
127  std::vector<HcalGenericDetId> gids = _emap->allPrecisionId();
128  for (std::vector<HcalGenericDetId>::const_iterator it = gids.begin(); it != gids.end(); ++it) {
129  if (!it->isHcalDetId())
130  continue;
131 
132  HcalDetId did = HcalDetId(it->rawId());
134 
135  cOccupancy_depth.getBinContent(did) > 0 ? _xNChs.get(eid)++ : _xNChs.get(eid) += 0;
136  _cOccupancy_depth.fill(did, cOccupancy_depth.getBinContent(did));
137  // digi size
138  cDigiSize_Crate.getMean(eid) != _refDigiSize[did.subdet()] ? _xDigiSize.get(eid)++ : _xDigiSize.get(eid) += 0;
139  cDigiSize_Crate.getRMS(eid) != 0 ? _xDigiSize.get(eid)++ : _xDigiSize.get(eid) += 0;
140  }
141 
142  // GENERATE SUMMARY AND STORE IT
143  std::vector<flag::Flag> vtmpflags;
144  vtmpflags.resize(nLSFlags);
145  vtmpflags[fDigiSize] = flag::Flag("DigiSize");
146  vtmpflags[fNChsHF] = flag::Flag("NChsHF");
147  vtmpflags[fUnknownIds] = flag::Flag("UnknownIds");
148  vtmpflags[fLED] = flag::Flag("LEDMisfire");
149  for (std::vector<uint32_t>::const_iterator it = _vhashCrates.begin(); it != _vhashCrates.end(); ++it) {
150  HcalElectronicsId eid(*it);
152 
153  // reset all the tmp flags to fNA
154  // MUST DO IT NOW! AS NCDAQ MIGHT OVERWRITE IT!
155  for (std::vector<flag::Flag>::iterator ft = vtmpflags.begin(); ft != vtmpflags.end(); ++ft)
156  ft->reset();
157 
158  if (_xDigiSize.get(eid) > 0)
159  vtmpflags[fDigiSize]._state = flag::fBAD;
160  else
161  vtmpflags[fDigiSize]._state = flag::fGOOD;
162 
163  if (did.subdet() == HcalForward) {
164  if (_xNChs.get(eid) != _xNChsNominal.get(eid))
165  vtmpflags[fNChsHF]._state = flag::fBAD;
166  else
167  vtmpflags[fNChsHF]._state = flag::fGOOD;
168  } else {
169  vtmpflags[fNChsHF]._state = flag::fNA;
170  }
171  if (unknownIdsPresent)
172  vtmpflags[fUnknownIds]._state = flag::fBAD;
173  else
174  vtmpflags[fUnknownIds]._state = flag::fGOOD;
175 
176  if ((did.subdet() == HcalBarrel) || (did.subdet() == HcalBarrel) || (did.subdet() == HcalBarrel) ||
177  (did.subdet() == HcalBarrel)) {
178  std::string ledHistName = _subsystem + "/" + _taskname + "/LED_CUCountvsLS/Subdet/";
179  if (did.subdet() == HcalBarrel) {
180  ledHistName += "HB";
181  } else if (did.subdet() == HcalEndcap) {
182  ledHistName += "HE";
183  } else if (did.subdet() == HcalOuter) {
184  ledHistName += "HO";
185  } else if (did.subdet() == HcalForward) {
186  ledHistName += "HF";
187  }
188  MonitorElement* ledHist = ig.get(ledHistName);
189  if (ledHist) {
190  bool ledSignalPresent = (ledHist->getEntries() > 0);
191  if (ledSignalPresent)
192  vtmpflags[fLED]._state = flag::fBAD;
193  else
194  vtmpflags[fLED]._state = flag::fGOOD;
195  } else {
196  vtmpflags[fLED]._state = flag::fNA;
197  }
198  } else {
199  vtmpflags[fLED]._state = flag::fNA;
200  }
201 
202  // push all the flags for this crate
203  lssum._vflags.push_back(vtmpflags);
204  }
205 
206  // push all the flags for all FEDs for this LS
207  _vflagsLS.push_back(lssum);
208  cDigiSize_Crate.reset();
209  cOccupancy_depth.reset();
210  }

References _booked, _cOccupancy_depth, hcaldqm::DQModule::_currentLS, _ehashmap, hcaldqm::DQClient::_emap, _meNumEvents, hcaldqm::DQModule::_ptype, _refDigiSize, hcaldqm::DQModule::_subsystem, hcaldqm::DQClient::_taskname, _vflagsLS, hcaldqm::DQClient::_vhashCrates, _xDigiSize, _xNChs, _xNChsNominal, HcalElectronicsMap::allPrecisionId(), hcaldqm::Container2D::book(), runTauDisplay::eid, hcaldqm::DQClient::endLuminosityBlock(), hcaldqm::flag::fBAD, hcaldqm::hashfunctions::fCrate, hcaldqm::hashfunctions::fdepth, hcaldqm::quantity::fDigiSize, fDigiSize, hcaldqm::flag::fGOOD, hcaldqm::quantity::fieta, hcaldqm::Container2D::fill(), hcaldqm::quantity::fiphi, nanoDQM_cff::Flag, fLED, hcaldqm::quantity::fN, hcaldqm::flag::fNA, fNChsHF, hcaldqm::fOffline, fUnknownIds, hcaldqm::ContainerXXX< STDTYPE >::get(), dqm::implementation::IGetter::get(), hcaldqm::Container2D::getBinContent(), dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getEntries(), hcaldqm::Container1D::getMean(), hcaldqm::Container1D::getRMS(), dqm::legacy::MonitorElement::getTH1(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, cuy::ib, hcaldqm::Container2D::initialize(), hcaldqm::Container1D::load(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), HcalElectronicsMap::lookup(), nLSFlags, simpleEdmComparison::numEvents, hcaldqm::ContainerXXX< STDTYPE >::reset(), hcaldqm::Container1D::reset(), dqm::impl::MonitorElement::setBinContent(), AlCaHLTBitMon_QueryRunRegistry::string, and HcalDetId::subdet().

Member Data Documentation

◆ _booked

bool hcaldqm::DigiRunSummary::_booked
protected

Definition at line 33 of file DigiRunSummary.h.

Referenced by endLuminosityBlock().

◆ _cOccupancy_depth

Container2D hcaldqm::DigiRunSummary::_cOccupancy_depth
protected

Definition at line 32 of file DigiRunSummary.h.

Referenced by beginRun(), endJob(), and endLuminosityBlock().

◆ _ehashmap

electronicsmap::ElectronicsMap hcaldqm::DigiRunSummary::_ehashmap
protected

Definition at line 26 of file DigiRunSummary.h.

Referenced by beginRun(), endJob(), and endLuminosityBlock().

◆ _filter_FEDHF

filter::HashFilter hcaldqm::DigiRunSummary::_filter_FEDHF
protected

Definition at line 30 of file DigiRunSummary.h.

Referenced by beginRun().

◆ _filter_uTCA

filter::HashFilter hcaldqm::DigiRunSummary::_filter_uTCA
protected

Definition at line 30 of file DigiRunSummary.h.

Referenced by beginRun().

◆ _filter_VME

filter::HashFilter hcaldqm::DigiRunSummary::_filter_VME
protected

Definition at line 30 of file DigiRunSummary.h.

Referenced by beginRun().

◆ _meNumEvents

MonitorElement* hcaldqm::DigiRunSummary::_meNumEvents
protected

Definition at line 34 of file DigiRunSummary.h.

Referenced by endLuminosityBlock().

◆ _refDigiSize

std::map<HcalSubdetector, uint32_t> hcaldqm::DigiRunSummary::_refDigiSize
protected

Definition at line 38 of file DigiRunSummary.h.

Referenced by DigiRunSummary(), and endLuminosityBlock().

◆ _thresh_unihf

double hcaldqm::DigiRunSummary::_thresh_unihf
protected

Definition at line 24 of file DigiRunSummary.h.

Referenced by DigiRunSummary(), and endJob().

◆ _vFEDsuTCA

std::vector<int> hcaldqm::DigiRunSummary::_vFEDsuTCA
protected

Definition at line 29 of file DigiRunSummary.h.

◆ _vFEDsVME

std::vector<int> hcaldqm::DigiRunSummary::_vFEDsVME
protected

Definition at line 29 of file DigiRunSummary.h.

◆ _vflagsLS

std::vector<LSSummary> hcaldqm::DigiRunSummary::_vflagsLS
protected

Definition at line 22 of file DigiRunSummary.h.

Referenced by endJob(), and endLuminosityBlock().

◆ _vhashFEDHF

std::vector<uint32_t> hcaldqm::DigiRunSummary::_vhashFEDHF
protected

Definition at line 28 of file DigiRunSummary.h.

Referenced by beginRun().

◆ _vhashuTCA

std::vector<uint32_t> hcaldqm::DigiRunSummary::_vhashuTCA
protected

Definition at line 28 of file DigiRunSummary.h.

Referenced by beginRun().

◆ _vhashVME

std::vector<uint32_t> hcaldqm::DigiRunSummary::_vhashVME
protected

Definition at line 28 of file DigiRunSummary.h.

Referenced by beginRun().

◆ _xDead

ContainerXXX<uint32_t> hcaldqm::DigiRunSummary::_xDead
protected

Definition at line 36 of file DigiRunSummary.h.

Referenced by beginRun(), and endJob().

◆ _xDigiSize

ContainerXXX<uint32_t> hcaldqm::DigiRunSummary::_xDigiSize
protected

Definition at line 36 of file DigiRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

◆ _xNChs

ContainerXXX<uint32_t> hcaldqm::DigiRunSummary::_xNChs
protected

Definition at line 36 of file DigiRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

◆ _xNChsNominal

ContainerXXX<uint32_t> hcaldqm::DigiRunSummary::_xNChsNominal
protected

Definition at line 36 of file DigiRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

◆ _xUni

ContainerXXX<uint32_t> hcaldqm::DigiRunSummary::_xUni
protected

Definition at line 36 of file DigiRunSummary.h.

Referenced by beginRun(), and endJob().

◆ _xUniHF

ContainerXXX<uint32_t> hcaldqm::DigiRunSummary::_xUniHF
protected

Definition at line 36 of file DigiRunSummary.h.

Referenced by beginRun(), and endJob().

hcaldqm::DigiRunSummary::fNChsHF
Definition: DigiRunSummary.h:43
hcaldqm::ContainerXXX::initialize
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:81
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
hcaldqm::DigiRunSummary::_thresh_unihf
double _thresh_unihf
Definition: DigiRunSummary.h:24
hcaldqm::electronicsmap::ElectronicsMap::lookup
uint32_t lookup(DetId const &)
Definition: ElectronicsMap.cc:122
hcaldqm::DigiRunSummary::fLED
Definition: DigiRunSummary.h:45
hcaldqm::DigiRunSummary::fDead
Definition: DigiRunSummary.h:48
hcaldqm::DigiRunSummary::nDigiFlag
Definition: DigiRunSummary.h:49
hcaldqm::DigiRunSummary::_filter_FEDHF
filter::HashFilter _filter_FEDHF
Definition: DigiRunSummary.h:30
hcaldqm::hashfunctions::fElectronics
Definition: HashFunctions.h:145
testProducerWithPsetDescEmpty_cfi.x2
x2
Definition: testProducerWithPsetDescEmpty_cfi.py:28
hcaldqm::flag::fGOOD
Definition: Flag.h:17
hcaldqm::electronicsmap::ElectronicsMap::initialize
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
Definition: ElectronicsMap.cc:6
hcaldqm::constants::SPIGOT_MIN
const int SPIGOT_MIN
Definition: Constants.h:118
hcaldqm::filter::fPreserver
Definition: HashFilter.h:19
if
if(0==first)
Definition: CAHitNtupletGeneratorKernelsImpl.h:48
hcaldqm::constants::SLOT_uTCA_MIN
const int SLOT_uTCA_MIN
Definition: Constants.h:105
hcaldqm::constants::FIBER_uTCA_MIN1
const int FIBER_uTCA_MIN1
Definition: Constants.h:126
hcaldqm::DigiRunSummary::_xDead
ContainerXXX< uint32_t > _xDead
Definition: DigiRunSummary.h:36
hcaldqm::DigiRunSummary::fDigiSize
Definition: DigiRunSummary.h:42
hcaldqm::DigiRunSummary::_filter_uTCA
filter::HashFilter _filter_uTCA
Definition: DigiRunSummary.h:30
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
hcaldqm::DQClient::endLuminosityBlock
virtual void endLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: DQClient.cc:98
hcaldqm::hashfunctions::fFED
Definition: HashFunctions.h:136
HcalBarrel
Definition: HcalAssistant.h:33
hcaldqm::DQModule::_ptype
ProcessingType _ptype
Definition: DQModule.h:43
hcaldqm::DigiRunSummary::_xUni
ContainerXXX< uint32_t > _xUni
Definition: DigiRunSummary.h:36
hcaldqm::flag::fBAD
Definition: Flag.h:19
hcaldqm::hashfunctions::fdepth
Definition: HashFunctions.h:131
hcaldqm::hashfunctions::fFEDSlot
Definition: HashFunctions.h:138
hcaldqm::DigiRunSummary::_xNChs
ContainerXXX< uint32_t > _xNChs
Definition: DigiRunSummary.h:36
HcalElectronicsMap::allPrecisionId
std::vector< HcalGenericDetId > allPrecisionId() const
Definition: HcalElectronicsMap.cc:139
hcaldqm::DigiRunSummary::fUnknownIds
Definition: DigiRunSummary.h:44
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
hcaldqm::ContainerXXX::begin
virtual CompactMap::const_iterator begin()
Definition: ContainerXXX.h:69
hcaldqm::DigiRunSummary::nLSFlags
Definition: DigiRunSummary.h:46
hcaldqm::quantity::fieta
Definition: DetectorQuantity.h:15
hcaldqm::DQClient::_taskname
std::string _taskname
Definition: DQClient.h:49
hcaldqm::quantity::fiphi
Definition: DetectorQuantity.h:14
hcaldqm::DQModule::_currentLS
int _currentLS
Definition: DQModule.h:52
hcaldqm::Container2D::getBinContent
double getBinContent(HcalDetId const &) override
Definition: Container2D.cc:132
hcaldqm::hashfunctions::fCrate
Definition: HashFunctions.h:139
hcaldqm::ContainerXXX::reset
virtual void reset()
Definition: ContainerXXX.h:292
hcaldqm::constants::CRATE_uTCA_MIN
const int CRATE_uTCA_MIN
Definition: Constants.h:98
hcaldqm::filter::HashFilter::initialize
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:17
hcaldqm::DQClient::beginRun
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQClient.cc:13
hcaldqm::ContainerXXX::end
virtual CompactMap::const_iterator end()
Definition: ContainerXXX.h:70
hcaldqm::constants::FIBER_VME_MIN
const int FIBER_VME_MIN
Definition: Constants.h:123
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
hcaldqm::DQModule::_name
std::string _name
Definition: DQModule.h:41
HcalOuter
Definition: HcalAssistant.h:35
hcaldqm::DigiRunSummary::_vhashuTCA
std::vector< uint32_t > _vhashuTCA
Definition: DigiRunSummary.h:28
hcaldqm::constants::FIBERCH_MIN
const int FIBERCH_MIN
Definition: Constants.h:132
hcaldqm::DQClient::_maxProcessedLS
int _maxProcessedLS
Definition: DQClient.h:53
hcaldqm::DQClient::DQClient
DQClient(std::string const &, std::string const &, edm::ParameterSet const &)
Definition: DQClient.cc:5
hcaldqm::DigiRunSummary::_cOccupancy_depth
Container2D _cOccupancy_depth
Definition: DigiRunSummary.h:32
dqm::legacy::MonitorElement::getTH1
virtual TH1 * getTH1() const
Definition: MonitorElement.h:475
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
dqm::impl::MonitorElement::getEntries
virtual double getEntries() const
get # of entries
Definition: MonitorElement.cc:628
hcaldqm::quantity::fN
Definition: ValueQuantity.h:11
hcaldqm::quantity::fDigiSize
Definition: ValueQuantity.h:28
hcaldqm::flag::fNA
Definition: Flag.h:16
hcaldqm::Container2D::book
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:558
hcaldqm::DigiRunSummary::_xUniHF
ContainerXXX< uint32_t > _xUniHF
Definition: DigiRunSummary.h:36
hcaldqm::Container2D::fill
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
HcalDetId::subdet
constexpr HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:138
HcalDetId
Definition: HcalDetId.h:12
runTauDisplay.eid
eid
Definition: runTauDisplay.py:298
cuy.ib
ib
Definition: cuy.py:662
hcaldqm::DigiRunSummary::_vhashVME
std::vector< uint32_t > _vhashVME
Definition: DigiRunSummary.h:28
hcaldqm::quantity::fSpigot
Definition: ElectronicsQuantity.h:23
hcaldqm::DQModule::_subsystem
std::string _subsystem
Definition: DQModule.h:48
alignCSCRings.r
r
Definition: alignCSCRings.py:93
HcalForward
Definition: HcalAssistant.h:36
hcaldqm::DQClient::_vhashCrates
std::vector< uint32_t > _vhashCrates
Definition: DQClient.h:60
hcaldqm::DigiRunSummary::_booked
bool _booked
Definition: DigiRunSummary.h:33
dqm::impl::MonitorElement::setBinContent
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: MonitorElement.cc:691
HcalElectronicsMap::lookup
const DetId lookup(HcalElectronicsId fId) const
lookup the logical detid associated with the given electronics id
Definition: HcalElectronicsMap.cc:70
hcaldqm::electronicsmap::fD2EHashMap
Definition: ElectronicsMap.h:25
HcalEndcap
Definition: HcalAssistant.h:34
hcaldqm::DQClient::_emap
const HcalElectronicsMap * _emap
Definition: DQClient.h:56
hcaldqm::DigiRunSummary::_ehashmap
electronicsmap::ElectronicsMap _ehashmap
Definition: DigiRunSummary.h:26
nanoDQM_cff.Flag
Flag
Definition: nanoDQM_cff.py:65
hcaldqm::quantity::fFiberVMEFiberCh
Definition: ElectronicsQuantity.h:32
simpleEdmComparison.numEvents
numEvents
Definition: simpleEdmComparison.py:139
dqm::implementation::IGetter::get
virtual MonitorElement * get(std::string const &fullpath) const
Definition: DQMStore.cc:651
hcaldqm::DigiRunSummary::_xDigiSize
ContainerXXX< uint32_t > _xDigiSize
Definition: DigiRunSummary.h:36
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
hcaldqm::DigiRunSummary::fUniHF
Definition: DigiRunSummary.h:47
hcaldqm::DigiRunSummary::_meNumEvents
MonitorElement * _meNumEvents
Definition: DigiRunSummary.h:34
hcaldqm::ContainerXXX::book
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:87
hcaldqm::ContainerXXX::get
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
hcaldqm::DigiRunSummary::_refDigiSize
std::map< HcalSubdetector, uint32_t > _refDigiSize
Definition: DigiRunSummary.h:38
hcaldqm::DigiRunSummary::_vflagsLS
std::vector< LSSummary > _vflagsLS
Definition: DigiRunSummary.h:22
hcaldqm::quantity::fState
Definition: ValueQuantity.h:47
hcaldqm::DigiRunSummary::_filter_VME
filter::HashFilter _filter_VME
Definition: DigiRunSummary.h:30
dqm::impl::MonitorElement::getBinContent
virtual double getBinContent(int binx) const
get content of bin (1-D)
Definition: MonitorElement.cc:592
hcaldqm::DigiRunSummary::_xNChsNominal
ContainerXXX< uint32_t > _xNChsNominal
Definition: DigiRunSummary.h:36
hcaldqm::constants::CRATE_VME_MIN
const int CRATE_VME_MIN
Definition: Constants.h:93
hcaldqm::filter::fFilter
Definition: HashFilter.h:19
hcaldqm::fOffline
Definition: DQModule.h:26
hcaldqm::DigiRunSummary::_vhashFEDHF
std::vector< uint32_t > _vhashFEDHF
Definition: DigiRunSummary.h:28