#include <CSCRecHitDBuilder.h>
Public Member Functions | |
void | build (const CSCStripDigiCollection *stripds, const CSCWireDigiCollection *wireds, CSCRecHit2DCollection &oc) |
CSCRecHitDBuilder (const edm::ParameterSet &ps) | |
const CSCLayer * | getLayer (const CSCDetId &detId) |
void | setConditions (CSCRecoConditions *reco) |
void | setGeometry (const CSCGeometry *geom) |
~CSCRecHitDBuilder () | |
Private Attributes | |
const CSCGeometry * | geom_ |
CSCHitFromStripOnly * | hitsFromStripOnly_ |
CSCHitFromWireOnly * | hitsFromWireOnly_ |
CSCMake2DRecHit * | make2DHits_ |
bool | makePseudo2DHits |
CSCRecoConditions * | recoConditions_ |
int | stripWireDeltaT |
bool | useCalib |
Algorithm to build 2-D RecHit from wire and strip digis in endcap muon CSCs by implementing a 'build' function required by CSCRecHitDProducer.
The builder goes through many stages before building 2-D hits: 1) It finds wire clusters and form wire hits which it stores in CSCWireHit. 2) From these wire hits, it builds pseudo-wire segments to clean up the wire hit collection from noisy hits. Only the hits falling on the segment or far away from existing segments are retained. 1) It then finds strip cluster and hits which it stores in CSCStripHit. 2) Similary to the wire hits, segments are build using the strip hits. Because of the trapezoidal geometry of the strips, all strip hits falling close to the pseudo-strip segments are retained.
Definition at line 39 of file CSCRecHitDBuilder.h.
|
explicit |
Configure the algorithm via ctor. Receives ParameterSet percolated down from EDProducer which owns this Builder.
Definition at line 30 of file CSCRecHitDBuilder.cc.
References edm::ParameterSet::getParameter(), hitsFromStripOnly_, hitsFromWireOnly_, make2DHits_, stripWireDeltaT, and useCalib.
CSCRecHitDBuilder::~CSCRecHitDBuilder | ( | ) |
Definition at line 43 of file CSCRecHitDBuilder.cc.
References hitsFromStripOnly_, hitsFromWireOnly_, and make2DHits_.
void CSCRecHitDBuilder::build | ( | const CSCStripDigiCollection * | stripds, |
const CSCWireDigiCollection * | wireds, | ||
CSCRecHit2DCollection & | oc | ||
) |
Find digis in each CSCLayer, build strip and wire proto-hits in each layer from which pseudo-segments are build to select hits. Then, strip/wire hits are combined to form 2-D hits, whereas remaining "good" strip and wire only hits are also stored into output collection.
Definition at line 50 of file CSCRecHitDBuilder.cc.
References CSCDetId::chamber(), Reference_intrackfit_cff::endcap, CSCDetId::endcap(), edm::hlt::Exception, CSCRecoConditions::fillBadChannelWords(), geom_, getLayer(), CSCMake2DRecHit::hitFromStripAndWire(), hitsFromStripOnly_, hitsFromWireOnly_, CSCMake2DRecHit::isHitInFiducial(), CSCDetId::layer(), LogTrace, make2DHits_, recoConditions_, CSCDetId::ring(), CSCHitFromStripOnly::runStrip(), CSCHitFromWireOnly::runWire(), and CSCDetId::station().
Referenced by CSCRecHitDProducer::produce().
Definition at line 167 of file CSCRecHitDBuilder.cc.
References geom_, and CSCGeometry::layer().
Referenced by build().
void CSCRecHitDBuilder::setConditions | ( | CSCRecoConditions * | reco | ) |
Pass conditions downstream
Definition at line 172 of file CSCRecHitDBuilder.cc.
References hitsFromStripOnly_, hitsFromWireOnly_, make2DHits_, dt_dqm_sourceclient_common_cff::reco, recoConditions_, CSCMake2DRecHit::setConditions(), CSCHitFromStripOnly::setConditions(), and CSCHitFromWireOnly::setConditions().
Referenced by CSCRecHitDProducer::CSCRecHitDProducer().
|
inline |
Cache pointer to geometry so it can be passed downstream
Definition at line 65 of file CSCRecHitDBuilder.h.
References relativeConstraints::geom, and geom_.
Referenced by CSCRecHitDProducer::produce().
|
private |
Definition at line 94 of file CSCRecHitDBuilder.h.
Referenced by build(), getLayer(), and setGeometry().
|
private |
The Program first constructs proto wire/strip hits which it stores in a special collection. Proto strip/wire segments are then build from these hits and allow to clean up up the list of hits.
Definition at line 86 of file CSCRecHitDBuilder.h.
Referenced by build(), CSCRecHitDBuilder(), setConditions(), and ~CSCRecHitDBuilder().
|
private |
Definition at line 87 of file CSCRecHitDBuilder.h.
Referenced by build(), CSCRecHitDBuilder(), setConditions(), and ~CSCRecHitDBuilder().
|
private |
Definition at line 89 of file CSCRecHitDBuilder.h.
Referenced by build(), CSCRecHitDBuilder(), setConditions(), and ~CSCRecHitDBuilder().
|
private |
Definition at line 79 of file CSCRecHitDBuilder.h.
|
private |
Definition at line 98 of file CSCRecHitDBuilder.h.
Referenced by build(), and setConditions().
|
private |
Definition at line 78 of file CSCRecHitDBuilder.h.
Referenced by CSCRecHitDBuilder().
|
private |
Definition at line 77 of file CSCRecHitDBuilder.h.
Referenced by CSCRecHitDBuilder().