#include <CTPPSTimingTrackRecognition.h>
Classes | |
struct | DimensionParameters |
struct | SpatialRange |
Structure representing a 3D range in space. More... | |
Public Member Functions | |
virtual void | addHit (const HIT_TYPE &recHit)=0 |
Add new hit to the set from which the tracks are reconstructed. More... | |
virtual void | clear () |
Reset internal state of a class instance. More... | |
CTPPSTimingTrackRecognition (const edm::ParameterSet &iConfig) | |
virtual int | produceTracks (edm::DetSet< TRACK_TYPE > &tracks)=0 |
Produce a collection of tracks, given its hits collection. More... | |
virtual | ~CTPPSTimingTrackRecognition ()=default |
Protected Types | |
typedef std::vector< HIT_TYPE > | HitVector |
typedef std::unordered_map< int, HitVector > | HitVectorMap |
typedef std::vector< TRACK_TYPE > | TrackVector |
Protected Member Functions | |
SpatialRange | getHitSpatialRange (const HitVector &hits) |
void | producePartialTracks (const HitVector &hits, const DimensionParameters ¶m, float(*getHitCenter)(const HIT_TYPE &), float(*getHitRangeWidth)(const HIT_TYPE &), void(*setTrackCenter)(TRACK_TYPE &, float), void(*setTrackSigma)(TRACK_TYPE &, float), TrackVector &result) |
bool | timeEval (const HitVector &hits, float &meanTime, float &timeSigma) const |
Protected Attributes | |
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 30 of file CTPPSTimingTrackRecognition.h.
|
protected |
Definition at line 72 of file CTPPSTimingTrackRecognition.h.
|
protected |
Definition at line 73 of file CTPPSTimingTrackRecognition.h.
|
protected |
Definition at line 71 of file CTPPSTimingTrackRecognition.h.
|
inline |
Definition at line 39 of file CTPPSTimingTrackRecognition.h.
|
virtualdefault |
|
pure virtual |
Add new hit to the set from which the tracks are reconstructed.
Implemented in TotemTimingTrackRecognition, and CTPPSDiamondTrackRecognition.
|
inlinevirtual |
Reset internal state of a class instance.
Reimplemented in CTPPSDiamondTrackRecognition.
Definition at line 56 of file CTPPSTimingTrackRecognition.h.
Referenced by CTPPSDiamondTrackRecognition::clear().
|
inlineprotected |
Retrieve the bounds of a 3D range in which all hits from given collection are contained.
[in] | hits | hits collection to retrieve the range from |
Definition at line 196 of file CTPPSTimingTrackRecognition.h.
|
inlineprotected |
Produce all partial tracks from given set with regard to single dimension.
[in] | hits | vector of hits from which the tracks are created |
[in] | param | describe all parameters used by 1D track recognition algorithm |
[in] | getHitCenter | function extracting hit's center in the dimension that the partial tracks relate to |
[in] | getHitRangeWidth | analogue to getHitCenter, but extracts hit's width in specific dimension |
[in] | setTrackCenter | function used to set track's position in considered dimension |
[in] | setTrackSigma | function used to set track's sigma in considered dimension |
[out] | result | vector to which produced tracks are appended |
Definition at line 117 of file CTPPSTimingTrackRecognition.h.
|
pure virtual |
Produce a collection of tracks, given its hits collection.
Implemented in TotemTimingTrackRecognition, and CTPPSDiamondTrackRecognition.
|
inlineprotected |
Evaluate the time + associated uncertainty for a given track
Definition at line 227 of file CTPPSTimingTrackRecognition.h.
|
protected |
RecHit vectors that should be processed separately while reconstructing tracks.
Definition at line 76 of file CTPPSTimingTrackRecognition.h.
|
protected |
Definition at line 69 of file CTPPSTimingTrackRecognition.h.
Referenced by CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::CTPPSTimingTrackRecognition().
|
protected |
Definition at line 66 of file CTPPSTimingTrackRecognition.h.
|
protected |
Definition at line 67 of file CTPPSTimingTrackRecognition.h.
|
protected |
Definition at line 64 of file CTPPSTimingTrackRecognition.h.
|
protected |
Definition at line 65 of file CTPPSTimingTrackRecognition.h.
|
protected |
Definition at line 68 of file CTPPSTimingTrackRecognition.h.