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::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

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 &)
 
 ~DQTask () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void beginRun (edm::Run const &, edm::EventSetup const &) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer ()
 
void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
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
 
 ~EDAnalyzerBase () 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 _tagHEP17
 
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 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, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
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::NoCacheglobalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr< dqmDetails::NoCacheglobalBeginRunSummary (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

Definition at line 21 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, _tagHEP17, _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  _tagHEP17 = ps.getUntrackedParameter<edm::InputTag>("tagHEP17",
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>(_tagHEP17);
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 }
double _lowHF
Definition: LaserTask.h:72
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
Definition: LaserTask.h:57
double _lowHBHE
Definition: LaserTask.h:69
uint32_t _laserType
Definition: LaserTask.h:73
edm::InputTag _tagHO
Definition: LaserTask.h:53
edm::InputTag _tagHF
Definition: LaserTask.h:54
int _nevents
Definition: LaserTask.h:68
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LaserTask.h:58
double _lowHO
Definition: LaserTask.h:71
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: LaserTask.h:56
edm::InputTag _tagHBHE
Definition: LaserTask.h:51
edm::InputTag _tagHEP17
Definition: LaserTask.h:52
edm::InputTag _taguMN
Definition: LaserTask.h:55
double _lowHEP17
Definition: LaserTask.h:70
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: LaserTask.h:60
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: LaserTask.h:59
LaserTask::~LaserTask ( )
inlineoverride

Definition at line 25 of file LaserTask.h.

References bookHistograms().

26  {}

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  double msig = _xSignalSum.get(did)/n;
297  double mtim = _xTimingSum.get(did)/n;
298  double rsig = sqrt(_xSignalSum2.get(did)/n-msig*msig);
299  double rtim = sqrt(_xTimingSum2.get(did)/n-mtim*mtim);
300 
301  // channels missing or low signal
302  if (n==0)
303  {
304  _cMissing_depth.fill(did);
305  if (_ptype != fOffline) { // hidefed2crate
306  if (eid.isVMEid())
308  else
310  }
311  continue;
312  }
313  _cSignalMean_Subdet.fill(did, msig);
314  _cSignalMean_depth.fill(did, msig);
315  _cSignalRMS_Subdet.fill(did, rsig);
316  _cSignalRMS_depth.fill(did, rsig);
317  _cTimingMean_Subdet.fill(did, mtim);
318  _cTimingMean_depth.fill(did, mtim);
319  _cTimingRMS_Subdet.fill(did, rtim);
320  _cTimingRMS_depth.fill(did, rtim);
321  if (_ptype != fOffline) { // hidefed2crate
322  if (eid.isVMEid())
323  {
325  _cSignalRMS_FEDVME.fill(eid, rsig);
327  _cTimingRMS_FEDVME.fill(eid, rtim);
328  }
329  else
330  {
335  }
336  }
337  }
338 }
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
Definition: LaserTask.h:108
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LaserTask.h:77
hcaldqm::ContainerXXX< int > _xEntries
Definition: LaserTask.h:78
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LaserTask.h:86
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
Definition: LaserTask.h:109
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LaserTask.h:76
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LaserTask.h:79
hcaldqm::Container2D _cMissing_depth
Definition: LaserTask.h:115
hcaldqm::Container2D _cMissing_FEDVME
Definition: LaserTask.h:116
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LaserTask.h:100
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
Definition: LaserTask.h:111
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
Definition: LaserTask.h:105
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LaserTask.h:85
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:112
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LaserTask.h:110
T sqrt(T t)
Definition: SSEVec.h:18
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
Definition: LaserTask.h:107
std::vector< HcalGenericDetId > allPrecisionId() const
HcalElectronicsMap const * _emap
Definition: DQTask.h:73
hcaldqm::Container2D _cMissing_FEDuTCA
Definition: LaserTask.h:117
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LaserTask.h:83
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LaserTask.h:106
hcaldqm::ContainerProf2D _cTimingMean_depth
Definition: LaserTask.h:102
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LaserTask.h:63
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
hcaldqm::Container1D _cSignalRMS_Subdet
Definition: LaserTask.h:84
void fill(HcalDetId const &) override
Definition: Container2D.cc:59
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LaserTask.h:80
hcaldqm::ContainerProf2D _cSignalRMS_depth
Definition: LaserTask.h:101
Readout chain identification for Hcal.
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LaserTask.h:103
bool LaserTask::_isApplicable ( edm::Event const &  e)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 557 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().

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

