#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, 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 |
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 178 of file SeedingLayerSetsBuilder.cc.
References edm::ConsumesCollector::consumes(), and fastSimrecHitsToken_.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 186 of file SeedingLayerSetsBuilder.cc.
References Exception, spr::find(), newFWLiteAna::found, edm::ParameterSet::getParameter(), 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 184 of file SeedingLayerSetsBuilder.cc.
SeedingLayerSetsBuilder::~SeedingLayerSetsBuilder | ( | ) |
Definition at line 239 of file SeedingLayerSetsBuilder.cc.
|
static |
Definition at line 241 of file SeedingLayerSetsBuilder.cc.
References edm::ParameterSetDescription::add(), relativeConstraints::empty, and edm::ParameterSetDescription::setAllowAnything().
Referenced by SeedingLayersEDProducer::fillDescriptions(), and PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions().
std::unique_ptr< SeedingLayerSetsHits > SeedingLayerSetsBuilder::hits | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) |
Definition at line 361 of file SeedingLayerSetsBuilder.cc.
References runTheMatrix::ret, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, theTTRHBuilders, and updateEventSetup().
Referenced by SeedingLayersEDProducer::produce(), and PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce().
|
private |
Definition at line 258 of file SeedingLayerSetsBuilder.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), Skims_PA_cff::name, and mps_fire::result.
Referenced by SeedingLayerSetsBuilder().
|
static |
Definition at line 272 of file SeedingLayerSetsBuilder.cc.
References mps_splice::line, and mps_fire::result.
Referenced by MTVHistoProducerAlgoForTracker::MTVHistoProducerAlgoForTracker(), and SeedingLayerSetsBuilder().
std::vector< SeedingLayerSetsBuilder::SeedingLayerId > SeedingLayerSetsBuilder::layers | ( | ) | const |
Definition at line 352 of file SeedingLayerSetsBuilder.cc.
References numberOfLayers(), runTheMatrix::ret, and theLayers.
|
inline |
Definition at line 54 of file SeedingLayerSetsBuilder.h.
References looper::cfg, ev, hfClusterShapes_cfi::hits, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
std::unique_ptr< SeedingLayerSetsHits > SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) |
Definition at line 376 of file SeedingLayerSetsBuilder.cc.
References b, Barrel, TrackingRecHit::clone(), fastSimrecHitsToken_, edm::EventSetup::get(), edm::Event::getByToken(), GeomDetEnumerators::invalidDet, 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, 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.
Referenced by layers().
|
inline |
Definition at line 46 of file SeedingLayerSetsBuilder.h.
References hgcalTopologyTester_cfi::layers.
|
inline |
Definition at line 50 of file SeedingLayerSetsBuilder.h.
|
private |
Definition at line 289 of file SeedingLayerSetsBuilder.cc.
References GeometricSearchTracker::barrelLayers(), edm::ESWatcher< T >::check(), Exception, geometryWatcher_, edm::EventSetup::get(), GeometricSearchTracker::negForwardLayers(), GeometricSearchTracker::negTecLayers(), GeometricSearchTracker::negTidLayers(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, PosEndcap, GeometricSearchTracker::posForwardLayers(), GeometricSearchTracker::posTecLayers(), GeometricSearchTracker::posTidLayers(), edm::ESHandle< T >::product(), GeomDetEnumerators::TEC, theLayerDets, theLayerNames, theLayers, theTTRHBuilders, GeomDetEnumerators::TIB, GeometricSearchTracker::tibLayers(), GeomDetEnumerators::TID, GeomDetEnumerators::TOB, GeometricSearchTracker::tobLayers(), 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(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 94 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 93 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), and SeedingLayerSetsBuilder().
|
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().