CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
GeometryProducer Class Reference

#include <GeometryProducer.h>

Inheritance diagram for GeometryProducer:
edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

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
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
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

void beginLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &)
 
void beginRun (const edm::Run &r, const edm::EventSetup &c) override
 
void endRun (const edm::Run &r, const edm::EventSetup &c) override
 
 GeometryProducer (edm::ParameterSet const &p)
 
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 ()
 
 ~GeometryProducer () override
 
- Public Member Functions inherited from edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- 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 ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
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, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () 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
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void makeGeom (const edm::EventSetup &c)
 
void updateMagneticField (edm::EventSetup const &es)
 

Private Attributes

std::unique_ptr< sim::FieldBuilderm_fieldBuilder
 
bool m_firstRun
 
G4RunManagerKernel * m_kernel
 
edm::ParameterSet m_p
 
const DDCompactViewm_pDD
 
const cms::DDCompactViewm_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< SimTrackManagerm_trackManager
 
std::vector< std::shared_ptr< SimWatcher > > m_watchers
 
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecordtokDD4hep_
 
edm::ESGetToken< DDCompactView, IdealGeometryRecordtokDDD_
 
edm::ESGetToken< MagneticField, IdealMagneticFieldRecordtokMF_
 

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
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 ()
 
- 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< Bconsumes (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 ()
 
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)
 

Detailed Description

Definition at line 44 of file GeometryProducer.h.

Member Typedef Documentation

◆ Producers

typedef std::vector<std::shared_ptr<SimProducer> > GeometryProducer::Producers

Definition at line 46 of file GeometryProducer.h.

Constructor & Destructor Documentation

◆ GeometryProducer()

GeometryProducer::GeometryProducer ( edm::ParameterSet const &  p)
explicit

Definition at line 55 of file GeometryProducer.cc.

References SimActivityRegistry::connect(), edm::EDConsumerBase::consumesCollector(), createWatchers(), m_p, m_pGeoFromDD4hep, m_producers, m_pUseSensitiveDetectors, m_registry, m_sdMakers, m_watchers, sim::sensitiveDetectorMakers(), tokDD4hep_, tokDDD_, and tokMF_.

56  : m_kernel(nullptr),
57  m_pField(p.getParameter<edm::ParameterSet>("MagneticField")),
58  m_p(p),
59  m_pDD(nullptr),
60  m_pDD4hep(nullptr),
61  m_firstRun(true),
62  m_pUseMagneticField(p.getParameter<bool>("UseMagneticField")),
63  m_pUseSensitiveDetectors(p.getParameter<bool>("UseSensitiveDetectors")),
64  m_pGeoFromDD4hep(p.getParameter<bool>("GeoFromDD4hep")) {
65  // Look for an outside SimActivityRegistry
66  // this is used by the visualization code
67 
69  if (otherRegistry)
70  m_registry.connect(*otherRegistry);
72 
74  m_sdMakers = sim::sensitiveDetectorMakers(m_p, consumesCollector(), std::vector<std::string>());
75 
76  tokMF_ = esConsumes<MagneticField, IdealMagneticFieldRecord, edm::Transition::BeginRun>();
77  if (m_pGeoFromDD4hep) {
78  tokDD4hep_ = esConsumes<cms::DDCompactView, IdealGeometryRecord, edm::Transition::BeginRun>();
79  } else {
80  tokDDD_ = esConsumes<DDCompactView, IdealGeometryRecord, edm::Transition::BeginRun>();
81  }
82  produces<int>();
83 }
void connect(Observer< const BeginOfJob *> *iObject)
const DDCompactView * m_pDD
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > tokMF_
edm::ParameterSet m_pField
std::vector< std::shared_ptr< SimWatcher > > m_watchers
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
G4RunManagerKernel * m_kernel
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > tokDD4hep_
std::vector< std::shared_ptr< SimProducer > > m_producers
SimActivityRegistry m_registry
edm::ESGetToken< DDCompactView, IdealGeometryRecord > tokDDD_
std::unordered_map< std::string, std::unique_ptr< SensitiveDetectorMakerBase > > m_sdMakers
const cms::DDCompactView * m_pDD4hep
std::unordered_map< std::string, std::unique_ptr< SensitiveDetectorMakerBase > > sensitiveDetectorMakers(edm::ParameterSet const &, edm::ConsumesCollector, std::vector< std::string > const &chosenMakers)
static void createWatchers(const edm::ParameterSet &iP, SimActivityRegistry &iReg, std::vector< std::shared_ptr< SimWatcher >> &oWatchers, std::vector< std::shared_ptr< SimProducer >> &oProds)
edm::ParameterSet m_p

