#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 ()=default | |
SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC) | |
SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC, const edm::InputTag &fastsimHitTag) | |
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 |
edm::ESWatcher< TransientRecHitRecord > | trhWatcher_ |
Definition at line 31 of file SeedingLayerSetsBuilder.h.
using SeedingLayerSetsBuilder::SeedingLayerId = std::tuple<GeomDetEnumerators::SubDetector, TrackerDetSide, int> |
Definition at line 33 of file SeedingLayerSetsBuilder.h.
|
default |
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC, | ||
const edm::InputTag & | fastsimHitTag | ||
) |
Definition at line 181 of file SeedingLayerSetsBuilder.cc.
References edm::ConsumesCollector::consumes(), and fastSimrecHitsToken_.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 189 of file SeedingLayerSetsBuilder.cc.
References looper::cfg, Exception, spr::find(), newFWLiteAna::found, layerConfig(), phase1PixelTopology::layerName, 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 187 of file SeedingLayerSetsBuilder.cc.
SeedingLayerSetsBuilder::~SeedingLayerSetsBuilder | ( | ) |
Definition at line 242 of file SeedingLayerSetsBuilder.cc.
|
static |
Definition at line 244 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 364 of file SeedingLayerSetsBuilder.cc.
References ev, phase1PixelTopology::layer, runTheMatrix::ret, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, theTTRHBuilders, and updateEventSetup().
Referenced by SeedingLayersEDProducer::produce(), and PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce().
|
private |
Definition at line 261 of file SeedingLayerSetsBuilder.cc.
References looper::cfg, Skims_PA_cff::name, and mps_fire::result.
Referenced by SeedingLayerSetsBuilder().
|
static |
Definition at line 275 of file SeedingLayerSetsBuilder.cc.
References phase1PixelTopology::layer, mps_splice::line, and mps_fire::result.
Referenced by MTVHistoProducerAlgoForTracker::MTVHistoProducerAlgoForTracker(), and SeedingLayerSetsBuilder().
std::vector< SeedingLayerSetsBuilder::SeedingLayerId > SeedingLayerSetsBuilder::layers | ( | ) | const |
Definition at line 355 of file SeedingLayerSetsBuilder.cc.
References phase1PixelTopology::layer, numberOfLayers(), runTheMatrix::ret, and theLayers.
|
inline |
std::unique_ptr< SeedingLayerSetsHits > SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) |
Definition at line 379 of file SeedingLayerSetsBuilder.cc.
References b, Barrel, ev, fastSimrecHitsToken_, edm::EventSetup::get(), get, GeomDetEnumerators::invalidDet, phase1PixelTopology::layer, eostools::move(), NegEndcap, PixelSubdetector::PixelBarrel, GeomDetEnumerators::PixelBarrel, PixelSubdetector::PixelEndcap, GeomDetEnumerators::PixelEndcap, PosEndcap, edm::ESHandle< T >::product(), TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), runTheMatrix::ret, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, and updateEventSetup().
|
static |
Definition at line 32 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 45 of file SeedingLayerSetsBuilder.h.
References theLayers.
Referenced by layers().
|
inline |
Definition at line 46 of file SeedingLayerSetsBuilder.h.
References theLayerSetIndices, and theNumberOfLayersInSet.
|
inline |
Definition at line 50 of file SeedingLayerSetsBuilder.h.
References theLayerSetIndices, and theNumberOfLayersInSet.
|
private |
Definition at line 292 of file SeedingLayerSetsBuilder.cc.
References edm::ESWatcher< T >::check(), Exception, geometryWatcher_, edm::EventSetup::get(), get, phase1PixelTopology::layer, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, PosEndcap, edm::ESHandle< T >::product(), GeomDetEnumerators::TEC, theLayerDets, theLayerNames, theLayers, theTTRHBuilders, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, GeomDetEnumerators::TOB, PbPb_ZMuSkimMuonDPG_cff::tracker, and trhWatcher_.
Referenced by hits(), and makeSeedingLayerSetsHitsforFastSim().
|
private |
Definition at line 70 of file SeedingLayerSetsBuilder.h.
Referenced by makeSeedingLayerSetsHitsforFastSim(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 68 of file SeedingLayerSetsBuilder.h.
Referenced by updateEventSetup().
|
private |
Definition at line 96 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 95 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 98 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), layers(), makeSeedingLayerSetsHitsforFastSim(), numberOfLayers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 94 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), layerSetIndices(), makeSeedingLayerSetsHitsforFastSim(), numberOfLayerSets(), SeedingLayerSetsBuilder(), and seedingLayerSetsLooper().
|
private |
Definition at line 93 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), numberOfLayerSets(), SeedingLayerSetsBuilder(), and seedingLayerSetsLooper().
|
private |
Definition at line 97 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 69 of file SeedingLayerSetsBuilder.h.
Referenced by updateEventSetup().