CMS 3D CMS Logo

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

#include <RecHitTask.h>

Inheritance diagram for RecHitTask:
hcaldqm::DQTask DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > > hcaldqm::DQModule edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
std::shared_ptr< hcaldqm::CacheglobalBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) const override
 
void globalEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 RecHitTask (edm::ParameterSet const &)
 
 ~RecHitTask () override
 
- Public Member Functions inherited from hcaldqm::DQTask
void analyze (edm::Event const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQTask (edm::ParameterSet const &)
 
std::shared_ptr< hcaldqm::CacheglobalBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) const override
 
void globalEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DQTask () override
 
- Public Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
void accumulate (edm::Event const &event, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMOneEDAnalyzer ()
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () 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
 
std::vector< bool > const & recordProvenanceList () 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)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) 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
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule () noexcept(false)
 

Public Attributes

 debug
 
 hfPreRecHitsAvailable
 
 mtype
 
 name
 
 ptype
 
 recHitPreRecoTask
 
 recHitTask
 
 runkeyName
 
 runkeyVal
 
 subsystem
 
 tagHBHE
 
 tagHF
 
 tagHO
 
 tagPreHF
 
 tagRaw
 
 thresh_unihf
 

Protected Types

enum  RecoFlag { fUni = 0, fTCDS = 1, fUnknownIds = 2, nRecoFlag = 3 }
 

Protected Member Functions

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 &)
 
virtual bool _isApplicable (edm::Event const &)
 
- Protected Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
- Protected Member Functions inherited from edm::ProducerBase
template<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Protected Attributes

hcaldqm::Container1D _cDAAsymmetry_cut_SubdetPM
 
hcaldqm::ContainerProf2D _cDAAsymmetryMean_cut_depth
 
hcaldqm::Container2D _cDAAsymmetryVsCharge_SubdetPM
 
hcaldqm::ContainerProf2D _cEnergy_depth
 
hcaldqm::Container1D _cEnergy_Subdet
 
hcaldqm::ContainerProf1D _cEnergyvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cEnergyvsieta_Subdet
 
hcaldqm::ContainerProf1D _cEnergyvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cEnergyvsLS_SubdetPM
 
hcaldqm::Container2D _cOccupancy_depth
 
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancy_FEDuTCA
 
hcaldqm::Container2D _cOccupancyCut_depth
 
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
 
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
 
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
 
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
 
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
 
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
 
hcaldqm::Container1D _cOccupancyvsieta_Subdet
 
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
 
hcaldqm::ContainerSingle2D _cSummaryvsLS
 
hcaldqm::Container2D _cSummaryvsLS_FED
 
hcaldqm::ContainerProf2D _cTimingCut_depth
 
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
 
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
 
hcaldqm::Container1D _cTimingCut_HBHEPartition
 
hcaldqm::Container1D _cTimingCut_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
 
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
 
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
 
hcaldqm::Container2D _cTimingvsEnergy_SubdetPM
 
double _cutE_HBHE
 
double _cutE_HF
 
double _cutE_HO
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
hcaldqm::filter::HashFilter _filter_FEDsuTCA
 
hcaldqm::filter::HashFilter _filter_FEDsVME
 
hcaldqm::filter::HashFilter _filter_HF
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
std::vector< HcalGenericDetId_gids
 
bool _hfPreRecHitsAvailable
 
edm::InputTag _tagHBHE
 
edm::InputTag _tagHF
 
edm::InputTag _tagHO
 
edm::InputTag _tagPreHF
 
double _thresh_unihf
 
edm::EDGetTokenT< HBHERecHitCollection_tokHBHE
 
edm::EDGetTokenT< HFRecHitCollection_tokHF
 
edm::EDGetTokenT< HORecHitCollection_tokHO
 
edm::EDGetTokenT< HFPreRecHitCollection_tokPreHF
 
bool _unknownIdsPresent
 
std::vector< hcaldqm::flag::Flag_vflags
 
std::vector< uint32_t > _vhashFEDs
 
hcaldqm::ContainerXXX< uint32_t > _xUni
 
hcaldqm::ContainerXXX< uint32_t > _xUniHF
 
edm::ESGetToken< HcalDbService, HcalDbRecordhcalDbServiceToken_
 
MonitorElementmeUnknownIds1LS
 
- Protected Attributes inherited from hcaldqm::DQTask
ContainerI _cEvsPerLS
 
ContainerI _cEvsTotal
 
ContainerS _cProcessingTypeName
 
ContainerS _cRunKeyName
 
ContainerI _cRunKeyVal
 
edm::ESHandle< HcalDbService_dbService
 
HcalElectronicsMap const * _emap = nullptr
 
int _procLSs
 
edm::InputTag _tagRaw
 
edm::EDGetTokenT< FEDRawDataCollection_tokRaw
 
std::vector< uint32_t > _vcdaqEids
 
ContainerXXX< uint32_t > _xQuality
 
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcdhcalChannelQualityToken_
 
edm::ESGetToken< HcalDbService, HcalDbRecordhcalDbServiceToken_
 
edm::ESGetToken< RunInfo, RunInfoRcdrunInfoToken_
 
- Protected Attributes inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
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 DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- 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 hcaldqm::DQTask
static void fillPSetDescription (edm::ParameterSetDescription &des)
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from hcaldqm::DQModule
static void fillPSetDescription (edm::ParameterSetDescription &desc)
 

Detailed Description

module: RecHitTask.h Author: VK Description:
HCAL RECO Data Tier Evaluation

Online: Offline:

Definition at line 26 of file RecHitTask.h.

Member Enumeration Documentation

◆ RecoFlag

enum RecHitTask::RecoFlag
protected
Enumerator
fUni 
fTCDS 
fUnknownIds 
nRecoFlag 

Definition at line 59 of file RecHitTask.h.

Constructor & Destructor Documentation

◆ RecHitTask()

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

Definition at line 8 of file RecHitTask.cc.

References _cutE_HBHE, _cutE_HF, _cutE_HO, _hfPreRecHitsAvailable, _tagHBHE, _tagHF, _tagHO, _tagPreHF, _thresh_unihf, _tokHBHE, _tokHF, _tokHO, _tokPreHF, _vflags, nanoDQM_cff::Flag, fTCDS, fUni, fUnknownIds, edm::ParameterSet::getUntrackedParameter(), HLT_2022v14_cff::InputTag, and nRecoFlag.

