#include <CrossingPtBasedLinearizationPointFinder.h>
Classes | |
struct | CompareTwoTracks |
Public Member Functions | |
CrossingPtBasedLinearizationPointFinder * | clone () const override |
CrossingPtBasedLinearizationPointFinder (const CrossingPtBasedLinearizationPointFinder &) | |
CrossingPtBasedLinearizationPointFinder (const ModeFinder3d &algo, const signed int n_pairs=5) | |
CrossingPtBasedLinearizationPointFinder (const RecTracksDistanceMatrix *m, const ModeFinder3d &algo, const signed int n_pairs=-1) | |
GlobalPoint | getLinearizationPoint (const std::vector< FreeTrajectoryState > &) const override |
GlobalPoint | getLinearizationPoint (const std::vector< reco::TransientTrack > &) const override |
~CrossingPtBasedLinearizationPointFinder () override | |
Public Member Functions inherited from LinearizationPointFinder | |
virtual | ~LinearizationPointFinder () |
Protected Attributes | |
const RecTracksDistanceMatrix * | theMatrix |
signed int | theNPairs |
const bool | useMatrix |
Private Member Functions | |
GlobalPoint | find (const std::vector< std::pair< GlobalPoint, float > > &) const |
std::vector< reco::TransientTrack > | getBestTracks (const std::vector< reco::TransientTrack > &) const |
GlobalPoint | useAllTracks (const std::vector< reco::TransientTrack > &) const |
GlobalPoint | useFullMatrix (const std::vector< reco::TransientTrack > &) const |
Private Attributes | |
ModeFinder3d * | theAlgo |
A linearization point finder. It works the following way:
Definition at line 26 of file CrossingPtBasedLinearizationPointFinder.h.
CrossingPtBasedLinearizationPointFinder::CrossingPtBasedLinearizationPointFinder | ( | const ModeFinder3d & | algo, |
const signed int | n_pairs = 5 |
||
) |
CrossingPtBasedLinearizationPointFinder::CrossingPtBasedLinearizationPointFinder | ( | const RecTracksDistanceMatrix * | m, |
const ModeFinder3d & | algo, | ||
const signed int | n_pairs = -1 |
||
) |
This constructor exploits the information stored in a RecTracksDistanceMatrix object.
n_pairs | how many track pairs will be considered (maximum) a value of -1 means full combinatorics. |
Definition at line 95 of file CrossingPtBasedLinearizationPointFinder.cc.
CrossingPtBasedLinearizationPointFinder::CrossingPtBasedLinearizationPointFinder | ( | const CrossingPtBasedLinearizationPointFinder & | o | ) |
|
override |
|
inlineoverridevirtual |
Clone method
Implements LinearizationPointFinder.
Reimplemented in FsmwLinearizationPointFinder, SMSLinearizationPointFinder, HSMLinearizationPointFinder, LMSLinearizationPointFinder, and SubsetHSMLinearizationPointFinder.
Definition at line 52 of file CrossingPtBasedLinearizationPointFinder.h.
References CrossingPtBasedLinearizationPointFinder().
|
private |
calls (*theAglo) (input) can optionally save input / output in .root file
Definition at line 178 of file CrossingPtBasedLinearizationPointFinder.cc.
References input, and runTheMatrix::ret.
Referenced by getLinearizationPoint(), useAllTracks(), and useFullMatrix().
|
private |
Definition at line 109 of file CrossingPtBasedLinearizationPointFinder.cc.
References createfilelist::int, theNPairs, and tracks.
Referenced by getLinearizationPoint().
|
overridevirtual |
Reimplemented from LinearizationPointFinder.
Definition at line 173 of file CrossingPtBasedLinearizationPointFinder.cc.
References LinearizationPointFinder::getLinearizationPoint(), and tracks.
|
overridevirtual |
Method giving back the Initial Linearization Point.
Implements LinearizationPointFinder.
Definition at line 191 of file CrossingPtBasedLinearizationPointFinder.cc.
References TwoTrackMinimumDistance::calculate(), RecTracksDistanceMatrix::crossingPoint(), DeadROC_duringRun::dir, RecTracksDistanceMatrix::distance(), find(), getBestTracks(), FallbackLinearizationPointFinder::getLinearizationPoint(), reco::TransientTrack::impactPointState(), createfilelist::int, TwoTrackMinimumDistance::points(), RPCpg::pts, mps_update::status, theMatrix, theNPairs, tracks, useAllTracks(), useFullMatrix(), useMatrix, and findQualityFiles::v.
|
private |
Definition at line 131 of file CrossingPtBasedLinearizationPointFinder.cc.
References TwoTrackMinimumDistance::calculate(), mps_fire::end, find(), FallbackLinearizationPointFinder::getLinearizationPoint(), TwoTrackMinimumDistance::points(), RPCpg::pts, mps_update::status, tracks, findQualityFiles::v, x, and y.
Referenced by getLinearizationPoint().
|
private |
Definition at line 155 of file CrossingPtBasedLinearizationPointFinder.cc.
References RecTracksDistanceMatrix::crossingPoint(), RecTracksDistanceMatrix::distance(), mps_fire::end, find(), FallbackLinearizationPointFinder::getLinearizationPoint(), theMatrix, tracks, findQualityFiles::v, x, and y.
Referenced by getLinearizationPoint().
|
private |
Definition at line 67 of file CrossingPtBasedLinearizationPointFinder.h.
Referenced by ~CrossingPtBasedLinearizationPointFinder().
|
protected |
Definition at line 59 of file CrossingPtBasedLinearizationPointFinder.h.
Referenced by getLinearizationPoint(), and useFullMatrix().
|
protected |
Definition at line 58 of file CrossingPtBasedLinearizationPointFinder.h.
Referenced by getBestTracks(), and getLinearizationPoint().
|
protected |
Definition at line 54 of file CrossingPtBasedLinearizationPointFinder.h.
Referenced by getLinearizationPoint().