#include <SeedingLayerSetsBuilder.h>
Classes | |
struct | LayerSpec |
Public Types | |
typedef unsigned short | LayerSetIndex |
using | SeedingLayerId = std::tuple< GeomDetEnumerators::SubDetector, ctfseeding::SeedingLayer::Side, int > |
Public Member Functions | |
bool | check (const edm::EventSetup &es) |
void | hits (const edm::Event &ev, const edm::EventSetup &es, std::vector< unsigned int > &indices, ctfseeding::SeedingLayer::Hits &hits) const |
const std::vector< const DetLayer * > & | layerDets () const |
const std::vector< std::string > & | layerNames () const |
ctfseeding::SeedingLayerSets | layers (const edm::EventSetup &es) |
const std::vector< LayerSetIndex > & | layerSetIndices () const |
unsigned short | numberOfLayers () const |
unsigned short | numberOfLayersInSet () const |
SeedingLayerSetsBuilder () | |
SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC) | |
SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
void | updateEventSetup (const edm::EventSetup &es) |
~SeedingLayerSetsBuilder () | |
Static Public Member Functions | |
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 |
Private Attributes | |
edm::ESWatcher< TrackerRecoGeometryRecord > | geometryWatcher_ |
std::vector< const DetLayer * > | theLayerDets |
std::vector< std::string > | theLayerNames |
std::vector< LayerSpec > | theLayers |
std::vector< LayerSetIndex > | theLayerSetIndices |
unsigned short | theNumberOfLayersInSet |
std::vector< const TransientTrackingRecHitBuilder * > | theTTRHBuilders |
edm::ESWatcher< TransientRecHitRecord > | trhWatcher_ |
Definition at line 20 of file SeedingLayerSetsBuilder.h.
typedef unsigned short SeedingLayerSetsBuilder::LayerSetIndex |
Definition at line 34 of file SeedingLayerSetsBuilder.h.
using SeedingLayerSetsBuilder::SeedingLayerId = std::tuple<GeomDetEnumerators::SubDetector, ctfseeding::SeedingLayer::Side, int> |
Definition at line 43 of file SeedingLayerSetsBuilder.h.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | ) |
Definition at line 182 of file SeedingLayerSetsBuilder.cc.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 186 of file SeedingLayerSetsBuilder.cc.
References Exception, spr::find(), runEdmFileComparison::found, edm::ParameterSet::getParameter(), layerConfig(), layerNamesInSets(), hpstanc_transforms::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 183 of file SeedingLayerSetsBuilder.cc.
SeedingLayerSetsBuilder::~SeedingLayerSetsBuilder | ( | ) |
Definition at line 239 of file SeedingLayerSetsBuilder.cc.
bool SeedingLayerSetsBuilder::check | ( | const edm::EventSetup & | es | ) |
Definition at line 356 of file SeedingLayerSetsBuilder.cc.
References edm::ESWatcher< T >::check(), geometryWatcher_, and trhWatcher_.
Referenced by QuadrupletSeedMerger::mergeTriplets(), and SeedingLayersEDProducer::produce().
void SeedingLayerSetsBuilder::hits | ( | const edm::Event & | ev, |
const edm::EventSetup & | es, | ||
std::vector< unsigned int > & | indices, | ||
ctfseeding::SeedingLayer::Hits & | hits | ||
) | const |
Definition at line 365 of file SeedingLayerSetsBuilder.cc.
References i, eostools::move(), theLayers, theTTRHBuilders, and tmp.
Referenced by SeedingLayersEDProducer::produce().
|
private |
Definition at line 241 of file SeedingLayerSetsBuilder.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), dataset::name, and mps_fire::result.
Referenced by SeedingLayerSetsBuilder().
|
inline |
Definition at line 40 of file SeedingLayerSetsBuilder.h.
References ev, and hfClusterShapes_cfi::hits.
Referenced by SeedingLayersEDProducer::produce().
|
inline |
Definition at line 39 of file SeedingLayerSetsBuilder.h.
Referenced by SeedingLayersEDProducer::produce().
|
static |
Definition at line 253 of file SeedingLayerSetsBuilder.cc.
References geometryCSVtoXML::line, and mps_fire::result.
Referenced by MTVHistoProducerAlgoForTracker::MTVHistoProducerAlgoForTracker(), and SeedingLayerSetsBuilder().
SeedingLayerSets SeedingLayerSetsBuilder::layers | ( | const edm::EventSetup & | es | ) |
Definition at line 335 of file SeedingLayerSetsBuilder.cc.
References SeedingLayerSetsBuilder::LayerSpec::extractor, i, j, gen::n, mps_fire::result, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, theTTRHBuilders, and updateEventSetup().
Referenced by QuadrupletSeedMerger::mergeTriplets().
|
inline |
Definition at line 36 of file SeedingLayerSetsBuilder.h.
Referenced by SeedingLayersEDProducer::produce().
|
static |
Definition at line 32 of file SeedingLayerSetsBuilder.cc.
References ctfseeding::SeedingLayer::Barrel, diffTreeTool::index, GeomDetEnumerators::invalidDet, ctfseeding::SeedingLayer::NegEndcap, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, ctfseeding::SeedingLayer::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.
|
inline |
Definition at line 35 of file SeedingLayerSetsBuilder.h.
Referenced by SeedingLayersEDProducer::produce().
void SeedingLayerSetsBuilder::updateEventSetup | ( | const edm::EventSetup & | es | ) |
Definition at line 271 of file SeedingLayerSetsBuilder.cc.
References GeometricSearchTracker::barrelLayers(), Exception, edm::EventSetup::get(), SeedingLayerSetsBuilder::LayerSpec::hitBuilder, i, SeedingLayerSetsBuilder::LayerSpec::idLayer, diffTreeTool::index, gen::n, SeedingLayerSetsBuilder::LayerSpec::nameIndex, GeometricSearchTracker::negForwardLayers(), GeometricSearchTracker::negTecLayers(), GeometricSearchTracker::negTidLayers(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GeometricSearchTracker::posForwardLayers(), GeometricSearchTracker::posTecLayers(), GeometricSearchTracker::posTidLayers(), edm::ESHandle< T >::product(), SeedingLayerSetsBuilder::LayerSpec::side, SeedingLayerSetsBuilder::LayerSpec::subdet, GeomDetEnumerators::TEC, theLayerDets, theLayerNames, theLayers, theTTRHBuilders, GeomDetEnumerators::TIB, GeometricSearchTracker::tibLayers(), GeomDetEnumerators::TID, GeomDetEnumerators::TOB, GeometricSearchTracker::tobLayers(), and mixOne_simraw_on_sim_cfi::tracker.
Referenced by layers(), and SeedingLayersEDProducer::produce().
|
private |
Definition at line 50 of file SeedingLayerSetsBuilder.h.
Referenced by check().
|
private |
Definition at line 71 of file SeedingLayerSetsBuilder.h.
Referenced by layers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 70 of file SeedingLayerSetsBuilder.h.
Referenced by layers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 73 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), layers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 69 of file SeedingLayerSetsBuilder.h.
Referenced by layers(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 68 of file SeedingLayerSetsBuilder.h.
Referenced by layers(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 72 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), layers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 51 of file SeedingLayerSetsBuilder.h.
Referenced by check().