#include <EcalTrigPrimProducer.h>
Public Member Functions | |
void | beginJob () |
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 |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) override |
virtual | ~EcalTrigPrimProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
unsigned long long | getRecords (edm::EventSetup const &setup) |
Private Attributes | |
EcalTrigPrimFunctionalAlgo * | algo_ |
bool | barrelOnly_ |
int | binOfMaximum_ |
unsigned long long | cacheID_ |
bool | debug_ |
TFile * | histfile_ |
std::string | instanceNameEB_ |
std::string | instanceNameEE_ |
std::string | label_ |
const edm::ParameterSet | ps_ |
bool | tcpFormat_ |
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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 33 of file EcalTrigPrimProducer.h.
|
explicit |
Definition at line 65 of file EcalTrigPrimProducer.cc.
References algo_, edm::ParameterSet::getParameter(), instanceNameEB_, instanceNameEE_, label_, NULL, AlCaHLTBitMon_QueryRunRegistry::string, and tcpFormat_.
|
virtual |
Definition at line 204 of file EcalTrigPrimProducer.cc.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 93 of file EcalTrigPrimProducer.cc.
References binOfMaximum_, spr::find(), newFWLiteAna::found, edm::BranchDescription::friendlyClassName(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), edm::getParameterSet(), edm::BranchDescription::moduleLabel(), cscdqm::h::names, edm::ConstProductRegistry::productList(), ps_, edm::BranchDescription::psetID(), query::result, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 80 of file EcalTrigPrimProducer.cc.
References algo_, barrelOnly_, binOfMaximum_, cacheID_, debug_, edm::ParameterSet::getParameter(), getRecords(), ps_, and tcpFormat_.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 89 of file EcalTrigPrimProducer.cc.
References algo_.
|
private |
Definition at line 133 of file EcalTrigPrimProducer.cc.
References algo_, edm::EventSetup::get(), edm::ESHandle< class >::product(), EcalTrigPrimFunctionalAlgo::setPointers(), and EcalTrigPrimFunctionalAlgo::setPointers2().
Referenced by beginRun(), and produce().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 210 of file EcalTrigPrimProducer.cc.
References algo_, Reference_intrackfit_cff::barrel, barrelOnly_, cacheID_, edm::eventsetup::EventSetupRecord::cacheIdentifier(), Reference_intrackfit_cff::endcap, edm::hlt::Exception, edm::EventSetup::get(), edm::Event::getByLabel(), getRecords(), i, edm::EventBase::id(), instanceNameEB_, instanceNameEE_, label_, LogDebug, NULL, reco::print(), edm::Handle< T >::product(), edm::Event::put(), EcalTrigPrimFunctionalAlgo::run(), and tcpFormat_.
|
private |
Definition at line 47 of file EcalTrigPrimProducer.h.
Referenced by beginRun(), EcalTrigPrimProducer(), endRun(), getRecords(), and produce().
|
private |
Definition at line 49 of file EcalTrigPrimProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 56 of file EcalTrigPrimProducer.h.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 62 of file EcalTrigPrimProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 51 of file EcalTrigPrimProducer.h.
Referenced by beginRun().
|
private |
Definition at line 48 of file EcalTrigPrimProducer.h.
|
private |
Definition at line 53 of file EcalTrigPrimProducer.h.
Referenced by EcalTrigPrimProducer(), and produce().
|
private |
Definition at line 54 of file EcalTrigPrimProducer.h.
Referenced by EcalTrigPrimProducer(), and produce().
|
private |
Definition at line 52 of file EcalTrigPrimProducer.h.
Referenced by Mixins._Labelable::_findDependencies(), Mixins._TypedParameterizable::dumpPython(), EcalTrigPrimProducer(), produce(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 58 of file EcalTrigPrimProducer.h.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 50 of file EcalTrigPrimProducer.h.
Referenced by beginRun(), EcalTrigPrimProducer(), and produce().