#include <SeedingLayerSetsBuilder.h>
Classes | |
struct | LayerSpec |
Public Types | |
using | SeedingLayerId = std::tuple< GeomDetEnumerators::SubDetector, TrackerDetSide, int > |
Public Member Functions | |
std::unique_ptr< SeedingLayerSetsHits > | hits (const edm::Event &ev, const edm::EventSetup &es) |
std::vector< SeedingLayerId > | layers () const |
const std::vector< SeedingLayerSetsHits::LayerSetIndex > & | layerSetIndices () const |
std::unique_ptr< SeedingLayerSetsHits > | makeSeedingLayerSetsHitsforFastSim (const edm::Event &ev, const edm::EventSetup &es) |
unsigned short | numberOfLayers () const |
unsigned short | numberOfLayerSets () const |
SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC, const edm::InputTag &fastsimHitTag) | |
SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC) | |
SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
SeedingLayerSetsLooper | seedingLayerSetsLooper () const |
~SeedingLayerSetsBuilder () | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ParameterSetDescription &desc) |
static std::vector< std::vector< std::string > > | layerNamesInSets (const std::vector< std::string > &namesPSet) |
static SeedingLayerId | nameToEnumId (const std::string &name) |
Private Member Functions | |
edm::ParameterSet | layerConfig (const std::string &nameLayer, const edm::ParameterSet &cfg) const |
void | updateEventSetup (const edm::EventSetup &es) |
Private Attributes | |
edm::EDGetTokenT< FastTrackerRecHitCollection > | fastSimrecHitsToken_ |
edm::ESWatcher< TrackerRecoGeometryRecord > | geometryWatcher_ |
std::vector< const DetLayer * > | theLayerDets |
std::vector< std::string > | theLayerNames |
std::vector< LayerSpec > | theLayers |
std::vector< SeedingLayerSetsHits::LayerSetIndex > | theLayerSetIndices |
unsigned short | theNumberOfLayersInSet |
std::vector< const TransientTrackingRecHitBuilder * > | theTTRHBuilders |
const edm::ESGetToken< GeometricSearchTracker, TrackerRecoGeometryRecord > | trackerToken_ |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | trackerTopologyToken_ |
edm::ESWatcher< TransientRecHitRecord > | trhWatcher_ |
Definition at line 35 of file SeedingLayerSetsBuilder.h.
using SeedingLayerSetsBuilder::SeedingLayerId = std::tuple<GeomDetEnumerators::SubDetector, TrackerDetSide, int> |
Definition at line 37 of file SeedingLayerSetsBuilder.h.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC, | ||
const edm::InputTag & | fastsimHitTag | ||
) |
Definition at line 182 of file SeedingLayerSetsBuilder.cc.
References edm::ConsumesCollector::consumes(), edm::ConsumesCollector::esConsumes(), fastSimrecHitsToken_, and trackerTopologyToken_.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 191 of file SeedingLayerSetsBuilder.cc.
References looper::cfg, Exception, spr::find(), newFWLiteAna::found, layerConfig(), layerNamesInSets(), SiStripPI::max, str, AlCaHLTBitMon_QueryRunRegistry::string, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, and theTTRHBuilders.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 189 of file SeedingLayerSetsBuilder.cc.
SeedingLayerSetsBuilder::~SeedingLayerSetsBuilder | ( | ) |
Definition at line 245 of file SeedingLayerSetsBuilder.cc.
|
static |
Definition at line 247 of file SeedingLayerSetsBuilder.cc.
References submitPVResolutionJobs::desc, and relativeConstraints::empty.
Referenced by SeedingLayersEDProducer::fillDescriptions(), and PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions().
std::unique_ptr< SeedingLayerSetsHits > SeedingLayerSetsBuilder::hits | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) |
Definition at line 362 of file SeedingLayerSetsBuilder.cc.
References makeMEIFBenchmarkPlots::ev, pixelTopology::layer, runTheMatrix::ret, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, theTTRHBuilders, and updateEventSetup().
Referenced by SeedingLayersEDProducer::produce(), and PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce().
|
private |
Definition at line 264 of file SeedingLayerSetsBuilder.cc.
References looper::cfg, Skims_PA_cff::name, and mps_fire::result.
Referenced by SeedingLayerSetsBuilder().
|
static |
Definition at line 278 of file SeedingLayerSetsBuilder.cc.
References pixelTopology::layer, mps_splice::line, and mps_fire::result.
Referenced by MTVHistoProducerAlgoForTracker::MTVHistoProducerAlgoForTracker(), and SeedingLayerSetsBuilder().
std::vector< SeedingLayerSetsBuilder::SeedingLayerId > SeedingLayerSetsBuilder::layers | ( | ) | const |
Definition at line 353 of file SeedingLayerSetsBuilder.cc.
References pixelTopology::layer, numberOfLayers(), runTheMatrix::ret, and theLayers.
|
inline |
Definition at line 57 of file SeedingLayerSetsBuilder.h.
References theLayerSetIndices.
std::unique_ptr< SeedingLayerSetsHits > SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) |
Definition at line 377 of file SeedingLayerSetsBuilder.cc.
References b, Barrel, makeMEIFBenchmarkPlots::ev, fastSimrecHitsToken_, edm::EventSetup::getData(), GeomDetEnumerators::invalidDet, pixelTopology::layer, eostools::move(), NegEndcap, GeomDetEnumerators::PixelBarrel, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, GeomDetEnumerators::PixelEndcap, PosEndcap, TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), runTheMatrix::ret, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, trackerTopologyToken_, and updateEventSetup().
|
static |
Definition at line 31 of file SeedingLayerSetsBuilder.cc.
References Barrel, GeomDetEnumerators::invalidDet, Skims_PA_cff::name, NegEndcap, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, PosEndcap, GeomDetEnumerators::TEC, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, and GeomDetEnumerators::TOB.
Referenced by SeedingLayerSetsBuilder::LayerSpec::LayerSpec(), and MTVHistoProducerAlgoForTracker::MTVHistoProducerAlgoForTracker().
|
inline |
Definition at line 48 of file SeedingLayerSetsBuilder.h.
References theLayers.
Referenced by layers().
|
inline |
Definition at line 49 of file SeedingLayerSetsBuilder.h.
References theLayerSetIndices, and theNumberOfLayersInSet.
|
inline |
Definition at line 53 of file SeedingLayerSetsBuilder.h.
References theLayerSetIndices, and theNumberOfLayersInSet.
|
private |
Definition at line 295 of file SeedingLayerSetsBuilder.cc.
References edm::ESWatcher< T >::check(), Exception, geometryWatcher_, edm::EventSetup::getData(), pixelTopology::layer, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, PosEndcap, GeomDetEnumerators::TEC, theLayerDets, theLayerNames, theLayers, theTTRHBuilders, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, GeomDetEnumerators::TOB, PbPb_ZMuSkimMuonDPG_cff::tracker, trackerToken_, and trhWatcher_.
Referenced by hits(), and makeSeedingLayerSetsHitsforFastSim().
|
private |
Definition at line 73 of file SeedingLayerSetsBuilder.h.
Referenced by makeSeedingLayerSetsHitsforFastSim(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 71 of file SeedingLayerSetsBuilder.h.
Referenced by updateEventSetup().
|
private |
Definition at line 102 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 101 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 104 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), layers(), makeSeedingLayerSetsHitsforFastSim(), numberOfLayers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 100 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), layerSetIndices(), makeSeedingLayerSetsHitsforFastSim(), numberOfLayerSets(), SeedingLayerSetsBuilder(), and seedingLayerSetsLooper().
|
private |
Definition at line 99 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), numberOfLayerSets(), SeedingLayerSetsBuilder(), and seedingLayerSetsLooper().
|
private |
Definition at line 103 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 74 of file SeedingLayerSetsBuilder.h.
Referenced by updateEventSetup().
|
private |
Definition at line 75 of file SeedingLayerSetsBuilder.h.
Referenced by makeSeedingLayerSetsHitsforFastSim(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 72 of file SeedingLayerSetsBuilder.h.
Referenced by updateEventSetup().