9  : DQTask(ps), hcalDbServiceToken_(esConsumes<HcalDbService, HcalDbRecord, edm::Transition::BeginRun>()) {
10  _tagHBHE = ps.getUntrackedParameter<edm::InputTag>("tagHBHE", edm::InputTag("hbhereco"));
11  _tagHO = ps.getUntrackedParameter<edm::InputTag>("tagHO", edm::InputTag("horeco"));
12  _tagHF = ps.getUntrackedParameter<edm::InputTag>("tagHF", edm::InputTag("hfreco"));
13  _tagPreHF = ps.getUntrackedParameter<edm::InputTag>("tagPreHF", edm::InputTag(""));
14  _hfPreRecHitsAvailable = ps.getUntrackedParameter<bool>("hfPreRecHitsAvailable", false);
15 
16  _tokHBHE = consumes<HBHERecHitCollection>(_tagHBHE);
17  _tokHO = consumes<HORecHitCollection>(_tagHO);
18  _tokHF = consumes<HFRecHitCollection>(_tagHF);
19  _tokPreHF = consumes<HFPreRecHitCollection>(_tagPreHF);
20 
21  _cutE_HBHE = ps.getUntrackedParameter<double>("cutE_HBHE", 5);
22  _cutE_HO = ps.getUntrackedParameter<double>("cutE_HO", 5);
23  _cutE_HF = ps.getUntrackedParameter<double>("cutE_HF", 5);
24  _thresh_unihf = ps.getUntrackedParameter<double>("thresh_unihf", 0.2);
25 
26  // order must be the same as in RecoFlag enum
27  _vflags.resize(nRecoFlag);
28  _vflags[fUni] = flag::Flag("UniSlotHF");
29  _vflags[fTCDS] = flag::Flag("TCDS");
30  _vflags[fUnknownIds] = flag::Flag("UnknownIds");
31 }
edm::EDGetTokenT< HBHERecHitCollection > _tokHBHE
Definition: RecHitTask.h:45
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:8
double _cutE_HO
Definition: RecHitTask.h:51
edm::EDGetTokenT< HFRecHitCollection > _tokHF
Definition: RecHitTask.h:47
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RecHitTask.h:58
double _cutE_HBHE
Definition: RecHitTask.h:51
edm::InputTag _tagPreHF
Definition: RecHitTask.h:43
double _cutE_HF
Definition: RecHitTask.h:51
edm::EDGetTokenT< HFPreRecHitCollection > _tokPreHF
Definition: RecHitTask.h:48
double _thresh_unihf
Definition: RecHitTask.h:52
edm::InputTag _tagHO
Definition: RecHitTask.h:41
edm::InputTag _tagHF
Definition: RecHitTask.h:42
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: RecHitTask.h:49
bool _hfPreRecHitsAvailable
Definition: RecHitTask.h:44
edm::EDGetTokenT< HORecHitCollection > _tokHO
Definition: RecHitTask.h:46
edm::InputTag _tagHBHE
Definition: RecHitTask.h:40

◆ ~RecHitTask()

RecHitTask::~RecHitTask ( )
inlineoverride

Definition at line 29 of file RecHitTask.h.

29 {}

Member Function Documentation

◆ _process()