◆ ~GeometryProducer()

GeometryProducer::~GeometryProducer ( )
override

Definition at line 85 of file GeometryProducer.cc.

References m_kernel.

85 { delete m_kernel; }
G4RunManagerKernel * m_kernel

Member Function Documentation

◆ beginLuminosityBlock()

void GeometryProducer::beginLuminosityBlock ( edm::LuminosityBlock ,
edm::EventSetup const &   
)

Definition at line 103 of file GeometryProducer.cc.

103  {
104  // mag field cannot be change in new lumi section - this is commented out
105  // updateMagneticField( es );
106 }

◆ beginRun()

void GeometryProducer::beginRun ( const edm::Run r,
const edm::EventSetup c 
)
override

Definition at line 108 of file GeometryProducer.cc.

References m_sdMakers, makeGeom(), and updateMagneticField().

108  {
109  makeGeom(es);
111  for (auto &maker : m_sdMakers) {
112  maker.second->beginRun(es);
113  }
114 }
void updateMagneticField(edm::EventSetup const &es)
std::unordered_map< std::string, std::unique_ptr< SensitiveDetectorMakerBase > > m_sdMakers
void makeGeom(const edm::EventSetup &c)

◆ endRun()

void GeometryProducer::endRun ( const edm::Run r,
const edm::EventSetup c 
)
override

Definition at line 116 of file GeometryProducer.cc.

116 {}

◆ makeGeom()

void GeometryProducer::makeGeom ( const edm::EventSetup c)
private

Definition at line 126 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, tokDD4hep_, tokDDD_, and updateMagneticField().

Referenced by beginRun().

126  {
127  if (!m_firstRun)
128  return;
129 
130  edm::LogVerbatim("GeometryProducer") << "Producing G4 Geom";
131 
132  m_kernel = G4RunManagerKernel::GetRunManagerKernel();
133  if (m_kernel == nullptr)
134  m_kernel = new G4RunManagerKernel();
135  edm::LogVerbatim("GeometryProducer") << " GeometryProducer initializing ";
136  // DDDWorld: get the DDCV from the ES and use it to build the World
137  if (m_pGeoFromDD4hep) {
138  m_pDD4hep = &es.getData(tokDD4hep_);
139  } else {
140  m_pDD = &es.getData(tokDDD_);
141  }
142 
144  const DDDWorld *dddworld = new DDDWorld(m_pDD, m_pDD4hep, catalog, 1, false, false);
145  G4VPhysicalVolume *world = dddworld->GetWorldVolume();
146  if (nullptr != world)
147  edm::LogVerbatim("GeometryProducer") << " World Volume: " << world->GetName();
148  m_kernel->DefineWorldVolume(world, true);
149 
150  m_registry.dddWorldSignal_(dddworld);
151 
152  edm::LogVerbatim("GeometryProducer") << " Magnetic field initialisation";
154 
156  edm::LogInfo("GeometryProducer") << " instantiating sensitive detectors ";
157  // instantiate and attach the sensitive detectors
158  m_trackManager = std::make_unique<SimTrackManager>();
159  {
160  std::pair<std::vector<SensitiveTkDetector *>, std::vector<SensitiveCaloDetector *>> sensDets =
162 
163  m_sensTkDets.swap(sensDets.first);
164  m_sensCaloDets.swap(sensDets.second);
165  }
166 
167  edm::LogInfo("GeometryProducer") << " Sensitive Detector building finished; found " << m_sensTkDets.size()
168  << " Tk type Producers, and " << m_sensCaloDets.size() << " Calo type producers ";
169  }
170 }
Log< level::Info, true > LogVerbatim
std::vector< SensitiveTkDetector * > m_sensTkDets
const DDCompactView * m_pDD
G4VPhysicalVolume * GetWorldVolume() const
Definition: DDDWorld.h:24
std::vector< SensitiveCaloDetector * > m_sensCaloDets
G4RunManagerKernel * m_kernel
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > tokDD4hep_
SimActivityRegistry m_registry
std::pair< std::vector< SensitiveTkDetector * >, std::vector< SensitiveCaloDetector * > > attachSD(const std::unordered_map< std::string, std::unique_ptr< SensitiveDetectorMakerBase >> &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *, SimActivityRegistry &reg)
Log< level::Info, false > LogInfo
void updateMagneticField(edm::EventSetup const &es)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > tokDDD_
DDDWorldSignal dddWorldSignal_
std::unordered_map< std::string, std::unique_ptr< SensitiveDetectorMakerBase > > m_sdMakers
std::unique_ptr< SimTrackManager > m_trackManager
const cms::DDCompactView * m_pDD4hep
edm::ParameterSet m_p

