#include <SeedingLayerSetsBuilder.h>
Classes | |
struct | LayerSpec |
Public Types | |
typedef unsigned short | LayerSetIndex |
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 () | |
Private Member Functions | |
edm::ParameterSet | layerConfig (const std::string &nameLayer, const edm::ParameterSet &cfg) const |
std::vector< std::vector < std::string > > | layerNamesInSets (const std::vector< std::string > &namesPSet) |
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.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | ) |
Definition at line 186 of file SeedingLayerSetsBuilder.cc.
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 190 of file SeedingLayerSetsBuilder.cc.
References edm::hlt::Exception, spr::find(), newFWLiteAna::found, edm::ParameterSet::getParameter(), layerConfig(), layerNamesInSets(), bookConverter::max, 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 243 of file SeedingLayerSetsBuilder.cc.
bool SeedingLayerSetsBuilder::check | ( | const edm::EventSetup & | es | ) |
Definition at line 360 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 369 of file SeedingLayerSetsBuilder.cc.
References i, theLayers, theTTRHBuilders, and tmp.
Referenced by SeedingLayersEDProducer::produce().
|
private |
Definition at line 245 of file SeedingLayerSetsBuilder.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), and query::result.
Referenced by SeedingLayerSetsBuilder().
|
inline |
Definition at line 40 of file SeedingLayerSetsBuilder.h.
References theLayerDets.
Referenced by SeedingLayersEDProducer::produce().
|
inline |
Definition at line 39 of file SeedingLayerSetsBuilder.h.
References theLayerNames.
Referenced by SeedingLayersEDProducer::produce().
|
private |
Definition at line 257 of file SeedingLayerSetsBuilder.cc.
References geometryCSVtoXML::line, and query::result.
Referenced by SeedingLayerSetsBuilder().
SeedingLayerSets SeedingLayerSetsBuilder::layers | ( | const edm::EventSetup & | es | ) |
Definition at line 339 of file SeedingLayerSetsBuilder.cc.
References SeedingLayerSetsBuilder::LayerSpec::extractor, i, j, gen::n, query::result, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, theTTRHBuilders, and updateEventSetup().
Referenced by QuadrupletSeedMerger::mergeTriplets().
|
inline |
Definition at line 36 of file SeedingLayerSetsBuilder.h.
References theLayerSetIndices.
Referenced by SeedingLayersEDProducer::produce().
|
inline |
Definition at line 38 of file SeedingLayerSetsBuilder.h.
References theLayers.
|
inline |
Definition at line 35 of file SeedingLayerSetsBuilder.h.
References theNumberOfLayersInSet.
Referenced by SeedingLayersEDProducer::produce().
void SeedingLayerSetsBuilder::updateEventSetup | ( | const edm::EventSetup & | es | ) |
Definition at line 275 of file SeedingLayerSetsBuilder.cc.
References GeometricSearchTracker::barrelLayers(), edm::hlt::Exception, edm::EventSetup::get(), SeedingLayerSetsBuilder::LayerSpec::hitBuilder, i, SeedingLayerSetsBuilder::LayerSpec::idLayer, cmsHarvester::index, gen::n, SeedingLayerSetsBuilder::LayerSpec::nameIndex, GeometricSearchTracker::negForwardLayers(), GeometricSearchTracker::negTecLayers(), GeometricSearchTracker::negTidLayers(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GeometricSearchTracker::posForwardLayers(), GeometricSearchTracker::posTecLayers(), GeometricSearchTracker::posTidLayers(), edm::ESHandle< class >::product(), SeedingLayerSetsBuilder::LayerSpec::side, SeedingLayerSetsBuilder::LayerSpec::subdet, GeomDetEnumerators::TEC, theLayerDets, theLayerNames, theLayers, theTTRHBuilders, GeomDetEnumerators::TIB, GeometricSearchTracker::tibLayers(), GeomDetEnumerators::TID, GeomDetEnumerators::TOB, GeometricSearchTracker::tobLayers(), and patCandidatesForDimuonsSequences_cff::tracker.
Referenced by layers(), and SeedingLayersEDProducer::produce().
|
private |
Definition at line 48 of file SeedingLayerSetsBuilder.h.
Referenced by check().
|
private |
Definition at line 69 of file SeedingLayerSetsBuilder.h.
Referenced by layerDets(), layers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 68 of file SeedingLayerSetsBuilder.h.
Referenced by layerNames(), layers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 71 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), layers(), numberOfLayers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 67 of file SeedingLayerSetsBuilder.h.
Referenced by layers(), layerSetIndices(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 66 of file SeedingLayerSetsBuilder.h.
Referenced by layers(), numberOfLayersInSet(), and SeedingLayerSetsBuilder().
|
private |
Definition at line 70 of file SeedingLayerSetsBuilder.h.
Referenced by hits(), layers(), SeedingLayerSetsBuilder(), and updateEventSetup().
|
private |
Definition at line 49 of file SeedingLayerSetsBuilder.h.
Referenced by check().