CMS 3D CMS Logo

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

#include <LaserTask.h>

Inheritance diagram for LaserTask:
hcaldqm::DQTask DQMEDAnalyzer hcaldqm::DQModule edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void endRun (edm::Run const &r, edm::EventSetup const &) override
 
 LaserTask (edm::ParameterSet const &)
 
 ~LaserTask () override
 
- Public Member Functions inherited from hcaldqm::DQTask
void analyze (edm::Event const &, edm::EventSetup const &) override
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQTask (edm::ParameterSet const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DQTask () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMEDAnalyzer ()
 
 DQMEDAnalyzer (DQMEDAnalyzer const &)=delete
 
 DQMEDAnalyzer (DQMEDAnalyzer &&)=delete
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) override
 
 ~DQMEDAnalyzer () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase 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 & itemsToGetFrom (BranchType iType) 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
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) 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)
 

Protected Member Functions

virtual void _dump ()
 
bool _isApplicable (edm::Event const &) override
 
void _process (edm::Event const &, edm::EventSetup const &) override
 
void _resetMonitors (hcaldqm::UpdateFreq) override
 
- Protected Member Functions inherited from hcaldqm::DQTask
virtual int _getCalibType (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::Container2D _cMissing_depth
 
hcaldqm::Container2D _cMissing_FEDuTCA
 
hcaldqm::Container2D _cMissing_FEDVME
 
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
 
hcaldqm::ContainerProf2D _cSignalMean_depth
 
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
 
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
 
hcaldqm::Container1D _cSignalMean_Subdet
 
hcaldqm::ContainerProf2D _cSignalRMS_depth
 
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
 
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
 
hcaldqm::Container1D _cSignalRMS_Subdet
 
hcaldqm::ContainerProf1D _cSignalvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cSignalvsEvent_SubdetPM
 
hcaldqm::ContainerProf1D _cSignalvsLS_SubdetPM
 
hcaldqm::ContainerProf2D _cTimingMean_depth
 
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
 
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
 
hcaldqm::Container1D _cTimingMean_Subdet
 
hcaldqm::ContainerProf2D _cTimingRMS_depth
 
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
 
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
 
hcaldqm::Container1D _cTimingRMS_Subdet
 
hcaldqm::ContainerProf1D _cTimingvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingvsEvent_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingvsLS_SubdetPM
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
uint32_t _laserType
 
double _lowHBHE
 
double _lowHEP17
 
double _lowHF
 
double _lowHO
 
int _nevents
 
edm::InputTag _tagHBHE
 
edm::InputTag _tagHE
 
edm::InputTag _tagHF
 
edm::InputTag _tagHO
 
edm::InputTag _taguMN
 
edm::EDGetTokenT< HBHEDigiCollection_tokHBHE
 
edm::EDGetTokenT< QIE11DigiCollection_tokHEP17
 
edm::EDGetTokenT< QIE10DigiCollection_tokHF
 
edm::EDGetTokenT< HODigiCollection_tokHO
 
edm::EDGetTokenT< HcalUMNioDigi_tokuMN
 
hcaldqm::ContainerXXX< int > _xEntries
 
hcaldqm::ContainerXXX< double > _xSignalSum
 
hcaldqm::ContainerXXX< double > _xSignalSum2
 
hcaldqm::ContainerXXX< double > _xTimingSum
 
hcaldqm::ContainerXXX< double > _xTimingSum2
 
- Protected Attributes inherited from hcaldqm::DQTask
ContainerI _cEvsPerLS
 
ContainerI _cEvsTotal
 
ContainerS _cProcessingTypeName
 
ContainerS _cRunKeyName
 
ContainerI _cRunKeyVal
 
edm::ESHandle< HcalDbService_dbService
 
HcalElectronicsMap const * _emap
 
int _procLSs
 
edm::InputTag _tagRaw
 
edm::EDGetTokenT< FEDRawDataCollection_tokRaw
 
std::vector< uint32_t > _vcdaqEids
 
ContainerXXX< uint32_t > _xQuality
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
- Protected Attributes inherited from hcaldqm::DQModule
int _currentLS
 
int _debug
 
int _evsPerLS
 
int _evsTotal
 
Logger _logger
 
int _maxLS
 
ModuleType _mtype
 
std::string _name
 
ProcessingType _ptype
 
std::string _runkeyName
 
int _runkeyVal
 
std::string _subsystem
 

Additional Inherited Members

- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 22 of file LaserTask.h.

Constructor & Destructor Documentation

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

Definition at line 7 of file LaserTask.cc.

References _laserType, _lowHBHE, _lowHEP17, _lowHF, _lowHO, _nevents, _tagHBHE, _tagHE, _tagHF, _tagHO, _taguMN, _tokHBHE, _tokHEP17, _tokHF, _tokHO, _tokuMN, and edm::ParameterSet::getUntrackedParameter().

7  :
8  DQTask(ps)
9 {
10  _nevents = ps.getUntrackedParameter<int>("nevents", 2000);
11 
12  // tags
13  _tagHBHE = ps.getUntrackedParameter<edm::InputTag>("tagHBHE",
14  edm::InputTag("hcalDigis"));
15  _tagHE = ps.getUntrackedParameter<edm::InputTag>("tagHE",
16  edm::InputTag("hcalDigis"));
17  _tagHO = ps.getUntrackedParameter<edm::InputTag>("tagHO",
18  edm::InputTag("hcalDigis"));
19  _tagHF = ps.getUntrackedParameter<edm::InputTag>("tagHF",
20  edm::InputTag("hcalDigis"));
21  _taguMN = ps.getUntrackedParameter<edm::InputTag>("taguMN",
22  edm::InputTag("hcalDigis"));
23  _tokHBHE = consumes<HBHEDigiCollection>(_tagHBHE);
24  _tokHEP17 = consumes<QIE11DigiCollection>(_tagHE);
25  _tokHO = consumes<HODigiCollection>(_tagHO);
26  _tokHF = consumes<QIE10DigiCollection>(_tagHF);
27  _tokuMN = consumes<HcalUMNioDigi>(_taguMN);
28 
29  // constants
30  _lowHBHE = ps.getUntrackedParameter<double>("lowHBHE",
31  20);
32  _lowHEP17 = ps.getUntrackedParameter<double>("lowHEP17",
33  20);
34  _lowHO = ps.getUntrackedParameter<double>("lowHO",
35  20);
36  _lowHF = ps.getUntrackedParameter<double>("lowHF",
37  20);
38  _laserType = (uint32_t)ps.getUntrackedParameter<uint32_t>("laserType");
39 }
edm::InputTag _tagHE
Definition: LaserTask.h:53
double _lowHF
Definition: LaserTask.h:73
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
Definition: LaserTask.h:58
double _lowHBHE
Definition: LaserTask.h:70
uint32_t _laserType
Definition: LaserTask.h:74
edm::InputTag _tagHO
Definition: LaserTask.h:54
edm::InputTag _tagHF
Definition: LaserTask.h:55
int _nevents
Definition: LaserTask.h:69
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LaserTask.h:59
double _lowHO
Definition: LaserTask.h:72
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: LaserTask.h:57
edm::InputTag _tagHBHE
Definition: LaserTask.h:52
edm::InputTag _taguMN
Definition: LaserTask.h:56
double _lowHEP17
Definition: LaserTask.h:71
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: LaserTask.h:61
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: LaserTask.h:60
LaserTask::~LaserTask ( )
inlineoverride

Definition at line 26 of file LaserTask.h.

References bookHistograms().

27  {}

Member Function Documentation

void LaserTask::_dump ( )
protectedvirtual

Definition at line 265 of file LaserTask.cc.

References _cMissing_depth, _cMissing_FEDuTCA, _cMissing_FEDVME, _cSignalMean_depth, _cSignalMean_FEDuTCA, _cSignalMean_FEDVME, _cSignalMean_Subdet, _cSignalRMS_depth, _cSignalRMS_FEDuTCA, _cSignalRMS_FEDVME, _cSignalRMS_Subdet, _cTimingMean_depth, _cTimingMean_FEDuTCA, _cTimingMean_FEDVME, _cTimingMean_Subdet, _cTimingRMS_depth, _cTimingRMS_FEDuTCA, _cTimingRMS_FEDVME, _cTimingRMS_Subdet, _ehashmap, hcaldqm::DQTask::_emap, hcaldqm::DQModule::_ptype, _xEntries, _xSignalSum, _xSignalSum2, _xTimingSum, _xTimingSum2, HcalElectronicsMap::allPrecisionId(), runTauDisplay::eid, hcaldqm::Container2D::fill(), hcaldqm::Container1D::fill(), hcaldqm::fOffline, hcaldqm::ContainerXXX< STDTYPE >::get(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), gen::n, hcaldqm::Container1D::reset(), and mathSSE::sqrt().

Referenced by endLuminosityBlock(), and endRun().

266 {
275 
276  if (_ptype != fOffline) { // hidefed2crate
285  }
286 
287  std::vector<HcalGenericDetId> dids = _emap->allPrecisionId();
288  for (std::vector<HcalGenericDetId>::const_iterator it=dids.begin();
289  it!=dids.end(); ++it)
290  {
291  if (!it->isHcalDetId())
292  continue;
293  HcalDetId did = HcalDetId(it->rawId());
295  int n = _xEntries.get(did);
296  // channels missing or low signal
297  if (n==0)
298  {
299  _cMissing_depth.fill(did);
300  if (_ptype != fOffline) { // hidefed2crate
301  if (eid.isVMEid())
303  else
305  }
306  continue;
307  }
308 
309  double msig = _xSignalSum.get(did)/n;
310  double mtim = _xTimingSum.get(did)/n;
311  double rsig = sqrt(_xSignalSum2.get(did)/n-msig*msig);
312  double rtim = sqrt(_xTimingSum2.get(did)/n-mtim*mtim);
313 
314  _cSignalMean_Subdet.fill(did, msig);
315  _cSignalMean_depth.fill(did, msig);
316  _cSignalRMS_Subdet.fill(did, rsig);
317  _cSignalRMS_depth.fill(did, rsig);
318  _cTimingMean_Subdet.fill(did, mtim);
319  _cTimingMean_depth.fill(did, mtim);
320  _cTimingRMS_Subdet.fill(did, rtim);
321  _cTimingRMS_depth.fill(did, rtim);
322  if (_ptype != fOffline) { // hidefed2crate
323  if (eid.isVMEid())
324  {
326  _cSignalRMS_FEDVME.fill(eid, rsig);
328  _cTimingRMS_FEDVME.fill(eid, rtim);
329  }
330  else
331  {
336  }
337  }
338  }
339 }
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
Definition: LaserTask.h:109
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LaserTask.h:78
hcaldqm::ContainerXXX< int > _xEntries
Definition: LaserTask.h:79
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LaserTask.h:87
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
Definition: LaserTask.h:110
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LaserTask.h:77
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LaserTask.h:80
hcaldqm::Container2D _cMissing_depth
Definition: LaserTask.h:116
hcaldqm::Container2D _cMissing_FEDVME
Definition: LaserTask.h:117
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LaserTask.h:101
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
Definition: LaserTask.h:112
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
Definition: LaserTask.h:106
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LaserTask.h:86
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(uint32_t)
Definition: Container1D.cc:82
virtual void reset()
Definition: Container1D.cc:65
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
Definition: LaserTask.h:113
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LaserTask.h:111
T sqrt(T t)
Definition: SSEVec.h:18
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
Definition: LaserTask.h:108
std::vector< HcalGenericDetId > allPrecisionId() const
HcalElectronicsMap const * _emap
Definition: DQTask.h:73
hcaldqm::Container2D _cMissing_FEDuTCA
Definition: LaserTask.h:118
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LaserTask.h:84
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LaserTask.h:107
hcaldqm::ContainerProf2D _cTimingMean_depth
Definition: LaserTask.h:103
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LaserTask.h:64
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
hcaldqm::Container1D _cSignalRMS_Subdet
Definition: LaserTask.h:85
void fill(HcalDetId const &) override
Definition: Container2D.cc:59
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LaserTask.h:81
hcaldqm::ContainerProf2D _cSignalRMS_depth
Definition: LaserTask.h:102
Readout chain identification for Hcal.
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LaserTask.h:104
bool LaserTask::_isApplicable ( edm::Event const &  e)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 558 of file LaserTask.cc.

References _laserType, hcaldqm::DQModule::_ptype, _tokuMN, DEFINE_FWK_MODULE, HcalUMNioDigi::eventType(), hcaldqm::constants::EVENTTYPE_LASER, hcaldqm::fOnline, edm::Event::getByToken(), and HcalUMNioDigi::valueUserWord().

Referenced by endRun().

559 {
560  if (_ptype!=fOnline)
561  return true;
562  else
563  {
564  // fOnline mode
566  if (!e.getByToken(_tokuMN, cumn))
567  return false;
568 
569  // event type check first
570  uint8_t eventType = cumn->eventType();
571  if (eventType!=constants::EVENTTYPE_LASER)
572  return false;
573 
574  // check if this analysis task is of the right laser type
575  uint32_t laserType = cumn->valueUserWord(0);
576  if (laserType==_laserType) return true;
577  }
578 
579  return false;
580 }
uint32_t _laserType
Definition: LaserTask.h:74
ProcessingType _ptype
Definition: DQModule.h:59
uint32_t valueUserWord(int iword) const
uint8_t eventType() const
uint8_t const EVENTTYPE_LASER
Definition: Constants.h:324
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: LaserTask.h:61
void LaserTask::_process ( edm::Event const &  e,
edm::EventSetup const &  es 
)
overrideprotectedvirtual

Implements hcaldqm::DQTask.

Definition at line 341 of file LaserTask.cc.

References _cADC_SubdetPM, _cShapeCut_FEDSlot, _cSignalvsBX_SubdetPM, _cSignalvsEvent_SubdetPM, _cSignalvsLS_SubdetPM, _cTimingvsBX_SubdetPM, _cTimingvsEvent_SubdetPM, _cTimingvsLS_SubdetPM, hcaldqm::DQModule::_currentLS, hcaldqm::DQTask::_dbService, _ehashmap, hcaldqm::DQModule::_logger, _lowHBHE, _lowHEP17, _lowHF, _lowHO, hcaldqm::DQModule::_ptype, _tagHBHE, _tagHE, _tagHF, _tagHO, _tokHBHE, _tokHEP17, _tokHF, _tokHO, _xEntries, _xSignalSum, _xSignalSum2, _xTimingSum, _xTimingSum2, ecalMGPA::adc(), hcaldqm::utilities::aveTS(), edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), edm::EventBase::bunchCrossing(), QIE11DataFrame::detid(), QIE10DataFrame::detid(), Logger::dqmthrow(), runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), edm::EventID::event(), edm::Event::eventAuxiliary(), hcaldqm::Container1D::fill(), hcaldqm::fLocal, hcaldqm::fOffline, hcaldqm::ContainerXXX< STDTYPE >::get(), edm::Event::getByToken(), HcalEndcap, HcalForward, mps_fire::i, edm::EventAuxiliary::id(), edm::InputTag::instance(), edm::InputTag::label(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), QIE11DataFrame::samples(), QIE10DataFrame::samples(), HBHEDataFrame::size(), HODataFrame::size(), HcalDetId::subdet(), and hcaldqm::utilities::sumQ().

