#include <GeometryProducer.h>
Public Types | |
typedef std::vector < std::shared_ptr< SimProducer > > | Producers |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
void | beginLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &) |
virtual void | beginRun (const edm::Run &r, const edm::EventSetup &c) override |
virtual void | endRun (const edm::Run &r, const edm::EventSetup &c) override |
GeometryProducer (edm::ParameterSet const &p) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) override |
std::vector< std::shared_ptr < SimProducer > > | producers () const |
std::vector < SensitiveCaloDetector * > & | sensCaloDetectors () |
std::vector < SensitiveTkDetector * > & | sensTkDetectors () |
virtual | ~GeometryProducer () override |
Public Member Functions inherited from edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 () |
Private Member Functions | |
void | updateMagneticField (edm::EventSetup const &es) |
Private Attributes | |
AttachSD * | m_attach |
std::auto_ptr< sim::FieldBuilder > | m_fieldBuilder |
bool | m_firstRun |
G4RunManagerKernel * | m_kernel |
edm::ParameterSet | m_p |
edm::ParameterSet | m_pField |
std::vector< std::shared_ptr < SimProducer > > | m_producers |
bool | m_pUseMagneticField |
bool | m_pUseSensitiveDetectors |
SimActivityRegistry | m_registry |
std::vector < SensitiveCaloDetector * > | m_sensCaloDets |
std::vector < SensitiveTkDetector * > | m_sensTkDets |
std::auto_ptr< SimTrackManager > | m_trackManager |
std::vector< std::shared_ptr < SimWatcher > > | m_watchers |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Definition at line 28 of file GeometryProducer.h.
typedef std::vector<std::shared_ptr<SimProducer> > GeometryProducer::Producers |
Definition at line 31 of file GeometryProducer.h.
|
explicit |
Definition at line 57 of file GeometryProducer.cc.
References SimActivityRegistry::connect(), createWatchers(), m_p, m_producers, m_registry, and m_watchers.
|
overridevirtual |
void GeometryProducer::beginLuminosityBlock | ( | edm::LuminosityBlock & | , |
edm::EventSetup const & | es | ||
) |
Definition at line 98 of file GeometryProducer.cc.
References updateMagneticField().
|
overridevirtual |
Definition at line 103 of file GeometryProducer.cc.
|
overridevirtual |
Definition at line 106 of file GeometryProducer.cc.
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 109 of file GeometryProducer.cc.
References AttachSD::create(), SimActivityRegistry::dddWorldSignal_, edm::EventSetup::get(), m_attach, m_firstRun, m_kernel, m_p, m_producers, m_pUseSensitiveDetectors, m_registry, m_sensCaloDets, m_sensTkDets, m_trackManager, map_, and updateMagneticField().
|
inline |
Definition at line 40 of file GeometryProducer.h.
References m_producers.
|
inline |
Definition at line 43 of file GeometryProducer.h.
References m_sensCaloDets.
|
inline |
Definition at line 42 of file GeometryProducer.h.
References m_sensTkDets.
|
private |
Definition at line 78 of file GeometryProducer.cc.
References g, edm::EventSetup::get(), m_fieldBuilder, m_pField, and m_pUseMagneticField.
Referenced by beginLuminosityBlock(), and produce().
|
private |
Definition at line 58 of file GeometryProducer.h.
Referenced by produce(), and ~GeometryProducer().
|
private |
Definition at line 56 of file GeometryProducer.h.
Referenced by updateMagneticField().
|
private |
Definition at line 62 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 49 of file GeometryProducer.h.
Referenced by produce(), and ~GeometryProducer().
|
private |
Definition at line 61 of file GeometryProducer.h.
Referenced by GeometryProducer(), and produce().
|
private |
Definition at line 51 of file GeometryProducer.h.
Referenced by updateMagneticField().
|
private |
Definition at line 55 of file GeometryProducer.h.
Referenced by GeometryProducer(), produce(), and producers().
|
private |
Definition at line 50 of file GeometryProducer.h.
Referenced by updateMagneticField().
|
private |
Definition at line 52 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 53 of file GeometryProducer.h.
Referenced by GeometryProducer(), and produce().
|
private |
Definition at line 60 of file GeometryProducer.h.
Referenced by produce(), and sensCaloDetectors().
|
private |
Definition at line 59 of file GeometryProducer.h.
Referenced by produce(), and sensTkDetectors().
|
private |
Definition at line 57 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 54 of file GeometryProducer.h.
Referenced by GeometryProducer().