Belle II Software development
SVDStateBasicVarSet.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9#include <tracking/trackFindingCDC/varsets/VarSet.h>
10#include <tracking/trackFindingCDC/varsets/VarNames.h>
11#include <tracking/trackFindingCDC/varsets/FixedSizeNamedFloatTuple.h>
12
13#include <tracking/ckf/svd/filters/states/BaseSVDStateFilter.h>
14#include <tracking/ckf/svd/utilities/SVDKalmanStepper.h>
15
16namespace Belle2 {
22 constexpr
23 static char const* const svdStateBasicVarNames[] = {
24 "distance",
25 "xy_distance",
26 "z_distance",
27
28 "mSoP_distance",
29 "mSoP_xy_distance",
30 "mSoP_z_distance",
31
32 "same_hemisphere",
33
34 "layer",
35 "number",
36 "ladder",
37 "sensor",
38 "segment",
39 "id",
40
41 "cluster_1_time",
42 "cluster_2_time",
43
44 "arcLengthOfHitPosition",
45 "arcLengthOfCenterPosition",
46
47 "pt",
48 "tan_lambda",
49 "phi",
50
51 "sigma_uv",
52 "residual_over_sigma",
53
54 "residual",
55
56 "chi2",
57
58 "last_layer",
59 "last_ladder",
60 "last_sensor",
61 "last_segment",
62 "last_id",
63
64 "last_cluster_1_time",
65 "last_cluster_2_time",
66 };
67
69 class SVDStateBasicVarNames : public TrackFindingCDC::VarNames<BaseSVDStateFilter::Object> {
70
71 public:
73 static const size_t nVars = TrackFindingCDC::size(svdStateBasicVarNames);
74
76 constexpr
77 static char const* getName(int iName)
78 {
79 return svdStateBasicVarNames[iName];
80 }
81 };
82
86 class SVDStateBasicVarSet : public TrackFindingCDC::VarSet<SVDStateBasicVarNames> {
87
88 public:
90 virtual bool extract(const BaseSVDStateFilter::Object* pair) override;
91
92 private:
95 };
97}
Kalman stepper implementation for the SVD CKF.
Vehicle class to transport the variable names.
static const size_t nVars
Number of variables to be generated.
static constexpr char const * getName(int iName)
Get the name of the column.
Var set used in the VXD-CDC-Merger for calculating the probability of a VXD-CDC-track match.
SVDKalmanStepper m_kalmanStepper
Kalman stepper (CKF) for SVD.
virtual bool extract(const BaseSVDStateFilter::Object *pair) override
Generate and assign the variables from the VXD-CDC-pair.
AObject Object
Type of the object to be analysed.
Definition: Filter.dcl.h:35
Class that specifies the names of the variables.
Definition: VarNames.h:21
Generic class that generates some named float values from a given object.
Definition: VarSet.h:36
static constexpr char const *const svdStateBasicVarNames[]
Names of the variables to be generated.
Abstract base class for different kinds of events.