CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () 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

tuple recHitPreRecoTask
 
tuple recHitTask
 

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
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,
HcalDbRecord
hcalDbServiceToken_
 
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,
HcalChannelQualityRcd
hcalChannelQualityToken_
 
edm::ESGetToken< HcalDbService,
HcalDbRecord
hcalDbServiceToken_
 
edm::ESGetToken< RunInfo,
RunInfoRcd
runInfoToken_
 
- 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

enum RecHitTask::RecoFlag
protected
Enumerator
fUni 
fTCDS 
fUnknownIds 
nRecoFlag 

Definition at line 59 of file RecHitTask.h.

Constructor & Destructor Documentation

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, fTCDS, fUni, fUnknownIds, edm::ParameterSet::getUntrackedParameter(), HLT_FULL_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 ( )
inlineoverride

Definition at line 29 of file RecHitTask.h.

29 {}

Member Function Documentation

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::EventBase::bunchCrossing(), makePileupJSON::bx, Logger::dqmthrow(), runTauDisplay::eid, relval_parameters_module::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(), edm::Event::getByToken(), edm::Event::getLuminosityBlock(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalDetId::ieta(), edm::LuminosityBlock::index(), edm::InputTag::instance(), HcalElectronicsId::isUTCAid(), HcalElectronicsId::isVMEid(), edm::InputTag::label(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), meUnknownIds1LS, DetId::rawId(), and HcalDetId::subdet().

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 rawidValid = 0;
454  uint32_t rawidHBValid = 0;
455  uint32_t rawidHEValid = 0;
456 
457  double ehbm = 0;
458  double ehbp = 0;
459  double ehem = 0;
460  double ehep = 0;
461  int nChsHB = 0;
462  int nChsHE = 0;
463  int nChsHBCut = 0;
464  int nChsHECut = 0;
465  for (HBHERecHitCollection::const_iterator it = chbhe->begin(); it != chbhe->end(); ++it) {
466  double energy = it->energy();
467  double timing = it->time();
468 
469  // Explicit check on the DetIds present in the Collection
470  HcalDetId did = it->id();
471  uint32_t rawid = _ehashmap.lookup(did);
472  /*
473  * Needs to be removed as DetIds that belong to the HEP17 after combination
474  * are not present in the emap
475  * Removed until further notice!
476  *
477  */
478  //if (rawid==0)
479  //{meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
480 
481  HcalElectronicsId const& eid(rawid);
482  rawidValid = did.rawId();
483  if (did.subdet() == HcalBarrel)
484  rawidHBValid = did.rawId();
485  else if (did.subdet() == HcalEndcap)
486  rawidHEValid = did.rawId();
487 
488  _cEnergy_Subdet.fill(did, energy);
489  _cTimingvsEnergy_SubdetPM.fill(did, energy, timing);
490  _cOccupancy_depth.fill(did);
491  did.subdet() == HcalBarrel ? did.ieta() > 0 ? ehbp += energy : ehbm += energy
492  : did.ieta() > 0 ? ehep += energy
493  : ehem += energy;
494 
495  // ONLINE ONLY!
496  if (_ptype == fOnline) {
499  }
500  // ^^^ONLINE ONLY!
501  //
502  if (_ptype != fOffline) { // hidefed2crate
503  // Also, for these electronics plots, require that the channel was found in the emap.
504  if (rawid != 0) {
505  if (!eid.isVMEid()) {
508  }
509  }
510  }
511 
512  if (energy > _cutE_HBHE) {
513  // ONLINE ONLY!
514  if (_ptype == fOnline) {
515  _cEnergyvsLS_SubdetPM.fill(did, _currentLS, energy);
516  _cEnergyvsBX_SubdetPM.fill(did, bx, energy);
517  _cEnergyvsieta_Subdet.fill(did, energy);
518  _cEnergyvsiphi_SubdetPM.fill(did, energy);
519  _cTimingCutvsieta_Subdet.fill(did, timing);
520  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
521  _cTimingCutvsBX_SubdetPM.fill(did, bx, timing);
524  _cOccupancyCutvsiphivsLS_SubdetPM.fill(did, _currentLS);
525  }
526  // ^^^ONLINE ONLY!
527  _cEnergy_depth.fill(did, energy);
528  _cTimingCut_SubdetPM.fill(did, timing);
529  _cTimingCut_HBHEPartition.fill(did, timing);
530  _cTimingCutvsLS_SubdetPM.fill(did, _currentLS, timing);
531 
532  // ONLINE
533  if (_ptype == fOnline) {
534  if (rawid != 0) {
535  _cTimingCutvsLS_FED.fill(eid, _currentLS, timing);
536  }
537  _cTimingCut_depth.fill(did, timing);
538  // ^^^ONLINE
539  } else {
540  if (_ptype != fOffline) { // hidefed2crate
541  if (rawid != 0) {
542  _cTimingCutvsLS_FED.fill(eid, _currentLS, timing);
543  }
544  }
545  _cTimingCut_depth.fill(did, timing);
546  }
548  if (_ptype != fOffline) { // hidefed2crate
549  if (rawid != 0) {
550  if (eid.isUTCAid()) {
551  if (_ptype == fOnline) {
552  // time constraints are explicit!
553  _cTimingCut_FEDuTCA.fill(eid, timing);
555  } else {
556  _cTimingCut_FEDuTCA.fill(eid, timing);
558  }
561  }
562  }
563  }
564  did.subdet() == HcalBarrel ? nChsHBCut++ : nChsHECut++;
565  }
566  did.subdet() == HcalBarrel ? nChsHB++ : nChsHE++;
567  }
568 
569  if (rawidHBValid != 0 && rawidHEValid != 0) {
570  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidHBValid), _currentLS, nChsHB);
571  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidHEValid), _currentLS, nChsHE);
572 
573  // ONLINE ONLY!
574  if (_ptype == fOnline) {
575  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidHBValid), bx, nChsHBCut);
576  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidHEValid), bx, nChsHECut);
577  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidHBValid), _currentLS, nChsHBCut);
578  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidHEValid), _currentLS, nChsHECut);
579  }
580  // ^^^ONLINE ONLY!
581  }
582 
583  // reset
584  rawidValid = 0;
585 
586  int nChsHO = 0;
587  int nChsHOCut = 0;
588  double ehop = 0;
589  double ehom = 0;
590  for (HORecHitCollection::const_iterator it = cho->begin(); it != cho->end(); ++it) {
591  double energy = it->energy();
592  double timing = it->time();
593 
594  // Explicit check on the DetIds present in the Collection
595  HcalDetId did = it->id();
596  uint32_t rawid = _ehashmap.lookup(did);
597  if (rawid == 0) {
598  meUnknownIds1LS->Fill(1);
599  _unknownIdsPresent = true;
600  continue;
601  }
602  HcalElectronicsId const& eid(rawid);
603  if (did.subdet() == HcalOuter)
604  rawidValid = did.rawId();
605 
606  _cEnergy_Subdet.fill(did, energy);
607  _cTimingvsEnergy_SubdetPM.fill(did, energy, timing);
608  _cOccupancy_depth.fill(did);
609  did.ieta() > 0 ? ehop += energy : ehom += energy;
610 
611  // IMPORTANT: ONLINE ONLY!
612  if (_ptype == fOnline) {
615  }
616  // ONLINE ONLY!
617 
618  if (_ptype != fOffline) { // hidefed2crate
619  if (!eid.isVMEid()) {
622  }
623  }
624 
625  if (energy > _cutE_HO) {
626  // ONLINE ONLY!
627  if (_ptype == fOnline) {
628  _cEnergyvsLS_SubdetPM.fill(did, _currentLS, energy);
629  _cEnergyvsBX_SubdetPM.fill(did, bx, energy);
630  _cEnergyvsieta_Subdet.fill(did, energy);
631  _cEnergyvsiphi_SubdetPM.fill(did, energy);
632  _cTimingCutvsieta_Subdet.fill(did, timing);
633  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
634  _cTimingCutvsBX_SubdetPM.fill(did, bx, timing);
637  _cOccupancyCutvsiphivsLS_SubdetPM.fill(did, _currentLS);
638  }
639  // ^^^ONLINE ONLY!
640 
641  _cEnergy_depth.fill(did, energy);
642  _cTimingCut_SubdetPM.fill(did, timing);
643  _cTimingCutvsLS_SubdetPM.fill(did, _currentLS, timing);
644  if (_ptype != fOffline) { // hidefed2crate
645  _cTimingCutvsLS_FED.fill(eid, _currentLS, timing);
646  }
648  _cTimingCut_depth.fill(did, timing);
649  if (_ptype != fOffline) { // hidefed2crate
650  if (!eid.isVMEid()) {
651  _cTimingCut_FEDuTCA.fill(eid, timing);
655  }
656  }
657  nChsHOCut++;
658  }
659  nChsHO++;
660  }
661 
662  if (rawidValid != 0) {
663  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHO);
664  // ONLINE ONLY!
665  if (_ptype == fOnline) {
666  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidValid), bx, nChsHOCut);
667  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHOCut);
668  }
669  // ^^^ONLINE ONLY!
670  }
671 
672  //reset
673  rawidValid = 0;
674 
675  int nChsHF = 0;
676  int nChsHFCut = 0;
677  double ehfp = 0;
678  double ehfm = 0;
679  for (HFRecHitCollection::const_iterator it = chf->begin(); it != chf->end(); ++it) {
680  double energy = it->energy();
681  double timing = it->time();
682 
683  // Explicit check on the DetIds present in the Collection
684  HcalDetId did = it->id();
685  uint32_t rawid = _ehashmap.lookup(did);
686  if (rawid == 0) {
687  meUnknownIds1LS->Fill(1);
688  _unknownIdsPresent = true;
689  continue;
690  }
691  HcalElectronicsId const& eid(rawid);
692  if (did.subdet() == HcalForward)
693  rawidValid = did.rawId();
694 
695  _cEnergy_Subdet.fill(did, energy);
696  _cTimingvsEnergy_SubdetPM.fill(did, energy, timing);
697  _cOccupancy_depth.fill(did);
698  did.ieta() > 0 ? ehfp += energy : ehfm += energy;
699 
700  // IMPORTANT:
701  // only for Online Processing
702  //
703  if (_ptype == fOnline) {
706  }
707  // ONLINE ONLY!
708 
709  if (_ptype != fOffline) { // hidefed2crate
710  if (!eid.isVMEid()) {
713  }
714  }
715 
716  if (energy > _cutE_HF) {
717  // ONLINE ONLY!
718  if (_ptype == fOnline) {
719  _cEnergyvsLS_SubdetPM.fill(did, _currentLS, energy);
720  _cEnergyvsBX_SubdetPM.fill(did, bx, energy);
721  _cEnergyvsieta_Subdet.fill(did, energy);
722  _cEnergyvsiphi_SubdetPM.fill(did, energy);
723  _cTimingCutvsieta_Subdet.fill(did, timing);
724  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
725  _cTimingCutvsBX_SubdetPM.fill(did, bx, timing);
728  _cOccupancyCutvsiphivsLS_SubdetPM.fill(did, _currentLS);
729  if (_ptype != fOffline) { // hidefed2crate
730  _xUniHF.get(eid)++;
731  }
732  }
733  // ^^^ONLINE ONLY!
734  _cEnergy_depth.fill(did, energy);
735  _cTimingCut_SubdetPM.fill(did, timing);
736  _cTimingCutvsLS_SubdetPM.fill(did, _currentLS, timing);
737  if (_ptype != fOffline) { // hidefed2crate
738  _cTimingCutvsLS_FED.fill(eid, _currentLS, timing);
739  }
741  _cTimingCut_depth.fill(did, timing);
742  if (_ptype != fOffline) { // hidefed2crate
743  if (!eid.isVMEid()) {
744  _cTimingCut_FEDuTCA.fill(eid, timing);
748  }
749  }
750  nChsHFCut++;
751  }
752  nChsHF++;
753  }
754 
755  if (rawidValid != 0) {
756  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHF);
757  // ONLINE ONLY!
758  if (_ptype == fOnline) {
759  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidValid), bx, nChsHFCut);
760  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHFCut);
761  }
762  // ^^^ONLINE ONLY!
763  }
764 
765  // Loop over HFPreRecHits to get charge and charge asymmetry
767  for (HFPreRecHitCollection::const_iterator it = cprehf->begin(); it != cprehf->end(); ++it) {
768  HcalDetId did = it->id();
769  if (_filter_HF.filter(did)) {
770  continue;
771  }
772  std::pair<float, bool> chargeAsymmetry = it->chargeAsymmetry(0.);
773  std::pair<float, bool> chargeAsymmetryCut = it->chargeAsymmetry(20.);
774 
775  if (chargeAsymmetry.second) {
776  _cDAAsymmetryVsCharge_SubdetPM.fill(did, chargeAsymmetry.first, it->charge());
777  }
778  if (chargeAsymmetryCut.second) {
779  _cDAAsymmetryMean_cut_depth.fill(did, chargeAsymmetryCut.first);
780  _cDAAsymmetry_cut_SubdetPM.fill(did, chargeAsymmetryCut.first);
781  }
782  }
783  }
784 }
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
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
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
std::vector< T >::const_iterator const_iterator
hcaldqm::Container1D _cTimingCut_SubdetPM
Definition: RecHitTask.h:83
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
void dqmthrow(std::string const &msg) const
Definition: Logger.h:12
edm::InputTag _tagPreHF
Definition: RecHitTask.h:43
double _cutE_HF
Definition: RecHitTask.h:51
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
Logger _logger
Definition: DQModule.h:55
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
Definition: RecHitTask.h:103
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: RecHitTask.h:62
MonitorElement * meUnknownIds1LS
Definition: RecHitTask.h:119
edm::EDGetTokenT< HFPreRecHitCollection > _tokPreHF
Definition: RecHitTask.h:48
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
Definition: RecHitTask.h:97
edm::InputTag _tagHO
Definition: RecHitTask.h:41
hcaldqm::filter::HashFilter _filter_HF
Definition: RecHitTask.h:69
hcaldqm::Container2D _cOccupancy_FEDuTCA
Definition: RecHitTask.h:96
edm::InputTag _tagHF
Definition: RecHitTask.h:42
hcaldqm::Container2D _cDAAsymmetryVsCharge_SubdetPM
Definition: RecHitTask.h:114
std::string const & label() const
Definition: InputTag.h:36
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
virtual bool filter(HcalDetId const &) const
Definition: HashFilter.cc:24
bool _hfPreRecHitsAvailable
Definition: RecHitTask.h:44
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.
std::string const & instance() const
Definition: InputTag.h:37
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
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
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(), dqm::implementation::IBooker::book1DD(), 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(), hcaldqm::hashfunctions::hash_did, hcalDbServiceToken_, HcalForward, 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, HcalElectronicsId::rawId(), dqm::implementation::NavigatorBase::setCurrentFolder(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

33  {
34  DQTask::bookHistograms(ib, r, es);
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
constexpr uint32_t rawId() const
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
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
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
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
MonitorElement * book1DD(TString const &name, TString const &title, int nchX, double lowX, double highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:155
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]
std::vector< HcalGenericDetId > allPrecisionId() const
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:463
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
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< 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
hcaldqm::Container1D _cDAAsymmetry_cut_SubdetPM
Definition: RecHitTask.h:116
hcaldqm::ContainerProf1D _cEnergyvsLS_SubdetPM
Definition: RecHitTask.h:76
std::shared_ptr< hcaldqm::Cache > RecHitTask::globalBeginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
) const
override

Definition at line 786 of file RecHitTask.cc.

787  {
788  return DQTask::globalBeginLuminosityBlock(lb, es);
789 }
void RecHitTask::globalEndLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 791 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(), and hcaldqm::Container2D::setBinContent().

791  {
792  if (_ptype != fOnline)
793  return;
794 
795  auto lumiCache = luminosityBlockCache(lb.index());
796  _currentLS = lumiCache->currentLS;
797 
798  //
799  // GENERATE STATUS ONLY FOR ONLINE
800  //
801  // for (std::vector<HcalGenericDetId>::const_iterator it=gids.begin();
802  // it!=gids.end(); ++it)
803  // {}
804 
805  for (uintCompactMap::const_iterator it = _xUniHF.begin(); it != _xUniHF.end(); ++it) {
806  uint32_t hash1 = it->first;
807  HcalElectronicsId eid1(hash1);
808  double x1 = it->second;
809 
810  for (uintCompactMap::const_iterator jt = _xUniHF.begin(); jt != _xUniHF.end(); ++jt) {
811  if (jt == it)
812  continue;
813  double x2 = jt->second;
814  if (x2 == 0)
815  continue;
816  if (x1 / x2 < _thresh_unihf)
817  _xUni.get(eid1)++;
818  }
819  }
820 
821  if (_ptype != fOffline) { // hidefed2crate
822  for (std::vector<uint32_t>::const_iterator it = _vhashFEDs.begin(); it != _vhashFEDs.end(); ++it) {
823  flag::Flag fSum("RECO");
825 
826  std::vector<uint32_t>::const_iterator cit = std::find(_vcdaqEids.begin(), _vcdaqEids.end(), *it);
827  if (cit == _vcdaqEids.end()) {
828  // not @cDAQ
829  for (uint32_t iflag = 0; iflag < _vflags.size(); iflag++)
830  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag), int(flag::fNCDAQ));
831  _cSummaryvsLS.setBinContent(eid, _currentLS, int(flag::fNCDAQ));
832  continue;
833  }
834 
835  // FED is @cDAQ
836  if (hcaldqm::utilities::isFEDHF(eid) && (_runkeyVal == 0 || _runkeyVal == 4)) {
837  if (_xUni.get(eid) > 0)
838  _vflags[fUni]._state = flag::fPROBLEMATIC;
839  else
840  _vflags[fUni]._state = flag::fGOOD;
841  }
842 
843  if (_unknownIdsPresent)
844  _vflags[fUnknownIds]._state = flag::fBAD;
845  else
846  _vflags[fUnknownIds]._state = flag::fGOOD;
847 
848  int iflag = 0;
849  for (std::vector<flag::Flag>::iterator ft = _vflags.begin(); ft != _vflags.end(); ++ft) {
850  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag), int(ft->_state));
851  fSum += (*ft);
852  iflag++;
853 
854  // reset after using
855  ft->reset();
856  }
857  _cSummaryvsLS.setBinContent(eid, _currentLS, fSum._state);
858  }
859  _xUniHF.reset();
860  _xUni.reset();
861  }
862 
863  // in the end always do the DQTask::endLumi
864  DQTask::globalEndLuminosityBlock(lb, es);
865 }
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

