![]() |
![]() |
#include <GeometryProducer.h>
Public Types | |
typedef std::vector< std::shared_ptr< SimProducer > > | Producers |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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 | makeGeom (const edm::EventSetup &c) |
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 |
int | m_verbose |
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 const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
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) |
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 () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
![]() | |
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 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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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 57 of file GeometryProducer.cc.
References SimActivityRegistry::connect(), createWatchers(), m_kernel, m_p, m_pGeoFromDD4hep, m_producers, m_registry, m_verbose, m_watchers, tokDD4hep_, tokDDD_, and tokMF_.
|
override |
void GeometryProducer::beginLuminosityBlock | ( | edm::LuminosityBlock & | , |
edm::EventSetup const & | |||
) |
Definition at line 112 of file GeometryProducer.cc.
|
override |
Definition at line 117 of file GeometryProducer.cc.
References m_sdMakers, makeGeom(), and updateMagneticField().
|
override |
Definition at line 125 of file GeometryProducer.cc.
|
private |
Definition at line 136 of file GeometryProducer.cc.
References sim::attachSD(), getEcalConditions_orcoffint2r_cff::catalog, SimActivityRegistry::dddWorldSignal_, edm::EventSetup::getData(), DDDWorld::GetWorldVolume(), m_firstRun, m_kernel, m_p, m_pDD, m_pDD4hep, m_pGeoFromDD4hep, m_pUseSensitiveDetectors, m_registry, m_sdMakers, m_sensCaloDets, m_sensTkDets, m_trackManager, m_verbose, tokDD4hep_, tokDDD_, and updateMagneticField().
Referenced by beginRun().
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 127 of file GeometryProducer.cc.
References MillePedeFileConverter_cfg::e, m_firstRun, and m_producers.
|
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 96 of file GeometryProducer.cc.
References sim::FieldBuilder::build(), g, edm::EventSetup::getData(), m_pField, m_pUseMagneticField, and tokMF_.
Referenced by beginRun(), and makeGeom().
|
private |
Definition at line 69 of file GeometryProducer.h.
|
private |
Definition at line 80 of file GeometryProducer.h.
Referenced by makeGeom(), and produce().
|
private |
Definition at line 64 of file GeometryProducer.h.
Referenced by GeometryProducer(), makeGeom(), and ~GeometryProducer().
|
private |
Definition at line 74 of file GeometryProducer.h.
Referenced by GeometryProducer(), and makeGeom().
|
mutableprivate |
Definition at line 76 of file GeometryProducer.h.
Referenced by makeGeom().
|
mutableprivate |
Definition at line 77 of file GeometryProducer.h.
Referenced by makeGeom().
|
private |
Definition at line 65 of file GeometryProducer.h.
Referenced by updateMagneticField().
|
private |
Definition at line 83 of file GeometryProducer.h.
Referenced by GeometryProducer(), and makeGeom().
|
private |
Definition at line 68 of file GeometryProducer.h.
Referenced by GeometryProducer(), produce(), and producers().
|
private |
Definition at line 81 of file GeometryProducer.h.
Referenced by updateMagneticField().
|
private |
Definition at line 82 of file GeometryProducer.h.
Referenced by makeGeom().
|
private |
Definition at line 66 of file GeometryProducer.h.
Referenced by GeometryProducer(), and makeGeom().
|
private |
Definition at line 73 of file GeometryProducer.h.
Referenced by beginRun(), and makeGeom().
|
private |
Definition at line 72 of file GeometryProducer.h.
Referenced by makeGeom(), and sensCaloDetectors().
|
private |
Definition at line 71 of file GeometryProducer.h.
Referenced by makeGeom(), and sensTkDetectors().
|
private |
Definition at line 70 of file GeometryProducer.h.
Referenced by makeGeom().
|
private |
Definition at line 79 of file GeometryProducer.h.
Referenced by GeometryProducer(), and makeGeom().
|
private |
Definition at line 67 of file GeometryProducer.h.
Referenced by GeometryProducer().
|
private |
Definition at line 87 of file GeometryProducer.h.
Referenced by GeometryProducer(), and makeGeom().
|
private |
Definition at line 86 of file GeometryProducer.h.
Referenced by GeometryProducer(), and makeGeom().
|
private |
Definition at line 85 of file GeometryProducer.h.
Referenced by GeometryProducer(), and updateMagneticField().