#include <DTGeometryESModule.h>
Private Types | |
using | HostType = edm::ESProductHost< DTGeometry, MuonNumberingRecord, DTRecoGeometryRcd > |
Private Member Functions | |
void | setupDBGeometry (DTRecoGeometryRcd const &, std::shared_ptr< HostType > &) |
void | setupGeometry (MuonNumberingRecord const &, std::shared_ptr< HostType > &) |
Private Attributes | |
edm::ESGetToken< AlignmentErrorsExtended, DTAlignmentErrorExtendedRcd > | alignmentErrorsToken_ |
const std::string | alignmentsLabel_ |
edm::ESGetToken< Alignments, DTAlignmentRcd > | alignmentsToken_ |
bool | applyAlignment_ |
edm::ESGetToken< DDCompactView, IdealGeometryRecord > | cpvToken_ |
bool | fromDDD_ |
edm::ESGetToken< Alignments, GlobalPositionRcd > | globalPositionToken_ |
edm::ReusableObjectHolder< HostType > | holder_ |
edm::ESGetToken< MuonDDDConstants, MuonNumberingRecord > | mdcToken_ |
const std::string | myLabel_ |
edm::ESGetToken< RecoIdealGeometry, DTRecoGeometryRcd > | rigToken_ |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
ESProducer for DTGeometry in MuonGeometryRecord
Definition at line 38 of file DTGeometryESModule.h.
|
private |
Definition at line 53 of file DTGeometryESModule.h.
DTGeometryESModule::DTGeometryESModule | ( | const edm::ParameterSet & | p | ) |
Constructor.
Definition at line 23 of file DTGeometryESModule.cc.
References alignmentErrorsToken_, alignmentsLabel_, alignmentsToken_, applyAlignment_, cpvToken_, fromDDD_, edm::ParameterSet::getParameter(), globalPositionToken_, mdcToken_, myLabel_, rigToken_, and edm::ESProducer::setWhatProduced().
|
override |
std::shared_ptr< DTGeometry > DTGeometryESModule::produce | ( | const MuonGeometryRecord & | record | ) |
Produce DTGeometry.
Definition at line 54 of file DTGeometryESModule.cc.
References alignmentErrorsToken_, alignmentsLabel_, alignmentsToken_, applyAlignment_, GeometryAligner::applyAlignments(), align::DetectorGlobalPosition(), fromDDD_, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), globalPositionToken_, holder_, query::host, edm::ReusableObjectHolder< T >::makeOrGet(), DetId::Muon, myLabel_, record, setupDBGeometry(), and setupGeometry().
|
private |
Definition at line 113 of file DTGeometryESModule.cc.
References DTGeometryBuilderFromCondDB::build(), DEFINE_FWK_EVENTSETUP_MODULE, edm::eventsetup::EventSetupRecordImplementation< T >::get(), and rigToken_.
Referenced by produce().
|
private |
Definition at line 98 of file DTGeometryESModule.cc.
References DTGeometryBuilderFromDDD::build(), cpvToken_, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getTransientHandle(), mdcToken_, and edm::ESTransientHandle< T >::product().
Referenced by produce().
|
private |
Definition at line 62 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 68 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 61 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 67 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 64 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and setupGeometry().
|
private |
Definition at line 70 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 60 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 58 of file DTGeometryESModule.h.
Referenced by produce().
|
private |
Definition at line 63 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and setupGeometry().
|
private |
Definition at line 69 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 65 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and setupDBGeometry().