#include <TotemTimingTrackRecognition.h>
Public Member Functions | |
void | addHit (const TotemTimingRecHit &recHit) override |
Add new hit to the set from which the tracks are reconstructed. More... | |
int | produceTracks (edm::DetSet< TotemTimingLocalTrack > &tracks) override |
Produces a collection of tracks for the current station, given its hits collection. More... | |
TotemTimingTrackRecognition (const edm::ParameterSet &iConfig) | |
Public Member Functions inherited from CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit > | |
virtual void | clear () |
Reset internal state of a class instance. More... | |
CTPPSTimingTrackRecognition (const edm::ParameterSet &iConfig) | |
virtual | ~CTPPSTimingTrackRecognition ()=default |
Additional Inherited Members | |
Protected Types inherited from CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit > | |
typedef std::vector < TotemTimingRecHit > | HitVector |
typedef std::unordered_map < int, HitVector > | HitVectorMap |
typedef std::vector < TotemTimingLocalTrack > | TrackVector |
Protected Member Functions inherited from CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit > | |
SpatialRange | getHitSpatialRange (const HitVector &hits) |
void | producePartialTracks (const HitVector &hits, const DimensionParameters ¶m, float(*getHitCenter)(const TotemTimingRecHit &), float(*getHitRangeWidth)(const TotemTimingRecHit &), void(*setTrackCenter)(TotemTimingLocalTrack &, float), void(*setTrackSigma)(TotemTimingLocalTrack &, float), TrackVector &result) |
bool | timeEval (const HitVector &hits, float &meanTime, float &timeSigma) const |
Protected Attributes inherited from CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit > | |
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 intended to perform general CTPPS timing detectors track recognition, as well as construction of specialized classes (for now CTPPSDiamond and TotemTiming local tracks).
Definition at line 24 of file TotemTimingTrackRecognition.h.
TotemTimingTrackRecognition::TotemTimingTrackRecognition | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 15 of file TotemTimingTrackRecognition.cc.
|
overridevirtual |
Add new hit to the set from which the tracks are reconstructed.
Implements CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit >.
Definition at line 20 of file TotemTimingTrackRecognition.cc.
References CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit >::hitVectorMap_, TotemTimingRecHit::NO_T_AVAILABLE, and CTPPSTimingRecHit::time().
|
overridevirtual |
Produces a collection of tracks for the current station, given its hits collection.
Implements CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit >.
Definition at line 27 of file TotemTimingTrackRecognition.cc.
References CTPPSTimingLocalTrack::containsHit(), CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit >::getHitSpatialRange(), CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit >::hitVectorMap_, position, CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit >::producePartialTracks(), edm::DetSet< T >::push_back(), CTPPSTimingLocalTrack::setPosition(), CTPPSTimingLocalTrack::setPositionSigma(), CTPPSTimingLocalTrack::setTime(), CTPPSTimingLocalTrack::setTimeSigma(), CTPPSTimingLocalTrack::setValid(), CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit >::threshold_, CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit >::timeEval(), CTPPSTimingTrackRecognition< TotemTimingLocalTrack, TotemTimingRecHit >::tolerance_, HLT_FULL_cff::track, x, hit::x, y, and hit::y.