#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) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () 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 |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 61 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 & | |||
) |
Definition at line 100 of file GeometryProducer.cc.
|
overridevirtual |
Definition at line 106 of file GeometryProducer.cc.
|
overridevirtual |
Definition at line 109 of file GeometryProducer.cc.
|
overridevirtual |
Definition at line 112 of file GeometryProducer.cc.
References AttachSD::create(), SimActivityRegistry::dddWorldSignal_, DEFINE_FWK_MODULE, 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.
|
inline |
Definition at line 43 of file GeometryProducer.h.
|
inline |
Definition at line 42 of file GeometryProducer.h.
|
private |
Definition at line 82 of file GeometryProducer.cc.
References g, edm::EventSetup::get(), MagneticField::inTesla(), m_pField, m_pUseMagneticField, and edm::ESHandle< T >::product().
Referenced by produce().
|
private |
Definition at line 58 of file GeometryProducer.h.
Referenced by produce(), and ~GeometryProducer().
|
private |
Definition at line 56 of file GeometryProducer.h.
|
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(), and produce().
|
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().
|
private |
Definition at line 59 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 57 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 54 of file GeometryProducer.h.
Referenced by GeometryProducer().