Builds ideal, real and misaligned geometries. More...
Protected Member Functions | |
void | ApplyAlignments (const edm::ESHandle< DetGeomDesc > &idealGD, const edm::ESHandle< RPAlignmentCorrectionsData > &alignments, DetGeomDesc *&newGD) |
Protected Member Functions inherited from edm::ESProducer | |
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()) |
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
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 &) |
Protected Attributes | |
unsigned int | verbosity |
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 &) |
Builds ideal, real and misaligned geometries.
See schema of TOTEM RP geometry classes
First it creates a tree of DetGeomDesc from DDCompView. For real and misaligned geometries, it applies alignment corrections (RPAlignmentCorrections) found in corresponding ...GeometryRecord.
Second, it creates TotemRPGeometry from DetGeoDesc tree.
Definition at line 52 of file TotemRPGeometryESModule.cc.
TotemRPGeometryESModule::TotemRPGeometryESModule | ( | const edm::ParameterSet & | p | ) |
Definition at line 80 of file TotemRPGeometryESModule.cc.
References edm::ParameterSet::getUntrackedParameter(), produceIdealGD(), produceMisalignedGD(), produceMisalignedTG(), produceRealGD(), produceRealTG(), edm::ESProducer::setWhatProduced(), and verbosity.
|
virtual |
Definition at line 95 of file TotemRPGeometryESModule.cc.
|
protected |
Definition at line 101 of file TotemRPGeometryESModule.cc.
References DetGeomDesc::addComponent(), DetGeomDesc::ApplyAlignment(), edmScanValgrind::buffer, DetGeomDesc::components(), DDD_CTPPS_DIAMONDS_DETECTOR_NAME, DDD_TOTEM_RP_DETECTOR_NAME, DDD_TOTEM_RP_PRIMARY_VACUUM_NAME, DetGeomDesc::geographicalID(), RPAlignmentCorrectionsData::GetFullSensorCorrection(), RPAlignmentCorrectionsData::GetRPCorrection(), mps_fire::i, edm::ESHandleBase::isValid(), DDName::name(), DetGeomDesc::name(), or, and edm::ESHandle< T >::product().
Referenced by produceMisalignedGD(), and produceRealGD().
std::unique_ptr< DetGeomDesc > TotemRPGeometryESModule::produceIdealGD | ( | const IdealGeometryRecord & | iRecord | ) |
Definition at line 159 of file TotemRPGeometryESModule.cc.
References DDDTotemRPContruction::construct(), and edm::eventsetup::EventSetupRecord::get().
Referenced by TotemRPGeometryESModule().
std::unique_ptr< DetGeomDesc > TotemRPGeometryESModule::produceMisalignedGD | ( | const VeryForwardMisalignedGeometryRecord & | iRecord | ) |
Definition at line 203 of file TotemRPGeometryESModule.cc.
References ApplyAlignments(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), RPAlignmentCorrectionsData::GetRPMap(), RPAlignmentCorrectionsData::GetSensorMap(), edm::ESHandleBase::isValid(), NULL, and verbosity.
Referenced by TotemRPGeometryESModule().
std::unique_ptr< TotemRPGeometry > TotemRPGeometryESModule::produceMisalignedTG | ( | const VeryForwardMisalignedGeometryRecord & | iRecord | ) |
Definition at line 244 of file TotemRPGeometryESModule.cc.
References DEFINE_FWK_EVENTSETUP_MODULE, edm::eventsetup::EventSetupRecord::get(), and edm::ESHandle< T >::product().
Referenced by TotemRPGeometryESModule().
std::unique_ptr< DetGeomDesc > TotemRPGeometryESModule::produceRealGD | ( | const VeryForwardRealGeometryRecord & | iRecord | ) |
Definition at line 172 of file TotemRPGeometryESModule.cc.
References ApplyAlignments(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), RPAlignmentCorrectionsData::GetRPMap(), RPAlignmentCorrectionsData::GetSensorMap(), edm::ESHandleBase::isValid(), NULL, and verbosity.
Referenced by TotemRPGeometryESModule().
std::unique_ptr< TotemRPGeometry > TotemRPGeometryESModule::produceRealTG | ( | const VeryForwardRealGeometryRecord & | iRecord | ) |
Definition at line 234 of file TotemRPGeometryESModule.cc.
References edm::eventsetup::EventSetupRecord::get(), and edm::ESHandle< T >::product().
Referenced by TotemRPGeometryESModule().
|
protected |
Definition at line 67 of file TotemRPGeometryESModule.cc.
Referenced by produceMisalignedGD(), produceRealGD(), and TotemRPGeometryESModule().