CMS 3D CMS Logo

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

#include <TestTask.h>

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

Public Member Functions

virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
 TestTask (edm::ParameterSet const &)
 
virtual ~TestTask ()
 
- Public Member Functions inherited from hcaldqm::DQTask
void analyze (edm::Event const &, edm::EventSetup const &) override
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQTask (edm::ParameterSet const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DQTask () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMEDAnalyzer ()
 
 DQMEDAnalyzer (DQMEDAnalyzer const &)=delete
 
 DQMEDAnalyzer (DQMEDAnalyzer &&)=delete
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) override
 
 ~DQMEDAnalyzer () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule ()(false)
 

Protected Member Functions

virtual void _process (edm::Event const &, edm::EventSetup const &)
 
virtual void _resetMonitors (hcaldqm::UpdateFreq)
 
- Protected Member Functions inherited from hcaldqm::DQTask
virtual int _getCalibType (edm::Event const &)
 
virtual bool _isApplicable (edm::Event const &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Protected Attributes

hcaldqm::Container1D _cEnergy_CrateSpigot
 
hcaldqm::Container2D _cEnergy_depth
 
hcaldqm::Container1D _cEnergy_FED
 
hcaldqm::Container1D _cEnergy_Subdet
 
hcaldqm::ContainerProf1D _cEnergyvsiphi_Subdetieta
 
hcaldqm::Container1D _cEt_TTSubdetieta
 
hcaldqm::Container1D _cEt_TTSubdetPM
 
hcaldqm::Container1D _cEt_TTSubdetPMiphi
 
hcaldqm::ContainerSingleProf1D _cPerformance
 
hcaldqm::ContainerSingle2D _cSummary
 
hcaldqm::ContainerProf2D _cTiming_depth
 
hcaldqm::Container1D _cTiming_FEDSlot
 
hcaldqm::Container2D _cTiming_FEDuTCA
 
hcaldqm::Container1D _cTiming_SubdetPMiphi
 
edm::InputTag _tagHF
 
hcaldqm::filter::HashFilter filter_Electronics
 
- Protected Attributes inherited from hcaldqm::DQTask
ContainerI _cEvsPerLS
 
ContainerI _cEvsTotal
 
ContainerS _cProcessingTypeName
 
ContainerS _cRunKeyName
 
ContainerI _cRunKeyVal
 
edm::ESHandle< HcalDbService_dbService
 
HcalElectronicsMap const * _emap
 
int _procLSs
 
edm::InputTag _tagRaw
 
edm::EDGetTokenT< FEDRawDataCollection_tokRaw
 
std::vector< uint32_t > _vcdaqEids
 
ContainerXXX< uint32_t > _xQuality
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
- Protected Attributes inherited from hcaldqm::DQModule
int _currentLS
 
int _debug
 
int _evsPerLS
 
int _evsTotal
 
Logger _logger
 
int _maxLS
 
ModuleType _mtype
 
std::string _name
 
ProcessingType _ptype
 
std::string _runkeyName
 
int _runkeyVal
 
std::string _subsystem
 

Additional Inherited Members

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

Detailed Description

Definition at line 19 of file TestTask.h.

Constructor & Destructor Documentation

TestTask::TestTask ( edm::ParameterSet const &  )
virtual TestTask::~TestTask ( )
inlinevirtual

Definition at line 23 of file TestTask.h.

References _process(), _resetMonitors(), bookHistograms(), and endLuminosityBlock().

23 {}

Member Function Documentation

virtual void TestTask::_process ( edm::Event const &  ,
edm::EventSetup const &   
)
protectedvirtual

Implements hcaldqm::DQTask.

Referenced by ~TestTask().

virtual void TestTask::_resetMonitors ( hcaldqm::UpdateFreq  )
protectedvirtual

Reimplemented from hcaldqm::DQTask.

Referenced by ~TestTask().

virtual void TestTask::bookHistograms ( DQMStore::IBooker ,
edm::Run const &  ,
edm::EventSetup const &   
)
virtual

Reimplemented from hcaldqm::DQTask.

Referenced by ~TestTask().

virtual void TestTask::endLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
virtual

Referenced by ~TestTask().

Member Data Documentation

hcaldqm::Container1D TestTask::_cEnergy_CrateSpigot
protected

Definition at line 49 of file TestTask.h.

hcaldqm::Container2D TestTask::_cEnergy_depth
protected

Definition at line 46 of file TestTask.h.

hcaldqm::Container1D TestTask::_cEnergy_FED
protected

Definition at line 50 of file TestTask.h.

hcaldqm::Container1D TestTask::_cEnergy_Subdet
protected

Definition at line 43 of file TestTask.h.

hcaldqm::ContainerProf1D TestTask::_cEnergyvsiphi_Subdetieta
protected

Definition at line 45 of file TestTask.h.

hcaldqm::Container1D TestTask::_cEt_TTSubdetieta
protected

Definition at line 53 of file TestTask.h.

hcaldqm::Container1D TestTask::_cEt_TTSubdetPM
protected

Definition at line 51 of file TestTask.h.

hcaldqm::Container1D TestTask::_cEt_TTSubdetPMiphi
protected

Definition at line 52 of file TestTask.h.

hcaldqm::ContainerSingleProf1D TestTask::_cPerformance
protected

Definition at line 56 of file TestTask.h.

hcaldqm::ContainerSingle2D TestTask::_cSummary
protected

Definition at line 55 of file TestTask.h.

hcaldqm::ContainerProf2D TestTask::_cTiming_depth
protected

Definition at line 47 of file TestTask.h.

hcaldqm::Container1D TestTask::_cTiming_FEDSlot
protected

Definition at line 48 of file TestTask.h.

hcaldqm::Container2D TestTask::_cTiming_FEDuTCA
protected

Definition at line 54 of file TestTask.h.

hcaldqm::Container1D TestTask::_cTiming_SubdetPMiphi
protected

Definition at line 44 of file TestTask.h.

edm::InputTag TestTask::_tagHF
protected

Definition at line 35 of file TestTask.h.

hcaldqm::filter::HashFilter TestTask::filter_Electronics
protected

Definition at line 38 of file TestTask.h.