#include <FWRecoGeometryESProducer.h>
Private Member Functions | |
void | ADD_PIXEL_TOPOLOGY (unsigned int rawid, const GeomDet *detUnit, FWRecoGeometry &) |
void | addCaloGeometry (FWRecoGeometry &) |
void | addCSCGeometry (FWRecoGeometry &) |
void | addDTGeometry (FWRecoGeometry &) |
void | addFTLGeometry (FWRecoGeometry &) |
void | addGEMGeometry (FWRecoGeometry &) |
void | addME0Geometry (FWRecoGeometry &) |
void | addPixelBarrelGeometry (FWRecoGeometry &) |
void | addPixelForwardGeometry (FWRecoGeometry &) |
void | addRPCGeometry (FWRecoGeometry &) |
void | addTECGeometry (FWRecoGeometry &) |
void | addTIBGeometry (FWRecoGeometry &) |
void | addTIDGeometry (FWRecoGeometry &) |
void | addTOBGeometry (FWRecoGeometry &) |
void | fillPoints (unsigned int id, std::vector< GlobalPoint >::const_iterator begin, std::vector< GlobalPoint >::const_iterator end, FWRecoGeometry &) |
void | fillShapeAndPlacement (unsigned int id, const GeomDet *det, FWRecoGeometry &) |
unsigned int | insert_id (unsigned int id, FWRecoGeometry &) |
void | writeTrackerParametersXML (FWRecoGeometry &) |
Private Attributes | |
bool | m_calo |
const CaloGeometry * | m_caloGeom = nullptr |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | m_caloGeomToken |
unsigned int | m_current |
bool | m_gem |
bool | m_muon |
bool | m_timing |
bool | m_tracker |
const TrackerGeometry * | m_trackerGeom = nullptr |
const GlobalTrackingGeometry * | m_trackingGeom = nullptr |
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > | m_trackingGeomToken |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
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 24 of file FWRecoGeometryESProducer.h.
FWRecoGeometryESProducer::FWRecoGeometryESProducer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 103 of file FWRecoGeometryESProducer.cc.
References m_calo, m_caloGeomToken, m_gem, m_muon, m_timing, m_tracker, m_trackingGeomToken, or, muonDTDigis_cfi::pset, and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 121 of file FWRecoGeometryESProducer.cc.
|
delete |
|
private |
Definition at line 41 of file FWRecoGeometryESProducer.cc.
References f, FWRecoGeometry::idToName, PixelTopology::isItBigPixelInX(), PixelTopology::localX(), PixelTopology::localY(), PixelTopology::pitch(), and PixelGeomDetUnit::specificTopology().
Referenced by addPixelBarrelGeometry(), and addPixelForwardGeometry().
|
private |
Definition at line 478 of file FWRecoGeometryESProducer.cc.
References cms::cuda::assert(), EZArrayFL< T >::begin(), utilities::cache(), EZArrayFL< T >::end(), mps_fire::end, f, fillPoints(), DetId::Forward, ForwardEmpty, relativeConstraints::geom, CaloGeometry::getGeometry(), hgcal::RecHitTools::getLayerWithOffset(), hgcal::RecHitTools::getSiThickIndex(), CaloGeometry::getSubdetectorGeometry(), CaloGeometry::getValidDetIds(), DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, mps_fire::i, l1ctLayer2EG_cff::id, FWRecoGeometry::idToName, insert_id(), hgcal::RecHitTools::isSilicon(), HGCSiliconDetId::kHGCalCellUMask, HGCSiliconDetId::kHGCalCellUOffset, HGCSiliconDetId::kHGCalCellVMask, HGCSiliconDetId::kHGCalCellVOffset, hgcal::RecHitTools::lastLayerEE(), m_caloGeom, M_PI, point, dttmaxenums::R, alignCSCRings::r, DetId::rawId(), hgcal::RecHitTools::setGeometry(), mathSSE::sqrt(), parallelization::uint, heppy_batch::val, x, y, z, and hgcal::RecHitTools::zside().
Referenced by produce().
|
private |
Definition at line 164 of file FWRecoGeometryESProducer.cc.
References CSCRadialStripTopology::angularWidth(), CSCRadialStripTopology::centreToIntersection(), relativeConstraints::chamber, CSCGeometry::chambers(), mps_fire::end, fillShapeAndPlacement(), FWRecoGeometry::idToName, insert_id(), phase1PixelTopology::layer, m_trackingGeom, DetId::Muon, CSCRadialStripTopology::phiOfOneEdge(), GlobalTrackingGeometry::slaveGeometry(), OffsetRadialStripTopology::stripOffset(), CSCWireTopology::wireAngle(), CSCWireTopology::wireSpacing(), CSCRadialStripTopology::yAxisOrientation(), and CSCRadialStripTopology::yCentreOfStripPlane().
Referenced by produce().
|
private |
Definition at line 204 of file FWRecoGeometryESProducer.cc.
References DTTopology::cellHeight(), DTTopology::cellLenght(), DTTopology::cellWidth(), relativeConstraints::chamber, DTGeometry::chambers(), DTTopology::channels(), mps_fire::end, fillShapeAndPlacement(), DTTopology::firstChannel(), FWRecoGeometry::idToName, insert_id(), DTTopology::lastChannel(), phase1PixelTopology::layer, DTGeometry::layers(), m_trackingGeom, DetId::Muon, and GlobalTrackingGeometry::slaveGeometry().
Referenced by produce().
|
private |
Definition at line 629 of file FWRecoGeometryESProducer.cc.
|
private |
Definition at line 277 of file FWRecoGeometryESProducer.cc.
References DMR_cfg::cerr, GEMGeometry::chambers(), MillePedeFileConverter_cfg::e, GEMGeometry::etaPartitions(), cppFunctionSkipper::exception, FWRecoGeometry::extraDet, fillShapeAndPlacement(), l1ctLayer2EG_cff::id, FWRecoGeometry::idToName, insert_id(), m_trackingGeom, DetId::Muon, StripTopology::nstrips(), StripTopology::pitch(), GlobalTrackingGeometry::slaveGeometry(), StripTopology::stripLength(), and GEMGeometry::superChambers().
Referenced by produce().
|
private |
Definition at line 337 of file FWRecoGeometryESProducer.cc.
References ME0Geometry::etaPartitions(), cppFunctionSkipper::exception, FWRecoGeometry::extraDet, fillShapeAndPlacement(), FWRecoGeometry::idToName, insert_id(), m_trackingGeom, DetId::Muon, StripTopology::nstrips(), StripTopology::pitch(), GlobalTrackingGeometry::slaveGeometry(), and StripTopology::stripLength().
Referenced by produce().
|
private |
Definition at line 370 of file FWRecoGeometryESProducer.cc.
References ADD_PIXEL_TOPOLOGY(), TrackerGeometry::detsPXB(), mps_fire::end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDetUnit(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 388 of file FWRecoGeometryESProducer.cc.
References ADD_PIXEL_TOPOLOGY(), TrackerGeometry::detsPXF(), mps_fire::end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDetUnit(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 248 of file FWRecoGeometryESProducer.cc.
References DMR_cfg::cerr, MillePedeFileConverter_cfg::e, mps_fire::end, FWRecoGeometry::extraDet, fillShapeAndPlacement(), GeomDet::geographicalId(), l1ctLayer2EG_cff::id, FWRecoGeometry::idToName, insert_id(), m_trackingGeom, DetId::Muon, StripTopology::nstrips(), StripTopology::pitch(), DetId::rawId(), RPCGeometry::rolls(), GlobalTrackingGeometry::slaveGeometry(), RPCRoll::specificTopology(), and StripTopology::stripLength().
Referenced by produce().
|
private |
Definition at line 460 of file FWRecoGeometryESProducer.cc.
References ADD_SISTRIP_TOPOLOGY, TrackerGeometry::detsTEC(), mps_fire::end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDet(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 406 of file FWRecoGeometryESProducer.cc.
References ADD_SISTRIP_TOPOLOGY, TrackerGeometry::detsTIB(), mps_fire::end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDet(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 442 of file FWRecoGeometryESProducer.cc.
References ADD_SISTRIP_TOPOLOGY, TrackerGeometry::detsTID(), mps_fire::end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDet(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 424 of file FWRecoGeometryESProducer.cc.
References ADD_SISTRIP_TOPOLOGY, TrackerGeometry::detsTOB(), mps_fire::end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDet(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 642 of file FWRecoGeometryESProducer.cc.
References cms::cuda::assert(), mps_fire::end, mps_fire::i, l1ctLayer2EG_cff::id, FWRecoGeometry::idToName, and FWTGeoRecoGeometry::maxPoints_.
Referenced by addCaloGeometry().
|
private |
Definition at line 657 of file FWRecoGeometryESProducer.cc.
References b, b2, l1ctLayer2EG_cff::id, FWRecoGeometry::idToName, GloballyPositioned< T >::position(), GloballyPositioned< T >::rotation(), GeomDet::surface(), TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), and addTOBGeometry().
|
private |
Definition at line 634 of file FWRecoGeometryESProducer.cc.
References FWRecoGeometry::idToName, and m_current.
Referenced by addCaloGeometry(), addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), and addTOBGeometry().
|
delete |
std::unique_ptr< FWRecoGeometry > FWRecoGeometryESProducer::produce | ( | const FWRecoGeometryRecord & | record | ) |
Definition at line 123 of file FWRecoGeometryESProducer.cc.
References addCaloGeometry(), addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), m_calo, m_caloGeom, m_caloGeomToken, m_current, m_gem, m_muon, m_tracker, m_trackerGeom, m_trackingGeom, m_trackingGeomToken, AlCaHarvesting_cff::record, GlobalTrackingGeometry::slaveGeometry(), jetsAK4_CHS_cff::sort, edm::swap(), DetId::Tracker, and writeTrackerParametersXML().
|
private |
Definition at line 700 of file FWRecoGeometryESProducer.cc.
References edmScanValgrind::buffer, contentValuesFiles::fullPath, edm::FileInPath::fullPath(), TrackerGeometry::isThere(), m_trackerGeom, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, GeomDetEnumerators::P2PXB, GeomDetEnumerators::P2PXEC, castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, submitPVValidationJobs::t, and FWRecoGeometry::trackerTopologyXML.
Referenced by produce().
|
private |
Definition at line 70 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 63 of file FWRecoGeometryESProducer.h.
Referenced by addCaloGeometry(), and produce().
|
private |
Definition at line 61 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 66 of file FWRecoGeometryESProducer.h.
Referenced by insert_id(), and produce().
|
private |
Definition at line 69 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 68 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 71 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer().
|
private |
Definition at line 67 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 64 of file FWRecoGeometryESProducer.h.
Referenced by addPixelBarrelGeometry(), addPixelForwardGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), produce(), and writeTrackerParametersXML().
|
private |
Definition at line 62 of file FWRecoGeometryESProducer.h.
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addRPCGeometry(), and produce().
|
private |
Definition at line 60 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().