Template Class ZScanVertexFinder¶
Defined in File ZScanVertexFinder.hpp
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
template<typename
vfitter_t
>
classActs
::
ZScanVertexFinder
¶ Implements a vertex finder based on the mode of z0 values:
Determines the mode value of all input track z0 values
If no contraint is given, returns (0,0, z0_mode) as vertex position
If vertex contraint is given with x=x_constr and y=y_constr, the returned vertex position will be (x_constr, y_constr, z0_mode).
Public Functions
-
template<typename
T
= InputTrack_t, std::enable_if_t<std::is_same<T, BoundTrackParameters>::value, int> = 0>ZScanVertexFinder
(const Config &cfg, std::unique_ptr<const Logger> logger = getDefaultLogger("ZScanVertexFinder", Logging::INFO))¶ Constructor used if InputTrack_t type == BoundTrackParameters.
- Parameters
cfg
: Configuration objectlogger
: The logging instance
-
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 objectfunc
: Function extracting BoundTrackParameters from InputTrack_t objectlogger
: 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.
- Return
Vector of vertices, filled with a single vertex (for consistent interfaces)
- Parameters
trackVector
: Input track collectionvertexingOptions
: Vertexing optionsstate
: State for fulfilling correct interface
-
struct
Config
¶ Public Functions
-
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
minWeight
= 0.01¶
-
FsmwMode1dFinder
mode1dFinder
¶
-
bool
useLogPt
= true¶
-
bool
usePt
= false¶
-
-
struct
State
¶ for fulfilling interface