hcaldqm::Container1D RecHitTask::_cDAAsymmetry_cut_SubdetPM
protected

Definition at line 116 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D RecHitTask::_cDAAsymmetryMean_cut_depth
protected

Definition at line 115 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cDAAsymmetryVsCharge_SubdetPM
protected

Definition at line 114 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D RecHitTask::_cEnergy_depth
protected

Definition at line 75 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cEnergy_Subdet
protected

Definition at line 72 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsBX_SubdetPM
protected

Definition at line 77 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsieta_Subdet
protected

Definition at line 73 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsiphi_SubdetPM
protected

Definition at line 74 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsLS_SubdetPM
protected

Definition at line 76 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancy_depth
protected

Definition at line 95 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancy_ElectronicsuTCA
protected

Definition at line 97 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancy_FEDuTCA
protected

Definition at line 96 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancyCut_depth
protected

Definition at line 106 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancyCut_ElectronicsuTCA
protected

Definition at line 104 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancyCut_FEDuTCA
protected

Definition at line 103 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyCutvsBX_Subdet
protected

Definition at line 109 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cOccupancyCutvsieta_Subdet
protected

Definition at line 108 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cOccupancyCutvsiphi_SubdetPM
protected

Definition at line 107 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancyCutvsiphivsLS_SubdetPM
protected

