CMS 3D CMS Logo

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

#include <RawRunSummary.h>

Inheritance diagram for hcaldqm::RawRunSummary:
hcaldqm::DQClient hcaldqm::DQModule

Public Member Functions

void beginRun (edm::Run const &, edm::EventSetup const &) override
 
std::vector< flag::FlagendJob (DQMStore::IBooker &, DQMStore::IGetter &) override
 
void endLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 RawRunSummary (std::string const &, std::string const &, edm::ParameterSet const &)
 
 ~RawRunSummary () 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 ()(false)
 

Protected Types

enum  RawLSFlag { fEvnMsm = 0, fBcnMsm = 1, fBadQ = 2, nRawFlag = 3 }
 

Protected Attributes

bool _booked
 
Container2D _cBadQuality_depth
 
Container2D _cBcnMsm_ElectronicsuTCA
 
Container2D _cBcnMsm_ElectronicsVME
 
Container2D _cEvnMsm_ElectronicsuTCA
 
Container2D _cEvnMsm_ElectronicsVME
 
electronicsmap::ElectronicsMap _ehashmap
 
filter::HashFilter _filter_uTCA
 
filter::HashFilter _filter_VME
 
std::vector< int > _vFEDsuTCA
 
std::vector< int > _vFEDsVME
 
std::vector< LSSummary_vflagsLS
 
std::vector< uint32_t > _vhashuTCA
 
std::vector< uint32_t > _vhashVME
 
ContainerXXX< uint32_t > _xBadQ
 
ContainerXXX< uint32_t > _xBcn
 
ContainerXXX< uint32_t > _xEvn
 
- Protected Attributes inherited from hcaldqm::DQClient
HcalElectronicsMap const * _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 8 of file RawRunSummary.h.

Member Enumeration Documentation

Enumerator
fEvnMsm 
fBcnMsm 
fBadQ 
nRawFlag 

Definition at line 41 of file RawRunSummary.h.

Constructor & Destructor Documentation

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

Definition at line 5 of file RawRunSummary.cc.

6  : DQClient(name, taskname, ps), _booked(false) {}
DQClient(std::string const &, std::string const &, edm::ParameterSet const &)
Definition: DQClient.cc:5
hcaldqm::RawRunSummary::~RawRunSummary ( )
inlineoverride

Definition at line 11 of file RawRunSummary.h.

References beginRun(), endJob(), and endLuminosityBlock().

11 {}

Member Function Documentation

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

Reimplemented from hcaldqm::DQClient.

Definition at line 8 of file RawRunSummary.cc.

References _cBadQuality_depth, _cBcnMsm_ElectronicsuTCA, _cBcnMsm_ElectronicsVME, _cEvnMsm_ElectronicsuTCA, _cEvnMsm_ElectronicsVME, _ehashmap, hcaldqm::DQClient::_emap, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, _vFEDsuTCA, _vFEDsVME, _vhashuTCA, _vhashVME, _xBadQ, _xBcn, _xEvn, hcaldqm::DQClient::beginRun(), hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fdepth, hcaldqm::hashfunctions::fElectronics, hcaldqm::hashfunctions::fFED, 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::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

Referenced by ~RawRunSummary().

