#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 | |
ME0SegmentAlgorithm * | 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 12 of file ME0SegmentBuilder.cc.
References algo, reco::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 6 ME0 layers, build ME0Segment's , and fill into output collection.
Definition at line 30 of file ME0SegmentBuilder.cc.
References algo, ME0Geometry::etaPartition(), geom_, LogDebug, me0RecHits_cfi::me0RecHits, createTree::pp, and ME0SegmentAlgorithm::run().
void ME0SegmentBuilder::setGeometry | ( | const ME0Geometry * | g | ) |
Cache pointer to geometry for current event
Definition at line 78 of file ME0SegmentBuilder.cc.
References relativeConstraints::geom, and geom_.
|
private |
Definition at line 46 of file ME0SegmentBuilder.h.
Referenced by build(), ME0SegmentBuilder(), and ~ME0SegmentBuilder().
|
private |
Definition at line 47 of file ME0SegmentBuilder.h.
Referenced by build(), and setGeometry().