Definition at line 110 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyCutvsLS_Subdet
protected

Definition at line 105 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cOccupancyvsieta_Subdet
protected

Definition at line 100 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cOccupancyvsiphi_SubdetPM
protected

Definition at line 99 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyvsLS_Subdet
protected

Definition at line 98 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D RecHitTask::_cSummaryvsLS
protected

Definition at line 124 of file RecHitTask.h.

Referenced by bookHistograms(), and globalEndLuminosityBlock().

hcaldqm::Container2D RecHitTask::_cSummaryvsLS_FED
protected

Definition at line 123 of file RecHitTask.h.

Referenced by bookHistograms(), and globalEndLuminosityBlock().

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_depth
protected

Definition at line 87 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_ElectronicsuTCA
protected

Definition at line 86 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_FEDuTCA
protected

Definition at line 85 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cTimingCut_HBHEPartition
protected

Definition at line 84 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cTimingCut_SubdetPM
protected

Definition at line 83 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsBX_SubdetPM
protected

Definition at line 92 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsieta_Subdet
protected

Definition at line 90 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsiphi_SubdetPM
protected

Definition at line 91 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsLS_FED
protected

Definition at line 88 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsLS_SubdetPM
protected

Definition at line 89 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cTimingvsEnergy_SubdetPM
protected