8  {
10 
11  if (_ptype != fOffline)
12  return;
13 
14  // INITIALIZE WHAT NEEDS TO BE INITIALIZE ONLY ONCE!
16  _vhashVME.push_back(
20  _vhashVME); // filter out VME
22  _vhashuTCA); // filter out uTCA
23 
24  // INTIALIZE CONTAINERS ACTING AS HOLDERS OF RUN INFORAMTION
26  "EvnMsm",
28  new quantity::FEDQuantity(_vFEDsVME),
29  new quantity::ElectronicsQuantity(quantity::fSpigot),
30  new quantity::ValueQuantity(quantity::fN),
31  0);
33  "BcnMsm",
35  new quantity::FEDQuantity(_vFEDsVME),
36  new quantity::ElectronicsQuantity(quantity::fSpigot),
37  new quantity::ValueQuantity(quantity::fN),
38  0);
40  "EvnMsm",
42  new quantity::FEDQuantity(_vFEDsuTCA),
43  new quantity::ElectronicsQuantity(quantity::fSlotuTCA),
44  new quantity::ValueQuantity(quantity::fN),
45  0);
47  "BcnMsm",
49  new quantity::FEDQuantity(_vFEDsuTCA),
50  new quantity::ElectronicsQuantity(quantity::fSlotuTCA),
51  new quantity::ValueQuantity(quantity::fN),
52  0);
54  "BadQuality",
56  new quantity::DetectorQuantity(quantity::fieta),
57  new quantity::DetectorQuantity(quantity::fiphi),
58  new quantity::ValueQuantity(quantity::fN),
59  0);
60 
64  // BOOK CONTAINERSXXX
65  _xEvn.book(_emap);
66  _xBcn.book(_emap);
67  _xBadQ.book(_emap);
68  }
Container2D _cEvnMsm_ElectronicsVME
Definition: RawRunSummary.h:32
int const CRATE_VME_MIN
Definition: Constants.h:83
filter::HashFilter _filter_VME
Definition: RawRunSummary.h:29
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQClient.cc:13
Container2D _cBadQuality_depth
Definition: RawRunSummary.h:34
ContainerXXX< uint32_t > _xBadQ
Definition: RawRunSummary.h:39
Container2D _cEvnMsm_ElectronicsuTCA
Definition: RawRunSummary.h:32
int const SPIGOT_MIN
Definition: Constants.h:108
Container2D _cBcnMsm_ElectronicsuTCA
Definition: RawRunSummary.h:33
HcalElectronicsMap const * _emap
Definition: DQClient.h:56
int const FIBER_VME_MIN
Definition: Constants.h:113
std::vector< int > _vFEDsuTCA
Definition: RawRunSummary.h:28
int const FIBERCH_MIN
Definition: Constants.h:122
ProcessingType _ptype
Definition: DQModule.h:43
electronicsmap::ElectronicsMap _ehashmap
Definition: RawRunSummary.h:24
int const FIBER_uTCA_MIN1
Definition: Constants.h:116
filter::HashFilter _filter_uTCA
Definition: RawRunSummary.h:29
ContainerXXX< uint32_t > _xEvn
Definition: RawRunSummary.h:39
std::string _name
Definition: DQModule.h:41
int const CRATE_uTCA_MIN
Definition: Constants.h:88
std::vector< uint32_t > _vhashuTCA
Definition: RawRunSummary.h:27
Container2D _cBcnMsm_ElectronicsVME
Definition: RawRunSummary.h:33
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:87
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
ContainerXXX< uint32_t > _xBcn
Definition: RawRunSummary.h:39
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:17
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:81
std::vector< int > _vFEDsVME
Definition: RawRunSummary.h:28
std::vector< uint32_t > _vhashVME
Definition: RawRunSummary.h:27
Readout chain identification for Hcal.
int const SLOT_uTCA_MIN
Definition: Constants.h:95
std::vector< flag::Flag > hcaldqm::RawRunSummary::endJob ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
overridevirtual

Reimplemented from hcaldqm::DQClient.

Definition at line 239 of file RawRunSummary.cc.

References hcaldqm::DQClient::_emap, hcaldqm::DQClient::_maxProcessedLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::flag::Flag::_state, hcaldqm::DQModule::_subsystem, hcaldqm::DQClient::_vFEDs, _vflagsLS, hcaldqm::DQClient::_vhashFEDs, hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), runTauDisplay::eid, fBadQ, fBcnMsm, fEvnMsm, hcaldqm::hashfunctions::fFED, nanoDQM_cff::Flag, hcaldqm::fOffline, hcaldqm::quantity::fState, hcaldqm::Container2D::initialize(), hcaldqm::ContainerSingle2D::initialize(), nRawFlag, hcaldqm::ContainerSingle2D::setBinContent(), and hcaldqm::Container2D::setBinContent().

Referenced by ~RawRunSummary().

