test
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 Member Functions | Protected Attributes
DigiPhase1Task Class Reference

#include <DigiPhase1Task.h>

Inheritance diagram for DigiPhase1Task:
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 &)
 
 DigiPhase1Task (edm::ParameterSet const &)
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual ~DigiPhase1Task ()
 
- 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 ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule ()
 

Public Attributes

tuple digiPhase1Task
 

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

hcaldqm::Container1D _cADC_SubdetPM
 
hcaldqm::Container1D _cDigiSize_FED
 
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
 
hcaldqm::Container1D _cfC_SubdetPM
 
hcaldqm::Container2D _cOccupancy_depth
 
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancy_ElectronicsVME
 
hcaldqm::Container2D _cOccupancy_FEDuTCA
 
hcaldqm::Container2D _cOccupancy_FEDVME
 
hcaldqm::Container2D _cOccupancyCut_depth
 
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
 
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
 
hcaldqm::Container2D _cOccupancyCut_FEDVME
 
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
 
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
 
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
 
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
 
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
 
hcaldqm::Container2D _cOccupancyCutvsSlotvsLS_HFPM
 
hcaldqm::Container1D _cOccupancyvsieta_Subdet
 
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
 
hcaldqm::ContainerProf1D _cQ2Q12CutvsLS_FEDHF
 
hcaldqm::Container1D _cShapeCut_FED
 
hcaldqm::ContainerSingle2D _cSummaryvsLS
 
hcaldqm::Container2D _cSummaryvsLS_FED
 
hcaldqm::ContainerProf2D _cSumQ_depth
 
hcaldqm::Container1D _cSumQ_SubdetPM
 
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
 
hcaldqm::ContainerProf2D _cTimingCut_depth
 
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
 
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
 
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
 
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
 
hcaldqm::Container1D _cTimingCut_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
 
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
 
double _cutSumQ_HBHE
 
double _cutSumQ_HF
 
double _cutSumQ_HO
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
HcalElectronicsMap const * _emap
 
hcaldqm::filter::HashFilter _filter_FEDHF
 
hcaldqm::filter::HashFilter _filter_HF
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
edm::InputTag _tagHBHE
 
edm::InputTag _tagHF
 
edm::InputTag _tagHO
 
double _thresh_unihf
 
edm::EDGetTokenT
< QIE11DigiCollection
_tokHBHE
 
edm::EDGetTokenT
< QIE10DigiCollection
_tokHF
 
edm::EDGetTokenT
< HODigiCollection
_tokHO
 
std::vector< uint32_t > _vhashFEDs
 
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
 
hcaldqm::ContainerXXX< uint32_t > _xNChs
 
hcaldqm::ContainerXXX< uint32_t > _xNChsNominal
 
hcaldqm::ContainerXXX< uint32_t > _xUni
 
hcaldqm::ContainerXXX< uint32_t > _xUniHF
 
MonitorElementmeNumEvents1LS
 
- 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: DigiPhase1Task.h Author: VK Description: HCAL DIGI Data Tier Processing.

Online:

Offline:

Definition at line 29 of file DigiPhase1Task.h.

Constructor & Destructor Documentation

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

Definition at line 7 of file DigiPhase1Task.cc.

References _cutSumQ_HBHE, _cutSumQ_HF, _cutSumQ_HO, _tagHBHE, _tagHF, _tagHO, _thresh_unihf, _tokHBHE, _tokHF, _tokHO, edm::ParameterSet::getUntrackedParameter(), and HLT_25ns10e33_v2_cff::InputTag.

7  :
8  DQTask(ps)
9 {
10  _tagHBHE = ps.getUntrackedParameter<edm::InputTag>("tagHBHE",
11  edm::InputTag("hcalDigis"));
12  _tagHO = ps.getUntrackedParameter<edm::InputTag>("tagHO",
13  edm::InputTag("hcalDigis"));
14  _tagHF = ps.getUntrackedParameter<edm::InputTag>("tagHF",
15  edm::InputTag("hcalDigis"));
16 
17  _tokHBHE = consumes<QIE11DigiCollection>(_tagHBHE);
18  _tokHO = consumes<HODigiCollection>(_tagHO);
19  _tokHF = consumes<QIE10DigiCollection>(_tagHF);
20 
21  _cutSumQ_HBHE = ps.getUntrackedParameter<double>("cutSumQ_HBHE", 20);
22  _cutSumQ_HO = ps.getUntrackedParameter<double>("cutSumQ_HO", 20);
23  _cutSumQ_HF = ps.getUntrackedParameter<double>("cutSumQ_HF", 20);
24  _thresh_unihf = ps.getUntrackedParameter<double>("thresh_unihf", 0.2);
25 }
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
edm::InputTag _tagHF
edm::EDGetTokenT< HODigiCollection > _tokHO
double _cutSumQ_HBHE
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
double _thresh_unihf
edm::InputTag _tagHO
edm::InputTag _tagHBHE
edm::EDGetTokenT< QIE11DigiCollection > _tokHBHE
virtual DigiPhase1Task::~DigiPhase1Task ( )
inlinevirtual