void RecHitTask::_process ( edm::Event const &  e,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements hcaldqm::DQTask.

Definition at line 426 of file RecHitTask.cc.

References _cDAAsymmetry_cut_SubdetPM, _cDAAsymmetryMean_cut_depth, _cDAAsymmetryVsCharge_SubdetPM, _cEnergy_depth, _cEnergy_Subdet, _cEnergyvsBX_SubdetPM, _cEnergyvsieta_Subdet, _cEnergyvsiphi_SubdetPM, _cEnergyvsLS_SubdetPM, _cOccupancy_depth, _cOccupancy_ElectronicsuTCA, _cOccupancy_FEDuTCA, _cOccupancyCut_depth, _cOccupancyCut_ElectronicsuTCA, _cOccupancyCut_FEDuTCA, _cOccupancyCutvsBX_Subdet, _cOccupancyCutvsieta_Subdet, _cOccupancyCutvsiphi_SubdetPM, _cOccupancyCutvsiphivsLS_SubdetPM, _cOccupancyCutvsLS_Subdet, _cOccupancyvsieta_Subdet, _cOccupancyvsiphi_SubdetPM, _cOccupancyvsLS_Subdet, _cTimingCut_depth, _cTimingCut_ElectronicsuTCA, _cTimingCut_FEDuTCA, _cTimingCut_HBHEPartition, _cTimingCut_SubdetPM, _cTimingCutvsBX_SubdetPM, _cTimingCutvsieta_Subdet, _cTimingCutvsiphi_SubdetPM, _cTimingCutvsLS_FED, _cTimingCutvsLS_SubdetPM, _cTimingvsEnergy_SubdetPM, hcaldqm::DQModule::_currentLS, _cutE_HBHE, _cutE_HF, _cutE_HO, _ehashmap, _filter_HF, _hfPreRecHitsAvailable, hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _tagHBHE, _tagHF, _tagHO, _tagPreHF, _tokHBHE, _tokHF, _tokHO, _tokPreHF, _unknownIdsPresent, _xUniHF, edm::SortedCollection< T, SORT >::begin(), simKBmtfDigis_cfi::bx, Logger::dqmthrow(), MillePedeFileConverter_cfg::e, runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), HCALHighEnergyHPDFilter_cfi::energy, hcaldqm::Container2D::fill(), hcaldqm::ContainerProf2D::fill(), hcaldqm::Container1D::fill(), dqm::impl::MonitorElement::Fill(), hcaldqm::filter::HashFilter::filter(), hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::ContainerXXX< STDTYPE >::get(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalDetId::ieta(), edm::InputTag::instance(), edm::InputTag::label(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), meUnknownIds1LS, DetId::rawId(), HcalDetId::subdet(), and ecalMatacq_cfi::timing.

426  {
430 
431  if (!(e.getByToken(_tokHBHE, chbhe)))
432  _logger.dqmthrow("Collection HBHERecHitCollection not available " + _tagHBHE.label() + " " + _tagHBHE.instance());
433  if (!(e.getByToken(_tokHO, cho)))
434  _logger.dqmthrow("Collection HORecHitCollection not available " + _tagHO.label() + " " + _tagHO.instance());
435  if (!(e.getByToken(_tokHF, chf)))
436  _logger.dqmthrow("Collection HFRecHitCollection not available " + _tagHF.label() + " " + _tagHF.instance());
437 
440  if (!(e.getByToken(_tokPreHF, cprehf)))
441  _logger.dqmthrow("Collection HFPreRecHitCollection not available " + _tagPreHF.label() + " " +
442  _tagPreHF.instance());
443  }
444 
445  // extract some info per event
446  int bx = e.bunchCrossing();
447 
448  auto lumiCache = luminosityBlockCache(e.getLuminosityBlock().index());
449  _currentLS = lumiCache->currentLS;
450 
451  // To fill histograms outside of the loop, you need to determine if there were
452  // any valid det ids first
453  uint32_t rawidHBValid = 0;
454  uint32_t rawidHEValid = 0;
455 
456  double ehbm = 0;
457  double ehbp = 0;
458  double ehem = 0;
459  double ehep = 0;
460  int nChsHB = 0;
461  int nChsHE = 0;
462  int nChsHBCut = 0;
463  int nChsHECut = 0;
464  for (HBHERecHitCollection::const_iterator it = chbhe->begin(); it != chbhe->end(); ++it) {
465  double energy = it->energy();
466  double timing = it->time();
467 
468  // Explicit check on the DetIds present in the Collection
469  HcalDetId did = it->id();
470  uint32_t rawid = _ehashmap.lookup(did);
471  /*
472  * Needs to be removed as DetIds that belong to the HEP17 after combination
473  * are not present in the emap
474  * Removed until further notice!
475  *
476  */
477  //if (rawid==0)
478  //{meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
479 
480  HcalElectronicsId const& eid(rawid);
481  if (did.subdet() == HcalBarrel)
482  rawidHBValid = did.rawId();
483  else if (did.subdet() == HcalEndcap)
484  rawidHEValid = did.rawId();
485 
488  _cOccupancy_depth.fill(did);
489  did.subdet() == HcalBarrel ? did.ieta() > 0 ? ehbp += energy : ehbm += energy
490  : did.ieta() > 0 ? ehep += energy
491  : ehem += energy;
492 
493  // ONLINE ONLY!
494  if (_ptype == fOnline) {
497  }
498  // ^^^ONLINE ONLY!
499  //
500  if (_ptype != fOffline) { // hidefed2crate
501  // Also, for these electronics plots, require that the channel was found in the emap.
502  if (rawid != 0) {
503  if (!eid.isVMEid()) {
506  }
507  }
508  }
509 
510  if (energy > _cutE_HBHE) {
511  // ONLINE ONLY!
512  if (_ptype == fOnline) {
523  }
524  // ^^^ONLINE ONLY!
525  _cEnergy_depth.fill(did, energy);
529 
530  // ONLINE
531  if (_ptype == fOnline) {
532  if (rawid != 0) {
534  }
536  // ^^^ONLINE
537  } else {
538  if (_ptype != fOffline) { // hidefed2crate
539  if (rawid != 0) {
541  }
542  }
544  }
546  if (_ptype != fOffline) { // hidefed2crate
547  if (rawid != 0) {
548  if (eid.isUTCAid()) {
549  if (_ptype == fOnline) {
550  // time constraints are explicit!
553  } else {
556  }
559  }
560  }
561  }
562  did.subdet() == HcalBarrel ? nChsHBCut++ : nChsHECut++;
563  }
564  did.subdet() == HcalBarrel ? nChsHB++ : nChsHE++;
565  }
566 
567  if (rawidHBValid != 0 && rawidHEValid != 0) {
568  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidHBValid), _currentLS, nChsHB);
569  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidHEValid), _currentLS, nChsHE);
570 
571  // ONLINE ONLY!
572  if (_ptype == fOnline) {
573  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidHBValid), bx, nChsHBCut);
574  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidHEValid), bx, nChsHECut);
575  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidHBValid), _currentLS, nChsHBCut);
576  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidHEValid), _currentLS, nChsHECut);
577  }
578  // ^^^ONLINE ONLY!
579  }
580 
581  // To fill histograms outside of the loop, you need to determine if there were
582  // any valid det ids first
583  uint32_t rawidValid = 0;
584 
585  int nChsHO = 0;
586  int nChsHOCut = 0;
587  double ehop = 0;
588  double ehom = 0;
589  for (HORecHitCollection::const_iterator it = cho->begin(); it != cho->end(); ++it) {
590  double energy = it->energy();
591  double timing = it->time();
592 
593  // Explicit check on the DetIds present in the Collection
594  HcalDetId did = it->id();
595  uint32_t rawid = _ehashmap.lookup(did);
596  if (rawid == 0) {
597  meUnknownIds1LS->Fill(1);
598  _unknownIdsPresent = true;
599  continue;
600  }
601  HcalElectronicsId const& eid(rawid);
602  if (did.subdet() == HcalOuter)
603  rawidValid = did.rawId();
604 
607  _cOccupancy_depth.fill(did);
608  did.ieta() > 0 ? ehop += energy : ehom += energy;
609 
610  // IMPORTANT: ONLINE ONLY!
611  if (_ptype == fOnline) {
614  }
615  // ONLINE ONLY!
616 
617  if (_ptype != fOffline) { // hidefed2crate
618  if (!eid.isVMEid()) {
621  }
622  }
623 
624  if (energy > _cutE_HO) {
625  // ONLINE ONLY!
626  if (_ptype == fOnline) {
637  }
638  // ^^^ONLINE ONLY!
639 
640  _cEnergy_depth.fill(did, energy);
643  if (_ptype != fOffline) { // hidefed2crate
645  }
648  if (_ptype != fOffline) { // hidefed2crate
649  if (!eid.isVMEid()) {
654  }
655  }
656  nChsHOCut++;
657  }
658  nChsHO++;
659  }
660 
661  if (rawidValid != 0) {
662  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHO);
663  // ONLINE ONLY!
664  if (_ptype == fOnline) {
665  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidValid), bx, nChsHOCut);
666  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHOCut);
667  }
668  // ^^^ONLINE ONLY!
669  }
670 
671  //reset
672  rawidValid = 0;
673 
674  int nChsHF = 0;
675  int nChsHFCut = 0;
676  double ehfp = 0;
677  double ehfm = 0;
678  for (HFRecHitCollection::const_iterator it = chf->begin(); it != chf->end(); ++it) {
679  double energy = it->energy();
680  double timing = it->time();
681 
682  // Explicit check on the DetIds present in the Collection
683  HcalDetId did = it->id();
684  uint32_t rawid = _ehashmap.lookup(did);
685  if (rawid == 0) {
686  meUnknownIds1LS->Fill(1);
687  _unknownIdsPresent = true;
688  continue;
689  }
690  HcalElectronicsId const& eid(rawid);
691  if (did.subdet() == HcalForward)
692  rawidValid = did.rawId();
693 
696  _cOccupancy_depth.fill(did);
697  did.ieta() > 0 ? ehfp += energy : ehfm += energy;
698 
699  // IMPORTANT:
700  // only for Online Processing
701  //
702  if (_ptype == fOnline) {
705  }
706  // ONLINE ONLY!
707 
708  if (_ptype != fOffline) { // hidefed2crate
709  if (!eid.isVMEid()) {
712  }
713  }
714 
715  if (energy > _cutE_HF) {
716  // ONLINE ONLY!
717  if (_ptype == fOnline) {
728  if (_ptype != fOffline) { // hidefed2crate
729  _xUniHF.get(eid)++;
730  }
731  }
732  // ^^^ONLINE ONLY!
733  _cEnergy_depth.fill(did, energy);
736  if (_ptype != fOffline) { // hidefed2crate
738  }
741  if (_ptype != fOffline) { // hidefed2crate
742  if (!eid.isVMEid()) {
747  }
748  }
749  nChsHFCut++;
750  }
751  nChsHF++;
752  }
753 
754  if (rawidValid != 0) {
755  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHF);
756  // ONLINE ONLY!
757  if (_ptype == fOnline) {
758  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidValid), bx, nChsHFCut);
759  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHFCut);
760  }
761  // ^^^ONLINE ONLY!
762  }
763 
764  // Loop over HFPreRecHits to get charge and charge asymmetry
766  for (HFPreRecHitCollection::const_iterator it = cprehf->begin(); it != cprehf->end(); ++it) {
767  HcalDetId did = it->id();
768  if (_filter_HF.filter(did)) {
769  continue;
770  }
771  std::pair<float, bool> chargeAsymmetry = it->chargeAsymmetry(0.);
772  std::pair<float, bool> chargeAsymmetryCut = it->chargeAsymmetry(20.);
773 
774  if (chargeAsymmetry.second) {
775  _cDAAsymmetryVsCharge_SubdetPM.fill(did, chargeAsymmetry.first, it->charge());
776  }
777  if (chargeAsymmetryCut.second) {
778  _cDAAsymmetryMean_cut_depth.fill(did, chargeAsymmetryCut.first);
779  _cDAAsymmetry_cut_SubdetPM.fill(did, chargeAsymmetryCut.first);
780  }
781  }
782  }
783 }
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: RecHitTask.h:111
hcaldqm::Container2D _cOccupancyCut_depth
Definition: RecHitTask.h:106
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
Definition: RecHitTask.h:98
edm::EDGetTokenT< HBHERecHitCollection > _tokHBHE
Definition: RecHitTask.h:45
hcaldqm::ContainerProf2D _cEnergy_depth
Definition: RecHitTask.h:75
hcaldqm::Container2D _cTimingvsEnergy_SubdetPM
Definition: RecHitTask.h:80
double _cutE_HO
Definition: RecHitTask.h:51
void fill(HcalDetId const &) override
edm::EDGetTokenT< HFRecHitCollection > _tokHF
Definition: RecHitTask.h:47
std::string const & instance() const
Definition: InputTag.h:37
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
Definition: RecHitTask.h:107
hcaldqm::ContainerProf1D _cEnergyvsieta_Subdet
Definition: RecHitTask.h:73
void dqmthrow(std::string const &msg) const
Definition: Logger.h:12
hcaldqm::ContainerProf1D _cEnergyvsiphi_SubdetPM
Definition: RecHitTask.h:74
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
Definition: RecHitTask.h:110
std::vector< T >::const_iterator const_iterator
hcaldqm::Container1D _cTimingCut_SubdetPM
Definition: RecHitTask.h:83
std::string const & label() const
Definition: InputTag.h:36
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
Definition: RecHitTask.h:90
hcaldqm::ContainerProf1D _cEnergyvsBX_SubdetPM
Definition: RecHitTask.h:77
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
Definition: RecHitTask.h:86
void Fill(long long x)
constexpr HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:138
double _cutE_HBHE
Definition: RecHitTask.h:51
ProcessingType _ptype
Definition: DQModule.h:44
virtual void fill(uint32_t)
Definition: Container1D.cc:73
hcaldqm::Container1D _cEnergy_Subdet
Definition: RecHitTask.h:72
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
Definition: RecHitTask.h:88
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
Definition: RecHitTask.h:89
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
Definition: RecHitTask.h:104
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
Definition: RecHitTask.h:109
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
edm::InputTag _tagPreHF
Definition: RecHitTask.h:43
double _cutE_HF
Definition: RecHitTask.h:51
Logger _logger
Definition: DQModule.h:55
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
Definition: RecHitTask.h:103
const_iterator begin() const
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: RecHitTask.h:62
MonitorElement * meUnknownIds1LS
Definition: RecHitTask.h:119
edm::EDGetTokenT< HFPreRecHitCollection > _tokPreHF
Definition: RecHitTask.h:48
const_iterator end() const
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
Definition: RecHitTask.h:97
edm::InputTag _tagHO
Definition: RecHitTask.h:41
hcaldqm::filter::HashFilter _filter_HF
Definition: RecHitTask.h:69
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
hcaldqm::Container2D _cOccupancy_FEDuTCA
Definition: RecHitTask.h:96
edm::InputTag _tagHF
Definition: RecHitTask.h:42
hcaldqm::Container2D _cDAAsymmetryVsCharge_SubdetPM
Definition: RecHitTask.h:114
hcaldqm::Container1D _cTimingCut_HBHEPartition
Definition: RecHitTask.h:84
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
Definition: RecHitTask.h:105
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
hcaldqm::Container1D _cOccupancyvsieta_Subdet
Definition: RecHitTask.h:100
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
bool _hfPreRecHitsAvailable
Definition: RecHitTask.h:44
virtual bool filter(HcalDetId const &) const
Definition: HashFilter.cc:24
hcaldqm::ContainerProf1D _cTimingCutvsBX_SubdetPM
Definition: RecHitTask.h:92
edm::EDGetTokenT< HORecHitCollection > _tokHO
Definition: RecHitTask.h:46
edm::InputTag _tagHBHE
Definition: RecHitTask.h:40
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
Definition: RecHitTask.h:85
hcaldqm::Container2D _cOccupancy_depth
Definition: RecHitTask.h:95
hcaldqm::ContainerProf2D _cDAAsymmetryMean_cut_depth
Definition: RecHitTask.h:115
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
Definition: RecHitTask.h:91
hcaldqm::ContainerProf2D _cTimingCut_depth
Definition: RecHitTask.h:87
Readout chain identification for Hcal.
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
Definition: RecHitTask.h:108
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
Definition: RecHitTask.h:99
bool _unknownIdsPresent
Definition: RecHitTask.h:120
hcaldqm::Container1D _cDAAsymmetry_cut_SubdetPM
Definition: RecHitTask.h:116
hcaldqm::ContainerProf1D _cEnergyvsLS_SubdetPM
Definition: RecHitTask.h:76

