#include <CSCGeometryESModule.h>
Private Types | |
using | HostType = edm::ESProductHost< CSCGeometry, MuonNumberingRecord, CSCRecoGeometryRcd, CSCRecoDigiParametersRcd > |
Private Member Functions | |
void | initCSCGeometry_ (const MuonGeometryRecord &, std::shared_ptr< HostType > &host) |
Private Attributes | |
edm::ESGetToken< AlignmentErrorsExtended, CSCAlignmentErrorExtendedRcd > | alignmentErrorsToken_ |
const std::string | alignmentsLabel_ |
edm::ESGetToken< Alignments, CSCAlignmentRcd > | alignmentsToken_ |
bool | applyAlignment_ |
edm::ESGetToken< DDCompactView, IdealGeometryRecord > | cpvToken_ |
bool | debugV |
edm::ESGetToken< Alignments, GlobalPositionRcd > | globalPositionToken_ |
edm::ReusableObjectHolder< HostType > | holder_ |
edm::ESGetToken< MuonDDDConstants, MuonNumberingRecord > | mdcToken_ |
const std::string | myLabel_ |
edm::ESGetToken< CSCRecoDigiParameters, CSCRecoDigiParametersRcd > | rdpToken_ |
edm::ESGetToken< RecoIdealGeometry, CSCRecoGeometryRcd > | rigToken_ |
bool | useCentreTIOffsets |
bool | useDDD_ |
bool | useGangedStripsInME1a |
bool | useOnlyWiresInME1a |
bool | useRealWireGeometry |
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 CSCGeometry in MuonGeometryRecord
Definition at line 40 of file CSCGeometryESModule.h.
|
private |
Definition at line 57 of file CSCGeometryESModule.h.
CSCGeometryESModule::CSCGeometryESModule | ( | const edm::ParameterSet & | p | ) |
Constructor.
Definition at line 16 of file CSCGeometryESModule.cc.
References alignmentErrorsToken_, alignmentsLabel_, alignmentsToken_, applyAlignment_, cpvToken_, debugV, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), globalPositionToken_, mdcToken_, myLabel_, rdpToken_, rigToken_, edm::ESProducer::setWhatProduced(), useCentreTIOffsets, useDDD_, useGangedStripsInME1a, useOnlyWiresInME1a, and useRealWireGeometry.
|
override |
|
private |
Definition at line 116 of file CSCGeometryESModule.cc.
References CSCGeometryBuilderFromDDD::build(), CSCGeometryBuilder::build(), cpvToken_, DEFINE_FWK_EVENTSETUP_MODULE, edm::eventsetup::EventSetupRecordImplementation< T >::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getTransientHandle(), query::host, mdcToken_, edm::ESTransientHandle< T >::product(), rdpToken_, record, rigToken_, and useDDD_.
Referenced by produce().
std::shared_ptr< CSCGeometry > CSCGeometryESModule::produce | ( | const MuonGeometryRecord & | record | ) |
Produce CSCGeometry.
Definition at line 80 of file CSCGeometryESModule.cc.
References alignmentErrorsToken_, alignmentsLabel_, alignmentsToken_, applyAlignment_, GeometryAligner::applyAlignments(), debugV, align::DetectorGlobalPosition(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), globalPositionToken_, holder_, query::host, initCSCGeometry_(), edm::ReusableObjectHolder< T >::makeOrGet(), DetId::Muon, myLabel_, useCentreTIOffsets, useGangedStripsInME1a, useOnlyWiresInME1a, and useRealWireGeometry.
|
private |
Definition at line 71 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().
|
private |
Definition at line 81 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().
|
private |
Definition at line 70 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().
|
private |
Definition at line 79 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().
|
private |
Definition at line 63 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and initCSCGeometry_().
|
private |
Definition at line 78 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().
|
private |
Definition at line 69 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().
|
private |
Definition at line 61 of file CSCGeometryESModule.h.
Referenced by produce().
|
private |
Definition at line 64 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and initCSCGeometry_().
|
private |
Definition at line 82 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().
|
private |
Definition at line 67 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and initCSCGeometry_().
|
private |
Definition at line 66 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and initCSCGeometry_().
|
private |
Definition at line 77 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().
|
private |
Definition at line 80 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and initCSCGeometry_().
|
private |
Definition at line 76 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().
|
private |
Definition at line 75 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().
|
private |
Definition at line 74 of file CSCGeometryESModule.h.
Referenced by CSCGeometryESModule(), and produce().