#include <GaussianTrackDensity.h>
Implementation of IVertexTrackDensityEstimator modeling reconstructed tracks as two-dimensional Gaussian distributions in (d0, z0) space and sampling the aggregate density distribution at user-requested points along the beam axis.
- Author
- Dave Casper dcasp.nosp@m.er@u.nosp@m.ci.ed.nosp@m.u
-
Christos Anastopoulos (Athena MT)
Definition at line 31 of file GaussianTrackDensity.h.
◆ addTracks()
Add a set of tracks to a density object.
- Parameters
-
perigeeList | Set of track parameters to add. |
density | Density object to which to add. |
Definition at line 109 of file GaussianTrackDensity.cxx.
117 density.addTrack(*(
static_cast<const Perigee*
>(iparam)),
◆ globalMaximum() [1/4]
double Trk::GaussianTrackDensity::globalMaximum |
( |
const std::vector< const Track * > & |
vectorTrk | ) |
const |
|
finaloverridevirtual |
Find position of global maximum for density function.
- Parameters
-
vectorTrk | List of input tracks. |
Definition at line 20 of file GaussianTrackDensity.cxx.
22 std::vector<const TrackParameters*> perigeeList;
23 perigeeList.reserve(vectorTrk.size());
25 for (
const Track* itrk : vectorTrk)
27 perigeeList.push_back(itrk->perigeeParameters());
◆ globalMaximum() [2/4]
double Trk::GaussianTrackDensity::globalMaximum |
( |
const std::vector< const Track * > & |
vectorTrk, |
|
|
std::unique_ptr< ITrackDensity > & |
density |
|
) |
| const |
|
finaloverridevirtual |
Find position of global maximum for density function.
- Parameters
-
vectorTrk | List of input tracks. |
density[out] | Helper to hold density results. |
Definition at line 40 of file GaussianTrackDensity.cxx.
43 std::vector<const TrackParameters*> perigeeList;
44 perigeeList.reserve(vectorTrk.size());
46 for (
const Track* itrk : vectorTrk)
48 perigeeList.push_back(itrk->perigeeParameters());
◆ globalMaximum() [3/4]
Find position of global maximum for density function.
- Parameters
-
perigeeList | List of input tracks. |
vectorTrk | List of input tracks. |
Definition at line 58 of file GaussianTrackDensity.cxx.
◆ globalMaximum() [4/4]
double Trk::GaussianTrackDensity::globalMaximum |
( |
const std::vector< const TrackParameters * > & |
perigeeList, |
|
|
std::unique_ptr< ITrackDensity > & |
density |
|
) |
| const |
|
finaloverridevirtual |
Find position of global maximum for density function.
- Parameters
-
perigeeList | List of input tracks. |
density[out] | Helper to hold density results. |
Definition at line 70 of file GaussianTrackDensity.cxx.
74 TrackDensity*
dp =
d.get();
75 density = std::move(
d);
◆ globalMaximumImpl()
Find position of global maximum for density function.
- Parameters
-
pergigeeList | List of input tracks. |
density | Helper density object. |
Definition at line 90 of file GaussianTrackDensity.cxx.
94 return density.globalMaximum ();
◆ globalMaximumWithWidth()
std::pair< double, double > Trk::GaussianTrackDensity::globalMaximumWithWidth |
( |
const std::vector< const TrackParameters * > & |
perigeeList | ) |
const |
|
finaloverridevirtual |
◆ globalMaximumWithWidthImpl()
Find position of global maximum with Gaussian width for density function.
- Parameters
-
pergigeeList | List of input tracks. |
density | Helper density object. |
Definition at line 97 of file GaussianTrackDensity.cxx.
101 return density.globalMaximumWithWidth ();
◆ m_d0MaxSignificance
Gaudi::Property<double> Trk::GaussianTrackDensity::m_d0MaxSignificance |
|
private |
Initial value:{
this,
"MaxD0Significance",
3.5,
"Maximum radial impact parameter significance to use track"
}
Definition at line 230 of file GaussianTrackDensity.h.
◆ m_gaussStep
Gaudi::Property<bool> Trk::GaussianTrackDensity::m_gaussStep |
|
private |
Initial value:{
this,
"GaussianStep",
true,
"Peak search: True means assume Gaussian behavior, False means "
"Newton/parabolic"
}
Definition at line 249 of file GaussianTrackDensity.h.
◆ m_z0MaxSignificance
Gaudi::Property<double> Trk::GaussianTrackDensity::m_z0MaxSignificance |
|
private |
Initial value:{
this,
"MaxZ0Significance",
12.0,
"Maximum longitudinal impact parameter significance to include track in "
"weight"
}
Definition at line 239 of file GaussianTrackDensity.h.
The documentation for this class was generated from the following files: