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 14 of file CTPPSDiamondTrackRecognition.cc.
|
overridevirtual |
Feed a new hit to the tracks recognition algorithm.
Implements CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >.
Definition at line 27 of file CTPPSDiamondTrackRecognition.cc.
References excludeSingleEdgeHits_, CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::hitVectorMap_, and rpcPointValidation_cfi::recHit.
|
overridevirtual |
Reset internal state of a class instance.
Reimplemented from CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >.
Definition at line 20 of file CTPPSDiamondTrackRecognition.cc.
References CTPPSTimingTrackRecognition< TRACK_TYPE, HIT_TYPE >::clear(), and mhMap_.
|
overridevirtual |
Produce a collection of tracks for the current station, given its hits collection.
Implements CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >.
Definition at line 36 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(), CTPPSTimingLocalTrack::setTime(), CTPPSTimingLocalTrack::setTimeSigma(), CTPPSTimingLocalTrack::setValid(), CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::timeEval(), CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::tolerance_, HLT_FULL_cff::track, tracks, x, and hit::x.
|
private |
Definition at line 45 of file CTPPSDiamondTrackRecognition.h.
Referenced by addHit(), and produceTracks().
|
private |
Definition at line 44 of file CTPPSDiamondTrackRecognition.h.
Referenced by clear(), and produceTracks().