#include <HLTrigger/Timer/src/Timer.cc>
Public Member Functions | |
void | newTimingMeasurement (const edm::ModuleDescription &iMod, double iTime) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Timer (const edm::ParameterSet &) | |
~Timer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Attributes | |
bool | includeSelf |
std::string | self_module_name |
edm::EventTime | timing |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Description: EDProducer that uses the EventTime structure to store in the Event the names and processing times (per event) for all modules.
Implementation: <Notes on="" implementation>="">
|
explicit |
Definition at line 35 of file Timer.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), includeSelf, TimerService::newMeasurementSignal, newTimingMeasurement(), self_module_name, and cond::rpcobgas::time.
Timer::~Timer | ( | ) |
void Timer::newTimingMeasurement | ( | const edm::ModuleDescription & | iMod, |
double | iTime | ||
) |
Definition at line 68 of file Timer.cc.
References includeSelf, edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), and self_module_name.
Referenced by Timer().
|
virtual |
Implements edm::EDProducer.
Definition at line 86 of file Timer.cc.
References dbtoconf::out, and edm::Event::put().
|
private |
Definition at line 56 of file Timer.h.
Referenced by newTimingMeasurement(), Timer(), and ~Timer().
|
private |
Definition at line 59 of file Timer.h.
Referenced by newTimingMeasurement(), and Timer().
|
private |