Definition at line 33 of file DigiPhase1Task.h.

33 {}

Member Function Documentation

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

Implements hcaldqm::DQTask.

Definition at line 358 of file DigiPhase1Task.cc.

References _cADC_SubdetPM, _cDigiSize_FED, _cDigiSizevsLS_FED, _cfC_SubdetPM, _cOccupancy_depth, _cOccupancy_ElectronicsuTCA, _cOccupancy_ElectronicsVME, _cOccupancy_FEDuTCA, _cOccupancy_FEDVME, _cOccupancyCut_depth, _cOccupancyCut_ElectronicsuTCA, _cOccupancyCut_ElectronicsVME, _cOccupancyCut_FEDuTCA, _cOccupancyCut_FEDVME, _cOccupancyCutvsBX_Subdet, _cOccupancyCutvsieta_Subdet, _cOccupancyCutvsiphi_SubdetPM, _cOccupancyCutvsiphivsLS_SubdetPM, _cOccupancyCutvsLS_Subdet, _cOccupancyvsieta_Subdet, _cOccupancyvsiphi_SubdetPM, _cOccupancyvsLS_Subdet, _cShapeCut_FED, _cSumQ_depth, _cSumQ_SubdetPM, _cSumQvsBX_SubdetPM, _cSumQvsLS_SubdetPM, _cTimingCut_depth, _cTimingCut_ElectronicsuTCA, _cTimingCut_ElectronicsVME, _cTimingCut_FEDuTCA, _cTimingCut_FEDVME, _cTimingCut_SubdetPM, _cTimingCutvsieta_Subdet, _cTimingCutvsiphi_SubdetPM, _cTimingCutvsLS_FED, hcaldqm::DQModule::_currentLS, _cutSumQ_HBHE, _cutSumQ_HF, _cutSumQ_HO, _ehashmap, hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _tagHBHE, _tagHF, _tagHO, _tokHBHE, _tokHF, _tokHO, _xDigiSize, _xNChs, hcaldqm::DQTask::_xQuality, ecalMGPA::adc(), adc2fC, edm::EventBase::bunchCrossing(), fwrapper::cs, hcaldqm::constants::DIGISIZE, Logger::dqmthrow(), hcaldqm::ContainerXXX< STDTYPE >::exists(), hcaldqm::Container2D::fill(), hcaldqm::Container1D::fill(), MonitorElement::Fill(), hcaldqm::fOnline, hcaldqm::ContainerXXX< STDTYPE >::get(), edm::Event::getByToken(), HcalBarrel, HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellMask, HcalEndcap, HcalForward, HcalOuter, i, edm::InputTag::instance(), HcalElectronicsId::isVMEid(), edm::InputTag::label(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), meNumEvents1LS, QIE11DataFrame::samples(), QIE10DataFrame::samples(), and hcaldqm::utilities::sumQ().

