Builds ideal, real and misaligned geometries. More...
Static Protected Member Functions | |
static void | applyAlignments (const edm::ESHandle< DetGeomDesc > &, const edm::ESHandle< RPAlignmentCorrectionsData > &, DetGeomDesc *&) |
static void | buildDetGeomDesc (DDFilteredView *fv, DetGeomDesc *gd) |
Protected Attributes | |
std::string | compactViewTag_ |
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 &) |
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 &) |
Builds ideal, real and misaligned geometries.
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 CTPPSGeometry from DetGeoDesc tree.
Definition at line 47 of file CTPPSGeometryESModule.cc.
CTPPSGeometryESModule::CTPPSGeometryESModule | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 73 of file CTPPSGeometryESModule.cc.
References produceIdealGD(), produceMisalignedGD(), produceMisalignedTG(), produceRealGD(), produceRealTG(), and edm::ESProducer::setWhatProduced().
|
inlineoverride |
Definition at line 51 of file CTPPSGeometryESModule.cc.
References applyAlignments(), buildDetGeomDesc(), produceIdealGD(), produceMisalignedGD(), produceMisalignedTG(), produceRealGD(), and produceRealTG().
|
staticprotected |
Definition at line 89 of file CTPPSGeometryESModule.cc.
References DetGeomDesc::addComponent(), DetGeomDesc::ApplyAlignment(), edmScanValgrind::buffer, DetGeomDesc::components(), DDD_CTPPS_DIAMONDS_RP_NAME, DDD_CTPPS_DIAMONDS_SEGMENT_NAME, DDD_CTPPS_PIXELS_RP_NAME, DDD_CTPPS_PIXELS_SENSOR_NAME, DDD_TOTEM_RP_RP_NAME, DDD_TOTEM_RP_SENSOR_NAME, DetGeomDesc::geographicalID(), RPAlignmentCorrectionsData::getFullSensorCorrection(), RPAlignmentCorrectionsData::getRPCorrection(), mps_fire::i, edm::ESHandleBase::isValid(), DDName::name(), dataset::name, DetGeomDesc::name(), edm::ESHandle< T >::product(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produceMisalignedGD(), produceRealGD(), and ~CTPPSGeometryESModule().
|
staticprotected |
Definition at line 148 of file CTPPSGeometryESModule.cc.
References DetGeomDesc::addComponent(), DDFilteredView::copyno(), DDFilteredView::copyNumbers(), DDD_CTPPS_DIAMONDS_RP_NAME, DDD_CTPPS_DIAMONDS_SEGMENT_NAME, DDD_CTPPS_PIXELS_RP_NAME, DDD_CTPPS_PIXELS_SENSOR_NAME, DDD_TOTEM_RP_RP_NAME, DDD_TOTEM_RP_SENSOR_NAME, gamEcalExtractorBlocks_cff::detector, DDFilteredView::firstChild(), DDFilteredView::logicalPart(), DDName::name(), dataset::name, DDBase< N, C >::name(), DDFilteredView::nextSibling(), DDFilteredView::parent(), DetGeomDesc::setGeographicalID(), relativeConstraints::station, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produceIdealGD(), and ~CTPPSGeometryESModule().
std::unique_ptr< DetGeomDesc > CTPPSGeometryESModule::produceIdealGD | ( | const IdealGeometryRecord & | iRecord | ) |
Definition at line 264 of file CTPPSGeometryESModule.cc.
References buildDetGeomDesc(), compactViewTag_, ALCARECOTkAlBeamHalo_cff::filter, edm::eventsetup::EventSetupRecord::get(), edm::ESHandle< T >::product(), and pyrootRender::root.
Referenced by CTPPSGeometryESModule(), and ~CTPPSGeometryESModule().
std::unique_ptr< DetGeomDesc > CTPPSGeometryESModule::produceMisalignedGD | ( | const VeryForwardMisalignedGeometryRecord & | iRecord | ) |
Definition at line 317 of file CTPPSGeometryESModule.cc.
References applyAlignments(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), RPAlignmentCorrectionsData::getRPMap(), RPAlignmentCorrectionsData::getSensorMap(), edm::ESHandleBase::isValid(), and verbosity_.
Referenced by CTPPSGeometryESModule(), and ~CTPPSGeometryESModule().
std::unique_ptr< CTPPSGeometry > CTPPSGeometryESModule::produceMisalignedTG | ( | const VeryForwardMisalignedGeometryRecord & | iRecord | ) |
Definition at line 359 of file CTPPSGeometryESModule.cc.
References DEFINE_FWK_EVENTSETUP_MODULE, edm::eventsetup::EventSetupRecord::get(), and edm::ESHandle< T >::product().
Referenced by CTPPSGeometryESModule(), and ~CTPPSGeometryESModule().
std::unique_ptr< DetGeomDesc > CTPPSGeometryESModule::produceRealGD | ( | const VeryForwardRealGeometryRecord & | iRecord | ) |
Definition at line 285 of file CTPPSGeometryESModule.cc.
References applyAlignments(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), RPAlignmentCorrectionsData::getRPMap(), RPAlignmentCorrectionsData::getSensorMap(), edm::ESHandleBase::isValid(), and verbosity_.
Referenced by CTPPSGeometryESModule(), and ~CTPPSGeometryESModule().
std::unique_ptr< CTPPSGeometry > CTPPSGeometryESModule::produceRealTG | ( | const VeryForwardRealGeometryRecord & | iRecord | ) |
Definition at line 348 of file CTPPSGeometryESModule.cc.
References edm::eventsetup::EventSetupRecord::get(), and edm::ESHandle< T >::product().
Referenced by CTPPSGeometryESModule(), and ~CTPPSGeometryESModule().
|
protected |
Definition at line 66 of file CTPPSGeometryESModule.cc.
Referenced by produceIdealGD().
|
protected |
Definition at line 65 of file CTPPSGeometryESModule.cc.
Referenced by produceMisalignedGD(), and produceRealGD().