#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, 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, beamerCreator::create(), Exception, reco::get(), edm::ParameterSet::getParameter(), j, LogDebug, and AlCaHLTBitMon_QueryRunRegistry::string.
CSCSegmentBuilder::~CSCSegmentBuilder | ( | ) |
Destructor.
Definition at line 60 of file CSCSegmentBuilder.cc.
References algoMap.
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 69 of file CSCSegmentBuilder.cc.
References algoMap, CSCGeometry::chamber(), chambers, CSCChamberSpecs::chamberTypeName(), CSCRangeMapAccessor::cscChamber(), geom_, edm::eventsetup::heterocontainer::insert(), LogDebug, and CSCChamber::specs().
Referenced by CSCSegmentProducer::produce().
void CSCSegmentBuilder::setGeometry | ( | const CSCGeometry * | geom | ) |
Cache pointer to geometry for current event
Definition at line 117 of file CSCSegmentBuilder.cc.
References relativeConstraints::geom, and geom_.
Referenced by CSCSegmentProducer::produce().
|
private |
Definition at line 48 of file CSCSegmentBuilder.h.
Referenced by build(), CSCSegmentBuilder(), and ~CSCSegmentBuilder().
|
private |
Definition at line 47 of file CSCSegmentBuilder.h.
Referenced by build(), and setGeometry().