#include <GEMSegmentBuilder.h>
Public Member Functions | |
void | build (const GEMRecHitCollection *rechits, GEMSegmentCollection &oc) |
GEMSegmentBuilder (const edm::ParameterSet &) | |
void | setGeometry (const GEMGeometry *g) |
~GEMSegmentBuilder () | |
Destructor. More... | |
Private Attributes | |
std::unique_ptr< GEMSegmentAlgorithmBase > | ge0Algo |
std::string | ge0AlgoName |
edm::ParameterSet | ge0AlgoPSet |
const GEMGeometry * | geom_ |
std::unique_ptr< GEMSegmentAlgorithmBase > | segAlgo |
std::string | segAlgoName |
edm::ParameterSet | segAlgoPSet |
CSCSegmentBuilder Algorithm to build GEMSegment's from GEMRecHit collection by implementing a 'build' function required by GEMSegmentProducer.
Implementation notes:
Configured via the Producer's ParameterSet.
Presume this might become an abstract base class one day.
Definition at line 23 of file GEMSegmentBuilder.h.
|
explicit |
Configure the algorithm via ctor. Receives ParameterSet percolated down from EDProducer which owns this Builder.
Definition at line 12 of file GEMSegmentBuilder.cc.
References ge0Algo, ge0AlgoName, ge0AlgoPSet, get, edm::ParameterSet::getParameter(), segAlgo, segAlgoName, segAlgoPSet, and AlCaHLTBitMon_QueryRunRegistry::string.
GEMSegmentBuilder::~GEMSegmentBuilder | ( | ) |
void GEMSegmentBuilder::build | ( | const GEMRecHitCollection * | rechits, |
GEMSegmentCollection & | oc | ||
) |
Find rechits in each ensemble of 6 GEM layers, build GEMSegment's , and fill into output collection.
Definition at line 30 of file GEMSegmentBuilder.cc.
References relativeConstraints::chamber, GEMGeometry::etaPartition(), ge0Algo, gemRecHits_cfi::gemRecHits, geom_, triggerObjects_cff::id, LogTrace, FastTrackerRecHitMaskProducer_cfi::recHits, segAlgo, and GEMGeometry::superChamber().
void GEMSegmentBuilder::setGeometry | ( | const GEMGeometry * | g | ) |
Cache pointer to geometry for current event
Definition at line 118 of file GEMSegmentBuilder.cc.
References relativeConstraints::geom, and geom_.
|
private |
Definition at line 48 of file GEMSegmentBuilder.h.
Referenced by build(), and GEMSegmentBuilder().
|
private |
Definition at line 44 of file GEMSegmentBuilder.h.
Referenced by GEMSegmentBuilder().
|
private |
Definition at line 46 of file GEMSegmentBuilder.h.
Referenced by GEMSegmentBuilder().
|
private |
Definition at line 49 of file GEMSegmentBuilder.h.
Referenced by build(), and setGeometry().
|
private |
Definition at line 47 of file GEMSegmentBuilder.h.
Referenced by build(), and GEMSegmentBuilder().
|
private |
Definition at line 43 of file GEMSegmentBuilder.h.
Referenced by GEMSegmentBuilder().
|
private |
Definition at line 45 of file GEMSegmentBuilder.h.
Referenced by GEMSegmentBuilder().