#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 &) | |
unsigned int | insert_id (unsigned int id) |
const FWRecoGeometryESProducer & | operator= (const FWRecoGeometryESProducer &) |
Private Attributes | |
bool | m_calo |
edm::ESHandle< 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 | |
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 &) |
Definition at line 24 of file FWRecoGeometryESProducer.h.
FWRecoGeometryESProducer::FWRecoGeometryESProducer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 86 of file FWRecoGeometryESProducer.cc.
References funct::false, edm::ParameterSet::getUntrackedParameter(), m_calo, m_muon, m_timing, m_tracker, edm::ESProducer::setWhatProduced(), and funct::true.
|
virtual |
Definition at line 96 of file FWRecoGeometryESProducer.cc.
|
private |
|
private |
Definition at line 34 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 526 of file FWRecoGeometryESProducer.cc.
References EZArrayFL< T >::begin(), end, EZArrayFL< T >::end(), fillPoints(), DetId::Forward, relativeConstraints::geom, HGCalGeometry::getCorners(), CaloCellGeometry::getCorners(), CaloGeometry::getGeometry(), CaloGeometry::getSubdetectorGeometry(), CaloGeometry::getValidDetIds(), insert_id(), m_caloGeom, and eostools::move().
Referenced by produce().
|
private |
Definition at line 149 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 197 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 545 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 288 of file FWRecoGeometryESProducer.cc.
References MessageLogger_cfi::cerr, GEMGeometry::chambers(), MillePedeFileConverter_cfg::e, GEMGeometry::etaPartitions(), cppFunctionSkipper::exception, fillShapeAndPlacement(), hcalTTPDigis_cfi::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 360 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 400 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 421 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 251 of file FWRecoGeometryESProducer.cc.
References MessageLogger_cfi::cerr, MillePedeFileConverter_cfg::e, end, fillShapeAndPlacement(), GeomDet::geographicalId(), hcalTTPDigis_cfi::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 505 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 442 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 484 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 463 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 578 of file FWRecoGeometryESProducer.cc.
References end, mps_fire::i, hcalTTPDigis_cfi::id, diffTreeTool::index, and m_fwGeometry.
Referenced by addCaloGeometry(), and addFTLGeometry().
|
private |
Definition at line 594 of file FWRecoGeometryESProducer.cc.
References b, hcalTTPDigis_cfi::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 568 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().
|
private |
std::shared_ptr< FWRecoGeometry > FWRecoGeometryESProducer::produce | ( | const FWRecoGeometryRecord & | record | ) |
Definition at line 100 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, GlobalTrackingGeometry::slaveGeometry(), edm::swap(), and DetId::Tracker.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 70 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 61 of file FWRecoGeometryESProducer.h.
Referenced by addCaloGeometry(), and produce().
|
private |
Definition at line 67 of file FWRecoGeometryESProducer.h.
Referenced by insert_id(), and produce().
|
private |
Definition at line 62 of file FWRecoGeometryESProducer.h.
Referenced by addFTLGeometry(), and produce().
|
private |
Definition at line 62 of file FWRecoGeometryESProducer.h.
Referenced by addFTLGeometry(), and produce().
|
private |
Definition at line 65 of file FWRecoGeometryESProducer.h.
Referenced by ADD_PIXEL_TOPOLOGY(), addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addRPCGeometry(), fillPoints(), fillShapeAndPlacement(), insert_id(), and produce().
|
private |
Definition at line 60 of file FWRecoGeometryESProducer.h.
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addRPCGeometry(), and produce().
|
private |
Definition at line 63 of file FWRecoGeometryESProducer.h.
|
private |
Definition at line 69 of file FWRecoGeometryESProducer.h.
Referenced by FWRecoGeometryESProducer(), and produce().
|
private |
Definition at line 71 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 64 of file FWRecoGeometryESProducer.h.
Referenced by addPixelBarrelGeometry(), addPixelForwardGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), and produce().