#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 > | algo |
std::string | algoName |
const GEMGeometry * | geom_ |
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 algo, algoName, reco::get(), edm::ParameterSet::getParameter(), 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 28 of file GEMSegmentBuilder.cc.
References algo, relativeConstraints::chamber, GEMGeometry::etaPartition(), gemRecHits_cfi::gemRecHits, geom_, hcalTTPDigis_cfi::id, GEMSuperChamber::id(), LogTrace, and GEMGeometry::superChamber().
void GEMSegmentBuilder::setGeometry | ( | const GEMGeometry * | g | ) |
Cache pointer to geometry for current event
Definition at line 108 of file GEMSegmentBuilder.cc.
References relativeConstraints::geom, and geom_.
|
private |
Definition at line 47 of file GEMSegmentBuilder.h.
Referenced by build(), and GEMSegmentBuilder().
|
private |
Definition at line 45 of file GEMSegmentBuilder.h.
Referenced by GEMSegmentBuilder().
|
private |
Definition at line 48 of file GEMSegmentBuilder.h.
Referenced by build(), and setGeometry().
|
private |
Definition at line 46 of file GEMSegmentBuilder.h.
Referenced by GEMSegmentBuilder().