◆ produce()

void GeometryProducer::produce ( edm::Event e,
const edm::EventSetup c 
)
overridevirtual

Implements edm::one::EDProducerBase.

Definition at line 118 of file GeometryProducer.cc.

References MillePedeFileConverter_cfg::e, m_firstRun, and m_producers.

118  {
119  if (!m_firstRun)
120  return;
121  m_firstRun = false;
122  for (Producers::iterator itProd = m_producers.begin(); itProd != m_producers.end(); ++itProd) {
123  (*itProd)->produce(e, es);
124  }
125 }
std::vector< std::shared_ptr< SimProducer > > m_producers

◆ producers()

std::vector<std::shared_ptr<SimProducer> > GeometryProducer::producers ( ) const
inline

Definition at line 55 of file GeometryProducer.h.

References m_producers.

55 { return m_producers; }
std::vector< std::shared_ptr< SimProducer > > m_producers

◆ sensCaloDetectors()

std::vector<SensitiveCaloDetector *>& GeometryProducer::sensCaloDetectors ( )
inline

Definition at line 57 of file GeometryProducer.h.

References m_sensCaloDets.

57 { return m_sensCaloDets; }
std::vector< SensitiveCaloDetector * > m_sensCaloDets

◆ sensTkDetectors()

std::vector<SensitiveTkDetector *>& GeometryProducer::sensTkDetectors ( )
inline

Definition at line 56 of file GeometryProducer.h.

References m_sensTkDets.

56 { return m_sensTkDets; }
std::vector< SensitiveTkDetector * > m_sensTkDets

◆ updateMagneticField()

void GeometryProducer::updateMagneticField ( edm::EventSetup const &  es)
private

Definition at line 87 of file GeometryProducer.cc.

References sim::FieldBuilder::build(), g, edm::EventSetup::getData(), m_pField, m_pUseMagneticField, and tokMF_.

Referenced by beginRun(), and makeGeom().

87  {
88  if (m_pUseMagneticField) {
89  // setup the magnetic field
90  auto const &pMF = &es.getData(tokMF_);
91  const GlobalPoint g(0., 0., 0.);
92  edm::LogInfo("GeometryProducer") << "B-field(T) at (0,0,0)(cm): " << pMF->inTesla(g);
93 
94  sim::FieldBuilder fieldBuilder(pMF, m_pField);
95  CMSFieldManager *fieldManager = new CMSFieldManager();
96  G4TransportationManager *tM = G4TransportationManager::GetTransportationManager();
97  tM->SetFieldManager(fieldManager);
98  fieldBuilder.build(fieldManager, tM->GetPropagatorInField());
99  edm::LogInfo("GeometryProducer") << "Magentic field is built";
100  }
101 }
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > tokMF_
edm::ParameterSet m_pField
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
Log< level::Info, false > LogInfo

Member Data Documentation

◆ m_fieldBuilder

std::unique_ptr<sim::FieldBuilder> GeometryProducer::m_fieldBuilder
private