Definition at line 80 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

double RecHitTask::_cutE_HBHE
protected

Definition at line 51 of file RecHitTask.h.

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

double RecHitTask::_cutE_HF
protected

Definition at line 51 of file RecHitTask.h.

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

double RecHitTask::_cutE_HO
protected

Definition at line 51 of file RecHitTask.h.

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

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

Definition at line 62 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

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

Definition at line 68 of file RecHitTask.h.

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

Definition at line 67 of file RecHitTask.h.

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

Definition at line 69 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

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

Definition at line 66 of file RecHitTask.h.

Referenced by bookHistograms().

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

Definition at line 65 of file RecHitTask.h.

Referenced by bookHistograms().

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

Definition at line 122 of file RecHitTask.h.

Referenced by bookHistograms().

bool RecHitTask::_hfPreRecHitsAvailable
protected

Definition at line 44 of file RecHitTask.h.

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

edm::InputTag RecHitTask::_tagHBHE
protected

Definition at line 40 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

edm::InputTag RecHitTask::_tagHF
protected

Definition at line 42 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

edm::InputTag RecHitTask::_tagHO
protected

Definition at line 41 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

edm::InputTag RecHitTask::_tagPreHF
protected

Definition at line 43 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

double RecHitTask::_thresh_unihf
protected

