Public Types | |
using | Detector = dd4hep::Detector |
using | ReturnType = shared_ptr< DTGeometry > |
Private Types | |
using | HostType = ESProductHost< DTGeometry, MuonNumberingRecord, DTRecoGeometryRcd > |
Private Member Functions | |
void | setupDBGeometry (DTRecoGeometryRcd const &, shared_ptr< HostType > &) |
void | setupGeometry (MuonNumberingRecord const &, shared_ptr< HostType > &) |
Private Attributes | |
edm::ESGetToken< AlignmentErrorsExtended, DTAlignmentErrorExtendedRcd > | m_alignmentErrorsToken |
const string | m_alignmentsLabel |
edm::ESGetToken< Alignments, DTAlignmentRcd > | m_alignmentsToken |
bool | m_applyAlignment |
const string | m_attribute |
edm::ESGetToken< DDDetector, IdealGeometryRecord > | m_cpvToken |
bool | m_fromDDD |
edm::ESGetToken< Alignments, GlobalPositionRcd > | m_globalPositionToken |
ReusableObjectHolder< HostType > | m_holder |
edm::ESGetToken< MuonGeometryConstants, IdealGeometryRecord > | m_mdcToken |
const string | m_myLabel |
edm::ESGetToken< DDSpecParRegistry, DDSpecParRegistryRcd > | m_registryToken |
const ESInputTag | m_tag |
const string | m_value |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProductResolverFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
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 TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProductResolverFactoryProducer | |
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::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Description: DT Geometry ES producer
Implementation: Based on a copy of original DTGeometryESProducer
Definition at line 61 of file DTGeometryESProducer.cc.
using DTGeometryESProducer::Detector = dd4hep::Detector |
Definition at line 67 of file DTGeometryESProducer.cc.
|
private |
Definition at line 72 of file DTGeometryESProducer.cc.
using DTGeometryESProducer::ReturnType = shared_ptr<DTGeometry> |
Definition at line 66 of file DTGeometryESProducer.cc.
DTGeometryESProducer::DTGeometryESProducer | ( | const ParameterSet & | iConfig | ) |
Definition at line 94 of file DTGeometryESProducer.cc.
References gpuPixelDoublets::cc, edm::ParameterSet::getParameter(), m_alignmentErrorsToken, m_alignmentsLabel, m_alignmentsToken, m_applyAlignment, m_cpvToken, m_fromDDD, m_globalPositionToken, m_mdcToken, m_myLabel, m_registryToken, m_tag, and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 123 of file DTGeometryESProducer.cc.
std::shared_ptr< DTGeometry > DTGeometryESProducer::produce | ( | const MuonGeometryRecord & | record | ) |
Definition at line 125 of file DTGeometryESProducer.cc.
References GeometryAligner::applyAlignments(), counter, align::DetectorGlobalPosition(), query::host, m_alignmentErrorsToken, m_alignmentsToken, m_applyAlignment, m_fromDDD, m_globalPositionToken, m_holder, edm::ReusableObjectHolder< T, Deleter >::makeOrGet(), DetId::Muon, AlCaHarvesting_cff::record, setupDBGeometry(), and setupGeometry().
|
private |
Definition at line 176 of file DTGeometryESProducer.cc.
Referenced by produce().
|
private |
Definition at line 157 of file DTGeometryESProducer.cc.
References b1, cms::DTGeometryBuilder::build(), query::host, m_attribute, m_cpvToken, m_mdcToken, m_registryToken, m_value, edm::ESTransientHandle< T >::product(), and AlCaHarvesting_cff::record.
Referenced by produce().
|
private |
Definition at line 81 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer(), and produce().
|
private |
Definition at line 86 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer().
|
private |
Definition at line 80 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer(), and produce().
|
private |
Definition at line 90 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer(), and produce().
|
private |
Definition at line 88 of file DTGeometryESProducer.cc.
Referenced by setupGeometry().
|
private |
Definition at line 83 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer(), and setupGeometry().
|
private |
Definition at line 91 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer(), and produce().
|
private |
Definition at line 79 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer(), and produce().
|
private |
Definition at line 77 of file DTGeometryESProducer.cc.
Referenced by produce().
|
private |
Definition at line 82 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer(), and setupGeometry().
|
private |
Definition at line 87 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer().
|
private |
Definition at line 84 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer(), and setupGeometry().
|
private |
Definition at line 85 of file DTGeometryESProducer.cc.
Referenced by DTGeometryESProducer().
|
private |
Definition at line 89 of file DTGeometryESProducer.cc.
Referenced by setupGeometry().