#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 |
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) | |
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::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 24 of file SeedingLayerSetsBuilder.h.
using SeedingLayerSetsBuilder::SeedingLayerId = std::tuple<GeomDetEnumerators::SubDetector, TrackerDetSide, int> |
Definition at line 27 of file SeedingLayerSetsBuilder.h.
|
default |
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 184 of file SeedingLayerSetsBuilder.cc.
References Exception, spr::find(), runEdmFileComparison::found, edm::ParameterSet::getParameter(), layerConfig(), layerNamesInSets(), SiStripPI::max, harvestTrackValidationPlots::str, AlCaHLTBitMon_QueryRunRegistry::string, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, and theTTRHBuilders.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 181 of file SeedingLayerSetsBuilder.cc.
SeedingLayerSetsBuilder::~SeedingLayerSetsBuilder | ( | ) |
Definition at line 237 of file SeedingLayerSetsBuilder.cc.
|
static |
Definition at line 239 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 364 of file SeedingLayerSetsBuilder.cc.
References theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, theTTRHBuilders, and updateEventSetup().
Referenced by SeedingLayersEDProducer::produce(), and PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce().
|
private |
Definition at line 256 of file SeedingLayerSetsBuilder.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), dataset::name, and mps_fire::result.
Referenced by SeedingLayerSetsBuilder().
|
static |
Definition at line 268 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 355 of file SeedingLayerSetsBuilder.cc.
References numberOfLayers(), and theLayers.
|
inline |
Definition at line 41 of file SeedingLayerSetsBuilder.h.
References looper::cfg, ev, hfClusterShapes_cfi::hits, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 32 of file SeedingLayerSetsBuilder.cc.
References Barrel, diffTreeTool::index, 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 36 of file SeedingLayerSetsBuilder.h.
Referenced by layers().
|
inline |
Definition at line 37 of file SeedingLayerSetsBuilder.h.
References LayerTriplets::layers().
|
inline |
Definition at line 39 of file SeedingLayerSetsBuilder.h.
|
private |
Definition at line 286 of file SeedingLayerSetsBuilder.cc.
References GeometricSearchTracker::barrelLayers(), edm::ESWatcher< T >::check(), Exception, geometryWatcher_, edm::EventSetup::get(), diffTreeTool::index, 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(), mixOne_simraw_on_sim_cfi::tracker, and trhWatcher_.
Referenced by hits().
|
private |
Definition at line 52 of file SeedingLayerSetsBuilder.h.
Referenced by updateEventSetup().
|
private |
Definition at line 77 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 76 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 79 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), layers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 75 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 74 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 78 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 53 of file SeedingLayerSetsBuilder.h.
Referenced by updateEventSetup().