Implements hcaldqm::DQTask.

Definition at line 340 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, _tagHEP17, _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().

342 {
347 
348  if (!e.getByToken(_tokHBHE, chbhe))
349  _logger.dqmthrow("Collection HBHEDigiCollection isn't available "
350  + _tagHBHE.label() + " " + _tagHBHE.instance());
351  if (!e.getByToken(_tokHEP17, chep17))
352  _logger.dqmthrow("Collection QIE11DigiCollection isn't available "
353  + _tagHEP17.label() + " " + _tagHEP17.instance());
354  if (!e.getByToken(_tokHO, cho))
355  _logger.dqmthrow("Collection HODigiCollection isn't available "
356  + _tagHO.label() + " " + _tagHO.instance());
357  if (!e.getByToken(_tokHF, chf))
358  _logger.dqmthrow("Collection QIE10DigiCollection isn't available "
359  + _tagHF.label() + " " + _tagHF.instance());
360 
361 // int currentEvent = e.eventAuxiliary().id().event();
362  int bx = e.bunchCrossing();
363 
364  for (HBHEDigiCollection::const_iterator it=chbhe->begin();
365  it!=chbhe->end(); ++it)
366  {
367  const HBHEDataFrame digi = (const HBHEDataFrame)(*it);
368  double sumQ = hcaldqm::utilities::sumQ<HBHEDataFrame>(digi, 2.5, 0,
369  digi.size()-1);
370  if (sumQ<_lowHBHE)
371  continue;
372  HcalDetId did = digi.id();
373  HcalElectronicsId eid = digi.elecId();
374 
375  double aveTS = hcaldqm::utilities::aveTS<HBHEDataFrame>(digi, 2.5, 0,
376  digi.size()-1);
377  _xSignalSum.get(did)+=sumQ;
378  _xSignalSum2.get(did)+=sumQ*sumQ;
379  _xTimingSum.get(did)+=aveTS;
380  _xTimingSum2.get(did)+=aveTS*aveTS;
381  _xEntries.get(did)++;
382 
383  for (int i=0; i<digi.size(); i++)
384  {
385  if (_ptype != fOffline) { // hidefed2crate
386  _cShapeCut_FEDSlot.fill(eid, i,
387  digi.sample(i).nominal_fC()-2.5);
388  }
389  _cADC_SubdetPM.fill(did, digi.sample(i).adc());
390  }
391 
392  // select based on local global
393  if (_ptype==fLocal)
394  {
395  int currentEvent = e.eventAuxiliary().id().event();
396  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
397  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
398  }
399  else
400  {
403  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
404  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
405  }
406  }
407  for (QIE11DigiCollection::const_iterator it=chep17->begin(); it!=chep17->end();
408  ++it)
409  {
410  const QIE11DataFrame digi = static_cast<const QIE11DataFrame>(*it);
411  HcalDetId const& did = digi.detid();
412  if (did.subdet() != HcalEndcap) {
413  continue;
414  }
415  uint32_t rawid = _ehashmap.lookup(did);
416  HcalElectronicsId const& eid(rawid);
417 
418  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE11DataFrame>(_dbService, did, digi);
419  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE11DataFrame>(digi, 2.5, 0, digi.samples()-1);
420  double sumQ = hcaldqm::utilities::sumQDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
421  if (sumQ<_lowHEP17)
422  continue;
423 
424 
425  //double aveTS = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(digi, 2.5, 0,digi.samples()-1);
426  double aveTS = hcaldqm::utilities::aveTSDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.size()-1);
427  _xSignalSum.get(did)+=sumQ;
428  _xSignalSum2.get(did)+=sumQ*sumQ;
429  _xTimingSum.get(did)+=aveTS;
430  _xTimingSum2.get(did)+=aveTS*aveTS;
431  _xEntries.get(did)++;
432 
433  for (int i=0; i<digi.samples(); i++)
434  {
435  _cShapeCut_FEDSlot.fill(eid, i, hcaldqm::utilities::adc2fCDBMinusPedestal<QIE11DataFrame>(_dbService, digi_fC, did, digi, i));
436  _cADC_SubdetPM.fill(did, digi[i].adc());
437  }
438 
439  // select based on local global
440  if (_ptype==fLocal)
441  {
442  int currentEvent = e.eventAuxiliary().id().event();
443  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
444  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
445  }
446  else
447  {
450  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
451  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
452  }
453  }
455  it!=cho->end(); ++it)
456  {
457  const HODataFrame digi = (const HODataFrame)(*it);
458  double sumQ = hcaldqm::utilities::sumQ<HODataFrame>(digi, 8.5, 0,
459  digi.size()-1);
460  if (sumQ<_lowHO)
461  continue;
462  HcalDetId did = digi.id();
463  HcalElectronicsId eid = digi.elecId();
464 
465  double aveTS = hcaldqm::utilities::aveTS<HODataFrame>(digi, 8.5, 0,
466  digi.size()-1);
467  _xSignalSum.get(did)+=sumQ;
468  _xSignalSum2.get(did)+=sumQ*sumQ;
469  _xTimingSum.get(did)+=aveTS;
470  _xTimingSum2.get(did)+=aveTS*aveTS;
471  _xEntries.get(did)++;
472 
473  for (int i=0; i<digi.size(); i++)
474  {
475  if (_ptype != fOffline) { // hidefed2crate
476  _cShapeCut_FEDSlot.fill(eid, i,
477  digi.sample(i).nominal_fC()-8.5);
478  }
479  _cADC_SubdetPM.fill(did, digi.sample(i).adc());
480  }
481 
482  // select based on local global
483  if (_ptype==fLocal)
484  {
485  int currentEvent = e.eventAuxiliary().id().event();
486  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
487  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
488  }
489  else
490  {
493  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
494  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
495  }
496  }
498  it!=chf->end(); ++it)
499  {
500  const QIE10DataFrame digi = (const QIE10DataFrame)(*it);
501  HcalDetId did = digi.detid();
502  if (did.subdet() != HcalForward) {
503  continue;
504  }
506 
507  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE10DataFrame>(_dbService, did, digi);
508  double sumQ = hcaldqm::utilities::sumQDB<QIE10DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
509  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(digi, 2.5, 0, digi.samples()-1);
510  if (sumQ<_lowHF)
511  continue;
512 
513  //double aveTS = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(digi, 2.5, 0, digi.samples()-1);
514  double aveTS = hcaldqm::utilities::aveTSDB<QIE10DataFrame>(_dbService, digi_fC, did, digi, 0, digi.size()-1);
515 
516  _xSignalSum.get(did)+=sumQ;
517  _xSignalSum2.get(did)+=sumQ*sumQ;
518  _xTimingSum.get(did)+=aveTS;
519  _xTimingSum2.get(did)+=aveTS*aveTS;
520  _xEntries.get(did)++;
521 
522  for (int i=0; i<digi.samples(); i++)
523  {
524  if (_ptype != fOffline) { // hidefed2crate
525  _cShapeCut_FEDSlot.fill(eid, (int)i, hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi, i));
526  }
527  _cADC_SubdetPM.fill(did, digi[i].adc());
528  }
529 
530  // select based on local global
531  if (_ptype==fLocal)
532  {
533  int currentEvent = e.eventAuxiliary().id().event();
534  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
535  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
536  }
537  else
538  {
541  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
542  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
543  }
544  }
545 }
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:91
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:93
double _lowHF
Definition: LaserTask.h:72
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:77
hcaldqm::ContainerXXX< int > _xEntries
Definition: LaserTask.h:78
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
Definition: LaserTask.h:57
int size() const
total number of samples in the digi
Definition: HBHEDataFrame.h:26
double _lowHBHE
Definition: LaserTask.h:69
std::vector< HBHEDataFrame >::const_iterator const_iterator
hcaldqm::ContainerProf1D _cTimingvsEvent_SubdetPM
Definition: LaserTask.h:92
const_iterator begin() const
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LaserTask.h:76
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LaserTask.h:79
edm::InputTag _tagHO
Definition: LaserTask.h:53
hcaldqm::Container1D _cADC_SubdetPM
Definition: LaserTask.h:88
edm::InputTag _tagHF
Definition: LaserTask.h:54
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:58
DetId detid() const
Get the detector id.
Logger _logger
Definition: DQModule.h:70
hcaldqm::ContainerProf1D _cSignalvsBX_SubdetPM
Definition: LaserTask.h:97
double _lowHO
Definition: LaserTask.h:71
const_iterator end() const
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: LaserTask.h:56
hcaldqm::ContainerProf1D _cSignalvsLS_SubdetPM
Definition: LaserTask.h:95
hcaldqm::ContainerProf1D _cTimingvsLS_SubdetPM
Definition: LaserTask.h:94
edm::InputTag _tagHBHE
Definition: LaserTask.h:51
edm::InputTag _tagHEP17
Definition: LaserTask.h:52
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LaserTask.h:63
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:70
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LaserTask.h:80
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: LaserTask.h:59
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:96
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::ContainerProf2D::book(), hcaldqm::ContainerProf1D::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::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:91
hcaldqm::ContainerProf1D _cSignalvsEvent_SubdetPM
Definition: LaserTask.h:93
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:108
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LaserTask.h:77
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::ContainerXXX< int > _xEntries
Definition: LaserTask.h:78
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LaserTask.h:86
hcaldqm::ContainerProf1D _cTimingvsEvent_SubdetPM
Definition: LaserTask.h:92
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
Definition: LaserTask.h:109
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:76
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LaserTask.h:79
hcaldqm::Container2D _cMissing_depth
Definition: LaserTask.h:115
hcaldqm::Container2D _cMissing_FEDVME
Definition: LaserTask.h:116
void bookHistograms(fwlite::EventContainer &eventCont)
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LaserTask.h:100
int const FIBERCH_MIN
Definition: Constants.h:151
hcaldqm::Container1D _cADC_SubdetPM
Definition: LaserTask.h:88
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
Definition: LaserTask.h:111
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
Definition: LaserTask.h:105
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LaserTask.h:85
ProcessingType _ptype
Definition: DQModule.h:59
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
Definition: LaserTask.h:112
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LaserTask.h:110
hcaldqm::filter::HashFilter _filter_uTCA
Definition: LaserTask.h:64
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
Definition: LaserTask.h:107
int _nevents
Definition: LaserTask.h:68
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:97
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:117
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LaserTask.h:83
hcaldqm::ContainerProf1D _cSignalvsLS_SubdetPM
Definition: LaserTask.h:95
hcaldqm::ContainerProf1D _cTimingvsLS_SubdetPM
Definition: LaserTask.h:94
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:99
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LaserTask.h:106
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:102
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LaserTask.h:63
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:84
const HcalElectronicsMap * getHcalMapping() const
std::string _subsystem
Definition: DQModule.h:64
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LaserTask.h:80
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:91
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:26
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:101
hcaldqm::filter::HashFilter _filter_VME
Definition: LaserTask.h:65
Readout chain identification for Hcal.
hcaldqm::ContainerProf1D _cTimingvsBX_SubdetPM
Definition: LaserTask.h:96
int const SLOT_uTCA_MIN
Definition: Constants.h:123
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LaserTask.h:103
void LaserTask::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 547 of file LaserTask.cc.

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

