Belle II Software development
CDCTrajectorySZ.cc
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#include <tracking/trackFindingCDC/eventdata/trajectories/CDCTrajectorySZ.h>
9
10#include <tracking/trackFindingCDC/geometry/SZParameters.h>
11
12using namespace Belle2;
13using namespace TrackFindingCDC;
14
16{
17 // Dummy error estimates
18 SZCovariance szCovariance;
19 using namespace NSZParameterIndices;
20 szCovariance(c_TanL, c_TanL) = 2.0; // Error in pz double the error in pt, good estimate?
21 szCovariance(c_Z0, c_TanL) = 0.0;
22 szCovariance(c_TanL, c_Z0) = 0.0;
23 szCovariance(c_Z0, c_Z0) = 2.0;
24 return szCovariance;
25}
26
28{
29 // A dummy line with no increasing z coordinate
30 double tanLambda = 0.0;
31 double z0 = 0.0;
32 SZCovariance szCovariance = getBasicSZCovariance();
33 UncertainSZLine uncertainSZLine(tanLambda, z0, szCovariance);
34 CDCTrajectorySZ trajectorySZ(uncertainSZLine);
35 return trajectorySZ;
36}
Linear trajectory in sz space.
static CDCTrajectorySZ basicAssumption()
Constucts a basic assumption, what the z0 start position and the sz slope are, including some broad v...
static SZCovariance getBasicSZCovariance()
Getter for a default assumption about the parameter covariances.
A matrix implementation to be used as an interface typ through out the track finder.
Definition: PlainMatrix.h:40
A line in sz where s is the transverse travel distance as seen in the xy projection with uncertaintie...
Abstract base class for different kinds of events.