#include <GeometryProducer.h>
Public Types | |
typedef std::vector < std::shared_ptr< SimProducer > > | Producers |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | 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 &) |
GeometryProducer (edm::ParameterSet const &p) | |
void | produce (edm::Event &e, const edm::EventSetup &c) |
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::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 () |
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::EDProducer | |
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 103 of file GeometryProducer.cc.
References updateMagneticField().
|
virtual |
Implements edm::EDProducer.
Definition at line 108 of file GeometryProducer.cc.
References gather_cfg::cout, AttachSD::create(), SimActivityRegistry::dddWorldSignal_, edm::EventSetup::get(), LogDebug, 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 41 of file GeometryProducer.h.
References m_producers.
|
inline |
Definition at line 44 of file GeometryProducer.h.
References m_sensCaloDets.
|
inline |
Definition at line 43 of file GeometryProducer.h.
References m_sensTkDets.
|
private |
Definition at line 80 of file GeometryProducer.cc.
References g, edm::EventSetup::get(), LogDebug, 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().