239  {
240  if (_ptype != fOffline)
241  return std::vector<flag::Flag>();
242 
243  // PREPARE LS BASED FLAGS to use it for booking
244  std::vector<flag::Flag> vflagsLS;
245  vflagsLS.resize(nRawFlag);
246  vflagsLS[fEvnMsm] = flag::Flag("EvnMsm");
247  vflagsLS[fBcnMsm] = flag::Flag("BcnMsm");
248  vflagsLS[fBadQ] = flag::Flag("BadQ");
249 
250  // INITIALIZE AND BOOK SUMMARY CONTAINERS
251  ContainerSingle2D cSummaryvsLS; // summary per FED: flag vs LS
252  Container2D cSummaryvsLS_FED; // LS based flags vs LS for each FED
253  cSummaryvsLS.initialize(_name,
254  "SummaryvsLS",
255  new quantity::LumiSection(_maxProcessedLS),
256  new quantity::FEDQuantity(_vFEDs),
257  new quantity::ValueQuantity(quantity::fState),
258  0);
259  cSummaryvsLS_FED.initialize(_name,
260  "SummaryvsLS",
262  new quantity::LumiSection(_maxProcessedLS),
263  new quantity::FlagQuantity(vflagsLS),
264  new quantity::ValueQuantity(quantity::fState),
265  0);
266  cSummaryvsLS_FED.book(ib, _emap, _subsystem);
267  cSummaryvsLS.book(ib, _subsystem);
268 
269  /*
270  * Iterate over each FED
271  * Iterate over each LS SUmmary
272  * Iterate over all flags
273  * set...
274  */
275 
276  std::vector<flag::Flag> sumflags; // flag per FED
277  int ifed = 0;
278  for (std::vector<uint32_t>::const_iterator it = _vhashFEDs.begin(); it != _vhashFEDs.end(); ++it) {
279  flag::Flag fSumRun("RAW"); // summary flag for this FED
280  HcalElectronicsId eid(*it);
281 
282  // ITERATE OVER EACH LS
283  for (std::vector<LSSummary>::const_iterator itls = _vflagsLS.begin(); itls != _vflagsLS.end(); ++itls) {
284  // fill histograms per LS
285  int iflag = 0;
286  flag::Flag fSumLS("RAW");
287  for (std::vector<flag::Flag>::const_iterator ft = itls->_vflags[ifed].begin(); ft != itls->_vflags[ifed].end();
288  ++ft) {
289  // Flag vs LS per FEd
290  cSummaryvsLS_FED.setBinContent(eid, itls->_LS, int(iflag), ft->_state);
291  fSumLS += (*ft);
292  iflag++;
293  }
294  // FED vs LS
295  cSummaryvsLS.setBinContent(eid, itls->_LS, fSumLS._state);
296  fSumRun += fSumLS;
297  }
298 
299  // push the summary flag for this FED for the whole RUN
300  sumflags.push_back(fSumRun);
301 
302  // increment the fed counter
303  ifed++;
304  }
305 
306  return sumflags;
307  }
std::vector< uint32_t > _vhashFEDs
Definition: DQClient.h:64
HcalElectronicsMap const * _emap
Definition: DQClient.h:56
ProcessingType _ptype
Definition: DQModule.h:43
std::string _name
Definition: DQModule.h:41
std::vector< int > _vFEDs
Definition: DQClient.h:63
std::string _subsystem
Definition: DQModule.h:48
std::vector< LSSummary > _vflagsLS
Definition: RawRunSummary.h:22
Readout chain identification for Hcal.
ib
Definition: cuy.py:662
void hcaldqm::RawRunSummary::endLuminosityBlock ( DQMStore::IBooker ib,
DQMStore::IGetter ig,
edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQClient.

Definition at line 78 of file RawRunSummary.cc.

References _booked, _cBadQuality_depth, _cBcnMsm_ElectronicsuTCA, _cBcnMsm_ElectronicsVME, _cEvnMsm_ElectronicsuTCA, _cEvnMsm_ElectronicsVME, hcaldqm::DQModule::_currentLS, _ehashmap, hcaldqm::DQClient::_emap, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, hcaldqm::DQClient::_taskname, hcaldqm::DQClient::_vcdaqEids, _vFEDsuTCA, _vFEDsVME, _vflagsLS, hcaldqm::DQClient::_vhashFEDs, _xBadQ, _xBcn, _xEvn, HcalElectronicsMap::allPrecisionId(), hcaldqm::Container2D::book(), runTauDisplay::eid, hcaldqm::DQClient::endLuminosityBlock(), hcaldqm::flag::fBAD, fBadQ, fBcnMsm, hcaldqm::hashfunctions::fdepth, hcaldqm::hashfunctions::fElectronics, fEvnMsm, hcaldqm::flag::fGOOD, hcaldqm::quantity::fieta, hcaldqm::Container2D::fill(), spr::find(), hcaldqm::quantity::fiphi, nanoDQM_cff::Flag, hcaldqm::quantity::fN, hcaldqm::flag::fNCDAQ, hcaldqm::fOffline, hcaldqm::flag::fPROBLEMATIC, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::ContainerXXX< STDTYPE >::get(), dqm::dqmstoreimpl::DQMStore::IGetter::get(), hcaldqm::Container2D::getBinContent(), dqm::impl::MonitorElement::getBinContent(), hcaldqm::Container2D::initialize(), hcaldqm::utilities::isFEDHBHE(), hcaldqm::utilities::isFEDHF(), hcaldqm::utilities::isFEDHO(), hcaldqm::Container1D::load(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), nRawFlag, simpleEdmComparison::numEvents, and hcaldqm::ContainerXXX< STDTYPE >::reset().

Referenced by ~RawRunSummary().

81  {
82  DQClient::endLuminosityBlock(ib, ig, lb, es);
83 
84  if (_ptype != fOffline)
85  return;
86 
87  // INITIALIZE WHAT YOU NEED
88  LSSummary lssum; // summary for this LS
89  lssum._LS = _currentLS; // set the LS
90 
91  // RESET CONTAINERS USED FOR ANALYSIS OF THIS LS
92  _xEvn.reset();
93  _xBcn.reset();
94  _xBadQ.reset();
95 
96  // INITIALIZE LUMI BASED HISTOGRAMS
97  Container2D cEvnMsm_ElectronicsVME, cEvnMsm_ElectronicsuTCA;
98  Container2D cBcnMsm_ElectronicsVME, cBcnMsm_ElectronicsuTCA;
99  Container2D cBadQuality_depth;
100  cEvnMsm_ElectronicsVME.initialize(_taskname,
101  "EvnMsm",
103  new quantity::FEDQuantity(_vFEDsVME),
104  new quantity::ElectronicsQuantity(quantity::fSpigot),
105  new quantity::ValueQuantity(quantity::fN),
106  0);
107  cBcnMsm_ElectronicsVME.initialize(_taskname,
108  "BcnMsm",
110  new quantity::FEDQuantity(_vFEDsVME),
111  new quantity::ElectronicsQuantity(quantity::fSpigot),
112  new quantity::ValueQuantity(quantity::fN),
113  0);
114  cEvnMsm_ElectronicsuTCA.initialize(_taskname,
115  "EvnMsm",
117  new quantity::FEDQuantity(_vFEDsuTCA),
118  new quantity::ElectronicsQuantity(quantity::fSlotuTCA),
119  new quantity::ValueQuantity(quantity::fN),
120  0);
121  cBcnMsm_ElectronicsuTCA.initialize(_taskname,
122  "BcnMsm",
124  new quantity::FEDQuantity(_vFEDsuTCA),
125  new quantity::ElectronicsQuantity(quantity::fSlotuTCA),
126  new quantity::ValueQuantity(quantity::fN),
127  0);
128  cBadQuality_depth.initialize(_taskname,
129  "BadQuality",
131  new quantity::DetectorQuantity(quantity::fieta),
132  new quantity::DetectorQuantity(quantity::fiphi),
133  new quantity::ValueQuantity(quantity::fN),
134  0);
135 
136  // LOAD LUMI BASED HISTOGRAMS
137  cEvnMsm_ElectronicsVME.load(ig, _emap, _filter_uTCA, _subsystem);
138  cBcnMsm_ElectronicsVME.load(ig, _emap, _filter_uTCA, _subsystem);
139  cEvnMsm_ElectronicsuTCA.load(ig, _emap, _filter_VME, _subsystem);
140  cBcnMsm_ElectronicsuTCA.load(ig, _emap, _filter_VME, _subsystem);
141  cBadQuality_depth.load(ig, _emap, _subsystem);
142  MonitorElement* meNumEvents = ig.get(_subsystem + "/RunInfo/NumberOfEvents");
143  int numEvents = meNumEvents->getBinContent(1);
144 
145  // BOOK for the very first time
146  if (!_booked) {
152  _booked = true;
153  }
154 
155  // ANALYZE THIS LS
156  // iterate over all channels
157  std::vector<HcalGenericDetId> gids = _emap->allPrecisionId();
158  for (std::vector<HcalGenericDetId>::const_iterator it = gids.begin(); it != gids.end(); ++it) {
159  if (!it->isHcalDetId())
160  continue;
161  HcalDetId did = HcalDetId(it->rawId());
163 
164  _xBadQ.get(eid) += cBadQuality_depth.getBinContent(did);
165  _cBadQuality_depth.fill(did, cBadQuality_depth.getBinContent(did));
166  if (eid.isVMEid()) {
167  _xEvn.get(eid) += cEvnMsm_ElectronicsVME.getBinContent(eid);
168  _xBcn.get(eid) += cBcnMsm_ElectronicsVME.getBinContent(eid);
169 
170  _cEvnMsm_ElectronicsVME.fill(eid, cEvnMsm_ElectronicsVME.getBinContent(eid));
171  _cBcnMsm_ElectronicsVME.fill(eid, cBcnMsm_ElectronicsVME.getBinContent(eid));
172  } else {
173  _xEvn.get(eid) += cEvnMsm_ElectronicsuTCA.getBinContent(eid);
174  _xBcn.get(eid) += cBcnMsm_ElectronicsuTCA.getBinContent(eid);
175 
176  _cEvnMsm_ElectronicsuTCA.fill(eid, cEvnMsm_ElectronicsuTCA.getBinContent(eid));
177  _cBcnMsm_ElectronicsuTCA.fill(eid, cBcnMsm_ElectronicsuTCA.getBinContent(eid));
178  }
179  }
180 
181  // GENERATE THE SUMMARY FOR THIS LS AND STORE IT
182  std::vector<flag::Flag> vtmpflags; // tmp summary flags vector
183  vtmpflags.resize(nRawFlag);
184  vtmpflags[fEvnMsm] = flag::Flag("EvnMsm");
185  vtmpflags[fBcnMsm] = flag::Flag("BcnMsm");
186  vtmpflags[fBadQ] = flag::Flag("BadQ");
187  for (std::vector<uint32_t>::const_iterator it = _vhashFEDs.begin(); it != _vhashFEDs.end(); ++it) {
188  HcalElectronicsId eid(*it);
189 
190  // reset all the tmp flags to fNA
191  // MUST DO IT NOW! AS NCDAQ MIGHT OVERWRITE IT!
192  for (std::vector<flag::Flag>::iterator ft = vtmpflags.begin(); ft != vtmpflags.end(); ++ft)
193  ft->reset();
194 
195  // check if this FED was @cDAQ
196  std::vector<uint32_t>::const_iterator cit = std::find(_vcdaqEids.begin(), _vcdaqEids.end(), *it);
197  if (cit == _vcdaqEids.end()) {
198  // was not @cDAQ, set all the flags for this FED as fNCDAQ
199  for (std::vector<flag::Flag>::iterator ft = vtmpflags.begin(); ft != vtmpflags.end(); ++ft)
200  ft->_state = flag::fNCDAQ;
201 
202  // push all the flags for this FED
203  // IMPORTANT!!!
204  lssum._vflags.push_back(vtmpflags);
205  continue;
206  }
207 
208  // here only if was registered at cDAQ
210  if (_xEvn.get(eid) > 0)
211  vtmpflags[fEvnMsm]._state = flag::fBAD;
212  else
213  vtmpflags[fEvnMsm]._state = flag::fGOOD;
214  if (_xBcn.get(eid) > 0)
215  vtmpflags[fBcnMsm]._state = flag::fBAD;
216  else
217  vtmpflags[fBcnMsm]._state = flag::fGOOD;
218  if (double(_xBadQ.get(eid)) > double(12 * numEvents))
219  vtmpflags[fBadQ]._state = flag::fBAD;
220  else if (_xBadQ.get(eid) > 0)
221  vtmpflags[fBadQ]._state = flag::fPROBLEMATIC;
222  else
223  vtmpflags[fBadQ]._state = flag::fGOOD;
224  }
225 
226  // push all the flags for this FED
227  lssum._vflags.push_back(vtmpflags);
228  }
229 
230  // push all flags for all FEDs for this LS
231  _vflagsLS.push_back(lssum);
232  }
std::vector< uint32_t > _vcdaqEids
Definition: DQClient.h:70
Container2D _cEvnMsm_ElectronicsVME
Definition: RawRunSummary.h:32
filter::HashFilter _filter_VME
Definition: RawRunSummary.h:29
std::vector< uint32_t > _vhashFEDs
Definition: DQClient.h:64
Container2D _cBadQuality_depth
Definition: RawRunSummary.h:34
std::string _taskname
Definition: DQClient.h:49
ContainerXXX< uint32_t > _xBadQ
Definition: RawRunSummary.h:39
Container2D _cEvnMsm_ElectronicsuTCA
Definition: RawRunSummary.h:32
Container2D _cBcnMsm_ElectronicsuTCA
Definition: RawRunSummary.h:33
HcalElectronicsMap const * _emap
Definition: DQClient.h:56
virtual void reset()
Definition: ContainerXXX.h:292
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
std::vector< int > _vFEDsuTCA
Definition: RawRunSummary.h:28
ProcessingType _ptype
Definition: DQModule.h:43
virtual void endLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: DQClient.cc:98
electronicsmap::ElectronicsMap _ehashmap
Definition: RawRunSummary.h:24
std::vector< HcalGenericDetId > allPrecisionId() const
filter::HashFilter _filter_uTCA
Definition: RawRunSummary.h:29
ContainerXXX< uint32_t > _xEvn
Definition: RawRunSummary.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)
Container2D _cBcnMsm_ElectronicsVME
Definition: RawRunSummary.h:33
bool isFEDHBHE(HcalElectronicsId const &)
Definition: Utilities.cc:142
ContainerXXX< uint32_t > _xBcn
Definition: RawRunSummary.h:39
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
std::string _subsystem
Definition: DQModule.h:48
bool isFEDHO(HcalElectronicsId const &)
Definition: Utilities.cc:180
std::vector< LSSummary > _vflagsLS
Definition: RawRunSummary.h:22
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:558
std::vector< int > _vFEDsVME
Definition: RawRunSummary.h:28
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:156
ib
Definition: cuy.py:662

