#include <EcalTrigPrimProducer.h>
Public Member Functions | |
void | beginRun (const edm::Run &run, const edm::EventSetup &es) override |
EcalTrigPrimProducer (const edm::ParameterSet &conf) | |
void | endRun (const edm::Run &, const edm::EventSetup &) override |
void | produce (edm::Event &e, const edm::EventSetup &c) override |
virtual | ~EcalTrigPrimProducer () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
unsigned long long | getRecords (edm::EventSetup const &setup) |
Private Attributes | |
std::unique_ptr < EcalTrigPrimFunctionalAlgo > | algo_ |
bool | barrelOnly_ |
int | binOfMaximum_ |
unsigned long long | cacheID_ |
bool | debug_ |
bool | famos_ |
bool | fillBinOfMaximumFromHistory_ |
bool | tcpFormat_ |
edm::EDGetTokenT < EBDigiCollection > | tokenEB_ |
edm::EDGetTokenT < EEDigiCollection > | tokenEE_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
EcalTrigPrimProducer produces a EcalTrigPrimDigiCollection The barrel code does a detailed simulation The code for the endcap is simulated in a rough way, due to missing strip geometry
EcalTrigPrimProducer produces a EcalTrigPrimDigiCollection Simulation as close as possible to hardware Main algorithm is EcalTrigPrimFunctionalAlgo which is now templated to take EBdataFrames/EEDataFrames as input
Definition at line 35 of file EcalTrigPrimProducer.h.
|
explicit |
Definition at line 63 of file EcalTrigPrimProducer.cc.
References tcpFormat_.
|
virtual |
Definition at line 199 of file EcalTrigPrimProducer.cc.
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 114 of file EcalTrigPrimProducer.cc.
References algo_, barrelOnly_, binOfMaximum_, cacheID_, debug_, famos_, fillBinOfMaximumFromHistory_, findBinOfMaximum(), getRecords(), edm::Run::processHistory(), and tcpFormat_.
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 124 of file EcalTrigPrimProducer.cc.
References algo_.
|
static |
Definition at line 281 of file EcalTrigPrimProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), kComment, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 128 of file EcalTrigPrimProducer.cc.
References algo_, edm::EventSetup::get(), and edm::ESHandle< class >::product().
Referenced by beginRun(), and produce().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 205 of file EcalTrigPrimProducer.cc.
References algo_, Reference_intrackfit_cff::barrel, barrelOnly_, cacheID_, edm::eventsetup::EventSetupRecord::cacheIdentifier(), Reference_intrackfit_cff::endcap, Exception, edm::EventSetup::get(), edm::Event::getByToken(), getRecords(), i, edm::EventBase::id(), HLT_25ns14e33_v1_cff::labels, edm::EDConsumerBase::labelsForToken(), LogDebug, edm::ProductLabels::module, NULL, reco::print(), edm::Handle< T >::product(), edm::ProductLabels::productInstance, edm::Event::put(), tcpFormat_, tokenEB_, and tokenEE_.
|
private |
Definition at line 50 of file EcalTrigPrimProducer.h.
Referenced by beginRun(), endRun(), getRecords(), and produce().
|
private |
Definition at line 51 of file EcalTrigPrimProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 58 of file EcalTrigPrimProducer.h.
Referenced by beginRun().
|
private |
Definition at line 63 of file EcalTrigPrimProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 53 of file EcalTrigPrimProducer.h.
Referenced by beginRun().
|
private |
Definition at line 54 of file EcalTrigPrimProducer.h.
Referenced by beginRun().
|
private |
Definition at line 59 of file EcalTrigPrimProducer.h.
Referenced by beginRun().
|
private |
Definition at line 52 of file EcalTrigPrimProducer.h.
Referenced by beginRun(), EcalTrigPrimProducer(), and produce().
|
private |
Definition at line 55 of file EcalTrigPrimProducer.h.
Referenced by produce().
|
private |
Definition at line 56 of file EcalTrigPrimProducer.h.
Referenced by produce().