Referenced by endRun().

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

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 30 of file LaserTask.h.

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

31  {
33  {
34  if (r.runAuxiliary().run()==1)
35  return;
36  else
37  this->_dump();
38  }
39  }
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 88 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D LaserTask::_cMissing_depth
protected

Definition at line 115 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D LaserTask::_cMissing_FEDuTCA
protected

Definition at line 117 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D LaserTask::_cMissing_FEDVME
protected

Definition at line 116 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cShapeCut_FEDSlot
protected

Definition at line 91 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalMean_depth
protected

Definition at line 100 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalMean_FEDuTCA
protected

Definition at line 106 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalMean_FEDVME
protected

Definition at line 105 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D LaserTask::_cSignalMean_Subdet
protected

Definition at line 83 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalRMS_depth
protected

Definition at line 101 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalRMS_FEDuTCA
protected

Definition at line 110 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cSignalRMS_FEDVME
protected

Definition at line 109 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D LaserTask::_cSignalRMS_Subdet
protected

Definition at line 84 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cSignalvsBX_SubdetPM
protected

Definition at line 97 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cSignalvsEvent_SubdetPM
protected

Definition at line 93 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cSignalvsLS_SubdetPM
protected

Definition at line 95 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingMean_depth
protected

Definition at line 102 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingMean_FEDuTCA
protected

