#include <CrossingPtBasedLinearizationPointFinder.h>
Classes | |
struct | CompareTwoTracks |
Public Member Functions | |
CrossingPtBasedLinearizationPointFinder * | clone () const override |
CrossingPtBasedLinearizationPointFinder (const ModeFinder3d &algo, const signed int n_pairs=5) | |
CrossingPtBasedLinearizationPointFinder (const RecTracksDistanceMatrix *m, const ModeFinder3d &algo, const signed int n_pairs=-1) | |
CrossingPtBasedLinearizationPointFinder (const CrossingPtBasedLinearizationPointFinder &) | |
GlobalPoint | getLinearizationPoint (const std::vector< reco::TransientTrack > &) const override |
GlobalPoint | getLinearizationPoint (const std::vector< FreeTrajectoryState > &) 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 |
||
) |
n_pairs | how many track pairs will be considered (maximum) a value of -1 means full combinatorics. |
Definition at line 106 of file CrossingPtBasedLinearizationPointFinder.cc.
Referenced by clone(), and CrossingPtBasedLinearizationPointFinder().
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 112 of file CrossingPtBasedLinearizationPointFinder.cc.
References CrossingPtBasedLinearizationPointFinder().
CrossingPtBasedLinearizationPointFinder::CrossingPtBasedLinearizationPointFinder | ( | const CrossingPtBasedLinearizationPointFinder & | o | ) |
Definition at line 120 of file CrossingPtBasedLinearizationPointFinder.cc.
|
override |
Definition at line 126 of file CrossingPtBasedLinearizationPointFinder.cc.
References theAlgo.
|
inlineoverridevirtual |
Clone method
Implements LinearizationPointFinder.
Reimplemented in FsmwLinearizationPointFinder, SMSLinearizationPointFinder, HSMLinearizationPointFinder, LMSLinearizationPointFinder, and SubsetHSMLinearizationPointFinder.
Definition at line 55 of file CrossingPtBasedLinearizationPointFinder.h.
References CrossingPtBasedLinearizationPointFinder().
|
private |
calls (*theAglo) (input) can optionally save input / output in .root file
Definition at line 216 of file CrossingPtBasedLinearizationPointFinder.cc.
References input.
Referenced by getLinearizationPoint(), useAllTracks(), and useFullMatrix().
|
private |
Definition at line 131 of file CrossingPtBasedLinearizationPointFinder.cc.
References createfilelist::int, theNPairs, and l1t::tracks.
Referenced by getLinearizationPoint(), and CrossingPtBasedLinearizationPointFinder::CompareTwoTracks::operator()().
|
overridevirtual |
Method giving back the Initial Linearization Point.
Implements LinearizationPointFinder.
Definition at line 231 of file CrossingPtBasedLinearizationPointFinder.cc.
References TwoTrackMinimumDistance::calculate(), RecTracksDistanceMatrix::crossingPoint(), dir, RecTracksDistanceMatrix::distance(), find(), getBestTracks(), FallbackLinearizationPointFinder::getLinearizationPoint(), reco::TransientTrack::impactPointState(), createfilelist::int, TwoTrackMinimumDistance::points(), RPCpg::pts, mps_update::status, theMatrix, theNPairs, useAllTracks(), useFullMatrix(), useMatrix, and findQualityFiles::v.
|
overridevirtual |
Reimplemented from LinearizationPointFinder.
Definition at line 210 of file CrossingPtBasedLinearizationPointFinder.cc.
References LinearizationPointFinder::getLinearizationPoint().
|
private |
Definition at line 154 of file CrossingPtBasedLinearizationPointFinder.cc.
References TwoTrackMinimumDistance::calculate(), end, find(), FallbackLinearizationPointFinder::getLinearizationPoint(), TwoTrackMinimumDistance::points(), RPCpg::pts, mps_update::status, findQualityFiles::v, x, and y.
Referenced by getLinearizationPoint(), and CrossingPtBasedLinearizationPointFinder::CompareTwoTracks::operator()().
|
private |
Definition at line 185 of file CrossingPtBasedLinearizationPointFinder.cc.
References RecTracksDistanceMatrix::crossingPoint(), RecTracksDistanceMatrix::distance(), end, find(), FallbackLinearizationPointFinder::getLinearizationPoint(), theMatrix, findQualityFiles::v, x, and y.
Referenced by getLinearizationPoint(), and CrossingPtBasedLinearizationPointFinder::CompareTwoTracks::operator()().
|
private |
Definition at line 68 of file CrossingPtBasedLinearizationPointFinder.h.
Referenced by ~CrossingPtBasedLinearizationPointFinder().
|
protected |
Definition at line 61 of file CrossingPtBasedLinearizationPointFinder.h.
Referenced by getLinearizationPoint(), and useFullMatrix().
|
protected |
Definition at line 60 of file CrossingPtBasedLinearizationPointFinder.h.
Referenced by getBestTracks(), and getLinearizationPoint().
|
protected |
Definition at line 57 of file CrossingPtBasedLinearizationPointFinder.h.
Referenced by getLinearizationPoint().