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 | |
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 > | |
ESConsumesCollector | 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 &) |
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 50 of file CTPPSGeometryESModule.cc.
CTPPSGeometryESModule::CTPPSGeometryESModule | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 76 of file CTPPSGeometryESModule.cc.
References produceIdealGD(), produceMisalignedGD(), produceMisalignedTG(), produceRealGD(), produceRealTG(), and edm::ESProducer::setWhatProduced().
|
inlineoverride |
Definition at line 54 of file CTPPSGeometryESModule.cc.
References applyAlignments(), buildDetGeomDesc(), produceIdealGD(), produceMisalignedGD(), produceMisalignedTG(), produceRealGD(), and produceRealTG().
|
staticprotected |
Definition at line 92 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_CTPPS_UFSD_SEGMENT_NAME, DDD_TOTEM_RP_RP_NAME, DDD_TOTEM_RP_SENSOR_NAME, DDD_TOTEM_TIMING_RP_NAME, DDD_TOTEM_TIMING_SENSOR_TMPL, DetGeomDesc::geographicalID(), RPAlignmentCorrectionsData::getFullSensorCorrection(), RPAlignmentCorrectionsData::getRPCorrection(), mps_fire::i, edm::ESHandleBase::isValid(), dataset::name, DetGeomDesc::name(), edm::ESHandle< T >::product(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produceMisalignedGD(), produceRealGD(), and ~CTPPSGeometryESModule().
|
staticprotected |
Definition at line 154 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_CTPPS_UFSD_SEGMENT_NAME, DDD_TOTEM_RP_RP_NAME, DDD_TOTEM_RP_SENSOR_NAME, DDD_TOTEM_TIMING_RP_NAME, DDD_TOTEM_TIMING_SENSOR_TMPL, 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 282 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 335 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 377 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 303 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 366 of file CTPPSGeometryESModule.cc.
References edm::eventsetup::EventSetupRecord::get(), and edm::ESHandle< T >::product().
Referenced by CTPPSGeometryESModule(), and ~CTPPSGeometryESModule().
|
protected |
Definition at line 69 of file CTPPSGeometryESModule.cc.
Referenced by produceIdealGD().
|
protected |
Definition at line 68 of file CTPPSGeometryESModule.cc.
Referenced by produceMisalignedGD(), and produceRealGD().