Definition at line 108 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingMean_FEDVME
protected

Definition at line 107 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D LaserTask::_cTimingMean_Subdet
protected

Definition at line 85 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingRMS_depth
protected

Definition at line 103 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingRMS_FEDuTCA
protected

Definition at line 112 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D LaserTask::_cTimingRMS_FEDVME
protected

Definition at line 111 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D LaserTask::_cTimingRMS_Subdet
protected

Definition at line 86 of file LaserTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cTimingvsBX_SubdetPM
protected

Definition at line 96 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cTimingvsEvent_SubdetPM
protected

Definition at line 92 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D LaserTask::_cTimingvsLS_SubdetPM
protected

Definition at line 94 of file LaserTask.h.

Referenced by _process(), and bookHistograms().

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

Definition at line 63 of file LaserTask.h.

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

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

Definition at line 64 of file LaserTask.h.

Referenced by bookHistograms().

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

Definition at line 65 of file LaserTask.h.

Referenced by bookHistograms().

uint32_t LaserTask::_laserType
protected

Definition at line 73 of file LaserTask.h.

Referenced by _isApplicable(), and LaserTask().

double LaserTask::_lowHBHE
protected

Definition at line 69 of file LaserTask.h.

Referenced by _process(), and LaserTask().

double LaserTask::_lowHEP17
protected

