#include <FWRecoGeometryESProducer.h>
Private Member Functions | |
void | ADD_PIXEL_TOPOLOGY (unsigned int rawid, const GeomDet *detUnit) |
void | addCaloGeometry (void) |
void | addCSCGeometry (void) |
void | addDTGeometry (void) |
void | addFTLGeometry (void) |
void | addGEMGeometry (void) |
void | addME0Geometry (void) |
void | addPixelBarrelGeometry (void) |
void | addPixelForwardGeometry (void) |
void | addRPCGeometry (void) |
void | addTECGeometry (void) |
void | addTIBGeometry (void) |
void | addTIDGeometry (void) |
void | addTOBGeometry (void) |
void | fillPoints (unsigned int id, std::vector< GlobalPoint >::const_iterator begin, std::vector< GlobalPoint >::const_iterator end) |
void | fillShapeAndPlacement (unsigned int id, const GeomDet *det) |
FWRecoGeometryESProducer (const FWRecoGeometryESProducer &)=delete | |
unsigned int | insert_id (unsigned int id) |
const FWRecoGeometryESProducer & | operator= (const FWRecoGeometryESProducer &)=delete |
void | writeTrackerParametersXML () |
Private Attributes | |
bool | m_calo |
const CaloGeometry * | m_caloGeom |
unsigned int | m_current |
edm::ESHandle< FastTimeGeometry > | m_ftlBarrelGeom |
edm::ESHandle< FastTimeGeometry > | m_ftlEndcapGeom |
std::shared_ptr< FWRecoGeometry > | m_fwGeometry |
edm::ESHandle< GlobalTrackingGeometry > | m_geomRecord |
std::vector< edm::ESHandle< HGCalGeometry > > | m_hgcalGeoms |
bool | m_muon |
bool | m_timing |
bool | m_tracker |
const TrackerGeometry * | m_trackerGeom |
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 > | |
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()) |
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 &) |
Definition at line 24 of file FWRecoGeometryESProducer.h.
FWRecoGeometryESProducer::FWRecoGeometryESProducer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 91 of file FWRecoGeometryESProducer.cc.
References funct::false, edm::ParameterSet::getUntrackedParameter(), m_calo, m_muon, m_timing, m_tracker, edm::ESProducer::setWhatProduced(), and funct::true.
|
override |
Definition at line 101 of file FWRecoGeometryESProducer.cc.
|
privatedelete |
|
private |
Definition at line 39 of file FWRecoGeometryESProducer.cc.
References f, PixelTopology::isItBigPixelInX(), PixelTopology::localX(), PixelTopology::localY(), m_fwGeometry, PixelTopology::pitch(), and PixelGeomDetUnit::specificTopology().
Referenced by addPixelBarrelGeometry(), and addPixelForwardGeometry().
|
private |
Definition at line 534 of file FWRecoGeometryESProducer.cc.
References EZArrayFL< T >::begin(), end, EZArrayFL< T >::end(), fillPoints(), DetId::Forward, ForwardEmpty, relativeConstraints::geom, HGCalGeometry::get8Corners(), CaloGeometry::getGeometry(), CaloGeometry::getSubdetectorGeometry(), CaloGeometry::getValidDetIds(), DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, insert_id(), and m_caloGeom.
Referenced by produce().
|
private |
Definition at line 157 of file FWRecoGeometryESProducer.cc.
References CSCRadialStripTopology::angularWidth(), CSCRadialStripTopology::centreToIntersection(), relativeConstraints::chamber, CSCGeometry::chambers(), end, fillShapeAndPlacement(), GeomDet::geographicalId(), CSCLayer::geometry(), insert_id(), CSCChamber::layers(), m_fwGeometry, m_geomRecord, DetId::Muon, CSCRadialStripTopology::phiOfOneEdge(), GlobalTrackingGeometry::slaveGeometry(), OffsetRadialStripTopology::stripOffset(), CSCLayerGeometry::topology(), CSCWireTopology::wireAngle(), CSCWireTopology::wireSpacing(), CSCLayerGeometry::wireTopology(), CSCRadialStripTopology::yAxisOrientation(), and CSCRadialStripTopology::yCentreOfStripPlane().
Referenced by produce().
|
private |
Definition at line 205 of file FWRecoGeometryESProducer.cc.
References DTTopology::cellHeight(), DTTopology::cellLenght(), DTTopology::cellWidth(), relativeConstraints::chamber, DTGeometry::chambers(), DTTopology::channels(), end, fillShapeAndPlacement(), DTTopology::firstChannel(), GeomDet::geographicalId(), DTLayer::id(), insert_id(), DTTopology::lastChannel(), DTGeometry::layers(), m_fwGeometry, m_geomRecord, DetId::Muon, DetId::rawId(), GlobalTrackingGeometry::slaveGeometry(), DTLayer::specificTopology(), and GeomDet::surface().
Referenced by produce().
|
private |
Definition at line 559 of file FWRecoGeometryESProducer.cc.
References end, fillPoints(), FastTimeGeometry::getCorners(), FastTimeGeometry::getValidDetIds(), insert_id(), m_ftlBarrelGeom, m_ftlEndcapGeom, and eostools::move().
Referenced by produce().
|
private |
Definition at line 296 of file FWRecoGeometryESProducer.cc.
References MessageLogger_cfi::cerr, GEMGeometry::chambers(), MillePedeFileConverter_cfg::e, GEMGeometry::etaPartitions(), cppFunctionSkipper::exception, fillShapeAndPlacement(), triggerObjects_cff::id, insert_id(), m_fwGeometry, m_geomRecord, DetId::Muon, StripTopology::nstrips(), StripTopology::pitch(), SimDataFormats::CaloAnalysis::sc, GlobalTrackingGeometry::slaveGeometry(), StripTopology::stripLength(), GEMGeometry::superChambers(), and cms::Exception::what().
Referenced by produce().
|
private |
Definition at line 368 of file FWRecoGeometryESProducer.cc.
References ME0Geometry::etaPartitions(), cppFunctionSkipper::exception, fillShapeAndPlacement(), insert_id(), m_fwGeometry, m_geomRecord, DetId::Muon, StripTopology::nstrips(), StripTopology::pitch(), GlobalTrackingGeometry::slaveGeometry(), StripTopology::stripLength(), and cms::Exception::what().
Referenced by produce().
|
private |
Definition at line 408 of file FWRecoGeometryESProducer.cc.
References ADD_PIXEL_TOPOLOGY(), TrackerGeometry::detsPXB(), end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDetUnit(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 429 of file FWRecoGeometryESProducer.cc.
References ADD_PIXEL_TOPOLOGY(), TrackerGeometry::detsPXF(), end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDetUnit(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 259 of file FWRecoGeometryESProducer.cc.
References MessageLogger_cfi::cerr, MillePedeFileConverter_cfg::e, end, fillShapeAndPlacement(), GeomDet::geographicalId(), triggerObjects_cff::id, insert_id(), m_fwGeometry, m_geomRecord, DetId::Muon, StripTopology::nstrips(), StripTopology::pitch(), DetId::rawId(), RPCGeometry::rolls(), GlobalTrackingGeometry::slaveGeometry(), RPCRoll::specificTopology(), and StripTopology::stripLength().
Referenced by produce().
|
private |
Definition at line 513 of file FWRecoGeometryESProducer.cc.
References ADD_SISTRIP_TOPOLOGY, TrackerGeometry::detsTEC(), end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDet(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 450 of file FWRecoGeometryESProducer.cc.
References ADD_SISTRIP_TOPOLOGY, TrackerGeometry::detsTIB(), end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDet(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 492 of file FWRecoGeometryESProducer.cc.
References ADD_SISTRIP_TOPOLOGY, TrackerGeometry::detsTID(), end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDet(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 471 of file FWRecoGeometryESProducer.cc.
References ADD_SISTRIP_TOPOLOGY, TrackerGeometry::detsTOB(), end, fillShapeAndPlacement(), GeomDet::geographicalId(), TrackerGeometry::idToDet(), insert_id(), m_trackerGeom, and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 592 of file FWRecoGeometryESProducer.cc.
References end, mps_fire::i, triggerObjects_cff::id, m_fwGeometry, and FWTGeoRecoGeometry::maxPoints_.
Referenced by addCaloGeometry(), and addFTLGeometry().
|
private |
Definition at line 608 of file FWRecoGeometryESProducer.cc.
References b, triggerObjects_cff::id, m_fwGeometry, GloballyPositioned< T >::position(), GloballyPositioned< T >::rotation(), GeomDet::surface(), PV3DBase< T, PVType, FrameType >::x(), TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), PV3DBase< T, PVType, FrameType >::y(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), PV3DBase< T, PVType, FrameType >::z(), 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 582 of file FWRecoGeometryESProducer.cc.
References m_current, and m_fwGeometry.
Referenced by addCaloGeometry(), addCSCGeometry(), addDTGeometry(), addFTLGeometry(), addGEMGeometry(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), and addTOBGeometry().
|
privatedelete |
std::shared_ptr< FWRecoGeometry > FWRecoGeometryESProducer::produce | ( | const FWRecoGeometryRecord & | record | ) |
Definition at line 105 of file FWRecoGeometryESProducer.cc.
References addCaloGeometry(), addCSCGeometry(), addDTGeometry(), addFTLGeometry(), addGEMGeometry(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), edm::eventsetup::EventSetupRecord::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), m_calo, m_caloGeom, m_current, m_ftlBarrelGeom, m_ftlEndcapGeom, m_fwGeometry, m_geomRecord, m_muon, m_timing, m_tracker, m_trackerGeom, edm::ESHandle< T >::product(), GlobalTrackingGeometry::slaveGeometry(), edm::swap(), DetId::Tracker, and writeTrackerParametersXML().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 652 of file FWRecoGeometryESProducer.cc.
References edmScanValgrind::buffer, edm::FileInPath::fullPath(), TrackerGeometry::isThere(), m_fwGeometry, m_trackerGeom, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, GeomDetEnumerators::P2PXB, GeomDetEnumerators::P2PXEC, callgraph::path, AlCaHLTBitMon_QueryRunRegistry::string, and lumiQTWidget::t.
Referenced by produce().
|
private |
Definition at line 71 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 62 of file FWRecoGeometryESProducer.h.
Referenced by addCaloGeometry(), and produce().
|
private |
Definition at line 68 of file FWRecoGeometryESProducer.h.
Referenced by insert_id(), and produce().
|
private |
Definition at line 63 of file FWRecoGeometryESProducer.h.
Referenced by addFTLGeometry(), and produce().
|
private |
Definition at line 63 of file FWRecoGeometryESProducer.h.
Referenced by addFTLGeometry(), and produce().
|
private |
Definition at line 66 of file FWRecoGeometryESProducer.h.
Referenced by ADD_PIXEL_TOPOLOGY(), addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addRPCGeometry(), fillPoints(), fillShapeAndPlacement(), insert_id(), produce(), and writeTrackerParametersXML().
|
private |
Definition at line 61 of file FWRecoGeometryESProducer.h.
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addRPCGeometry(), and produce().
|
private |
Definition at line 64 of file FWRecoGeometryESProducer.h.
|
private |
Definition at line 70 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 72 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 69 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 65 of file FWRecoGeometryESProducer.h.
Referenced by addPixelBarrelGeometry(), addPixelForwardGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), produce(), and writeTrackerParametersXML().