#include <CrossingPtBasedLinearizationPointFinder.h>
Classes | |
struct | CompareTwoTracks |
Public Member Functions | |
virtual CrossingPtBasedLinearizationPointFinder * | clone () const |
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 &) | |
virtual GlobalPoint | getLinearizationPoint (const std::vector< reco::TransientTrack > &) const |
virtual GlobalPoint | getLinearizationPoint (const std::vector< FreeTrajectoryState > &) const |
~CrossingPtBasedLinearizationPointFinder () | |
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().
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.
CrossingPtBasedLinearizationPointFinder::CrossingPtBasedLinearizationPointFinder | ( | const CrossingPtBasedLinearizationPointFinder & | o | ) |
Definition at line 120 of file CrossingPtBasedLinearizationPointFinder.cc.
CrossingPtBasedLinearizationPointFinder::~CrossingPtBasedLinearizationPointFinder | ( | ) |
Definition at line 126 of file CrossingPtBasedLinearizationPointFinder.cc.
References theAlgo.
|
inlinevirtual |
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, and runTheMatrix::ret.
Referenced by getLinearizationPoint(), useAllTracks(), and useFullMatrix().
|
private |
Definition at line 131 of file CrossingPtBasedLinearizationPointFinder.cc.
References theNPairs, and testEve_cfg::tracks.
Referenced by getLinearizationPoint().
|
virtual |
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(), TwoTrackMinimumDistance::points(), RPCpg::pts, mps_update::status, theMatrix, theNPairs, useAllTracks(), useFullMatrix(), useMatrix, and findQualityFiles::v.
|
virtual |
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().
|
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().
|
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().