Definition at line 70 of file LaserTask.h.

Referenced by _process(), and LaserTask().

double LaserTask::_lowHF
protected

Definition at line 72 of file LaserTask.h.

Referenced by _process(), and LaserTask().

double LaserTask::_lowHO
protected

Definition at line 71 of file LaserTask.h.

Referenced by _process(), and LaserTask().

int LaserTask::_nevents
protected

Definition at line 68 of file LaserTask.h.

Referenced by bookHistograms(), and LaserTask().

edm::InputTag LaserTask::_tagHBHE
protected

Definition at line 51 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_tagHEP17
protected

Definition at line 52 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_tagHF
protected

Definition at line 54 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_tagHO
protected

Definition at line 53 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_taguMN
protected

Definition at line 55 of file LaserTask.h.

Referenced by LaserTask().

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

Definition at line 56 of file LaserTask.h.

Referenced by _process(), and LaserTask().

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

Definition at line 57 of file LaserTask.h.

Referenced by _process(), and LaserTask().

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

Definition at line 59 of file LaserTask.h.

Referenced by _process(), and LaserTask().

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

Definition at line 58 of file LaserTask.h.

Referenced by _process(), and LaserTask().

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

Definition at line 60 of file LaserTask.h.

Referenced by _isApplicable(), and LaserTask().

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

Definition at line 78 of file LaserTask.h.

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

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

Definition at line 76 of file LaserTask.h.

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

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

Definition at line 77 of file LaserTask.h.

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

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

Definition at line 79 of file LaserTask.h.

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

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

Definition at line 80 of file LaserTask.h.

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