Referenced by endRun().

343 {
348 
349  if (!e.getByToken(_tokHBHE, chbhe))
350  _logger.dqmthrow("Collection HBHEDigiCollection isn't available "
351  + _tagHBHE.label() + " " + _tagHBHE.instance());
352  if (!e.getByToken(_tokHEP17, chep17))
353  _logger.dqmthrow("Collection QIE11DigiCollection isn't available "
354  + _tagHE.label() + " " + _tagHE.instance());
355  if (!e.getByToken(_tokHO, cho))
356  _logger.dqmthrow("Collection HODigiCollection isn't available "
357  + _tagHO.label() + " " + _tagHO.instance());
358  if (!e.getByToken(_tokHF, chf))
359  _logger.dqmthrow("Collection QIE10DigiCollection isn't available "
360  + _tagHF.label() + " " + _tagHF.instance());
361 
362 // int currentEvent = e.eventAuxiliary().id().event();
363  int bx = e.bunchCrossing();
364 
365  for (HBHEDigiCollection::const_iterator it=chbhe->begin();
366  it!=chbhe->end(); ++it)
367  {
368  const HBHEDataFrame digi = (const HBHEDataFrame)(*it);
369  double sumQ = hcaldqm::utilities::sumQ<HBHEDataFrame>(digi, 2.5, 0,
370  digi.size()-1);
371  if (sumQ<_lowHBHE)
372  continue;
373  HcalDetId did = digi.id();
374  HcalElectronicsId eid = digi.elecId();
375 
376  double aveTS = hcaldqm::utilities::aveTS<HBHEDataFrame>(digi, 2.5, 0,
377  digi.size()-1);
378  _xSignalSum.get(did)+=sumQ;
379  _xSignalSum2.get(did)+=sumQ*sumQ;
380  _xTimingSum.get(did)+=aveTS;
381  _xTimingSum2.get(did)+=aveTS*aveTS;
382  _xEntries.get(did)++;
383 
384  for (int i=0; i<digi.size(); i++)
385  {
386  if (_ptype != fOffline) { // hidefed2crate
387  _cShapeCut_FEDSlot.fill(eid, i,
388  digi.sample(i).nominal_fC()-2.5);
389  }
390  _cADC_SubdetPM.fill(did, digi.sample(i).adc());
391  }
392 
393  // select based on local global
394  if (_ptype==fLocal)
395  {
396  int currentEvent = e.eventAuxiliary().id().event();
397  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
398  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
399  }
400  else
401  {
404  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
405  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
406  }
407  }
408  for (QIE11DigiCollection::const_iterator it=chep17->begin(); it!=chep17->end();
409  ++it)
410  {
411  const QIE11DataFrame digi = static_cast<const QIE11DataFrame>(*it);
412  HcalDetId const& did = digi.detid();
413  if (did.subdet() != HcalEndcap) {
414  continue;
415  }
416  uint32_t rawid = _ehashmap.lookup(did);
417  HcalElectronicsId const& eid(rawid);
418 
419  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE11DataFrame>(_dbService, did, digi);
420  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE11DataFrame>(digi, 2.5, 0, digi.samples()-1);
421  double sumQ = hcaldqm::utilities::sumQDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
422  if (sumQ<_lowHEP17)
423  continue;
424 
425 
426  //double aveTS = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(digi, 2.5, 0,digi.samples()-1);
427  double aveTS = hcaldqm::utilities::aveTSDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.size()-1);
428  _xSignalSum.get(did)+=sumQ;
429  _xSignalSum2.get(did)+=sumQ*sumQ;
430  _xTimingSum.get(did)+=aveTS;
431  _xTimingSum2.get(did)+=aveTS*aveTS;
432  _xEntries.get(did)++;
433 
434  for (int i=0; i<digi.samples(); i++)
435  {
436  _cShapeCut_FEDSlot.fill(eid, i, hcaldqm::utilities::adc2fCDBMinusPedestal<QIE11DataFrame>(_dbService, digi_fC, did, digi, i));
437  _cADC_SubdetPM.fill(did, digi[i].adc());
438  }
439 
440  // select based on local global
441  if (_ptype==fLocal)
442  {
443  int currentEvent = e.eventAuxiliary().id().event();
444  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
445  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
446  }
447  else
448  {
451  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
452  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
453  }
454  }
456  it!=cho->end(); ++it)
457  {
458  const HODataFrame digi = (const HODataFrame)(*it);
459  double sumQ = hcaldqm::utilities::sumQ<HODataFrame>(digi, 8.5, 0,
460  digi.size()-1);
461  if (sumQ<_lowHO)
462  continue;
463  HcalDetId did = digi.id();
464  HcalElectronicsId eid = digi.elecId();
465 
466  double aveTS = hcaldqm::utilities::aveTS<HODataFrame>(digi, 8.5, 0,
467  digi.size()-1);
468  _xSignalSum.get(did)+=sumQ;
469  _xSignalSum2.get(did)+=sumQ*sumQ;
470  _xTimingSum.get(did)+=aveTS;
471  _xTimingSum2.get(did)+=aveTS*aveTS;
472  _xEntries.get(did)++;
473 
474  for (int i=0; i<digi.size(); i++)
475  {
476  if (_ptype != fOffline) { // hidefed2crate
477  _cShapeCut_FEDSlot.fill(eid, i,
478  digi.sample(i).nominal_fC()-8.5);
479  }
480  _cADC_SubdetPM.fill(did, digi.sample(i).adc());
481  }
482 
483  // select based on local global
484  if (_ptype==fLocal)
485  {
486  int currentEvent = e.eventAuxiliary().id().event();
487  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
488  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
489  }
490  else
491  {
494  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
495  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
496  }
497  }
499  it!=chf->end(); ++it)
500  {
501  const QIE10DataFrame digi = (const QIE10DataFrame)(*it);
502  HcalDetId did = digi.detid();
503  if (did.subdet() != HcalForward) {
504  continue;
505  }
507 
508  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE10DataFrame>(_dbService, did, digi);
509  double sumQ = hcaldqm::utilities::sumQDB<QIE10DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
510  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(digi, 2.5, 0, digi.samples()-1);
511  if (sumQ<_lowHF)
512  continue;
513 
514  //double aveTS = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(digi, 2.5, 0, digi.samples()-1);
515  double aveTS = hcaldqm::utilities::aveTSDB<QIE10DataFrame>(_dbService, digi_fC, did, digi, 0, digi.size()-1);
516 
517  _xSignalSum.get(did)+=sumQ;
518  _xSignalSum2.get(did)+=sumQ*sumQ;
519  _xTimingSum.get(did)+=aveTS;
520  _xTimingSum2.get(did)+=aveTS*aveTS;
521  _xEntries.get(did)++;
522 
523  for (int i=0; i<digi.samples(); i++)
524  {
525  if (_ptype != fOffline) { // hidefed2crate
526  _cShapeCut_FEDSlot.fill(eid, (int)i, hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi, i));
527  }
528  _cADC_SubdetPM.fill(did, digi[i].adc());
529  }
530 
531  // select based on local global
532  if (_ptype==fLocal)
533  {
534  int currentEvent = e.eventAuxiliary().id().event();
535  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
536  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
537  }
538  else
539  {
542  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
543  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
544  }
545  }
546 }
int adc(sample_type sample)
get the ADC sample (12 bits)
int samples() const
total number of samples in the digi
DetId detid() const
Get the detector id.
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
Definition: LaserTask.h:92
double aveTS(DIGI const &digi, double ped=0, int i=0, int j=3)
Definition: Utilities.h:108
hcaldqm::ContainerProf1D _cSignalvsEvent_SubdetPM
Definition: LaserTask.h:94
edm::InputTag _tagHE
Definition: LaserTask.h:53
double _lowHF
Definition: LaserTask.h:73
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:49
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LaserTask.h:78
hcaldqm::ContainerXXX< int > _xEntries
Definition: LaserTask.h:79
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
Definition: LaserTask.h:58
int size() const
total number of samples in the digi
Definition: HBHEDataFrame.h:26
double _lowHBHE
Definition: LaserTask.h:70
std::vector< HBHEDataFrame >::const_iterator const_iterator
hcaldqm::ContainerProf1D _cTimingvsEvent_SubdetPM
Definition: LaserTask.h:93
const_iterator begin() const
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LaserTask.h:77
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LaserTask.h:80
edm::InputTag _tagHO
Definition: LaserTask.h:54
hcaldqm::Container1D _cADC_SubdetPM
Definition: LaserTask.h:89
edm::InputTag _tagHF
Definition: LaserTask.h:55
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
int size() const
total number of samples in the digi
Definition: HODataFrame.h:27
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LaserTask.h:59
DetId detid() const
Get the detector id.
Logger _logger
Definition: DQModule.h:70
hcaldqm::ContainerProf1D _cSignalvsBX_SubdetPM
Definition: LaserTask.h:98
double _lowHO
Definition: LaserTask.h:72
const_iterator end() const
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: LaserTask.h:57
hcaldqm::ContainerProf1D _cSignalvsLS_SubdetPM
Definition: LaserTask.h:96
hcaldqm::ContainerProf1D _cTimingvsLS_SubdetPM
Definition: LaserTask.h:95
edm::InputTag _tagHBHE
Definition: LaserTask.h:52
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LaserTask.h:64
std::string const & label() const
Definition: InputTag.h:36
const_iterator end() const
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
edm::ESHandle< HcalDbService > _dbService
Definition: DQTask.h:72
double _lowHEP17
Definition: LaserTask.h:71
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LaserTask.h:81
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: LaserTask.h:60
int samples() const
total number of samples in the digi
Readout chain identification for Hcal.
std::string const & instance() const
Definition: InputTag.h:37
hcaldqm::ContainerProf1D _cTimingvsBX_SubdetPM
Definition: LaserTask.h:97
const_iterator begin() const
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
Definition: Utilities.h:122
void LaserTask::_resetMonitors ( hcaldqm::UpdateFreq  uf)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 260 of file LaserTask.cc.

