#include <ME0SegmentBuilder.h>
Public Member Functions | |
void | build (const ME0RecHitCollection *rechits, ME0SegmentCollection &oc) |
ME0SegmentBuilder (const edm::ParameterSet &) | |
void | setGeometry (const ME0Geometry *g) |
~ME0SegmentBuilder () | |
Destructor. More... | |
Private Attributes | |
std::unique_ptr< ME0SegmentAlgorithmBase > | algo |
const ME0Geometry * | geom_ |
CSCSegmentBuilder Algorithm to build ME0Segment's from ME0RecHit collection by implementing a 'build' function required by ME0SegmentProducer.
Implementation notes:
Configured via the Producer's ParameterSet.
Presume this might become an abstract base class one day.
Definition at line 25 of file ME0SegmentBuilder.h.
|
explicit |
Configure the algorithm via ctor. Receives ParameterSet percolated down from EDProducer which owns this Builder.
Definition at line 13 of file ME0SegmentBuilder.cc.
References algo, HIPAlignmentAlgorithm_cfi::algoName, timingPdfMaker::get, edm::ParameterSet::getParameter(), LogDebug, and AlCaHLTBitMon_QueryRunRegistry::string.
ME0SegmentBuilder::~ME0SegmentBuilder | ( | ) |
void ME0SegmentBuilder::build | ( | const ME0RecHitCollection * | rechits, |
ME0SegmentCollection & | oc | ||
) |
Find rechits in each ensemble of all ME0 layers, build ME0Segment's , and fill into output collection.
Definition at line 30 of file ME0SegmentBuilder.cc.
References algo, ME0Geometry::chamber(), relativeConstraints::chamber, ME0Geometry::etaPartition(), geom_, glb, ME0SegmentAlgorithmBase::HitAndPosition::layer, ME0Chamber::layers(), LogDebug, GeomDet::position(), GeomDet::toLocal(), and PV3DBase< T, PVType, FrameType >::z().
void ME0SegmentBuilder::setGeometry | ( | const ME0Geometry * | g | ) |
Cache pointer to geometry for current event
Definition at line 85 of file ME0SegmentBuilder.cc.
References relativeConstraints::geom, and geom_.
|
private |
Definition at line 45 of file ME0SegmentBuilder.h.
Referenced by build(), and ME0SegmentBuilder().
|
private |
Definition at line 46 of file ME0SegmentBuilder.h.
Referenced by build(), and setGeometry().