#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 | |
const std::string | alignmentsLabel_ |
bool | applyAlignment_ |
bool | fromDDD_ |
edm::ReusableObjectHolder< HostType > | holder_ |
const std::string | myLabel_ |
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 > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
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 22 of file DTGeometryESModule.h.
|
private |
Definition at line 37 of file DTGeometryESModule.h.
DTGeometryESModule::DTGeometryESModule | ( | const edm::ParameterSet & | p | ) |
Constructor.
Definition at line 34 of file DTGeometryESModule.cc.
References alignmentsLabel_, applyAlignment_, edm::ParameterSet::getParameter(), myLabel_, and edm::ESProducer::setWhatProduced().
|
override |
std::shared_ptr< DTGeometry > DTGeometryESModule::produce | ( | const MuonGeometryRecord & | record | ) |
Produce DTGeometry.
Definition at line 53 of file DTGeometryESModule.cc.
References alignmentsLabel_, applyAlignment_, GeometryAligner::applyAlignments(), align::DetectorGlobalPosition(), Alignments::empty(), AlignmentErrorsExtended::empty(), fromDDD_, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), holder_, query::host, DetId::Muon, myLabel_, record, setupDBGeometry(), and setupGeometry().
|
private |
Definition at line 118 of file DTGeometryESModule.cc.
References DTGeometryBuilderFromCondDB::build(), DEFINE_FWK_EVENTSETUP_MODULE, and edm::eventsetup::EventSetupRecord::get().
Referenced by produce().
|
private |
Definition at line 100 of file DTGeometryESModule.cc.
References DTGeometryBuilderFromDDD::build(), edm::eventsetup::EventSetupRecord::get(), and edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().
Referenced by produce().
|
private |
Definition at line 45 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 44 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 47 of file DTGeometryESModule.h.
Referenced by produce().
|
private |
Definition at line 42 of file DTGeometryESModule.h.
Referenced by produce().
|
private |
Definition at line 46 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().