CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes
RawTask Class Reference

#include <RawTask.h>

Inheritance diagram for RawTask:
hcaldqm::DQTask DQMEDAnalyzer hcaldqm::DQModule edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

virtual void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
 RawTask (edm::ParameterSet const &)
 
virtual ~RawTask ()
 
- Public Member Functions inherited from hcaldqm::DQTask
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQTask (edm::ParameterSet const &)
 
virtual ~DQTask ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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 & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule ()(false)
 

Public Attributes

tuple rawTask
 

Protected Types

enum  RawFlag {
  fEvnMsm = 0, fBcnMsm = 1, fOrnMsm = 2, fBadQ = 3,
  nRawFlag = 4
}
 

Protected Member Functions

virtual void _process (edm::Event const &, edm::EventSetup const &)
 
virtual void _resetMonitors (hcaldqm::UpdateFreq)
 
- Protected Member Functions inherited from hcaldqm::DQTask
virtual int _getCalibType (edm::Event const &)
 
virtual bool _isApplicable (edm::Event const &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
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 ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Protected Attributes

bool _calibProcessing
 
hcaldqm::Container2D _cBadQuality_depth
 
hcaldqm::Container2D _cBadQuality_FEDuTCA
 
hcaldqm::Container2D _cBadQuality_FEDVME
 
hcaldqm::Container2D _cBadQualityLS_depth
 
hcaldqm::ContainerSingleProf1D _cBadQualityvsBX
 
hcaldqm::ContainerSingleProf1D _cBadQualityvsLS
 
hcaldqm::Container2D _cBcnMsm_ElectronicsuTCA
 
hcaldqm::Container2D _cBcnMsm_ElectronicsVME
 
hcaldqm::ContainerProf1D _cDataSizevsLS_FED
 
hcaldqm::Container2D _cEvnMsm_ElectronicsuTCA
 
hcaldqm::Container2D _cEvnMsm_ElectronicsVME
 
hcaldqm::Container2D _cOrnMsm_ElectronicsuTCA
 
hcaldqm::Container2D _cOrnMsm_ElectronicsVME
 
hcaldqm::ContainerSingle2D _cSummaryvsLS
 
hcaldqm::Container2D _cSummaryvsLS_FED
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
HcalElectronicsMap const * _emap
 
hcaldqm::filter::HashFilter _filter_FEDsuTCA
 
hcaldqm::filter::HashFilter _filter_FEDsVME
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
edm::InputTag _tagFEDs
 
edm::InputTag _tagReport
 
int _thresh_calib_nbadq
 
edm::EDGetTokenT
< FEDRawDataCollection
_tokFEDs
 
edm::EDGetTokenT
< HcalUnpackerReport
_tokReport
 
std::vector< hcaldqm::flag::Flag_vflags
 
std::vector< uint32_t > _vhashFEDs
 
hcaldqm::ContainerXXX< uint32_t > _xBadQLS
 
hcaldqm::ContainerXXX< uint32_t > _xBcnMsmLS
 
hcaldqm::ContainerXXX< uint32_t > _xEvnMsmLS
 
hcaldqm::ContainerXXX< uint32_t > _xOrnMsmLS
 
- Protected Attributes inherited from hcaldqm::DQTask
ContainerI _cEvsPerLS
 
ContainerI _cEvsTotal
 
ContainerS _cProcessingTypeName
 
ContainerS _cRunKeyName
 
ContainerI _cRunKeyVal
 
int _procLSs
 
edm::InputTag _tagRaw
 
edm::EDGetTokenT
< FEDRawDataCollection
_tokRaw
 
std::vector< uint32_t > _vcdaqEids
 
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 edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

file: Author: Description:

Definition at line 24 of file RawTask.h.

Member Enumeration Documentation

enum RawTask::RawFlag
protected
Enumerator
fEvnMsm 
fBcnMsm 
fOrnMsm 
fBadQ 
nRawFlag 

Definition at line 48 of file RawTask.h.

49  {
50  fEvnMsm = 0,
51  fBcnMsm = 1,
52  fOrnMsm = 2,
53  fBadQ = 3,
54  nRawFlag = 4
55  };

Constructor & Destructor Documentation

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

Definition at line 7 of file RawTask.cc.

References _calibProcessing, _tagFEDs, _tagReport, _thresh_calib_nbadq, _tokFEDs, _tokReport, _vflags, fBadQ, fBcnMsm, fEvnMsm, fOrnMsm, edm::ParameterSet::getUntrackedParameter(), HLT_FULL_cff::InputTag, and nRawFlag.

7  :
8  DQTask(ps)
9 {
10  _tagFEDs = ps.getUntrackedParameter<edm::InputTag>("tagFEDs",
11  edm::InputTag("rawDataCollector"));
12  _tagReport = ps.getUntrackedParameter<edm::InputTag>("tagReport",
13  edm::InputTag("hcalDigis"));
14  _calibProcessing = ps.getUntrackedParameter<bool>("calibProcessing",
15  false);
16  _thresh_calib_nbadq = ps.getUntrackedParameter<int>("thresh_calib_nbadq",
17  5000);
18 
19  _tokFEDs = consumes<FEDRawDataCollection>(_tagFEDs);
20  _tokReport = consumes<HcalUnpackerReport>(_tagReport);
21 
22  _vflags.resize(nRawFlag);
23  _vflags[fEvnMsm]=flag::Flag("EvnMsm");
24  _vflags[fBcnMsm]=flag::Flag("BcnMsm");
25  _vflags[fBadQ]=flag::Flag("BadQ");
26  _vflags[fOrnMsm]=flag::Flag("OrnMsm");
27 }
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
bool _calibProcessing
Definition: RawTask.h:62
edm::EDGetTokenT< HcalUnpackerReport > _tokReport
Definition: RawTask.h:44
edm::EDGetTokenT< FEDRawDataCollection > _tokFEDs
Definition: RawTask.h:43
int _thresh_calib_nbadq
Definition: RawTask.h:63
edm::InputTag _tagFEDs
Definition: RawTask.h:41
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RawTask.h:47
edm::InputTag _tagReport
Definition: RawTask.h:42
virtual RawTask::~RawTask ( )
inlinevirtual

Definition at line 28 of file RawTask.h.

28 {}

Member Function Documentation

void RawTask::_process ( edm::Event const &  e,
edm::EventSetup const &   
)
protectedvirtual

Implements hcaldqm::DQTask.

Definition at line 205 of file RawTask.cc.

References _calibProcessing, _cBadQuality_depth, _cBadQuality_FEDuTCA, _cBadQuality_FEDVME, _cBadQualityvsBX, _cBadQualityvsLS, _cBcnMsm_ElectronicsuTCA, _cBcnMsm_ElectronicsVME, _cDataSizevsLS_FED, _cEvnMsm_ElectronicsuTCA, _cEvnMsm_ElectronicsVME, _cOrnMsm_ElectronicsuTCA, _cOrnMsm_ElectronicsVME, hcaldqm::DQModule::_currentLS, _ehashmap, _filter_FEDsuTCA, _filter_FEDsVME, hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _tagFEDs, _tagReport, _thresh_calib_nbadq, _tokFEDs, _tokReport, _xBadQLS, _xBcnMsmLS, _xEvnMsmLS, _xOrnMsmLS, hcaldqm::DQTask::_xQuality, hcal::AMC13Header::AMCId(), hcal::AMC13Header::AMCPayload(), hcal::AMC13Header::AMCSize(), hcal::AMC13Header::AMCSlot(), edm::EventBase::bunchCrossing(), hcal::AMC13Header::bunchId(), HcalHTRData::check(), fwrapper::cs, FEDRawData::data(), ecaldqm::dccId(), Logger::dqmthrow(), runTauDisplay::eid, hcaldqm::ContainerXXX< STDTYPE >::exists(), hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_MIN, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::Container2D::fill(), hcaldqm::ContainerSingle1D::fill(), hcaldqm::Container1D::fill(), hcaldqm::filter::HashFilter::filter(), hcaldqm::fOnline, hcaldqm::ContainerXXX< STDTYPE >::get(), HcalDCCHeader::getBunchId(), HcalHTRData::getBunchNumber(), edm::Event::getByToken(), HcalDCCHeader::getDCCEventNumber(), HcalHTRData::getL1ANumber(), HcalDCCHeader::getOrbitNumber(), HcalHTRData::getOrbitNumber(), HcalDCCHeader::getSourceId(), HcalDCCHeader::getSpigotData(), HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellMask, edm::InputTag::instance(), HcalGenericDetId::isHcalDetId(), HcalElectronicsId::isVMEid(), hcal::AMC13Header::l1aNumber(), HcalUHTRData::l1ANumber(), edm::InputTag::label(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), FEDNumbering::MAXHCALFEDID, FEDNumbering::MAXHCALuTCAFEDID, FEDNumbering::MINHCALFEDID, FEDNumbering::MINHCALuTCAFEDID, hcal::AMC13Header::NAMC(), hcal::AMC13Header::orbitNumber(), alignCSCRings::r, hcaldqm::constants::RAW_EMPTY, FEDRawData::size(), HcalDCCHeader::SPIGOT_COUNT, hcaldqm::constants::SPIGOT_MAX, and hcaldqm::constants::SPIGOT_MIN.

207 {
210  if (!e.getByToken(_tokFEDs, craw))
211  _logger.dqmthrow("Collection FEDRawDataCollection isn't available"+
212  _tagFEDs.label()+" " +_tagFEDs.instance());
213  if (!e.getByToken(_tokReport, creport))
214  _logger.dqmthrow("Collection HcalUnpackerReport isn't available"+
216 
217  // extract some info
218  int bx = e.bunchCrossing();
219 
220  /*
221  * For Calibration/Abort Gap Processing
222  * check if the #channels taht are bad from the unpacker
223  * is > 5000. If it is skip...
224  */
225  if (_calibProcessing)
226  {
227  int nbadq = creport->badQualityDigis();
228  if (nbadq>=_thresh_calib_nbadq)
229  return;
230  }
231 
232  int nn = 0;
233  // loop thru and fill the detIds with bad quality
234  // NOTE: Calibration Channels are skipped!
235  // TODO: Include for Online Calibration Channels marked as bad
236  // a comment below is left on purpose!
237  //_cBadQualityvsBX.fill(bx, creport->badQualityDigis());
238  for (std::vector<DetId>::const_iterator it=creport->bad_quality_begin();
239  it!=creport->bad_quality_end(); ++it)
240  {
241  // skip non HCAL det ids
242  if (!HcalGenericDetId(*it).isHcalDetId())
243  continue;
244 
245  // skip those that are of bad quality from conditions
246  // Masked or Dead
247  if (_xQuality.exists(HcalDetId(*it)))
248  {
249  HcalChannelStatus cs(it->rawId(), _xQuality.get(HcalDetId(*it)));
250  if (cs.isBitSet(HcalChannelStatus::HcalCellMask) ||
252  continue;
253  }
254 
255  nn++;
258  // ONLINE ONLY!
259  if (_ptype==fOnline)
260  _xBadQLS.get(eid)++;
261  if (eid.isVMEid())
262  {
263  if (_filter_FEDsVME.filter(eid))
264  continue;
266  }
267  else
268  {
269  if (_filter_FEDsuTCA.filter(eid))
270  continue;
272  }
273  }
275  _cBadQualityvsBX.fill(bx, nn);
276 
277  for (int fed=FEDNumbering::MINHCALFEDID;
278  fed<=FEDNumbering::MAXHCALuTCAFEDID; fed++)
279  {
280  // skip nonHCAL FEDs
281  if ((fed>FEDNumbering::MAXHCALFEDID &&
284  continue;
285  FEDRawData const& raw = craw->FEDData(fed);
286  if (raw.size()<constants::RAW_EMPTY)
287  continue;
288 
289  if (fed<=FEDNumbering::MAXHCALFEDID) // VME
290  {
291  HcalDCCHeader const* hdcc = (HcalDCCHeader const*)(raw.data());
292  if (!hdcc)
293  continue;
294 
295  uint32_t bcn = hdcc->getBunchId();
296  uint32_t orn = hdcc->getOrbitNumber() & 0x1F; // LS 5 bits only
297  uint32_t evn = hdcc->getDCCEventNumber();
299 
300  /* online only */
301  if (_ptype==fOnline)
302  {
305  if (_filter_FEDsVME.filter(eid))
306  continue;
307  _cDataSizevsLS_FED.fill(eid, _currentLS, double(raw.size())/1024.);
308  }
309 
310  // iterate over spigots
311  HcalHTRData htr;
312  for (int is=0; is<HcalDCCHeader::SPIGOT_COUNT; is++)
313  {
314  int r = hdcc->getSpigotData(is, htr, raw.size());
315  if (r!=0 || !htr.check())
316  continue;
319  is, dccId);
320  if (_filter_FEDsVME.filter(eid))
321  continue;
322 
323  uint32_t htr_evn = htr.getL1ANumber();
324  uint32_t htr_orn = htr.getOrbitNumber();
325  uint32_t htr_bcn = htr.getBunchNumber();
326  bool qevn = (htr_evn!=evn);
327  bool qbcn = (htr_bcn!=bcn);
328  bool qorn = (htr_orn!=orn);
329  if (qevn)
330  {
332 
334  _xEvnMsmLS.get(eid)++;
335  }
336  if (qorn)
337  {
339 
341  _xOrnMsmLS.get(eid)++;
342  }
343  if (qbcn)
344  {
346 
348  _xBcnMsmLS.get(eid)++;
349  }
350  }
351  }
352  else // uTCA
353  {
354  hcal::AMC13Header const* hamc13 = (hcal::AMC13Header const*)
355  raw.data();
356  if (!hamc13)
357  continue;
358 
359  /* online only */
360  if (_ptype==fOnline)
361  {
362  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(fed);
363  HcalElectronicsId eid = HcalElectronicsId(cspair.first,
364  cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false);
365  if (_filter_FEDsuTCA.filter(eid))
366  continue;
367  _cDataSizevsLS_FED.fill(eid, _currentLS, double(raw.size())/1024.);
368  }
369 
370  uint32_t bcn = hamc13->bunchId();
371  uint32_t orn = hamc13->orbitNumber() & 0xFFFF; // LS 16bits only
372  uint32_t evn = hamc13->l1aNumber();
373  int namc = hamc13->NAMC();
374 
375  for (int iamc=0; iamc<namc; iamc++)
376  {
377  int slot = hamc13->AMCSlot(iamc);
378  int crate = hamc13->AMCId(iamc)&0xFF;
380  FIBERCH_MIN, false);
381  if (_filter_FEDsuTCA.filter(eid))
382  continue;
383  HcalUHTRData uhtr(hamc13->AMCPayload(iamc),
384  hamc13->AMCSize(iamc));
385 
386  uint32_t uhtr_evn = uhtr.l1ANumber();
387  uint32_t uhtr_bcn = uhtr.bunchNumber();
388  uint32_t uhtr_orn = uhtr.orbitNumber();
389  bool qevn = (uhtr_evn!=evn);
390  bool qbcn = (uhtr_bcn!=bcn);
391  bool qorn = (uhtr_orn!=orn);
392  if (qevn)
393  {
395 
396  if (_ptype==fOnline)
397  _xEvnMsmLS.get(eid)++;
398  }
399  if (qorn)
400  {
402 
403  if (_ptype==fOnline)
404  _xOrnMsmLS.get(eid)++;
405  }
406  if (qbcn)
407  {
409 
410  if (_ptype==fOnline)
411  _xBcnMsmLS.get(eid)++;
412  }
413  }
414  }
415  }
416 }
int const RAW_EMPTY
Definition: Constants.h:218
auto_ptr< ClusterSequence > cs
virtual bool exists(HcalDetId const &)
Definition: ContainerXXX.h:267
bool check() const
Check for a good event Requires a minimum length, matching wordcount and length, not an empty event...
Definition: HcalHTRData.cc:62
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:13
bool _calibProcessing
Definition: RawTask.h:62
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: RawTask.h:59
hcaldqm::Container2D _cOrnMsm_ElectronicsuTCA
Definition: RawTask.h:89
int const SPIGOT_MIN
Definition: Constants.h:85
hcaldqm::ContainerXXX< uint32_t > _xEvnMsmLS
Definition: RawTask.h:90
int l1aNumber() const
Definition: AMC13Header.h:19
int getSpigotData(int nspigot, HcalHTRData &decodeTool, int validSize) const
int const FIBER_VME_MIN
Definition: Constants.h:90
unsigned int getOrbitNumber() const
Get the HTR orbit number.
Definition: HcalHTRData.cc:324
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:47
int const FIBERCH_MIN
Definition: Constants.h:100
int AMCSize(int i) const
Definition: AMC13Header.h:37
int const SPIGOT_MAX
Definition: Constants.h:86
hcaldqm::Container2D _cBadQuality_depth
Definition: RawTask.h:77
unsigned int getOrbitNumber() const
Definition: HcalDCCHeader.h:46
int getBunchId() const
Definition: HcalDCCHeader.h:34
hcaldqm::ContainerXXX< uint32_t > _xBcnMsmLS
Definition: RawTask.h:90
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(uint32_t)
Definition: Container1D.cc:82
int bunchId() const
Definition: AMC13Header.h:17
hcaldqm::filter::HashFilter _filter_FEDsuTCA
Definition: RawTask.h:72
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:62
int const FED_VME_MIN
Definition: Constants.h:47
int const FIBER_uTCA_MIN1
Definition: Constants.h:93
hcaldqm::ContainerXXX< uint32_t > _xOrnMsmLS
Definition: RawTask.h:90
Logger _logger
Definition: DQModule.h:70
edm::EDGetTokenT< HcalUnpackerReport > _tokReport
Definition: RawTask.h:44
edm::EDGetTokenT< FEDRawDataCollection > _tokFEDs
Definition: RawTask.h:43
bool isHcalDetId() const
hcaldqm::Container2D _cBadQuality_FEDuTCA
Definition: RawTask.h:76
hcaldqm::Container2D _cEvnMsm_ElectronicsuTCA
Definition: RawTask.h:87
int getSourceId() const
Definition: HcalDCCHeader.h:32
unsigned int orbitNumber() const
Definition: AMC13Header.h:23
int _thresh_calib_nbadq
Definition: RawTask.h:63
bool isVMEid() const
hcaldqm::ContainerXXX< uint32_t > _xBadQLS
Definition: RawTask.h:90
hcaldqm::Container2D _cBadQuality_FEDVME
Definition: RawTask.h:75
hcaldqm::Container2D _cBcnMsm_ElectronicsVME
Definition: RawTask.h:85
uint32_t l1ANumber() const
Get the HTR event number.
Definition: HcalUHTRData.h:104
hcaldqm::filter::HashFilter _filter_FEDsVME
Definition: RawTask.h:71
std::string const & label() const
Definition: InputTag.h:36
hcaldqm::ContainerSingleProf1D _cBadQualityvsLS
Definition: RawTask.h:79
hcaldqm::Container2D _cOrnMsm_ElectronicsVME
Definition: RawTask.h:86
edm::InputTag _tagFEDs
Definition: RawTask.h:41
int NAMC() const
Definition: AMC13Header.h:25
static const int SPIGOT_COUNT
Definition: HcalDCCHeader.h:19
hcaldqm::Container2D _cBcnMsm_ElectronicsuTCA
Definition: RawTask.h:88
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
int AMCSlot(int i) const
Definition: AMC13Header.h:33
const uint64_t * AMCPayload(int i) const
Definition: AMC13Header.cc:4
hcaldqm::ContainerProf1D _cDataSizevsLS_FED
Definition: RawTask.h:81
unsigned int getBunchNumber() const
Get the HTR bunch number.
Definition: HcalHTRData.h:115
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:28
virtual void fill(HcalDetId const &) override
Definition: Container2D.cc:59
virtual bool filter(HcalDetId const &) const
Definition: HashFilter.cc:36
edm::InputTag _tagReport
Definition: RawTask.h:42
hcaldqm::ContainerSingleProf1D _cBadQualityvsBX
Definition: RawTask.h:80
uint16_t AMCId(int i) const
Definition: AMC13Header.h:31
unsigned int getL1ANumber() const
Get the HTR event number.
Definition: HcalHTRData.h:111
unsigned dccId(DetId const &)
hcaldqm::Container2D _cEvnMsm_ElectronicsVME
Definition: RawTask.h:84
unsigned long getDCCEventNumber() const
Definition: HcalDCCHeader.h:36
Readout chain identification for Hcal.
std::string const & instance() const
Definition: InputTag.h:37
void RawTask::_resetMonitors ( hcaldqm::UpdateFreq  uf)
protectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 199 of file RawTask.cc.

200 {
201  // base reset
202  DQTask::_resetMonitors(uf);
203 }
void RawTask::beginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 418 of file RawTask.cc.

References hcaldqm::DQModule::_ptype, and hcaldqm::fOnline.

420 {
421  DQTask::beginLuminosityBlock(lb, es);
422 
423 // _cBadQualityvsLS.extendAxisRange(_currentLS);
424 
425  // ONLINE ONLY!
426  if (_ptype!=fOnline)
427  return;
428 // _cSummaryvsLS_FED.extendAxisRange(_currentLS);
429 // _cSummaryvsLS.extendAxisRange(_currentLS);
430 
431 }
ProcessingType _ptype
Definition: DQModule.h:59
void RawTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 29 of file RawTask.cc.

References _cBadQuality_depth, _cBadQuality_FEDuTCA, _cBadQuality_FEDVME, _cBadQualityvsBX, _cBadQualityvsLS, _cBcnMsm_ElectronicsuTCA, _cBcnMsm_ElectronicsVME, _cDataSizevsLS_FED, _cEvnMsm_ElectronicsuTCA, _cEvnMsm_ElectronicsVME, _cOrnMsm_ElectronicsuTCA, _cOrnMsm_ElectronicsVME, _cSummaryvsLS, _cSummaryvsLS_FED, _ehashmap, _emap, _filter_FEDsuTCA, _filter_FEDsVME, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_maxLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, _vflags, _vhashFEDs, _xBadQLS, _xBcnMsmLS, _xEvnMsmLS, _xOrnMsmLS, hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerSingleProf1D::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, hcaldqm::quantity::fBX, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::quantity::fDataSize, hcaldqm::hashfunctions::fdepth, hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_MIN, hcaldqm::hashfunctions::fElectronics, hcaldqm::hashfunctions::fFED, hcaldqm::quantity::fFiberuTCAFiberCh, hcaldqm::quantity::fFiberVMEFiberCh, 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::quantity::fN_m0to10000, hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::filter::fPreserver, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::quantity::fState, edm::EventSetup::get(), hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), hcaldqm::ContainerSingleProf1D::initialize(), hcaldqm::ContainerProf1D::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), HcalElectronicsId::rawId(), hcaldqm::Container1D::setLumiFlag(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

31 {
33 
34  // GET WHAT YOU NEED
36  es.get<HcalDbRecord>().get(dbs);
37  _emap = dbs->getHcalMapping();
38  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
39  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
40  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
41  std::vector<uint32_t> vVME;
42  std::vector<uint32_t> vuTCA;
43  std::vector<uint32_t> vhashFEDsVME;
44  std::vector<uint32_t> vhashFEDsuTCA;
48  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
50  vVME);
52  vuTCA);
53 
54  for (std::vector<int>::const_iterator it=vFEDsVME.begin();
55  it!=vFEDsVME.end(); ++it)
56  {
57  vhashFEDsVME.push_back(HcalElectronicsId(constants::FIBERCH_MIN,
59  (*it)-constants::FED_VME_MIN).rawId());
62  (*it)-constants::FED_VME_MIN).rawId());
63  }
64  for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
65  it!=vFEDsuTCA.end(); ++it)
66  {
67  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
68  vhashFEDsuTCA.push_back(HcalElectronicsId(
69  cspair.first, cspair.second, FIBER_uTCA_MIN1,
70  FIBERCH_MIN, false).rawId());
71  _vhashFEDs.push_back(HcalElectronicsId(
72  cspair.first, cspair.second, FIBER_uTCA_MIN1,
73  FIBERCH_MIN, false).rawId());
74  }
76  hcaldqm::hashfunctions::fFED, vhashFEDsVME);
78  hcaldqm::hashfunctions::fFED, vhashFEDsuTCA);
79 
80  // INITIALIZE FIRST
83  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
88  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
93  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
98  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
103  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
108  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
111 
112  // Bad Quality
113  _cBadQuality_FEDVME.initialize(_name, "BadQuality",
118  _cBadQuality_FEDuTCA.initialize(_name, "BadQuality",
123  _cBadQualityvsLS.initialize(_name, "BadQualityvsLS",
126  _cBadQualityvsBX.initialize(_name, "BadQualityvsBX",
129  _cBadQuality_depth.initialize(_name, "BadQuality",
134 
135  // INITIALIZE HISTOGRAMS to be used in Online Only
136  if (_ptype==fOnline)
137  {
142  _cSummaryvsLS_FED.initialize(_name, "SummaryvsLS",
147  _cSummaryvsLS.initialize(_name, "SummaryvsLS",
151  // FED Size vs LS
152  _cDataSizevsLS_FED.initialize(_name, "DataSizevsLS",
156  }
157 
158  // BOOK HISTOGRAMS
165 
166 
172 
173  // BOOK HISTOGRAMS to be used in ONLINE ONLY!
174  if (_ptype==fOnline)
175  {
183  }
184 
185  // FOR OFFLINE PROCESSING MARK THESE HISTOGRAMS AS LUMI BASED
186  if (_ptype==fOffline)
187  {
193  }
194 
195  // initialize hash map
197 }
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: RawTask.h:92
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
int const CRATE_VME_MIN
Definition: Constants.h:60
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:13
uint32_t rawId() const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: RawTask.h:59
hcaldqm::Container2D _cOrnMsm_ElectronicsuTCA
Definition: RawTask.h:89
int const SPIGOT_MIN
Definition: Constants.h:85
hcaldqm::ContainerXXX< uint32_t > _xEvnMsmLS
Definition: RawTask.h:90
int const FIBER_VME_MIN
Definition: Constants.h:90
void bookHistograms(fwlite::EventContainer &eventCont)
int const FIBERCH_MIN
Definition: Constants.h:100
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:78
hcaldqm::Container2D _cBadQuality_depth
Definition: RawTask.h:77
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: RawTask.h:93
hcaldqm::ContainerXXX< uint32_t > _xBcnMsmLS
Definition: RawTask.h:90
ProcessingType _ptype
Definition: DQModule.h:59
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
hcaldqm::filter::HashFilter _filter_FEDsuTCA
Definition: RawTask.h:72
std::vector< uint32_t > _vhashFEDs
Definition: RawTask.h:66
int const FED_VME_MIN
Definition: Constants.h:47
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container2D.cc:32
int const FIBER_uTCA_MIN1
Definition: Constants.h:93
hcaldqm::ContainerXXX< uint32_t > _xOrnMsmLS
Definition: RawTask.h:90
std::string _name
Definition: DQModule.h:57
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::Container2D _cBadQuality_FEDuTCA
Definition: RawTask.h:76
int const CRATE_uTCA_MIN
Definition: Constants.h:65
hcaldqm::Container2D _cEvnMsm_ElectronicsuTCA
Definition: RawTask.h:87
hcaldqm::filter::HashFilter _filter_uTCA
Definition: RawTask.h:70
hcaldqm::ContainerXXX< uint32_t > _xBadQLS
Definition: RawTask.h:90
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:99
hcaldqm::Container2D _cBadQuality_FEDVME
Definition: RawTask.h:75
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
hcaldqm::Container2D _cBcnMsm_ElectronicsVME
Definition: RawTask.h:85
hcaldqm::filter::HashFilter _filter_FEDsVME
Definition: RawTask.h:71
hcaldqm::ContainerSingleProf1D _cBadQualityvsLS
Definition: RawTask.h:79
hcaldqm::Container2D _cOrnMsm_ElectronicsVME
Definition: RawTask.h:86
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RawTask.h:47
hcaldqm::Container2D _cBcnMsm_ElectronicsuTCA
Definition: RawTask.h:88
virtual void setLumiFlag()
hcaldqm::ContainerProf1D _cDataSizevsLS_FED
Definition: RawTask.h:81
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:54
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:104
std::string _subsystem
Definition: DQModule.h:64
hcaldqm::filter::HashFilter _filter_VME
Definition: RawTask.h:69
hcaldqm::ContainerSingleProf1D _cBadQualityvsBX
Definition: RawTask.h:80
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:91
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:26
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:895
hcaldqm::Container2D _cEvnMsm_ElectronicsVME
Definition: RawTask.h:84
Readout chain identification for Hcal.
int const SLOT_uTCA_MIN
Definition: Constants.h:72
HcalElectronicsMap const * _emap
Definition: RawTask.h:58
void RawTask::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 433 of file RawTask.cc.

References _cSummaryvsLS, _cSummaryvsLS_FED, hcaldqm::DQModule::_currentLS, hcaldqm::DQModule::_evsPerLS, hcaldqm::DQModule::_ptype, hcaldqm::flag::Flag::_state, hcaldqm::DQTask::_vcdaqEids, _vflags, _vhashFEDs, _xBadQLS, _xBcnMsmLS, _xEvnMsmLS, _xOrnMsmLS, runTauDisplay::eid, hcaldqm::flag::fBAD, fBadQ, fBcnMsm, fEvnMsm, hcaldqm::flag::fGOOD, spr::find(), hcaldqm::flag::fNCDAQ, hcaldqm::fOnline, fOrnMsm, hcaldqm::flag::fPROBLEMATIC, hcaldqm::ContainerXXX< STDTYPE >::get(), hcaldqm::utilities::isFEDHBHE(), hcaldqm::utilities::isFEDHF(), hcaldqm::utilities::isFEDHO(), hcaldqm::ContainerXXX< STDTYPE >::reset(), hcaldqm::flag::Flag::reset(), hcaldqm::Container2D::setBinContent(), and hcaldqm::ContainerSingle2D::setBinContent().

435 {
436  if (_ptype!=fOnline)
437  return;
438 
439  //
440  // GENERATE STATUS ONLY FOR ONLINE!
441  //
442  for (std::vector<uint32_t>::const_iterator it=_vhashFEDs.begin();
443  it!=_vhashFEDs.end(); ++it)
444  {
445  flag::Flag fSum("RAW");
447 
448  std::vector<uint32_t>::const_iterator cit=std::find(
449  _vcdaqEids.begin(), _vcdaqEids.end(), *it);
450  if (cit==_vcdaqEids.end())
451  {
452  // not @cDAQ
453  for (uint32_t iflag=0; iflag<_vflags.size(); iflag++)
454  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag),
455  int(flag::fNCDAQ));
457  continue;
458  }
459 
460  // FED is @cDAQ
463  {
464  if (_xEvnMsmLS.get(eid)>0)
465  _vflags[fEvnMsm]._state = flag::fBAD;
466  else
467  _vflags[fEvnMsm]._state = flag::fGOOD;
468  if (_xBcnMsmLS.get(eid)>0)
469  _vflags[fBcnMsm]._state = flag::fBAD;
470  else
471  _vflags[fBcnMsm]._state = flag::fGOOD;
472  if (_xOrnMsmLS.get(eid)>0)
473  _vflags[fOrnMsm]._state = flag::fBAD;
474  else
475  _vflags[fOrnMsm]._state = flag::fGOOD;
476  if (double(_xBadQLS.get(eid))>double(12*_evsPerLS))
477  _vflags[fBadQ]._state = flag::fBAD;
478  else if (_xBadQLS.get(eid)>0)
479  _vflags[fBadQ]._state = flag::fPROBLEMATIC;
480  else
481  _vflags[fBadQ]._state = flag::fGOOD;
482  }
483 
484  int iflag=0;
485  // iterate over all flags:
486  // - sum them all up in summary flag for this FED
487  // - reset each flag right after using it
488  for (std::vector<flag::Flag>::iterator ft=_vflags.begin();
489  ft!=_vflags.end(); ++ft)
490  {
491  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag),
492  ft->_state);
493  fSum+=(*ft);
494  iflag++;
495 
496  // this is the MUST! We don't keep flags per FED, reset
497  // each one of them after using
498  ft->reset();
499  }
500  _cSummaryvsLS.setBinContent(eid, _currentLS, fSum._state);
501  }
502 
503  // reset...
505 
506  // in the end always do the DQTask::endLumi
507  DQTask::endLuminosityBlock(lb, es);
508 }
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: RawTask.h:92
hcaldqm::ContainerXXX< uint32_t > _xEvnMsmLS
Definition: RawTask.h:90
virtual void reset()
Definition: ContainerXXX.h:366
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: RawTask.h:93
hcaldqm::ContainerXXX< uint32_t > _xBcnMsmLS
Definition: RawTask.h:90
ProcessingType _ptype
Definition: DQModule.h:59
virtual void setBinContent(int, int, int)
std::vector< uint32_t > _vhashFEDs
Definition: RawTask.h:66
hcaldqm::ContainerXXX< uint32_t > _xOrnMsmLS
Definition: RawTask.h:90
hcaldqm::ContainerXXX< uint32_t > _xBadQLS
Definition: RawTask.h:90
bool isFEDHBHE(HcalElectronicsId const &)
Definition: Utilities.cc:131
virtual void setBinContent(HcalDetId const &, int) override
Definition: Container2D.cc:235
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RawTask.h:47
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
bool isFEDHO(HcalElectronicsId const &)
Definition: Utilities.cc:178
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:65
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:153

Member Data Documentation

bool RawTask::_calibProcessing
protected

Definition at line 62 of file RawTask.h.

Referenced by _process(), and RawTask().

hcaldqm::Container2D RawTask::_cBadQuality_depth
protected

Definition at line 77 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RawTask::_cBadQuality_FEDuTCA
protected

Definition at line 76 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RawTask::_cBadQuality_FEDVME
protected

Definition at line 75 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RawTask::_cBadQualityLS_depth
protected

Definition at line 78 of file RawTask.h.

hcaldqm::ContainerSingleProf1D RawTask::_cBadQualityvsBX
protected

Definition at line 80 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingleProf1D RawTask::_cBadQualityvsLS
protected

Definition at line 79 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RawTask::_cBcnMsm_ElectronicsuTCA
protected

Definition at line 88 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RawTask::_cBcnMsm_ElectronicsVME
protected

Definition at line 85 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RawTask::_cDataSizevsLS_FED
protected

Definition at line 81 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RawTask::_cEvnMsm_ElectronicsuTCA
protected

Definition at line 87 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RawTask::_cEvnMsm_ElectronicsVME
protected

Definition at line 84 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RawTask::_cOrnMsm_ElectronicsuTCA
protected

Definition at line 89 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RawTask::_cOrnMsm_ElectronicsVME
protected

Definition at line 86 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D RawTask::_cSummaryvsLS
protected

Definition at line 93 of file RawTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::Container2D RawTask::_cSummaryvsLS_FED
protected

Definition at line 92 of file RawTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::electronicsmap::ElectronicsMap RawTask::_ehashmap
protected

Definition at line 59 of file RawTask.h.

Referenced by _process(), and bookHistograms().

HcalElectronicsMap const* RawTask::_emap
protected

Definition at line 58 of file RawTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter RawTask::_filter_FEDsuTCA
protected

Definition at line 72 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::filter::HashFilter RawTask::_filter_FEDsVME
protected

Definition at line 71 of file RawTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::filter::HashFilter RawTask::_filter_uTCA
protected

Definition at line 70 of file RawTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter RawTask::_filter_VME
protected

Definition at line 69 of file RawTask.h.

Referenced by bookHistograms().

edm::InputTag RawTask::_tagFEDs
protected

Definition at line 41 of file RawTask.h.

Referenced by _process(), and RawTask().

edm::InputTag RawTask::_tagReport
protected

Definition at line 42 of file RawTask.h.

Referenced by _process(), and RawTask().

int RawTask::_thresh_calib_nbadq
protected

Definition at line 63 of file RawTask.h.

Referenced by _process(), and RawTask().

edm::EDGetTokenT<FEDRawDataCollection> RawTask::_tokFEDs
protected

Definition at line 43 of file RawTask.h.

Referenced by _process(), and RawTask().

edm::EDGetTokenT<HcalUnpackerReport> RawTask::_tokReport
protected

Definition at line 44 of file RawTask.h.

Referenced by _process(), and RawTask().

std::vector<hcaldqm::flag::Flag> RawTask::_vflags
protected

Definition at line 47 of file RawTask.h.

Referenced by bookHistograms(), endLuminosityBlock(), and RawTask().

std::vector<uint32_t> RawTask::_vhashFEDs
protected

Definition at line 66 of file RawTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::ContainerXXX<uint32_t> RawTask::_xBadQLS
protected

Definition at line 90 of file RawTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

hcaldqm::ContainerXXX<uint32_t> RawTask::_xBcnMsmLS
protected

Definition at line 90 of file RawTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

hcaldqm::ContainerXXX<uint32_t> RawTask::_xEvnMsmLS
protected

Definition at line 90 of file RawTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

hcaldqm::ContainerXXX<uint32_t> RawTask::_xOrnMsmLS
protected

Definition at line 90 of file RawTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

tuple RawTask.rawTask
Initial value:
1 = cms.EDAnalyzer(
2  "RawTask",
3 
4  # standard parameters
5  name = cms.untracked.string("RawTask"),
6  debug = cms.untracked.int32(0),
7  runkeyVal = cms.untracked.int32(0),
8  runkeyName = cms.untracked.string("pp_run"),
9  ptype = cms.untracked.int32(0),
10  mtype = cms.untracked.bool(True),
11  subsystem = cms.untracked.string("Hcal"),
12 
13  # tags
14  tagFEDs = cms.untracked.InputTag("rawDataCollector"),
15  tagReport = cms.untracked.InputTag("hcalDigis"),
16  calibProcessing = cms.untracked.bool(False),
17  thresh_calib_nbadq = cms.untracked.int32(5000)
18 )

Definition at line 5 of file RawTask.py.