![]() |
![]() |
#include <GeometryProducer.h>
Public Types | |
typedef std::vector< std::shared_ptr< SimProducer > > | Producers |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
![]() | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 36 of file GeometryProducer.h.
typedef std::vector<std::shared_ptr<SimProducer> > GeometryProducer::Producers |
Definition at line 38 of file GeometryProducer.h.
|
explicit |
Definition at line 65 of file GeometryProducer.cc.
References SimActivityRegistry::connect(), edm::EDConsumerBase::consumesCollector(), createWatchers(), m_p, m_producers, m_registry, m_sdMakers, m_watchers, and sim::sensitiveDetectorMakers().
|
override |
void GeometryProducer::beginLuminosityBlock | ( | edm::LuminosityBlock & | , |
edm::EventSetup const & | |||
) |
Definition at line 106 of file GeometryProducer.cc.
|
override |
Definition at line 111 of file GeometryProducer.cc.
References m_sdMakers, and updateMagneticField().
|
override |
Definition at line 118 of file GeometryProducer.cc.
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 120 of file GeometryProducer.cc.
References sim::attachSD(), getEcalConditions_orcoffint2r_cff::catalog, SimActivityRegistry::dddWorldSignal_, MillePedeFileConverter_cfg::e, edm::EventSetup::get(), get, 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, edm::ESTransientHandle< T >::product(), and updateMagneticField().
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 89 of file GeometryProducer.cc.
References g, edm::EventSetup::get(), get, MagneticField::inTesla(), m_pField, m_pUseMagneticField, and edm::ESHandle< T >::product().
Referenced by beginRun(), and produce().
|
private |
Definition at line 59 of file GeometryProducer.h.
|
private |
Definition at line 69 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 54 of file GeometryProducer.h.
Referenced by produce(), and ~GeometryProducer().
|
private |
Definition at line 64 of file GeometryProducer.h.
Referenced by GeometryProducer(), and produce().
|
mutableprivate |
Definition at line 66 of file GeometryProducer.h.
Referenced by produce().
|
mutableprivate |
Definition at line 67 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 55 of file GeometryProducer.h.
Referenced by updateMagneticField().
|
private |
Definition at line 72 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 58 of file GeometryProducer.h.
Referenced by GeometryProducer(), produce(), and producers().
|
private |
Definition at line 70 of file GeometryProducer.h.
Referenced by updateMagneticField().
|
private |
Definition at line 71 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 56 of file GeometryProducer.h.
Referenced by GeometryProducer(), and produce().
|
private |
Definition at line 63 of file GeometryProducer.h.
Referenced by beginRun(), GeometryProducer(), and produce().
|
private |
Definition at line 62 of file GeometryProducer.h.
Referenced by produce(), and sensCaloDetectors().
|
private |
Definition at line 61 of file GeometryProducer.h.
Referenced by produce(), and sensTkDetectors().
|
private |
Definition at line 60 of file GeometryProducer.h.
Referenced by produce().
|
private |
Definition at line 57 of file GeometryProducer.h.
Referenced by GeometryProducer().