#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 25 of file SeedingLayerSetsBuilder.h.
using SeedingLayerSetsBuilder::SeedingLayerId = std::tuple<GeomDetEnumerators::SubDetector, TrackerDetSide, int> |
Definition at line 28 of file SeedingLayerSetsBuilder.h.
|
default |
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(), and fastSimrecHitsToken_.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 190 of file SeedingLayerSetsBuilder.cc.
References Exception, spr::find(), runEdmFileComparison::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 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 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 369 of file SeedingLayerSetsBuilder.cc.
References 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 edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), dataset::name, and mps_fire::result.
Referenced by SeedingLayerSetsBuilder().
|
static |
Definition at line 273 of file SeedingLayerSetsBuilder.cc.
References geometryCSVtoXML::line, and mps_fire::result.
Referenced by MTVHistoProducerAlgoForTracker::MTVHistoProducerAlgoForTracker(), and SeedingLayerSetsBuilder().
std::vector< SeedingLayerSetsBuilder::SeedingLayerId > SeedingLayerSetsBuilder::layers | ( | ) | const |
Definition at line 360 of file SeedingLayerSetsBuilder.cc.
References numberOfLayers(), and theLayers.
|
inline |
Definition at line 43 of file SeedingLayerSetsBuilder.h.
References looper::cfg, ev, hfClusterShapes_cfi::hits, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
std::unique_ptr< SeedingLayerSetsHits > SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) |
Definition at line 384 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(), theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, and updateEventSetup().
|
static |
Definition at line 33 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 38 of file SeedingLayerSetsBuilder.h.
Referenced by layers().
|
inline |
Definition at line 39 of file SeedingLayerSetsBuilder.h.
References LayerTriplets::layers().
|
inline |
Definition at line 41 of file SeedingLayerSetsBuilder.h.
|
private |
Definition at line 291 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(), trackingTruthProducer_cfi::tracker, and trhWatcher_.
Referenced by hits(), and makeSeedingLayerSetsHitsforFastSim().
|
private |
Definition at line 58 of file SeedingLayerSetsBuilder.h.
Referenced by makeSeedingLayerSetsHitsforFastSim(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 56 of file SeedingLayerSetsBuilder.h.
Referenced by updateEventSetup().
|
private |
Definition at line 81 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 80 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 83 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), layers(), makeSeedingLayerSetsHitsforFastSim(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 79 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 78 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), makeSeedingLayerSetsHitsforFastSim(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 82 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 57 of file SeedingLayerSetsBuilder.h.
Referenced by updateEventSetup().