Definition at line 52 of file RecHitTask.h.

Referenced by globalEndLuminosityBlock(), and RecHitTask().

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

Definition at line 45 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

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

Definition at line 47 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

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

Definition at line 46 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

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

Definition at line 48 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

bool RecHitTask::_unknownIdsPresent
protected

Definition at line 120 of file RecHitTask.h.

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

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

Definition at line 58 of file RecHitTask.h.

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

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

Definition at line 55 of file RecHitTask.h.

Referenced by bookHistograms(), and globalEndLuminosityBlock().

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

Definition at line 111 of file RecHitTask.h.

Referenced by bookHistograms(), and globalEndLuminosityBlock().

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

Definition at line 111 of file RecHitTask.h.

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

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

Definition at line 49 of file RecHitTask.h.

Referenced by bookHistograms().

MonitorElement* RecHitTask::meUnknownIds1LS
protected

Definition at line 119 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

tuple RecHitTask.recHitPreRecoTask
Initial value:
1 = recHitTask.clone(
2  tagHBHE = "hbheprereco",
3 )

Definition at line 31 of file RecHitTask.py.

tuple RecHitTask.recHitTask
Initial value:
2  "RecHitTask",
3 
4  # standard parameters
5  name = cms.untracked.string("RecHitTask"),
6  debug = cms.untracked.int32(0),
7  runkeyVal = cms.untracked.int32(0),
8  runkeyName = cms.untracked.string("pp_run"),
9  ptype = cms.untracked.int32(0),
10  mtype = cms.untracked.bool(True),
11  subsystem = cms.untracked.string("Hcal"),
12 
13  # tags
14  tagHBHE = cms.untracked.InputTag("hbhereco"),
15  tagHO = cms.untracked.InputTag("horeco"),
16  tagHF = cms.untracked.InputTag("hfreco"),
17  tagRaw = cms.untracked.InputTag('rawDataCollector'),
18 
19  # thresholds
20  thresh_unihf = cms.untracked.double(0.2),
21 
22  # prerechits
23  hfPreRecHitsAvailable = cms.untracked.bool(False),
24  tagPreHF = cms.untracked.InputTag(""),
25 )

Definition at line 4 of file RecHitTask.py.