360 {
364 
365  if (!e.getByToken(_tokHBHE, chbhe))
366  _logger.dqmthrow("Collection HBHE QIE11DigiCollection isn't available"
367  + _tagHBHE.label() + " " + _tagHBHE.instance());
368  if (!e.getByToken(_tokHO, cho))
369  _logger.dqmthrow("Collection HODigiPhase1Collection isn't available"
370  + _tagHO.label() + " " + _tagHO.instance());
371  if (!e.getByToken(_tokHF, chf))
372  _logger.dqmthrow("Collection HF QIE10Collection isn't available"
373  + _tagHF.label() + " " + _tagHF.instance());
374 
375  // extract some info per event
376  int bx = e.bunchCrossing();
377  meNumEvents1LS->Fill(0.5); // just increment
378 
379  // HB collection
380  int numChs = 0;
381  int numChsCut = 0;
382  int numChsHE = 0;
383  int numChsCutHE = 0;
384 
385  /*
386  * Suggested Reading for CMSSW & Boost interaction of iterators for
387  * DataFrameContainer, etc....
388  *
389  * http://www.boost.org/doc/libs/1_53_0/libs/iterator/doc/transform_iterator.html
390  * http://www.boost.org/doc/libs/1_50_0/libs/iterator/doc/counting_iterator.html
391  * helps to understand how to unwrap the boost iterator classes...
392  */
393  for (QIE11DigiCollection::const_iterator it=chbhe->begin(); it!=chbhe->end();
394  ++it)
395  {
396  QIE11DataFrame const& frame = *it;
397  double sumQ = hcaldqm::utilities::sumQ_v10<QIE11DataFrame>(frame,
398  2.5, 0, frame.samples()-1);
399  HcalDetId const& did = frame.detid();
400  // filter out channels that are masked out
401  if (_xQuality.exists(did))
402  {
403  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
404  if (
407  continue;
408  }
409  HcalElectronicsId const& eid = _ehashmap.lookup(did);
410 
411  _cSumQ_SubdetPM.fill(did, sumQ);
412  _cOccupancy_depth.fill(did);
413  if (_ptype==fOnline)
414  {
415  _cDigiSizevsLS_FED.fill(eid, _currentLS, frame.samples());
416  frame.samples()!=constants::DIGISIZE[did.subdet()-1]?
417  _xDigiSize.get(eid)++:_xDigiSize.get(eid)+=0;
420  }
421  _cDigiSize_FED.fill(eid, frame.samples());
422  if (eid.isVMEid())
423  {
426  }
427  else
428  {
431  /*
432  if (!it->validate(0, it->size()))
433  {
434  _cCapIdRots_depth.fill(did);
435  _cCapIdRots_FEDuTCA.fill(eid, 1);
436  }*/
437  }
438 
439  for (int i=0; i<frame.samples(); i++)
440  {
441  _cADC_SubdetPM.fill(did, frame[i].adc());
442  _cfC_SubdetPM.fill(did,
443  constants::adc2fC[frame[i].adc()]);
444  if (sumQ>_cutSumQ_HBHE)
445  _cShapeCut_FED.fill(eid, i,
446  constants::adc2fC[frame[i].adc()]);
447  }
448 
449  if (sumQ>_cutSumQ_HBHE)
450  {
451  double timing = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(frame, 2.5, 0,
452  frame.samples()-1);
453  _cTimingCut_SubdetPM.fill(did, timing);
454  _cTimingCut_depth.fill(did, timing);
456  _cTimingCutvsLS_FED.fill(eid, _currentLS, timing);
457  _cSumQ_depth.fill(did, sumQ);
458  _cSumQvsLS_SubdetPM.fill(did, _currentLS, sumQ);
459  if (_ptype==fOnline)
460  {
461  _cSumQvsBX_SubdetPM.fill(did, bx, sumQ);
462  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
463  _cTimingCutvsieta_Subdet.fill(did, timing);
467  }
468  if (eid.isVMEid())
469  {
470  _cTimingCut_FEDVME.fill(eid, timing);
471  _cTimingCut_ElectronicsVME.fill(eid, timing);
474  }
475  else
476  {
477  _cTimingCut_FEDuTCA.fill(eid, timing);
478  _cTimingCut_ElectronicsuTCA.fill(eid, timing);
481  }
482  did.subdet()==HcalBarrel?numChsCut++:numChsCutHE++;
483  }
484  did.subdet()==HcalBarrel?numChs++:numChsHE++;
485  }
487  numChs);
489  numChsHE);
490  // ONLINE ONLY!
491  if (_ptype==fOnline)
492  {
494  _currentLS, numChsCut);
496  numChsCut);
498  _currentLS, numChsCutHE);
500  numChsCutHE);
501  }
502  // ^^^ONLINE ONLY!
503  numChs=0;
504  numChsCut = 0;
505 
506  // HO collection
507  for (HODigiCollection::const_iterator it=cho->begin(); it!=cho->end();
508  ++it)
509  {
510  double sumQ = hcaldqm::utilities::sumQ<HODataFrame>(*it, 8.5, 0, it->size()-1);
511  HcalDetId const& did = it->id();
512  // filter out channels that are masked out
513  if (_xQuality.exists(did))
514  {
515  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
516  if (
519  continue;
520  }
521  HcalElectronicsId const& eid = it->elecId();
522 
523  _cSumQ_SubdetPM.fill(did, sumQ);
524  _cOccupancy_depth.fill(did);
525  if (_ptype==fOnline)
526  {
527  _cDigiSizevsLS_FED.fill(eid, _currentLS, it->size());
528  it->size()!=constants::DIGISIZE[did.subdet()-1]?
529  _xDigiSize.get(eid)++:_xDigiSize.get(eid)+=0;
532  }
533  _cDigiSize_FED.fill(eid, it->size());
534  if (eid.isVMEid())
535  {
538  /*
539  if (!it->validate(0, it->size()))
540  _cCapIdRots_FEDVME.fill(eid, 1);
541  */
542  }
543  else
544  {
547  /*
548  if (!it->validate(0, it->size()))
549  _cCapIdRots_FEDuTCA.fill(eid, 1);*/
550  }
551 
552  for (int i=0; i<it->size(); i++)
553  {
554  _cADC_SubdetPM.fill(did, it->sample(i).adc());
555  _cfC_SubdetPM.fill(did, it->sample(i).nominal_fC());
556  if (sumQ>_cutSumQ_HO)
557  _cShapeCut_FED.fill(eid, i, it->sample(i).nominal_fC());
558  }
559 
560  if (sumQ>_cutSumQ_HO)
561  {
562  double timing = hcaldqm::utilities::aveTS<HODataFrame>(*it, 8.5, 0,
563  it->size()-1);
564  _cSumQ_depth.fill(did, sumQ);
565  _cSumQvsLS_SubdetPM.fill(did, _currentLS, sumQ);
567  _cTimingCut_SubdetPM.fill(did, timing);
568  _cTimingCut_depth.fill(did, timing);
569  _cTimingCutvsLS_FED.fill(eid, _currentLS, timing);
570  if (_ptype==fOnline)
571  {
572  _cSumQvsBX_SubdetPM.fill(did, bx, sumQ);
573  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
574  _cTimingCutvsieta_Subdet.fill(did, timing);
578  }
579  if (eid.isVMEid())
580  {
581  _cTimingCut_FEDVME.fill(eid, timing);
582  _cTimingCut_ElectronicsVME.fill(eid, timing);
585  }
586  else
587  {
588  _cTimingCut_FEDuTCA.fill(eid, timing);
589  _cTimingCut_ElectronicsuTCA.fill(eid, timing);
592  }
593  numChsCut++;
594  }
595  numChs++;
596  }
598  numChs);
599 
600  if (_ptype==fOnline)
601  {
603  _currentLS, numChsCut);
605  numChsCut);
606  }
607  numChs=0; numChsCut=0;
608 
609  // HF collection
610  for (QIE10DigiCollection::const_iterator it=chf->begin(); it!=chf->end();
611  ++it)
612  {
613  QIE10DataFrame frame = *it;
614  double sumQ = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(frame,
615  2.5, 0, frame.samples()-1);
616  HcalDetId const& did = frame.detid();
617  // filter out channels that are masked out
618  if (_xQuality.exists(did))
619  {
620  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
621  if (
624  continue;
625  }
626  HcalElectronicsId const& eid = _ehashmap.lookup(did);
627 
628  _cSumQ_SubdetPM.fill(did, sumQ);
629  _cOccupancy_depth.fill(did);
630  if (_ptype==fOnline)
631  {
632  _xNChs.get(eid)++;
633  _cDigiSizevsLS_FED.fill(eid, _currentLS, frame.samples());
634  frame.samples()!=constants::DIGISIZE[did.subdet()-1]?
635  _xDigiSize.get(eid)++:_xDigiSize.get(eid)+=0;
638  }
639  _cDigiSize_FED.fill(eid, frame.samples());
640  if (eid.isVMEid())
641  {
644  /*
645  if (!it->validate(0, it->size()))
646  _cCapIdRots_FEDVME.fill(eid, 1);*/
647  }
648  else
649  {
652  /*
653  if (!it->validate(0, it->size()))
654  _cCapIdRots_FEDuTCA.fill(eid, 1);*/
655  }
656 
657  for (int i=0; i<frame.samples(); i++)
658  {
659  _cADC_SubdetPM.fill(did, frame[i].adc());
660  _cfC_SubdetPM.fill(did,
661  constants::adc2fC[frame[i].adc()]);
662  if (sumQ>_cutSumQ_HF)
663  _cShapeCut_FED.fill(eid, i,
664  constants::adc2fC[frame[i].adc()]);
665  }
666 
667  if (sumQ>_cutSumQ_HF)
668  {
669  double timing = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(frame, 2.5, 0,
670  frame.samples()-1);
671  _cSumQ_depth.fill(did, sumQ);
672  _cSumQvsLS_SubdetPM.fill(did, _currentLS, sumQ);
673  if (_ptype==fOnline)
674  {
675  _cSumQvsBX_SubdetPM.fill(did, bx, sumQ);
676  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
677  _cTimingCutvsieta_Subdet.fill(did, timing);
681 // _cOccupancyCutvsSlotvsLS_HFPM.fill(did, _currentLS);
682  }
683  _cTimingCut_SubdetPM.fill(did, timing);
684  _cTimingCut_depth.fill(did, timing);
685  _cTimingCutvsLS_FED.fill(eid, _currentLS, timing);
687  if (eid.isVMEid())
688  {
689  _cTimingCut_FEDVME.fill(eid, timing);
690  _cTimingCut_ElectronicsVME.fill(eid, timing);
693  }
694  else
695  {
696  _cTimingCut_FEDuTCA.fill(eid, timing);
697  _cTimingCut_ElectronicsuTCA.fill(eid, timing);
700  }
701  numChsCut++;
702  }
703  numChs++;
704  }
706  numChs);
707 
708  if (_ptype==fOnline)
709  {
711  _currentLS, numChsCut);
713  numChsCut);
714  }
715 }
int adc(sample_type sample)
get the ADC sample (12 bits)
int samples() const
total number of samples in the digi
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
int i
Definition: DBlmapReader.cc:9
hcaldqm::Container1D _cADC_SubdetPM
auto_ptr< ClusterSequence > cs
virtual bool exists(HcalDetId const &)
Definition: ContainerXXX.h:267
hcaldqm::ContainerProf2D _cSumQ_depth
edm::InputTag _tagHF
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
hcaldqm::ContainerXXX< uint32_t > _xNChs
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
edm::EDGetTokenT< HODigiCollection > _tokHO
std::vector< HODataFrame >::const_iterator const_iterator
hcaldqm::Container1D _cTimingCut_SubdetPM
MonitorElement * meNumEvents1LS
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM
unsigned long long bx[ScalersRaw::N_BX_v2]
Definition: ScalersRaw.h:228
hcaldqm::Container2D _cOccupancyCut_depth
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
hcaldqm::Container1D _cShapeCut_FED
void Fill(long long x)
virtual void fill(HcalDetId const &)
Definition: Container2D.cc:59
double _cutSumQ_HBHE
hcaldqm::ContainerProf2D _cTimingCut_depth
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(uint32_t)
Definition: Container1D.cc:82
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:62
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
Logger _logger
Definition: DQModule.h:70
hcaldqm::Container2D _cOccupancyCut_FEDVME
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
bool isVMEid() const
hcaldqm::Container1D _cDigiSize_FED
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
int const DIGISIZE[SUBDET_NUM]
Definition: Constants.h:132
edm::InputTag _tagHO
hcaldqm::Container2D _cOccupancy_FEDVME
hcaldqm::Container2D _cOccupancy_ElectronicsVME
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
std::string const & label() const
Definition: InputTag.h:36
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
edm::InputTag _tagHBHE
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
hcaldqm::Container1D _cSumQ_SubdetPM
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
int samples() const
total number of samples in the digi
hcaldqm::Container1D _cOccupancyvsieta_Subdet
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
hcaldqm::Container2D _cOccupancy_depth
Readout chain identification for Hcal.
std::string const & instance() const
Definition: InputTag.h:37
hcaldqm::Container1D _cfC_SubdetPM
edm::EDGetTokenT< QIE11DigiCollection > _tokHBHE
float adc2fC[128]
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
Definition: Utilities.h:79
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
hcaldqm::Container2D _cOccupancy_FEDuTCA
void DigiPhase1Task::_resetMonitors ( hcaldqm::UpdateFreq  uf)
protectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 341 of file DigiPhase1Task.cc.

