#include <CSCSegmentBuilder.h>
Public Member Functions | |
void | build (const CSCRecHit2DCollection *rechits, CSCSegmentCollection &oc) |
CSCSegmentBuilder (const edm::ParameterSet &) | |
void | setGeometry (const CSCGeometry *geom) |
~CSCSegmentBuilder () | |
Destructor. More... | |
Private Attributes | |
std::map< std::string, std::unique_ptr< CSCSegmentAlgorithm > > | algoMap |
const CSCGeometry * | geom_ |
Algorithm to build CSCSegment's from CSCRecHit2D collection by implementing a 'build' function required by CSCSegmentProducer.
Implementation notes:
Configured via the Producer's ParameterSet.
Presume this might become an abstract base class one day.
Definition at line 25 of file CSCSegmentBuilder.h.
|
explicit |
Configure the algorithm via ctor. Receives ParameterSet percolated down from EDProducer which owns this Builder.
Definition at line 21 of file CSCSegmentBuilder.cc.
References algoMap, MillePedeAlignmentAlgorithm_cfi::algoName, beamerCreator::create(), Exception, get, edm::ParameterSet::getParameter(), dqmiolumiharvest::j, LogDebug, and AlCaHLTBitMon_QueryRunRegistry::string.
|
default |
Destructor.
void CSCSegmentBuilder::build | ( | const CSCRecHit2DCollection * | rechits, |
CSCSegmentCollection & | oc | ||
) |
Find rechits in each CSCChamber, build CSCSegment's in each chamber, and fill into output collection.
Definition at line 61 of file CSCSegmentBuilder.cc.
References algoMap, relativeConstraints::chamber, CSCGeometry::chamber(), chambers, CSCRangeMapAccessor::cscChamber(), geom_, edm::eventsetup::heterocontainer::insert(), LogDebug, isotrackApplyRegressor::range, and FastTrackerRecHitMaskProducer_cfi::recHits.
Referenced by CSCSegmentProducer::produce().
void CSCSegmentBuilder::setGeometry | ( | const CSCGeometry * | geom | ) |
Cache pointer to geometry for current event
Definition at line 103 of file CSCSegmentBuilder.cc.
References relativeConstraints::geom, and geom_.
Referenced by CSCSegmentProducer::produce().
|
private |
Definition at line 46 of file CSCSegmentBuilder.h.
Referenced by build(), and CSCSegmentBuilder().
|
private |
Definition at line 45 of file CSCSegmentBuilder.h.
Referenced by build(), and setGeometry().