Referenced by endRun().

261 {
262  DQTask::_resetMonitors(uf);
263 }
void LaserTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 41 of file LaserTask.cc.

References _cADC_SubdetPM, _cMissing_depth, _cMissing_FEDuTCA, _cMissing_FEDVME, _cShapeCut_FEDSlot, _cSignalMean_depth, _cSignalMean_FEDuTCA, _cSignalMean_FEDVME, _cSignalMean_Subdet, _cSignalRMS_depth, _cSignalRMS_FEDuTCA, _cSignalRMS_FEDVME, _cSignalRMS_Subdet, _cSignalvsBX_SubdetPM, _cSignalvsEvent_SubdetPM, _cSignalvsLS_SubdetPM, _cTimingMean_depth, _cTimingMean_FEDuTCA, _cTimingMean_FEDVME, _cTimingMean_Subdet, _cTimingRMS_depth, _cTimingRMS_FEDuTCA, _cTimingRMS_FEDVME, _cTimingRMS_Subdet, _cTimingvsBX_SubdetPM, _cTimingvsEvent_SubdetPM, _cTimingvsLS_SubdetPM, _ehashmap, hcaldqm::DQTask::_emap, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_maxLS, hcaldqm::DQModule::_name, _nevents, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, _xEntries, _xSignalSum, _xSignalSum2, _xTimingSum, _xTimingSum2, hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, hcaldqm::quantity::fADC_128, hcaldqm::quantity::fBX, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fDChannel, hcaldqm::hashfunctions::fdepth, hcaldqm::hashfunctions::fElectronics, hcaldqm::quantity::ffC_1000, hcaldqm::quantity::ffC_3000, hcaldqm::hashfunctions::fFED, hcaldqm::hashfunctions::fFEDSlot, 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::fLocal, hcaldqm::quantity::fN, hcaldqm::fOffline, hcaldqm::quantity::fQIE10fC_100000Coarse, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::hashfunctions::fSubdet, hcaldqm::hashfunctions::fSubdetPM, hcaldqm::quantity::fTiming_TS, hcaldqm::quantity::fTiming_TS200, edm::EventSetup::get(), HcalDbService::getHcalMapping(), hcaldqm::ContainerProf2D::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerProf1D::initialize(), hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::Container1D::initialize(), edm::RunAuxiliary::run(), edm::Run::runAuxiliary(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

Referenced by ~LaserTask().

43 {
44  if (_ptype==fLocal)
45  if (r.runAuxiliary().run()==1)
46  return;
47 
48  DQTask::bookHistograms(ib, r, es);
49 
51  es.get<HcalDbRecord>().get(dbService);
52  _emap = dbService->getHcalMapping();
53 
54  std::vector<uint32_t> vhashVME;
55  std::vector<uint32_t> vhashuTCA;
56  std::vector<uint32_t> vhashC36;
57  vhashVME.push_back(HcalElectronicsId(constants::FIBERCH_MIN,
59  vhashuTCA.push_back(HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN,
60  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
62  vhashVME);
64  vhashuTCA);
65 
66  // INITIALIZE
67  _cSignalMean_Subdet.initialize(_name, "SignalMean",
71  _cSignalRMS_Subdet.initialize(_name, "SignalRMS",
75  _cTimingMean_Subdet.initialize(_name, "TimingMean",
79  _cTimingRMS_Subdet.initialize(_name, "TimingRMS",
83 
88 
89  if (_ptype != fOffline) { // hidefed2crate
90  _cSignalMean_FEDVME.initialize(_name, "SignalMean",
100  _cSignalRMS_FEDVME.initialize(_name, "SignalRMS",
105  _cSignalRMS_FEDuTCA.initialize(_name, "SignalRMS",
110  _cTimingMean_FEDVME.initialize(_name, "TimingMean",
115  _cTimingMean_FEDuTCA.initialize(_name, "TimingMean",
120  _cTimingRMS_FEDVME.initialize(_name, "TimingRMS",
125  _cTimingRMS_FEDuTCA.initialize(_name, "TimingRMS",
130 
135  }
136  _cTimingvsEvent_SubdetPM.initialize(_name, "TimingvsEvent",
140  _cSignalvsEvent_SubdetPM.initialize(_name, "SignalvsEvent",
144  _cTimingvsLS_SubdetPM.initialize(_name, "TimingvsLS",
148  _cSignalvsLS_SubdetPM.initialize(_name, "SignalvsLS",
152  _cTimingvsBX_SubdetPM.initialize(_name, "TimingvsBX",
156  _cSignalvsBX_SubdetPM.initialize(_name, "SignalvsBX",
160 
161  _cSignalMean_depth.initialize(_name, "SignalMean",
166  _cSignalRMS_depth.initialize(_name, "SignalRMS",
171  _cTimingMean_depth.initialize(_name, "TimingMean",
176  _cTimingRMS_depth.initialize(_name, "TimingRMS",
181 
182  _cMissing_depth.initialize(_name, "Missing",
187  if (_ptype != fOffline) { // hidefed2crate
188  _cMissing_FEDVME.initialize(_name, "Missing",
198  }
199 
200 
201  // initialize compact containers
207 
208  // BOOK
213 
218 
219  if (_ptype==fLocal)
220  {
223  }
224  else
225  {
230  }
231 
232  if (_ptype != fOffline) { // hidefed2crate
241  }
243 
245  if (_ptype != fOffline) { // hidefed2crate
249  }
250 
256 
258 }
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
Definition: LaserTask.h:92
hcaldqm::ContainerProf1D _cSignalvsEvent_SubdetPM
Definition: LaserTask.h:94
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:40
int const CRATE_VME_MIN
Definition: Constants.h:111
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
Definition: LaserTask.h:109
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LaserTask.h:78
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::ContainerXXX< int > _xEntries
Definition: LaserTask.h:79
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LaserTask.h:87
hcaldqm::ContainerProf1D _cTimingvsEvent_SubdetPM
Definition: LaserTask.h:93
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
Definition: LaserTask.h:110
int const SPIGOT_MIN
Definition: Constants.h:136
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
int const FIBER_VME_MIN
Definition: Constants.h:141
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LaserTask.h:77
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LaserTask.h:80
hcaldqm::Container2D _cMissing_depth
Definition: LaserTask.h:116
hcaldqm::Container2D _cMissing_FEDVME
Definition: LaserTask.h:117
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LaserTask.h:101
int const FIBERCH_MIN
Definition: Constants.h:151
hcaldqm::Container1D _cADC_SubdetPM
Definition: LaserTask.h:89
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
Definition: LaserTask.h:112
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
Definition: LaserTask.h:106
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LaserTask.h:86
ProcessingType _ptype
Definition: DQModule.h:59
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
Definition: LaserTask.h:113
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LaserTask.h:111
hcaldqm::filter::HashFilter _filter_uTCA
Definition: LaserTask.h:65
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
Definition: LaserTask.h:108
int _nevents
Definition: LaserTask.h:69
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
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:144
std::string _name
Definition: DQModule.h:57
HcalElectronicsMap const * _emap
Definition: DQTask.h:73
hcaldqm::ContainerProf1D _cSignalvsBX_SubdetPM
Definition: LaserTask.h:98
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0) override
int const CRATE_uTCA_MIN
Definition: Constants.h:116
hcaldqm::Container2D _cMissing_FEDuTCA
Definition: LaserTask.h:118
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LaserTask.h:84
hcaldqm::ContainerProf1D _cSignalvsLS_SubdetPM
Definition: LaserTask.h:96
hcaldqm::ContainerProf1D _cTimingvsLS_SubdetPM
Definition: LaserTask.h:95
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:99
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LaserTask.h:107
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:957
hcaldqm::ContainerProf2D _cTimingMean_depth
Definition: LaserTask.h:103
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LaserTask.h:64
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0) override
hcaldqm::Container1D _cSignalRMS_Subdet
Definition: LaserTask.h:85
const HcalElectronicsMap * getHcalMapping() const
std::string _subsystem
Definition: DQModule.h:64
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LaserTask.h:81
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 book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:895
hcaldqm::ContainerProf2D _cSignalRMS_depth
Definition: LaserTask.h:102
hcaldqm::filter::HashFilter _filter_VME
Definition: LaserTask.h:66
Readout chain identification for Hcal.
hcaldqm::ContainerProf1D _cTimingvsBX_SubdetPM
Definition: LaserTask.h:97
int const SLOT_uTCA_MIN
Definition: Constants.h:123
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LaserTask.h:104
void LaserTask::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 548 of file LaserTask.cc.

References _dump(), hcaldqm::DQModule::_ptype, and hcaldqm::fLocal.

Referenced by endRun().

550 {
551  if (_ptype==fLocal)
552  return;
553  this->_dump();
554 
555  DQTask::endLuminosityBlock(lb, es);
556 }
virtual void _dump()
Definition: LaserTask.cc:265
ProcessingType _ptype
Definition: DQModule.h:59
void LaserTask::endRun ( edm::Run const &  r,
edm::EventSetup const &   
)
inlineoverride

Definition at line 31 of file LaserTask.h.

References _dump(), _isApplicable(), _process(), hcaldqm::DQModule::_ptype, _resetMonitors(), endLuminosityBlock(), hcaldqm::fLocal, edm::RunAuxiliary::run(), and edm::Run::runAuxiliary().

32  {
34  {
35  if (r.runAuxiliary().run()==1)
36  return;
37  else
38  this->_dump();
39  }
40  }
virtual void _dump()
Definition: LaserTask.cc:265
ProcessingType _ptype
Definition: DQModule.h:59

Member Data Documentation

hcaldqm::Container1D LaserTask::_cADC_SubdetPM
protected

Definition at line 89 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D LaserTask::_cMissing_depth
protected

Definition at line 116 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D LaserTask::_cMissing_FEDuTCA
protected

Definition at line 118 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D LaserTask::_cMissing_FEDVME
protected

Definition at line 117 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cShapeCut_FEDSlot
protected

Definition at line 92 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalMean_depth
protected

Definition at line 101 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalMean_FEDuTCA
protected

Definition at line 107 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalMean_FEDVME
protected

Definition at line 106 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D LaserTask::_cSignalMean_Subdet
protected

Definition at line 84 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalRMS_depth
protected

Definition at line 102 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalRMS_FEDuTCA
protected

Definition at line 111 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalRMS_FEDVME
protected

Definition at line 110 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D LaserTask::_cSignalRMS_Subdet
protected

Definition at line 85 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cSignalvsBX_SubdetPM
protected

Definition at line 98 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cSignalvsEvent_SubdetPM
protected

Definition at line 94 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cSignalvsLS_SubdetPM
protected

Definition at line 96 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingMean_depth
protected

Definition at line 103 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingMean_FEDuTCA
protected

Definition at line 109 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingMean_FEDVME
protected

Definition at line 108 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D LaserTask::_cTimingMean_Subdet
protected

Definition at line 86 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingRMS_depth
protected

Definition at line 104 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingRMS_FEDuTCA
protected

Definition at line 113 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingRMS_FEDVME
protected

Definition at line 112 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D LaserTask::_cTimingRMS_Subdet
protected

Definition at line 87 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cTimingvsBX_SubdetPM
protected

Definition at line 97 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cTimingvsEvent_SubdetPM
protected

Definition at line 93 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cTimingvsLS_SubdetPM
protected

Definition at line 95 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::electronicsmap::ElectronicsMap LaserTask::_ehashmap
protected

Definition at line 64 of file LaserTask.h.

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

hcaldqm::filter::HashFilter LaserTask::_filter_uTCA
protected

Definition at line 65 of file LaserTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter LaserTask::_filter_VME
protected

Definition at line 66 of file LaserTask.h.

Referenced by bookHistograms().

uint32_t LaserTask::_laserType
protected

Definition at line 74 of file LaserTask.h.

Referenced by _isApplicable(), and LaserTask().

double LaserTask::_lowHBHE
protected

Definition at line 70 of file LaserTask.h.

Referenced by _process(), and LaserTask().

double LaserTask::_lowHEP17
protected

Definition at line 71 of file LaserTask.h.

Referenced by _process(), and LaserTask().

double LaserTask::_lowHF
protected

Definition at line 73 of file LaserTask.h.

Referenced by _process(), and LaserTask().

double LaserTask::_lowHO
protected

Definition at line 72 of file LaserTask.h.

Referenced by _process(), and LaserTask().

int LaserTask::_nevents
protected

Definition at line 69 of file LaserTask.h.

Referenced by bookHistograms(), and LaserTask().

edm::InputTag LaserTask::_tagHBHE
protected

Definition at line 52 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_tagHE
protected

Definition at line 53 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_tagHF
protected

Definition at line 55 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_tagHO
protected

Definition at line 54 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_taguMN
protected

Definition at line 56 of file LaserTask.h.

Referenced by LaserTask().

edm::EDGetTokenT<HBHEDigiCollection> LaserTask::_tokHBHE
protected

Definition at line 57 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::EDGetTokenT<QIE11DigiCollection> LaserTask::_tokHEP17
protected

Definition at line 58 of file LaserTask.h.

Referenced by _process(), and LaserTask().

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

Definition at line 60 of file LaserTask.h.

Referenced by _process(), and LaserTask().

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

Definition at line 59 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::EDGetTokenT<HcalUMNioDigi> LaserTask::_tokuMN
protected

Definition at line 61 of file LaserTask.h.

Referenced by _isApplicable(), and LaserTask().

hcaldqm::ContainerXXX<int> LaserTask::_xEntries
protected

Definition at line 79 of file LaserTask.h.

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

hcaldqm::ContainerXXX<double> LaserTask::_xSignalSum
protected

Definition at line 77 of file LaserTask.h.

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

hcaldqm::ContainerXXX<double> LaserTask::_xSignalSum2
protected

Definition at line 78 of file LaserTask.h.

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

hcaldqm::ContainerXXX<double> LaserTask::_xTimingSum
protected

Definition at line 80 of file LaserTask.h.

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

hcaldqm::ContainerXXX<double> LaserTask::_xTimingSum2
protected

Definition at line 81 of file LaserTask.h.

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