Class performing smart reconstruction for PPS Diamond Detectors. More...
#include <CTPPSDiamondTrackRecognition.h>
Public Member Functions | |
void | addHit (const CTPPSDiamondRecHit &recHit) override |
Feed a new hit to the tracks recognition algorithm. More... | |
void | clear () override |
Reset internal state of a class instance. More... | |
CTPPSDiamondTrackRecognition (const edm::ParameterSet &iConfig) | |
int | produceTracks (edm::DetSet< CTPPSDiamondLocalTrack > &tracks) override |
Produce a collection of tracks for the current station, given its hits collection. More... | |
Public Member Functions inherited from CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit > | |
CTPPSTimingTrackRecognition (const edm::ParameterSet &iConfig) | |
virtual | ~CTPPSTimingTrackRecognition ()=default |
Private Attributes | |
bool | excludeSingleEdgeHits_ |
std::unordered_map< int, int > | mhMap_ |
Additional Inherited Members | |
Protected Types inherited from CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit > | |
typedef std::vector< CTPPSDiamondRecHit > | HitVector |
typedef std::unordered_map< int, HitVector > | HitVectorMap |
typedef std::vector< CTPPSDiamondLocalTrack > | TrackVector |
Protected Member Functions inherited from CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit > | |
SpatialRange | getHitSpatialRange (const HitVector &hits) |
void | producePartialTracks (const HitVector &hits, const DimensionParameters ¶m, float(*getHitCenter)(const CTPPSDiamondRecHit &), float(*getHitRangeWidth)(const CTPPSDiamondRecHit &), void(*setTrackCenter)(CTPPSDiamondLocalTrack &, float), void(*setTrackSigma)(CTPPSDiamondLocalTrack &, float), TrackVector &result) |
bool | timeEval (const HitVector &hits, float &meanTime, float &timeSigma) const |
Protected Attributes inherited from CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit > | |
HitVectorMap | hitVectorMap_ |
RecHit vectors that should be processed separately while reconstructing tracks. More... | |
reco::FormulaEvaluator | pixelEfficiencyFunction_ |
const float | resolution_ |
const float | sigma_ |
const float | threshold_ |
const float | thresholdFromMaximum_ |
const float | tolerance_ |
Class performing smart reconstruction for PPS Diamond Detectors.
Definition at line 26 of file CTPPSDiamondTrackRecognition.h.
CTPPSDiamondTrackRecognition::CTPPSDiamondTrackRecognition | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 15 of file CTPPSDiamondTrackRecognition.cc.
|
overridevirtual |
Feed a new hit to the tracks recognition algorithm.
Implements CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >.
Definition at line 32 of file CTPPSDiamondTrackRecognition.cc.
References excludeSingleEdgeHits_, CTPPSDiamondRecHit::getOOTIndex(), CTPPSDiamondRecHit::getToT(), and CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::hitVectorMap_.
Referenced by CTPPSDiamondLocalTrackFitter::produce().
|
overridevirtual |
Reset internal state of a class instance.
Reimplemented from CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >.
Definition at line 23 of file CTPPSDiamondTrackRecognition.cc.
References CTPPSTimingTrackRecognition< TRACK_TYPE, HIT_TYPE >::clear(), and mhMap_.
Referenced by CTPPSDiamondLocalTrackFitter::produce().
|
overridevirtual |
Produce a collection of tracks for the current station, given its hits collection.
Implements CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >.
Definition at line 43 of file CTPPSDiamondTrackRecognition.cc.
References CTPPSDiamondLocalTrack::containsHit(), excludeSingleEdgeHits_, f, CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::getHitSpatialRange(), hfClusterShapes_cfi::hits, CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::hitVectorMap_, mhMap_, position, CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::producePartialTracks(), edm::DetSet< T >::push_back(), CTPPSTimingLocalTrack::setPosition(), CTPPSTimingLocalTrack::setPositionSigma(), CTPPSTimingLocalTrack::setT(), CTPPSTimingLocalTrack::setTSigma(), CTPPSTimingLocalTrack::setValid(), CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::timeEval(), CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::tolerance_, HiIsolationCommonParameters_cff::track, and x.
Referenced by CTPPSDiamondLocalTrackFitter::produce().
|
private |
Definition at line 39 of file CTPPSDiamondTrackRecognition.h.
Referenced by addHit(), and produceTracks().
|
private |
Definition at line 38 of file CTPPSDiamondTrackRecognition.h.
Referenced by clear(), and produceTracks().