◆ _resetMonitors()

void RecHitTask::_resetMonitors ( hcaldqm::UpdateFreq  uf)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 414 of file RecHitTask.cc.

References _unknownIdsPresent, and hcaldqm::f1LS.

414  {
415  switch (uf) {
416  case hcaldqm::f1LS:
417  _unknownIdsPresent = false;
418  break;
419  default:
420  break;
421  }
422 
423  DQTask::_resetMonitors(uf);
424 }
bool _unknownIdsPresent
Definition: RecHitTask.h:120

◆ bookHistograms()

void RecHitTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 33 of file RecHitTask.cc.

References _cDAAsymmetry_cut_SubdetPM, _cDAAsymmetryMean_cut_depth, _cDAAsymmetryVsCharge_SubdetPM, _cEnergy_depth, _cEnergy_Subdet, _cEnergyvsBX_SubdetPM, _cEnergyvsieta_Subdet, _cEnergyvsiphi_SubdetPM, _cEnergyvsLS_SubdetPM, _cOccupancy_depth, _cOccupancy_ElectronicsuTCA, _cOccupancy_FEDuTCA, _cOccupancyCut_depth, _cOccupancyCut_ElectronicsuTCA, _cOccupancyCut_FEDuTCA, _cOccupancyCutvsBX_Subdet, _cOccupancyCutvsieta_Subdet, _cOccupancyCutvsiphi_SubdetPM, _cOccupancyCutvsiphivsLS_SubdetPM, _cOccupancyCutvsLS_Subdet, _cOccupancyvsieta_Subdet, _cOccupancyvsiphi_SubdetPM, _cOccupancyvsLS_Subdet, _cSummaryvsLS, _cSummaryvsLS_FED, _cTimingCut_depth, _cTimingCut_ElectronicsuTCA, _cTimingCut_FEDuTCA, _cTimingCut_HBHEPartition, _cTimingCut_SubdetPM, _cTimingCutvsBX_SubdetPM, _cTimingCutvsieta_Subdet, _cTimingCutvsiphi_SubdetPM, _cTimingCutvsLS_FED, _cTimingCutvsLS_SubdetPM, _cTimingvsEnergy_SubdetPM, _cutE_HBHE, _cutE_HF, _cutE_HO, _ehashmap, hcaldqm::DQTask::_emap, _filter_HF, _filter_uTCA, _filter_VME, _gids, _hfPreRecHitsAvailable, hcaldqm::DQModule::_maxLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, _unknownIdsPresent, _vflags, _vhashFEDs, _xUni, _xUniHF, HcalElectronicsMap::allPrecisionId(), hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, hcaldqm::quantity::fBX, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fdepth, hcaldqm::quantity::fDualAnodeAsymmetry, hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_MIN, hcaldqm::hashfunctions::fElectronics, hcaldqm::quantity::fEnergy, hcaldqm::quantity::fEnergy_1TeV, hcaldqm::hashfunctions::fFED, hcaldqm::hashfunctions::fFEDSlot, hcaldqm::quantity::fFiberuTCAFiberCh, hcaldqm::filter::fFilter, hcaldqm::hashfunctions::fHBHEPartition, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::quantity::fieta, hcaldqm::quantity::fiphi, hcaldqm::quantity::fN, hcaldqm::quantity::fN_to8000, hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::filter::fPreserver, hcaldqm::quantity::fQIE10fC_400000, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fState, hcaldqm::hashfunctions::fSubdet, hcaldqm::hashfunctions::fSubdetPM, hcaldqm::quantity::fTiming_ns, hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), edm::EventSetup::getHandle(), HcalDbService::getHcalMapping(), hcaldqm::hashfunctions::hash_did, hcalDbServiceToken_, HcalForward, cuy::ib, hcaldqm::ContainerProf1D::initialize(), hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::ContainerProf2D::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::Container1D::initialize(), meUnknownIds1LS, alignCSCRings::r, HcalElectronicsId::rawId(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

33  {
35 
36  // GET WHAT YOU NEED
38  _emap = dbs->getHcalMapping();
39 
40  std::vector<uint32_t> vVME;
41  std::vector<uint32_t> vuTCA;
42  vVME.push_back(
44  vuTCA.push_back(HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
47  std::vector<uint32_t> vhashHF;
48  vhashHF.push_back(
50 
52 
53  // INITIALIZE FIRST
54  // Energy
56  "Energy",
60  0);
62  "Energy",
67  0);
68 
69  // Timing
71  "TimingCut",
75  0);
77  "TimingvsEnergy",
82  0);
83 
85  "TimingCut",
89  0);
91  "TimingCut",
96  0);
98  "TimingCutvsLS",
102  0);
103 
104  // Occupancy
106  "Occupancy",
111  0);
112 
114  "OccupancyvsLS",
118  0);
119 
121  "OccupancyCut",
126  0);
127 
130  _name,
131  "ChargeVsAsymmetry",
136  0);
138  "AsymmetryMean",
143  0);
145  "Asymmetry",
149  0);
150  }
151 
152  // INITIALIZE HISTOGRAMS to be used only in Online
153  if (_ptype == fOnline) {
155  "Energyvsieta",
159  0);
161  "Energyvsiphi",
165  0);
167  "EnergyvsLS",
171  0);
173  "EnergyvsBX",
177  0);
179  "TimingCutvsieta",
183  0);
185  "TimingCutvsiphi",
189  0);
191  "TimingCutvsBX",
195  0);
197  "Occupancyvsiphi",
201  0);
203  "Occupancyvsieta",
207  0);
209  "OccupancyCutvsiphi",
213  0);
215  "OccupancyCutvsieta",
219  0);
221  "OccupancyCutvsBX",
225  0);
227  "OccupancyCutvsiphivsLS",
232  0);
234  "OccupancyCutvsLS",
238  0);
239  }
240 
241  // FED-based plots
242  if (_ptype != fOffline) { // hidefed2crate
243  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
244  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
245  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
246 
247  // push the rawIds of each fed into the vector
248  for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it)
250  for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
251  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
252  _vhashFEDs.push_back(HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
253  }
254 
256  "TimingCut",
261  0);
263  "TimingCutvsLS",
267  0);
269  "TimingCut",
271  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
274  0);
275 
277  "Occupancy",
282  0);
284  "Occupancy",
286  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
289  0);
290 
292  "OccupancyCut",
297  0);
299  "OccupancyCut",
301  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
304  0);
305  if (_ptype == fOnline) {
307  "SummaryvsLS",
312  0);
314  "SummaryvsLS",
318  0);
319 
322  }
323  }
324 
325  // BOOK HISTOGRAMS
326  char cutstr[200];
327  sprintf(cutstr, "_EHBHE%dHO%dHF%d", int(_cutE_HBHE), int(_cutE_HO), int(_cutE_HF));
328  char cutstr2[200];
329  sprintf(cutstr2, "_EHF%d", int(_cutE_HF));
330 
331  // Energy
334 
335  // Timing
338  if (_ptype != fOffline) { // hidefed2crate
341  }
345  if (_ptype != fOffline) { // hidefed2crate
347  }
348 
349  // Occupancy
351  if (_ptype != fOffline) { // hidefed2crate
354  }
357  if (_ptype != fOffline) { // hidefed2crate
360  }
361 
366  }
367 
368  // BOOK HISTOGRAMS to be used only in Online
369  if (_ptype == fOnline) {
386 
387  std::vector<uint32_t> vhashFEDHF;
388  vhashFEDHF.push_back(HcalElectronicsId(22, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
389  vhashFEDHF.push_back(HcalElectronicsId(29, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
390  vhashFEDHF.push_back(HcalElectronicsId(32, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
391  vhashFEDHF.push_back(HcalElectronicsId(22, SLOT_uTCA_MIN + 6, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
392  vhashFEDHF.push_back(HcalElectronicsId(29, SLOT_uTCA_MIN + 6, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
393  vhashFEDHF.push_back(HcalElectronicsId(32, SLOT_uTCA_MIN + 6, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
394  HashFilter filter_FEDHF;
396 
398  if (_ptype != fOffline) { // hidefed2crate
399  _xUniHF.book(_emap, filter_FEDHF);
400  _xUni.book(_emap);
401  }
402  }
403 
404  // initialize hash map
406 
407  // book some mes...
408  ib.setCurrentFolder(_subsystem + "/" + _name);
409  auto scope = DQMStore::IBooker::UseLumiScope(ib);
410  meUnknownIds1LS = ib.book1DD("UnknownIds", "UnknownIds", 1, 0, 1);
411  _unknownIdsPresent = false;
412 }
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: RecHitTask.h:111
hcaldqm::Container2D _cOccupancyCut_depth
Definition: RecHitTask.h:106
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: RecHitTask.h:123
std::vector< uint32_t > _vhashFEDs
Definition: RecHitTask.h:55
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
Definition: RecHitTask.h:98
hcaldqm::ContainerProf2D _cEnergy_depth
Definition: RecHitTask.h:75
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:33
hcaldqm::Container2D _cTimingvsEnergy_SubdetPM
Definition: RecHitTask.h:80
int const CRATE_VME_MIN
Definition: Constants.h:95
double _cutE_HO
Definition: RecHitTask.h:51
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:10
hcaldqm::ContainerXXX< uint32_t > _xUni
Definition: RecHitTask.h:111
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
Definition: RecHitTask.h:107
hcaldqm::ContainerProf1D _cEnergyvsieta_Subdet
Definition: RecHitTask.h:73
hcaldqm::ContainerProf1D _cEnergyvsiphi_SubdetPM
Definition: RecHitTask.h:74
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
Definition: RecHitTask.h:110
std::vector< HcalGenericDetId > _gids
Definition: RecHitTask.h:122
hcaldqm::Container1D _cTimingCut_SubdetPM
Definition: RecHitTask.h:83
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
int const SPIGOT_MIN
Definition: Constants.h:120
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
const HcalElectronicsMap * getHcalMapping() const
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
Definition: RecHitTask.h:90
int const FIBER_VME_MIN
Definition: Constants.h:125
hcaldqm::ContainerProf1D _cEnergyvsBX_SubdetPM
Definition: RecHitTask.h:77
int const FIBERCH_MIN
Definition: Constants.h:134
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:115
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
Definition: RecHitTask.h:86
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RecHitTask.h:58
double _cutE_HBHE
Definition: RecHitTask.h:51
ProcessingType _ptype
Definition: DQModule.h:44
hcaldqm::Container1D _cEnergy_Subdet
Definition: RecHitTask.h:72
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
Definition: RecHitTask.h:88
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
Definition: RecHitTask.h:89
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
Definition: RecHitTask.h:104
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
Definition: RecHitTask.h:109
int const FED_VME_MIN
Definition: Constants.h:82
int const FIBER_uTCA_MIN1
Definition: Constants.h:128
double _cutE_HF
Definition: RecHitTask.h:51
hash_function_did const hash_did[nHashType_did]
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
Definition: RecHitTask.h:103
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: RecHitTask.h:62
MonitorElement * meUnknownIds1LS
Definition: RecHitTask.h:119
UseScope< MonitorElementData::Scope::LUMI > UseLumiScope
Definition: DQMStore.h:540
std::string _name
Definition: DQModule.h:42
HcalElectronicsMap const * _emap
Definition: DQTask.h:81
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: RecHitTask.h:124
int const CRATE_uTCA_MIN
Definition: Constants.h:100
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
Definition: RecHitTask.h:97
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:87
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:592
hcaldqm::filter::HashFilter _filter_HF
Definition: RecHitTask.h:69
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: Container2D.cc:25
hcaldqm::Container2D _cOccupancy_FEDuTCA
Definition: RecHitTask.h:96
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: RecHitTask.h:49
constexpr uint32_t rawId() const
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fEnergy), int debug=0) override
hcaldqm::Container2D _cDAAsymmetryVsCharge_SubdetPM
Definition: RecHitTask.h:114
hcaldqm::Container1D _cTimingCut_HBHEPartition
Definition: RecHitTask.h:84
hcaldqm::filter::HashFilter _filter_uTCA
Definition: RecHitTask.h:66
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
Definition: RecHitTask.h:105
hcaldqm::Container1D _cOccupancyvsieta_Subdet
Definition: RecHitTask.h:100
std::vector< HcalGenericDetId > allPrecisionId() const
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:97
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:135
bool _hfPreRecHitsAvailable
Definition: RecHitTask.h:44
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:17
std::string _subsystem
Definition: DQModule.h:49
hcaldqm::ContainerProf1D _cTimingCutvsBX_SubdetPM
Definition: RecHitTask.h:92
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
Definition: RecHitTask.h:85
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:81
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:567
hcaldqm::Container2D _cOccupancy_depth
Definition: RecHitTask.h:95
hcaldqm::ContainerProf2D _cDAAsymmetryMean_cut_depth
Definition: RecHitTask.h:115
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
Definition: RecHitTask.h:91
hcaldqm::ContainerProf2D _cTimingCut_depth
Definition: RecHitTask.h:87
Readout chain identification for Hcal.
hcaldqm::filter::HashFilter _filter_VME
Definition: RecHitTask.h:65
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
Definition: RecHitTask.h:108
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
Definition: RecHitTask.h:99
int const SLOT_uTCA_MIN
Definition: Constants.h:107
bool _unknownIdsPresent
Definition: RecHitTask.h:120
ib
Definition: cuy.py:661
hcaldqm::Container1D _cDAAsymmetry_cut_SubdetPM
Definition: RecHitTask.h:116
hcaldqm::ContainerProf1D _cEnergyvsLS_SubdetPM
Definition: RecHitTask.h:76

◆ globalBeginLuminosityBlock()

std::shared_ptr< hcaldqm::Cache > RecHitTask::globalBeginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
) const
override

Definition at line 785 of file RecHitTask.cc.

786  {
787  return DQTask::globalBeginLuminosityBlock(lb, es);
788 }

◆ globalEndLuminosityBlock()

void RecHitTask::globalEndLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 790 of file RecHitTask.cc.

References _cSummaryvsLS, _cSummaryvsLS_FED, hcaldqm::DQModule::_currentLS, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_runkeyVal, hcaldqm::flag::Flag::_state, _thresh_unihf, _unknownIdsPresent, hcaldqm::DQTask::_vcdaqEids, _vflags, _vhashFEDs, _xUni, _xUniHF, hcaldqm::ContainerXXX< STDTYPE >::begin(), runTauDisplay::eid, hcaldqm::ContainerXXX< STDTYPE >::end(), hcaldqm::flag::fBAD, hcaldqm::flag::fGOOD, spr::find(), hcaldqm::flag::fNCDAQ, hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::flag::fPROBLEMATIC, fUni, fUnknownIds, hcaldqm::ContainerXXX< STDTYPE >::get(), edm::LuminosityBlock::index(), hcaldqm::utilities::isFEDHF(), hcaldqm::ContainerXXX< STDTYPE >::reset(), hcaldqm::flag::Flag::reset(), hcaldqm::ContainerSingle2D::setBinContent(), hcaldqm::Container2D::setBinContent(), testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::x2.

790  {
791  if (_ptype != fOnline)
792  return;
793 
794  auto lumiCache = luminosityBlockCache(lb.index());
795  _currentLS = lumiCache->currentLS;
796 
797  //
798  // GENERATE STATUS ONLY FOR ONLINE
799  //
800  // for (std::vector<HcalGenericDetId>::const_iterator it=gids.begin();
801  // it!=gids.end(); ++it)
802  // {}
803 
804  for (uintCompactMap::const_iterator it = _xUniHF.begin(); it != _xUniHF.end(); ++it) {
805  uint32_t hash1 = it->first;
806  HcalElectronicsId eid1(hash1);
807  double x1 = it->second;
808 
809  for (uintCompactMap::const_iterator jt = _xUniHF.begin(); jt != _xUniHF.end(); ++jt) {
810  if (jt == it)
811  continue;
812  double x2 = jt->second;
813  if (x2 == 0)
814  continue;
815  if (x1 / x2 < _thresh_unihf)
816  _xUni.get(eid1)++;
817  }
818  }
819 
820  if (_ptype != fOffline) { // hidefed2crate
821  for (std::vector<uint32_t>::const_iterator it = _vhashFEDs.begin(); it != _vhashFEDs.end(); ++it) {
822  flag::Flag fSum("RECO");
824 
825  std::vector<uint32_t>::const_iterator cit = std::find(_vcdaqEids.begin(), _vcdaqEids.end(), *it);
826  if (cit == _vcdaqEids.end()) {
827  // not @cDAQ
828  for (uint32_t iflag = 0; iflag < _vflags.size(); iflag++)
831  continue;
832  }
833 
834  // FED is @cDAQ
835  if (hcaldqm::utilities::isFEDHF(eid) && (_runkeyVal == 0 || _runkeyVal == 4)) {
836  if (_xUni.get(eid) > 0)
837  _vflags[fUni]._state = flag::fPROBLEMATIC;
838  else
839  _vflags[fUni]._state = flag::fGOOD;
840  }
841 
842  if (_unknownIdsPresent)
843  _vflags[fUnknownIds]._state = flag::fBAD;
844  else
845  _vflags[fUnknownIds]._state = flag::fGOOD;
846 
847  int iflag = 0;
848  for (std::vector<flag::Flag>::iterator ft = _vflags.begin(); ft != _vflags.end(); ++ft) {
849  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag), int(ft->_state));
850  fSum += (*ft);
851  iflag++;
852 
853  // reset after using
854  ft->reset();
855  }
856  _cSummaryvsLS.setBinContent(eid, _currentLS, fSum._state);
857  }
858  _xUniHF.reset();
859  _xUni.reset();
860  }
861 
862  // in the end always do the DQTask::endLumi
863  DQTask::globalEndLuminosityBlock(lb, es);
864 }
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: RecHitTask.h:111
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: RecHitTask.h:123
std::vector< uint32_t > _vhashFEDs
Definition: RecHitTask.h:55
hcaldqm::ContainerXXX< uint32_t > _xUni
Definition: RecHitTask.h:111
virtual CompactMap::const_iterator begin()
Definition: ContainerXXX.h:69
virtual void reset()
Definition: ContainerXXX.h:292
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
virtual CompactMap::const_iterator end()
Definition: ContainerXXX.h:70
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RecHitTask.h:58
ProcessingType _ptype
Definition: DQModule.h:44
virtual void setBinContent(int, int, int)
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: RecHitTask.h:124
double _thresh_unihf
Definition: RecHitTask.h:52
void setBinContent(HcalDetId const &, int) override
Definition: Container2D.cc:163
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:69
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:170
bool _unknownIdsPresent
Definition: RecHitTask.h:120

Member Data Documentation

◆ _cDAAsymmetry_cut_SubdetPM

hcaldqm::Container1D RecHitTask::_cDAAsymmetry_cut_SubdetPM
protected

Definition at line 116 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cDAAsymmetryMean_cut_depth

hcaldqm::ContainerProf2D RecHitTask::_cDAAsymmetryMean_cut_depth
protected

Definition at line 115 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cDAAsymmetryVsCharge_SubdetPM

hcaldqm::Container2D RecHitTask::_cDAAsymmetryVsCharge_SubdetPM
protected

Definition at line 114 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEnergy_depth

hcaldqm::ContainerProf2D RecHitTask::_cEnergy_depth
protected

Definition at line 75 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEnergy_Subdet

hcaldqm::Container1D RecHitTask::_cEnergy_Subdet
protected

Definition at line 72 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEnergyvsBX_SubdetPM

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsBX_SubdetPM
protected

Definition at line 77 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEnergyvsieta_Subdet

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsieta_Subdet
protected

Definition at line 73 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEnergyvsiphi_SubdetPM

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsiphi_SubdetPM
protected

Definition at line 74 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEnergyvsLS_SubdetPM

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsLS_SubdetPM
protected

Definition at line 76 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancy_depth

hcaldqm::Container2D RecHitTask::_cOccupancy_depth
protected

Definition at line 95 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancy_ElectronicsuTCA

hcaldqm::Container2D RecHitTask::_cOccupancy_ElectronicsuTCA
protected

Definition at line 97 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancy_FEDuTCA

hcaldqm::Container2D RecHitTask::_cOccupancy_FEDuTCA
protected

Definition at line 96 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyCut_depth

hcaldqm::Container2D RecHitTask::_cOccupancyCut_depth
protected

Definition at line 106 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyCut_ElectronicsuTCA

hcaldqm::Container2D RecHitTask::_cOccupancyCut_ElectronicsuTCA
protected

Definition at line 104 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyCut_FEDuTCA

hcaldqm::Container2D RecHitTask::_cOccupancyCut_FEDuTCA
protected

Definition at line 103 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyCutvsBX_Subdet

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyCutvsBX_Subdet
protected

Definition at line 109 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyCutvsieta_Subdet

hcaldqm::Container1D RecHitTask::_cOccupancyCutvsieta_Subdet
protected

Definition at line 108 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyCutvsiphi_SubdetPM

hcaldqm::Container1D RecHitTask::_cOccupancyCutvsiphi_SubdetPM
protected

Definition at line 107 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyCutvsiphivsLS_SubdetPM

hcaldqm::Container2D RecHitTask::_cOccupancyCutvsiphivsLS_SubdetPM
protected

Definition at line 110 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyCutvsLS_Subdet

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyCutvsLS_Subdet
protected

Definition at line 105 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyvsieta_Subdet

hcaldqm::Container1D RecHitTask::_cOccupancyvsieta_Subdet
protected

Definition at line 100 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyvsiphi_SubdetPM

hcaldqm::Container1D RecHitTask::_cOccupancyvsiphi_SubdetPM
protected

Definition at line 99 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyvsLS_Subdet

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyvsLS_Subdet
protected

Definition at line 98 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cSummaryvsLS

hcaldqm::ContainerSingle2D RecHitTask::_cSummaryvsLS
protected

Definition at line 124 of file RecHitTask.h.

Referenced by bookHistograms(), and globalEndLuminosityBlock().

◆ _cSummaryvsLS_FED

hcaldqm::Container2D RecHitTask::_cSummaryvsLS_FED
protected

Definition at line 123 of file RecHitTask.h.

Referenced by bookHistograms(), and globalEndLuminosityBlock().

◆ _cTimingCut_depth

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_depth
protected

Definition at line 87 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cTimingCut_ElectronicsuTCA

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_ElectronicsuTCA
protected

Definition at line 86 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cTimingCut_FEDuTCA

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_FEDuTCA
protected

Definition at line 85 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cTimingCut_HBHEPartition

hcaldqm::Container1D RecHitTask::_cTimingCut_HBHEPartition
protected

Definition at line 84 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cTimingCut_SubdetPM

hcaldqm::Container1D RecHitTask::_cTimingCut_SubdetPM
protected

Definition at line 83 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cTimingCutvsBX_SubdetPM

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsBX_SubdetPM
protected

Definition at line 92 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cTimingCutvsieta_Subdet

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsieta_Subdet
protected

Definition at line 90 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cTimingCutvsiphi_SubdetPM

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsiphi_SubdetPM
protected

Definition at line 91 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cTimingCutvsLS_FED

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsLS_FED
protected

Definition at line 88 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cTimingCutvsLS_SubdetPM

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsLS_SubdetPM
protected

Definition at line 89 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cTimingvsEnergy_SubdetPM

hcaldqm::Container2D RecHitTask::_cTimingvsEnergy_SubdetPM
protected

Definition at line 80 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _cutE_HBHE

double RecHitTask::_cutE_HBHE
protected

Definition at line 51 of file RecHitTask.h.

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

◆ _cutE_HF

double RecHitTask::_cutE_HF
protected

Definition at line 51 of file RecHitTask.h.

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

◆ _cutE_HO

double RecHitTask::_cutE_HO
protected

Definition at line 51 of file RecHitTask.h.

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

◆ _ehashmap

hcaldqm::electronicsmap::ElectronicsMap RecHitTask::_ehashmap
protected

Definition at line 62 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _filter_FEDsuTCA

hcaldqm::filter::HashFilter RecHitTask::_filter_FEDsuTCA
protected

Definition at line 68 of file RecHitTask.h.

◆ _filter_FEDsVME

hcaldqm::filter::HashFilter RecHitTask::_filter_FEDsVME
protected

Definition at line 67 of file RecHitTask.h.

◆ _filter_HF

hcaldqm::filter::HashFilter RecHitTask::_filter_HF
protected

Definition at line 69 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ _filter_uTCA

hcaldqm::filter::HashFilter RecHitTask::_filter_uTCA
protected

Definition at line 66 of file RecHitTask.h.

Referenced by bookHistograms().

◆ _filter_VME

hcaldqm::filter::HashFilter RecHitTask::_filter_VME
protected

Definition at line 65 of file RecHitTask.h.

Referenced by bookHistograms().

◆ _gids

std::vector<HcalGenericDetId> RecHitTask::_gids
protected

Definition at line 122 of file RecHitTask.h.

Referenced by bookHistograms().

◆ _hfPreRecHitsAvailable

bool RecHitTask::_hfPreRecHitsAvailable
protected

Definition at line 44 of file RecHitTask.h.

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

◆ _tagHBHE

edm::InputTag RecHitTask::_tagHBHE
protected

Definition at line 40 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

◆ _tagHF

edm::InputTag RecHitTask::_tagHF
protected

Definition at line 42 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

◆ _tagHO

edm::InputTag RecHitTask::_tagHO
protected

Definition at line 41 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

◆ _tagPreHF

edm::InputTag RecHitTask::_tagPreHF
protected

Definition at line 43 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

◆ _thresh_unihf

double RecHitTask::_thresh_unihf
protected

Definition at line 52 of file RecHitTask.h.

Referenced by globalEndLuminosityBlock(), and RecHitTask().

◆ _tokHBHE

edm::EDGetTokenT<HBHERecHitCollection> RecHitTask::_tokHBHE
protected

Definition at line 45 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

◆ _tokHF

edm::EDGetTokenT<HFRecHitCollection> RecHitTask::_tokHF
protected

Definition at line 47 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

◆ _tokHO

edm::EDGetTokenT<HORecHitCollection> RecHitTask::_tokHO
protected

Definition at line 46 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

◆ _tokPreHF

edm::EDGetTokenT<HFPreRecHitCollection> RecHitTask::_tokPreHF
protected

Definition at line 48 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

◆ _unknownIdsPresent

bool RecHitTask::_unknownIdsPresent
protected

Definition at line 120 of file RecHitTask.h.

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

◆ _vflags

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

Definition at line 58 of file RecHitTask.h.

Referenced by bookHistograms(), globalEndLuminosityBlock(), and RecHitTask().

◆ _vhashFEDs

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

Definition at line 55 of file RecHitTask.h.

Referenced by bookHistograms(), and globalEndLuminosityBlock().

◆ _xUni

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

Definition at line 111 of file RecHitTask.h.

Referenced by bookHistograms(), and globalEndLuminosityBlock().

◆ _xUniHF

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

Definition at line 111 of file RecHitTask.h.

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

◆ debug

RecHitTask.debug

◆ hcalDbServiceToken_

edm::ESGetToken<HcalDbService, HcalDbRecord> RecHitTask::hcalDbServiceToken_
protected

Definition at line 49 of file RecHitTask.h.

Referenced by bookHistograms().

◆ hfPreRecHitsAvailable

RecHitTask.hfPreRecHitsAvailable

Definition at line 26 of file RecHitTask.py.

◆ meUnknownIds1LS

MonitorElement* RecHitTask::meUnknownIds1LS
protected

Definition at line 119 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

◆ mtype

RecHitTask.mtype

Definition at line 13 of file RecHitTask.py.

◆ name

RecHitTask.name

Definition at line 8 of file RecHitTask.py.

Referenced by ElectronMVAID.ElectronMVAID.__call__(), FWLite.ElectronMVAID.__call__(), dirstructure.Directory.__create_pie_image(), DisplayManager.DisplayManager.__del__(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dirstructure.Comparison.__make_image(), core.autovars.NTupleVariable.__repr__(), core.autovars.NTupleObjectType.__repr__(), core.autovars.NTupleObject.__repr__(), core.autovars.NTupleCollection.__repr__(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), config.Service.__setattr__(), config.CFG.__str__(), counter.Counter.__str__(), average.Average.__str__(), FWLite.WorkingPoints._reformat_cut_definitions(), core.autovars.NTupleObjectType.addSubObjects(), core.autovars.NTupleObjectType.addVariables(), core.autovars.NTupleObjectType.allVars(), dataset.CMSDataset.buildListOfFiles(), dataset.LocalDataset.buildListOfFiles(), dataset.CMSDataset.buildListOfFilesDBS(), dirstructure.Directory.calcStats(), validation.Sample.digest(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), DisplayManager.DisplayManager.Draw(), TreeCrawler.Package.dump(), core.autovars.NTupleVariable.fillBranch(), core.autovars.NTupleObject.fillBranches(), core.autovars.NTupleCollection.fillBranchesScalar(), core.autovars.NTupleCollection.fillBranchesVector(), core.autovars.NTupleCollection.get_cpp_declaration(), core.autovars.NTupleCollection.get_cpp_wrapper_class(), core.autovars.NTupleCollection.get_py_wrapper_class(), utils.StatisticalTest.get_status(), production_tasks.Task.getname(), dataset.CMSDataset.getPrimaryDatasetEntries(), dataset.PrivateDataset.getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase.initialize(), personalPlayback.Applet.log(), core.autovars.NTupleVariable.makeBranch(), core.autovars.NTupleObject.makeBranches(), core.autovars.NTupleCollection.makeBranchesScalar(), core.autovars.NTupleCollection.makeBranchesVector(), dirstructure.Directory.print_report(), dataset.BaseDataset.printInfo(), dataset.Dataset.printInfo(), production_tasks.MonitorJobs.run(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), counter.Counter.write(), and average.Average.write().

◆ ptype

RecHitTask.ptype

Definition at line 12 of file RecHitTask.py.

◆ recHitPreRecoTask

RecHitTask.recHitPreRecoTask

Definition at line 31 of file RecHitTask.py.

◆ recHitTask

RecHitTask.recHitTask

Definition at line 4 of file RecHitTask.py.

◆ runkeyName

RecHitTask.runkeyName

Definition at line 11 of file RecHitTask.py.

◆ runkeyVal

RecHitTask.runkeyVal

Definition at line 10 of file RecHitTask.py.

◆ subsystem

RecHitTask.subsystem

Definition at line 14 of file RecHitTask.py.

◆ tagHBHE

RecHitTask.tagHBHE

Definition at line 17 of file RecHitTask.py.

◆ tagHF

RecHitTask.tagHF

Definition at line 19 of file RecHitTask.py.

◆ tagHO

RecHitTask.tagHO

Definition at line 18 of file RecHitTask.py.

◆ tagPreHF

RecHitTask.tagPreHF

Definition at line 27 of file RecHitTask.py.

◆ tagRaw

RecHitTask.tagRaw

Definition at line 20 of file RecHitTask.py.

◆ thresh_unihf

RecHitTask.thresh_unihf

Definition at line 23 of file RecHitTask.py.