Classes | |
struct | GapCollector |
Public Member Functions | |
MkFitGeometryESProducer (const edm::ParameterSet &iConfig) | |
std::unique_ptr< MkFitGeometry > | produce (const TrackerRecoGeometryRecord &iRecord) |
Public Member Functions inherited from edm::ESProducer | |
ESProducer () | |
ESProducer (const ESProducer &)=delete | |
ESProxyIndex const * | getTokenIndices (unsigned int iIndex) const |
ESRecordIndex const * | getTokenRecordIndices (unsigned int iIndex) const |
bool | hasMayConsumes () const noexcept |
size_t | numberOfTokenIndices (unsigned int iIndex) const |
ESProducer const & | operator= (const ESProducer &)=delete |
SerialTaskQueueChain & | queue () |
template<typename Record > | |
std::optional< std::vector< ESProxyIndex > > | updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) final |
~ESProducer () noexcept(false) override | |
Public Member Functions inherited from edm::ESProxyFactoryProducer | |
ESProxyFactoryProducer () | |
ESProxyFactoryProducer (const ESProxyFactoryProducer &)=delete | |
const ESProxyFactoryProducer & | operator= (const ESProxyFactoryProducer &)=delete |
~ESProxyFactoryProducer () noexcept(false) override | |
Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | createKeyedProxies (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
DataProxyProvider () | |
DataProxyProvider (const DataProxyProvider &)=delete | |
const ComponentDescription & | description () const |
void | fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const |
virtual void | initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
bool | isUsingRecord (const EventSetupRecordKey &key) const |
KeyedProxies & | keyedProxies (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0) |
const DataProxyProvider & | operator= (const DataProxyProvider &)=delete |
void | setAppendToDataLabel (const edm::ParameterSet &) |
void | setDescription (const ComponentDescription &iDescription) |
std::set< EventSetupRecordKey > | usingRecords () const |
virtual | ~DataProxyProvider () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Private Types | |
typedef std::unordered_map< int, GapCollector > | layer_gap_map_t |
Private Member Functions | |
void | addPixBGeometry (mkfit::TrackerInfo &trk_info) |
void | addPixEGeometry (mkfit::TrackerInfo &trk_info) |
void | addTECGeometry (mkfit::TrackerInfo &trk_info) |
void | addTIBGeometry (mkfit::TrackerInfo &trk_info) |
void | addTIDGeometry (mkfit::TrackerInfo &trk_info) |
void | addTOBGeometry (mkfit::TrackerInfo &trk_info) |
void | considerPoint (const GlobalPoint &gp, mkfit::LayerInfo &lay_info) |
void | fillShapeAndPlacement (const GeomDet *det, mkfit::TrackerInfo &trk_info, layer_gap_map_t *lgc_map=nullptr) |
Private Attributes | |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | geomToken_ |
mkfit::LayerNumberConverter | layerNrConv_ = {mkfit::TkLayout::phase1} |
const TrackerGeometry * | trackerGeom_ = nullptr |
edm::ESGetToken< GeometricSearchTracker, TrackerRecoGeometryRecord > | trackerToken_ |
const TrackerTopology * | trackerTopo_ = nullptr |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | ttopoToken_ |
Additional Inherited Members | |
Protected Types inherited from edm::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> |
Protected Member Functions inherited from edm::ESProducer | |
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 > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &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::ESProxyFactoryProducer | |
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::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Definition at line 28 of file MkFitGeometryESProducer.cc.
|
private |
Definition at line 58 of file MkFitGeometryESProducer.cc.
MkFitGeometryESProducer::MkFitGeometryESProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 78 of file MkFitGeometryESProducer.cc.
References gpuPixelDoublets::cc, geomToken_, edm::ESProducer::setWhatProduced(), trackerToken_, and ttopoToken_.
|
private |
Definition at line 278 of file MkFitGeometryESProducer.cc.
References TrackerGeometry::detsPXB(), fillShapeAndPlacement(), and trackerGeom_.
Referenced by produce().
|
private |
Definition at line 287 of file MkFitGeometryESProducer.cc.
References TrackerGeometry::detsPXF(), fillShapeAndPlacement(), and trackerGeom_.
Referenced by produce().
|
private |
Definition at line 323 of file MkFitGeometryESProducer.cc.
References TrackerGeometry::detsTEC(), fillShapeAndPlacement(), pixelTopology::layer, mkfit::TrackerInfo::layer_nc(), mkfit::LayerInfo::set_r_hole_range(), trackerGeom_, MkFitGeometryESProducer::GapCollector::Interval::x, and MkFitGeometryESProducer::GapCollector::Interval::y.
Referenced by produce().
|
private |
Definition at line 296 of file MkFitGeometryESProducer.cc.
References TrackerGeometry::detsTIB(), fillShapeAndPlacement(), and trackerGeom_.
Referenced by produce().
|
private |
Definition at line 314 of file MkFitGeometryESProducer.cc.
References TrackerGeometry::detsTID(), fillShapeAndPlacement(), and trackerGeom_.
Referenced by produce().
|
private |
Definition at line 305 of file MkFitGeometryESProducer.cc.
References TrackerGeometry::detsTOB(), fillShapeAndPlacement(), and trackerGeom_.
Referenced by produce().
|
private |
Definition at line 169 of file MkFitGeometryESProducer.cc.
References mkfit::LayerInfo::extend_limits(), runTauDisplay::gp, alignCSCRings::r, and z.
Referenced by fillShapeAndPlacement().
|
static |
Definition at line 85 of file MkFitGeometryESProducer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), and submitPVResolutionJobs::desc.
|
private |
Definition at line 175 of file MkFitGeometryESProducer.cc.
References b, b2, considerPoint(), mkfit::LayerNumberConverter::convertLayerNumber(), PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, Exception, GeomDet::geographicalId(), mps_fire::i, TrackerTopology::isStereo(), TrackerTopology::layer(), mkfit::TrackerInfo::layer_nc(), layerNrConv_, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp2(), PosEndcap, GeomDet::position(), DetId::rawId(), GeomDet::rotation(), TrackerTopology::side(), DetId::subdetId(), GeomDet::surface(), Surface::toGlobal(), trackerTopo_, useMatched, x, TkRotation< T >::x(), geometryCSVtoXML::xy, z, and TkRotation< T >::z().
Referenced by addPixBGeometry(), addPixEGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), and addTOBGeometry().
std::unique_ptr< MkFitGeometry > MkFitGeometryESProducer::produce | ( | const TrackerRecoGeometryRecord & | iRecord | ) |
Definition at line 373 of file MkFitGeometryESProducer.cc.
References addPixBGeometry(), addPixEGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), cms::cuda::assert(), Exception, geomToken_, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), mps_fire::i, TrackerGeometry::isThere(), layerNrConv_, SiStripPI::max, eostools::move(), GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, GeomDetEnumerators::P2PXB, GeomDetEnumerators::P2PXEC, mkfit::phase2, mkfit::LayerNumberConverter::reset(), mathSSE::sqrt(), trackerGeom_, trackerToken_, trackerTopo_, and ttopoToken_.
|
private |
Definition at line 69 of file MkFitGeometryESProducer.cc.
Referenced by MkFitGeometryESProducer(), and produce().
|
private |
Definition at line 75 of file MkFitGeometryESProducer.cc.
Referenced by fillShapeAndPlacement(), and produce().
|
private |
Definition at line 74 of file MkFitGeometryESProducer.cc.
Referenced by addPixBGeometry(), addPixEGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), and produce().
|
private |
Definition at line 71 of file MkFitGeometryESProducer.cc.
Referenced by MkFitGeometryESProducer(), and produce().
|
private |
Definition at line 73 of file MkFitGeometryESProducer.cc.
Referenced by fillShapeAndPlacement(), and produce().
|
private |
Definition at line 70 of file MkFitGeometryESProducer.cc.
Referenced by MkFitGeometryESProducer(), and produce().