References _cOccupancyvsiphi_SubdetPM, hcaldqm::DQModule::_ptype, hcaldqm::f50LS, hcaldqm::fOnline, and hcaldqm::Container1D::reset().

342 {
343  DQTask::_resetMonitors(uf);
344 
345  switch(uf)
346  {
347  case hcaldqm::f50LS:
348  // ^^^ONLINE ONLY!
349  if (_ptype==fOnline)
351  // ^^^
352  break;
353  default:
354  break;
355  }
356 }
ProcessingType _ptype
Definition: DQModule.h:59
virtual void reset()
Definition: Container1D.cc:65
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
void DigiPhase1Task::beginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 717 of file DigiPhase1Task.cc.

719 {
720  DQTask::beginLuminosityBlock(lb, es);
721 
722 }
void DigiPhase1Task::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 27 of file DigiPhase1Task.cc.

References _cADC_SubdetPM, _cDigiSize_FED, _cDigiSizevsLS_FED, _cfC_SubdetPM, _cOccupancy_depth, _cOccupancy_ElectronicsuTCA, _cOccupancy_ElectronicsVME, _cOccupancy_FEDuTCA, _cOccupancy_FEDVME, _cOccupancyCut_depth, _cOccupancyCut_ElectronicsuTCA, _cOccupancyCut_ElectronicsVME, _cOccupancyCut_FEDuTCA, _cOccupancyCut_FEDVME, _cOccupancyCutvsBX_Subdet, _cOccupancyCutvsieta_Subdet, _cOccupancyCutvsiphi_SubdetPM, _cOccupancyCutvsiphivsLS_SubdetPM, _cOccupancyCutvsLS_Subdet, _cOccupancyvsieta_Subdet, _cOccupancyvsiphi_SubdetPM, _cOccupancyvsLS_Subdet, _cShapeCut_FED, _cSumQ_depth, _cSumQ_SubdetPM, _cSumQvsBX_SubdetPM, _cSumQvsLS_SubdetPM, _cTimingCut_depth, _cTimingCut_ElectronicsuTCA, _cTimingCut_ElectronicsVME, _cTimingCut_FEDuTCA, _cTimingCut_FEDVME, _cTimingCut_SubdetPM, _cTimingCutvsieta_Subdet, _cTimingCutvsiphi_SubdetPM, _cTimingCutvsLS_FED, _cutSumQ_HBHE, _cutSumQ_HF, _cutSumQ_HO, _ehashmap, _emap, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_maxLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, _vhashFEDs, _xDigiSize, _xNChs, _xNChsNominal, hcaldqm::DQTask::_xQuality, _xUni, HcalElectronicsMap::allPrecisionId(), hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), DQMStore::IBooker::book1D(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, fwrapper::cs, hcaldqm::ContainerXXX< STDTYPE >::exists(), hcaldqm::quantity::fADC_128, hcaldqm::quantity::fBX, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fdepth, hcaldqm::quantity::fDigiSize, hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_MIN, hcaldqm::hashfunctions::fElectronics, hcaldqm::quantity::ffC_10000, 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_to3000, hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::hashfunctions::fSubdet, hcaldqm::hashfunctions::fSubdetPM, hcaldqm::quantity::fTiming_TS, hcaldqm::quantity::fTiming_TS200, hcaldqm::ContainerXXX< STDTYPE >::get(), edm::EventSetup::get(), hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellMask, hcaldqm::ContainerProf2D::initialize(), hcaldqm::ContainerProf1D::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::Container1D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), meNumEvents1LS, DQMStore::IBooker::setCurrentFolder(), MonitorElement::setLumiFlag(), hcaldqm::Container1D::setLumiFlag(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

29 {
31 
32  // GET WHAT YOU NEED
34  es.get<HcalDbRecord>().get(dbs);
35  _emap = dbs->getHcalMapping();
36  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
37  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
38  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
39  std::vector<uint32_t> vVME;
40  std::vector<uint32_t> vuTCA;
44  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
46  vVME);
48  vuTCA);
49 
50  // push the rawIds of each fed into the vector...
51  for (std::vector<int>::const_iterator it=vFEDsVME.begin();
52  it!=vFEDsVME.end(); ++it)
53  _vhashFEDs.push_back(HcalElectronicsId(
55  (*it)-FED_VME_MIN).rawId());
56  for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
57  it!=vFEDsuTCA.end(); ++it)
58  _vhashFEDs.push_back(HcalElectronicsId(
60  FIBERCH_MIN, false).rawId());
61 
62  // INITIALIZE FIRST
88  _cTimingCut_FEDVME.initialize(_name, "TimingCut",
100  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
105  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
108  _cTimingCutvsLS_FED.initialize(_name, "TimingvsLS",
112  _cTimingCut_depth.initialize(_name, "TimingCut",
117 
118  // Occupancy w/o a cut
119  _cOccupancy_FEDVME.initialize(_name, "Occupancy",
124  _cOccupancy_FEDuTCA.initialize(_name, "Occupancy",
131  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
136  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
139  _cOccupancyvsLS_Subdet.initialize(_name, "OccupancyvsLS",
143  _cOccupancy_depth.initialize(_name, "Occupancy",
148 
149  // Occupancy w/ a cut
150  _cOccupancyCut_FEDVME.initialize(_name, "OccupancyCut",
155  _cOccupancyCut_FEDuTCA.initialize(_name, "OccupancyCut",
162  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
167  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
170  _cOccupancyCutvsLS_Subdet.initialize(_name, "OccupancyCutvsLS",
174  _cOccupancyCut_depth.initialize(_name, "OccupancyCut",
179 
180  _cDigiSize_FED.initialize(_name, "DigiSize",
184 
185  // INITIALIZE HISTOGRAMS that are only for Online
186  if (_ptype==fOnline)
187  {
192  _cDigiSizevsLS_FED.initialize(_name, "DigiSizevsLS",
196  _cTimingCutvsiphi_SubdetPM.initialize(_name, "TimingCutvsiphi",
200  _cTimingCutvsieta_Subdet.initialize(_name, "TimingCutvsieta",
204  _cOccupancyvsiphi_SubdetPM.initialize(_name, "Occupancyvsiphi",
208  _cOccupancyvsieta_Subdet.initialize(_name, "Occupancyvsieta",
212  _cOccupancyCutvsiphi_SubdetPM.initialize(_name, "OccupancyCutvsiphi",
216  _cOccupancyCutvsieta_Subdet.initialize(_name, "OccupancyCutvsieta",
220  _cOccupancyCutvsLS_Subdet.initialize(_name, "OccupancyCutvsLS",
224  _cOccupancyCutvsBX_Subdet.initialize(_name, "OccupancyCutvsBX",
228 // _cOccupancyCutvsSlotvsLS_HFPM.initialize(_name,
229 // "OccupancyCutvsSlotvsLS", hcaldqm::hashfunctions::fSubdetPM,
230 // new hcaldqm::quantity::LumiSection(_maxLS),
231 // new hcaldqm::quantity::ElectronicsQuantity(hcaldqm::quantity::fSlotuTCA),
232 // new hcaldqm::quantity::ValueQuantity(hcaldqm::quantity::fN));
234  "OccupancyCutvsiphivsLS", hcaldqm::hashfunctions::fSubdetPM,
238 
243  }
244 
245  // BOOK HISTOGRAMS
246  char cutstr[200];
247  sprintf(cutstr, "_SumQHBHE%dHO%dHF%d", int(_cutSumQ_HBHE),
248  int(_cutSumQ_HO), int(_cutSumQ_HF));
249  char cutstr2[200];
250  sprintf(cutstr2, "_SumQHF%d", int(_cutSumQ_HF));
251 
253 
258 
260 
268 
280 
282 
283  // BOOK HISTOGRAMS that are only for Online
285  if (_ptype==fOnline)
286  {
298 
299  _xNChs.book(_emap);
301  _xUni.book(_emap);
303 
304  // just PER HF FED RECORD THE #CHANNELS
305  // ONLY WAY TO DO THAT AUTOMATICALLY AND W/O HARDCODING 1728
306  // or ANY OTHER VALUES LIKE 2592, 2192
307  std::vector<HcalGenericDetId> gids = _emap->allPrecisionId();
308  for (std::vector<HcalGenericDetId>::const_iterator it=gids.begin();
309  it!=gids.end(); ++it)
310  {
311  if (!it->isHcalDetId())
312  continue;
313  HcalDetId did(it->rawId());
314  if (_xQuality.exists(did))
315  {
316  HcalChannelStatus cs(it->rawId(), _xQuality.get(
317  HcalDetId(*it)));
318  if (
321  continue;
322  }
324  _xNChsNominal.get(eid)++; // he will know the nominal #channels per FED
325  }
326  }
327 
328  // MARK THESE HISTOGRAMS AS LUMI BASED FOR OFFLINE PROCESSING
329  if (_ptype==fOffline)
330  {
333  }
334 
335  ib.setCurrentFolder(_subsystem+"/RunInfo");
336  meNumEvents1LS = ib.book1D("NumberOfEvents", "NumberOfEvents",
337  1, 0, 1);
339 }
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
hcaldqm::Container1D _cADC_SubdetPM
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:40
auto_ptr< ClusterSequence > cs
virtual bool exists(HcalDetId const &)
Definition: ContainerXXX.h:267
hcaldqm::ContainerProf2D _cSumQ_depth
int const CRATE_VME_MIN
Definition: Constants.h:60
uint16_t fed2crate(int fed)
Definition: Utilities.cc:12
hcaldqm::ContainerXXX< uint32_t > _xNChs
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
hcaldqm::ContainerXXX< uint32_t > _xNChsNominal
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
int const SPIGOT_MIN
Definition: Constants.h:85
hcaldqm::Container1D _cTimingCut_SubdetPM
MonitorElement * meNumEvents1LS
hcaldqm::ContainerXXX< uint32_t > _xUni
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM
hcaldqm::Container2D _cOccupancyCut_depth
std::vector< uint32_t > _vhashFEDs
int const FIBER_VME_MIN
Definition: Constants.h:90
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
void bookHistograms(fwlite::EventContainer &eventCont)
int const FIBERCH_MIN
Definition: Constants.h:100
hcaldqm::Container1D _cShapeCut_FED
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:71
hcaldqm::filter::HashFilter _filter_VME
double _cutSumQ_HBHE
hcaldqm::ContainerProf2D _cTimingCut_depth
ProcessingType _ptype
Definition: DQModule.h:59
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:62
int const FED_VME_MIN
Definition: Constants.h:47
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0)
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
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
HcalElectronicsMap const * _emap
std::vector< HcalGenericDetId > allPrecisionId() const
hcaldqm::Container2D _cOccupancyCut_FEDVME
hcaldqm::filter::HashFilter _filter_uTCA
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
std::string _name
Definition: DQModule.h:57
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
int const CRATE_uTCA_MIN
Definition: Constants.h:65
hcaldqm::Container1D _cDigiSize_FED
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container2D.cc:895
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:99
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:957
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
hcaldqm::Container2D _cOccupancy_FEDVME
hcaldqm::Container2D _cOccupancy_ElectronicsVME
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
virtual void setLumiFlag()
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:47
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:97
std::string _subsystem
Definition: DQModule.h:64
hcaldqm::Container1D _cSumQ_SubdetPM
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
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::Container1D _cOccupancyvsieta_Subdet
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
hcaldqm::Container2D _cOccupancy_depth
Readout chain identification for Hcal.
hcaldqm::Container1D _cfC_SubdetPM
int const SLOT_uTCA_MIN
Definition: Constants.h:72
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
hcaldqm::Container2D _cOccupancy_FEDuTCA
void DigiPhase1Task::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 724 of file DigiPhase1Task.cc.

726 {
727  DQTask::endLuminosityBlock(lb, es);
728 }

Member Data Documentation

hcaldqm::Container1D DigiPhase1Task::_cADC_SubdetPM
protected

Definition at line 71 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiPhase1Task::_cDigiSize_FED
protected

Definition at line 125 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cDigiSizevsLS_FED
protected

Definition at line 126 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiPhase1Task::_cfC_SubdetPM
protected

Definition at line 72 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancy_depth
protected

Definition at line 102 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancy_ElectronicsuTCA
protected

Definition at line 101 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancy_ElectronicsVME
protected

Definition at line 100 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancy_FEDuTCA
protected

Definition at line 99 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancy_FEDVME
protected

Definition at line 98 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCut_depth
protected

Definition at line 113 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCut_ElectronicsuTCA
protected

Definition at line 112 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCut_ElectronicsVME
protected

Definition at line 111 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCut_FEDuTCA
protected

Definition at line 110 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCut_FEDVME
protected

Definition at line 109 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cOccupancyCutvsBX_Subdet
protected

Definition at line 122 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiPhase1Task::_cOccupancyCutvsieta_Subdet
protected

Definition at line 115 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiPhase1Task::_cOccupancyCutvsiphi_SubdetPM
protected

Definition at line 114 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCutvsiphivsLS_SubdetPM
protected

Definition at line 117 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cOccupancyCutvsLS_Subdet
protected

Definition at line 121 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCutvsSlotvsLS_HFPM
protected

Definition at line 116 of file DigiPhase1Task.h.

hcaldqm::Container1D DigiPhase1Task::_cOccupancyvsieta_Subdet
protected

Definition at line 104 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiPhase1Task::_cOccupancyvsiphi_SubdetPM
protected

Definition at line 103 of file DigiPhase1Task.h.

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

hcaldqm::ContainerProf1D DigiPhase1Task::_cOccupancyvsLS_Subdet
protected

Definition at line 120 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cQ2Q12CutvsLS_FEDHF
protected

Definition at line 94 of file DigiPhase1Task.h.

hcaldqm::Container1D DigiPhase1Task::_cShapeCut_FED
protected

Definition at line 79 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D DigiPhase1Task::_cSummaryvsLS
protected

Definition at line 136 of file DigiPhase1Task.h.

hcaldqm::Container2D DigiPhase1Task::_cSummaryvsLS_FED
protected

Definition at line 135 of file DigiPhase1Task.h.

hcaldqm::ContainerProf2D DigiPhase1Task::_cSumQ_depth
protected

Definition at line 74 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiPhase1Task::_cSumQ_SubdetPM
protected

Definition at line 73 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cSumQvsBX_SubdetPM
protected

Definition at line 76 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cSumQvsLS_SubdetPM
protected

Definition at line 75 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiPhase1Task::_cTimingCut_depth
protected

Definition at line 89 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiPhase1Task::_cTimingCut_ElectronicsuTCA
protected

Definition at line 87 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiPhase1Task::_cTimingCut_ElectronicsVME
protected

Definition at line 86 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiPhase1Task::_cTimingCut_FEDuTCA
protected

Definition at line 85 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiPhase1Task::_cTimingCut_FEDVME
protected

Definition at line 84 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiPhase1Task::_cTimingCut_SubdetPM
protected

Definition at line 83 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cTimingCutvsieta_Subdet
protected

Definition at line 91 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cTimingCutvsiphi_SubdetPM
protected

Definition at line 90 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cTimingCutvsLS_FED
protected

Definition at line 88 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

double DigiPhase1Task::_cutSumQ_HBHE
protected

Definition at line 53 of file DigiPhase1Task.h.

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

double DigiPhase1Task::_cutSumQ_HF
protected

Definition at line 53 of file DigiPhase1Task.h.

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

double DigiPhase1Task::_cutSumQ_HO
protected

Definition at line 53 of file DigiPhase1Task.h.

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

hcaldqm::electronicsmap::ElectronicsMap DigiPhase1Task::_ehashmap
protected

Definition at line 61 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

HcalElectronicsMap const* DigiPhase1Task::_emap
protected

Definition at line 60 of file DigiPhase1Task.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter DigiPhase1Task::_filter_FEDHF
protected

Definition at line 66 of file DigiPhase1Task.h.

hcaldqm::filter::HashFilter DigiPhase1Task::_filter_HF
protected

Definition at line 67 of file DigiPhase1Task.h.

hcaldqm::filter::HashFilter DigiPhase1Task::_filter_uTCA
protected

Definition at line 65 of file DigiPhase1Task.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter DigiPhase1Task::_filter_VME
protected

Definition at line 64 of file DigiPhase1Task.h.

Referenced by bookHistograms().

edm::InputTag DigiPhase1Task::_tagHBHE
protected

Definition at line 46 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

edm::InputTag DigiPhase1Task::_tagHF
protected

Definition at line 48 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

edm::InputTag DigiPhase1Task::_tagHO
protected

Definition at line 47 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

double DigiPhase1Task::_thresh_unihf
protected

Definition at line 54 of file DigiPhase1Task.h.

Referenced by DigiPhase1Task().

edm::EDGetTokenT<QIE11DigiCollection> DigiPhase1Task::_tokHBHE
protected

Definition at line 49 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

edm::EDGetTokenT<QIE10DigiCollection> DigiPhase1Task::_tokHF
protected

Definition at line 51 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

edm::EDGetTokenT<HODigiCollection> DigiPhase1Task::_tokHO
protected

Definition at line 50 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

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

Definition at line 57 of file DigiPhase1Task.h.

Referenced by bookHistograms().

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

Definition at line 127 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

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

Definition at line 129 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

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

Definition at line 130 of file DigiPhase1Task.h.

Referenced by bookHistograms().

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

Definition at line 128 of file DigiPhase1Task.h.

Referenced by bookHistograms().

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

Definition at line 128 of file DigiPhase1Task.h.

tuple DigiPhase1Task.digiPhase1Task
Initial value:
1 = cms.EDAnalyzer(
2  "DigiPhase1Task",
3 
4  # standard parameters
5  name = cms.untracked.string("DigiPhase1Task"),
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  tagHBHE = cms.untracked.InputTag("hcalDigis"),
15  tagHO = cms.untracked.InputTag("hcalDigis"),
16  tagHF = cms.untracked.InputTag("hcalDigis"),
17 
18  # Cuts
19  cutSumQ_HBHE = cms.untracked.double(20),
20  cutSumQ_HO = cms.untracked.double(20),
21  cutSumQ_HF = cms.untracked.double(20),
22 
23  # ratio thresholds
24  thresh_unifh = cms.untracked.double(0.2)
25 )

Definition at line 3 of file DigiPhase1Task.py.

MonitorElement* DigiPhase1Task::meNumEvents1LS
protected

Definition at line 133 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().