#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... | |
Static Public Member Functions | |
static void | fillDescription (edm::ParameterSetDescription &descriptions) |
Private Attributes | |
bool | enableGE0 |
bool | enableGE12 |
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 24 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 enableGE0, enableGE12, 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 74 of file GEMSegmentBuilder.cc.
References relativeConstraints::chamber, enableGE0, enableGE12, GEMGeometry::etaPartition(), ge0Algo, gemRecHits_cfi::gemRecHits, geom_, l1ctLayer2EG_cff::id, LogTrace, FastTrackerRecHitMaskProducer_cfi::recHits, segAlgo, and GEMGeometry::superChamber().
|
static |
Definition at line 34 of file GEMSegmentBuilder.cc.
References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, edm::ParameterDescriptionNode::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by GEMSegmentProducer::fillDescriptions().
void GEMSegmentBuilder::setGeometry | ( | const GEMGeometry * | g | ) |
Cache pointer to geometry for current event
Definition at line 162 of file GEMSegmentBuilder.cc.
References relativeConstraints::geom, and geom_.
|
private |
Definition at line 46 of file GEMSegmentBuilder.h.
Referenced by build(), and GEMSegmentBuilder().
|
private |
Definition at line 47 of file GEMSegmentBuilder.h.
Referenced by build(), and GEMSegmentBuilder().
|
private |
Definition at line 53 of file GEMSegmentBuilder.h.
Referenced by build(), and GEMSegmentBuilder().
|
private |
Definition at line 49 of file GEMSegmentBuilder.h.
Referenced by GEMSegmentBuilder().
|
private |
Definition at line 51 of file GEMSegmentBuilder.h.
Referenced by GEMSegmentBuilder().
|
private |
Definition at line 54 of file GEMSegmentBuilder.h.
Referenced by build(), and setGeometry().
|
private |
Definition at line 52 of file GEMSegmentBuilder.h.
Referenced by build(), and GEMSegmentBuilder().
|
private |
Definition at line 48 of file GEMSegmentBuilder.h.
Referenced by GEMSegmentBuilder().
|
private |
Definition at line 50 of file GEMSegmentBuilder.h.
Referenced by GEMSegmentBuilder().