Belle II Software  release-08-01-10
SZParameters.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 
10 #include <tracking/trackFindingCDC/geometry/UncertainParameters.h>
11 
12 namespace Belle2 {
18  namespace TrackFindingCDC {
19 
21  namespace NSZParameterIndices {
22 
24  enum ESZParameter {
26  c_TanL = 0,
27 
29  c_Z0 = 1,
30 
32  c_N = 2,
33  };
34  }
35 
37  using ESZParameter = NSZParameterIndices::ESZParameter;
38 
39  // Guard to prevent repeated template symbol emission
40  struct SZUtil;
41  extern template struct UncertainParametersUtil<SZUtil, ESZParameter>;
42 
45 
48  {
49  return ParameterVector({ -1.0, 1.0});
50  }
51  };
52 
54  using SZParameters = SZUtil::ParameterVector;
55 
57  using SZCovariance = SZUtil::CovarianceMatrix;
58 
60  using SZPrecision = SZUtil::PrecisionMatrix;
61 
63  using SZJacobian = SZUtil::JacobianMatrix;
64 
65  }
66 
68 }
A matrix implementation to be used as an interface typ through out the track finder.
Definition: PlainMatrix.h:40
ESZParameter
Enumeration to address the individual sz parameters in a vector or matrix.
Definition: SZParameters.h:24
@ c_TanL
Constant to address the tan lambda dip out of the xy plane.
Definition: SZParameters.h:26
@ c_Z0
Constant to address the z start position.
Definition: SZParameters.h:29
@ c_N
Constant for the total number of indices.
Definition: SZParameters.h:32
Abstract base class for different kinds of events.
Utility struct for functions and types related to the sz plane parameters.
Definition: SZParameters.h:44
static ParameterVector reversalSigns()
Getter for the signs which have to be applied to reverse the parameters.
Definition: SZParameters.h:47
TrackFindingCDC::CovarianceMatrix< c_N > CovarianceMatrix
The matrix type representing the covariance of the n related parameters.
TrackFindingCDC::ParameterVector< c_N > ParameterVector
The vector type representing the n related parameters.
TrackFindingCDC::JacobianMatrix< c_N > JacobianMatrix
The matrix type used to translate covariances and precisions im auto mapping of the parameter space.
TrackFindingCDC::PrecisionMatrix< c_N > PrecisionMatrix
The matrix type representing the precision of the n related parameters.