#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 | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
void | updateMagneticField (edm::EventSetup const &es) |
Private Attributes | |
std::unique_ptr < sim::FieldBuilder > | m_fieldBuilder |
bool | m_firstRun |
G4RunManagerKernel * | m_kernel |
edm::ParameterSet | m_p |
const DDCompactView * | m_pDD |
const cms::DDCompactView * | m_pDD4hep |
edm::ParameterSet | m_pField |
bool | m_pGeoFromDD4hep |
std::vector< std::shared_ptr < SimProducer > > | m_producers |
bool | m_pUseMagneticField |
bool | m_pUseSensitiveDetectors |
SimActivityRegistry | m_registry |
std::unordered_map < std::string, std::unique_ptr < SensitiveDetectorMakerBase > > | m_sdMakers |
std::vector < SensitiveCaloDetector * > | m_sensCaloDets |
std::vector < SensitiveTkDetector * > | m_sensTkDets |
std::unique_ptr< SimTrackManager > | m_trackManager |
std::vector< std::shared_ptr < SimWatcher > > | m_watchers |
edm::ESGetToken < cms::DDCompactView, IdealGeometryRecord > | tokDD4hep_ |
edm::ESGetToken< DDCompactView, IdealGeometryRecord > | tokDDD_ |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | tokMF_ |
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::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 44 of file GeometryProducer.h.
typedef std::vector<std::shared_ptr<SimProducer> > GeometryProducer::Producers |
Definition at line 46 of file GeometryProducer.h.
|
explicit |
Definition at line 55 of file GeometryProducer.cc.
References SimActivityRegistry::connect(), edm::EDConsumerBase::consumesCollector(), createWatchers(), m_p, m_pGeoFromDD4hep, m_producers, m_registry, m_sdMakers, m_watchers, sim::sensitiveDetectorMakers(), tokDD4hep_, tokDDD_, and tokMF_.
|
override |
void GeometryProducer::beginLuminosityBlock | ( | edm::LuminosityBlock & | , |
edm::EventSetup const & | |||
) |
Definition at line 100 of file GeometryProducer.cc.
|
override |
Definition at line 105 of file GeometryProducer.cc.
References m_sdMakers, and updateMagneticField().
|
override |
Definition at line 112 of file GeometryProducer.cc.
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 114 of file GeometryProducer.cc.
References sim::attachSD(), validate_alignment_devdb10_cfg::catalog, SimActivityRegistry::dddWorldSignal_, edm::EventSetup::getData(), DDDWorld::GetWorldVolume(), m_firstRun, m_kernel, m_p, m_pDD, m_pDD4hep, m_pGeoFromDD4hep, m_producers, m_pUseSensitiveDetectors, m_registry, m_sdMakers, m_sensCaloDets, m_sensTkDets, m_trackManager, tokDD4hep_, tokDDD_, and updateMagneticField().
|
inline |
Definition at line 55 of file GeometryProducer.h.
References m_producers.
|
inline |
Definition at line 57 of file GeometryProducer.h.
References m_sensCaloDets.
|
inline |
Definition at line 56 of file GeometryProducer.h.
References m_sensTkDets.
|
private |
Definition at line 84 of file GeometryProducer.cc.
References sim::FieldBuilder::build(), g, edm::EventSetup::getData(), m_pField, m_pUseMagneticField, and tokMF_.
Referenced by beginRun(), and produce().
|
private |
Definition at line 67 of file GeometryProducer.h.
|
private |
Definition at line 77 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 62 of file GeometryProducer.h.
Referenced by produce(), and ~GeometryProducer().
|
private |
Definition at line 72 of file GeometryProducer.h.
Referenced by GeometryProducer(), and produce().
|
mutableprivate |
Definition at line 74 of file GeometryProducer.h.
Referenced by produce().
|
mutableprivate |
Definition at line 75 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 63 of file GeometryProducer.h.
Referenced by updateMagneticField().
|
private |
Definition at line 80 of file GeometryProducer.h.
Referenced by GeometryProducer(), and produce().
|
private |
Definition at line 66 of file GeometryProducer.h.
Referenced by GeometryProducer(), produce(), and producers().
|
private |
Definition at line 78 of file GeometryProducer.h.
Referenced by updateMagneticField().
|
private |
Definition at line 79 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 64 of file GeometryProducer.h.
Referenced by GeometryProducer(), and produce().
|
private |
Definition at line 71 of file GeometryProducer.h.
Referenced by beginRun(), GeometryProducer(), and produce().
|
private |
Definition at line 70 of file GeometryProducer.h.
Referenced by produce(), and sensCaloDetectors().
|
private |
Definition at line 69 of file GeometryProducer.h.
Referenced by produce(), and sensTkDetectors().
|
private |
Definition at line 68 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 65 of file GeometryProducer.h.
Referenced by GeometryProducer().
|
private |
Definition at line 84 of file GeometryProducer.h.
Referenced by GeometryProducer(), and produce().
|
private |
Definition at line 83 of file GeometryProducer.h.
Referenced by GeometryProducer(), and produce().
|
private |
Definition at line 82 of file GeometryProducer.h.
Referenced by GeometryProducer(), and updateMagneticField().