Member Data Documentation

bool hcaldqm::RawRunSummary::_booked
protected

Definition at line 36 of file RawRunSummary.h.

Referenced by endLuminosityBlock().

Container2D hcaldqm::RawRunSummary::_cBadQuality_depth
protected

Definition at line 34 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

Container2D hcaldqm::RawRunSummary::_cBcnMsm_ElectronicsuTCA
protected

Definition at line 33 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

Container2D hcaldqm::RawRunSummary::_cBcnMsm_ElectronicsVME
protected

Definition at line 33 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

Container2D hcaldqm::RawRunSummary::_cEvnMsm_ElectronicsuTCA
protected

Definition at line 32 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

Container2D hcaldqm::RawRunSummary::_cEvnMsm_ElectronicsVME
protected

Definition at line 32 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

electronicsmap::ElectronicsMap hcaldqm::RawRunSummary::_ehashmap
protected

Definition at line 24 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

filter::HashFilter hcaldqm::RawRunSummary::_filter_uTCA
protected

Definition at line 29 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

filter::HashFilter hcaldqm::RawRunSummary::_filter_VME
protected

Definition at line 29 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

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

Definition at line 28 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

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

Definition at line 28 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

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

Definition at line 22 of file RawRunSummary.h.

Referenced by endJob(), and endLuminosityBlock().

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

Definition at line 27 of file RawRunSummary.h.

Referenced by beginRun().

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

Definition at line 27 of file RawRunSummary.h.

Referenced by beginRun().

ContainerXXX<uint32_t> hcaldqm::RawRunSummary::_xBadQ
protected

Definition at line 39 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

ContainerXXX<uint32_t> hcaldqm::RawRunSummary::_xBcn
protected

Definition at line 39 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().

ContainerXXX<uint32_t> hcaldqm::RawRunSummary::_xEvn
protected

Definition at line 39 of file RawRunSummary.h.

Referenced by beginRun(), and endLuminosityBlock().