File ZScanVertexFinder.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
template<typename vfitter_t>
class ZScanVertexFinder - #include <Acts/Vertexing/ZScanVertexFinder.hpp>
Implements a vertex finder based on the mode of z0 values:
Determines the mode value of all input track z0 values
If no constraint is given, returns (0,0, z0_mode) as vertex position
If vertex constraint is given with x=x_constr and y=y_constr, the returned vertex position will be (x_constr, y_constr, z0_mode).
Public Types
-
using InputTrack_t = typename vfitter_t::InputTrack_t
Public Functions
-
template<typename T = InputTrack_t, std::enable_if_t<std::is_same<T, BoundTrackParameters>::value, int> = 0>
inline ZScanVertexFinder(const Config &cfg, std::unique_ptr<const Logger> logger = getDefaultLogger("ZScanVertexFinder", Logging::INFO)) Constructor used if InputTrack_t type == BoundTrackParameters.
- Parameters
cfg – Configuration object
logger – The logging instance
-
inline ZScanVertexFinder(const Config &cfg, std::function<BoundTrackParameters(InputTrack_t)> func, std::unique_ptr<const Logger> logger = getDefaultLogger("ZScanVertexFinder", Logging::INFO))
Constructor for user-defined InputTrack_t type =! BoundTrackParameters.
- Parameters
cfg – Configuration object
func – Function extracting BoundTrackParameters from InputTrack_t object
logger – Logging instance
-
Result<std::vector<Vertex<InputTrack_t>>> find(const std::vector<const InputTrack_t*> &trackVector, const VertexingOptions<InputTrack_t> &vertexingOptions, State &state) const
Function that determines single vertex, based on z0 values of input tracks, using a Half Sample Mode algorithm.
- Parameters
trackVector – Input track collection
vertexingOptions – Vertexing options
state – State for fulfilling correct interface
- Returns
Vector of vertices, filled with a single vertex (for consistent interfaces)
Private Members
-
std::function<BoundTrackParameters(InputTrack_t)> m_extractParameters¶
Function to extract track parameters, InputTrack_t objects are BoundTrackParameters by default, function to be overwritten to return BoundTrackParameters for other InputTrack_t objects.
-
struct Config
- #include <Acts/Vertexing/ZScanVertexFinder.hpp>
Configuration struct.
Public Functions
-
inline Config(const ImpactPointEstimator<InputTrack_t, Propagator_t> &ipEst)
Finder configuration.
- Parameters
ipEst – ImpactPointEstimator
Public Members
-
float constraintcutoff = 9.
-
float constrainttemp = 1.
-
bool disableAllWeights = false
-
double expPt = 1.
-
ImpactPointEstimator<InputTrack_t, Propagator_t> ipEstimator
-
double minPt = 0.4 * UnitConstants::GeV
-
double minWeight = 0.01
-
FsmwMode1dFinder mode1dFinder
-
bool useLogPt = true
-
bool usePt = false
-
inline Config(const ImpactPointEstimator<InputTrack_t, Propagator_t> &ipEst)
-
struct State
- #include <Acts/Vertexing/ZScanVertexFinder.hpp>
State struct for fulfilling interface.
-
template<typename vfitter_t>