Definition at line 69 of file GeometryProducer.h.

◆ m_firstRun

bool GeometryProducer::m_firstRun
private

Definition at line 79 of file GeometryProducer.h.

Referenced by makeGeom(), and produce().

◆ m_kernel

G4RunManagerKernel* GeometryProducer::m_kernel
private

Definition at line 64 of file GeometryProducer.h.

Referenced by makeGeom(), and ~GeometryProducer().

◆ m_p

edm::ParameterSet GeometryProducer::m_p
private

Definition at line 74 of file GeometryProducer.h.

Referenced by GeometryProducer(), and makeGeom().

◆ m_pDD

const DDCompactView* GeometryProducer::m_pDD
mutableprivate

Definition at line 76 of file GeometryProducer.h.

Referenced by makeGeom().

◆ m_pDD4hep

const cms::DDCompactView* GeometryProducer::m_pDD4hep
mutableprivate

Definition at line 77 of file GeometryProducer.h.

Referenced by makeGeom().

◆ m_pField

edm::ParameterSet GeometryProducer::m_pField
private

Definition at line 65 of file GeometryProducer.h.

Referenced by updateMagneticField().

◆ m_pGeoFromDD4hep

bool GeometryProducer::m_pGeoFromDD4hep
private

Definition at line 82 of file GeometryProducer.h.

Referenced by GeometryProducer(), and makeGeom().

◆ m_producers

std::vector<std::shared_ptr<SimProducer> > GeometryProducer::m_producers
private

Definition at line 68 of file GeometryProducer.h.

Referenced by GeometryProducer(), produce(), and producers().

◆ m_pUseMagneticField

bool GeometryProducer::m_pUseMagneticField
private

Definition at line 80 of file GeometryProducer.h.

Referenced by updateMagneticField().

◆ m_pUseSensitiveDetectors

bool GeometryProducer::m_pUseSensitiveDetectors
private

Definition at line 81 of file GeometryProducer.h.

Referenced by GeometryProducer(), and makeGeom().

◆ m_registry

SimActivityRegistry GeometryProducer::m_registry
private

Definition at line 66 of file GeometryProducer.h.

Referenced by GeometryProducer(), and makeGeom().

◆ m_sdMakers

std::unordered_map<std::string, std::unique_ptr<SensitiveDetectorMakerBase> > GeometryProducer::m_sdMakers
private

Definition at line 73 of file GeometryProducer.h.

Referenced by beginRun(), GeometryProducer(), and makeGeom().

◆ m_sensCaloDets

std::vector<SensitiveCaloDetector *> GeometryProducer::m_sensCaloDets
private

Definition at line 72 of file GeometryProducer.h.

Referenced by makeGeom(), and sensCaloDetectors().

◆ m_sensTkDets

std::vector<SensitiveTkDetector *> GeometryProducer::m_sensTkDets
private

Definition at line 71 of file GeometryProducer.h.

Referenced by makeGeom(), and sensTkDetectors().

◆ m_trackManager

std::unique_ptr<SimTrackManager> GeometryProducer::m_trackManager
private

Definition at line 70 of file GeometryProducer.h.

Referenced by makeGeom().

◆ m_watchers

std::vector<std::shared_ptr<SimWatcher> > GeometryProducer::m_watchers
private

Definition at line 67 of file GeometryProducer.h.

Referenced by GeometryProducer().

◆ tokDD4hep_

edm::ESGetToken<cms::DDCompactView, IdealGeometryRecord> GeometryProducer::tokDD4hep_
private

Definition at line 86 of file GeometryProducer.h.

Referenced by GeometryProducer(), and makeGeom().

◆ tokDDD_

edm::ESGetToken<DDCompactView, IdealGeometryRecord> GeometryProducer::tokDDD_
private

Definition at line 85 of file GeometryProducer.h.

Referenced by GeometryProducer(), and makeGeom().

◆ tokMF_

edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> GeometryProducer::tokMF_
private

Definition at line 84 of file GeometryProducer.h.

Referenced by GeometryProducer(), and updateMagneticField().