#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 | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy >>> |
Protected Member Functions inherited from edm::ESProducer | |
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 EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
ESProducer for DTGeometry in MuonGeometryRecord
Definition at line 38 of file DTGeometryESModule.h.
|
private |
Definition at line 50 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 50 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, Deleter >::makeOrGet(), DetId::Muon, myLabel_, record, setupDBGeometry(), and setupGeometry().
|
private |
Definition at line 97 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 83 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 59 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 65 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 58 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 64 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 61 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and setupGeometry().
|
private |
Definition at line 67 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 57 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 55 of file DTGeometryESModule.h.
Referenced by produce().
|
private |
Definition at line 60 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and setupGeometry().
|
private |
Definition at line 66 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and produce().
|
private |
Definition at line 62 of file DTGeometryESModule.h.
Referenced by DTGeometryESModule(), and setupDBGeometry().