Belle II Software  release-05-01-25
CDCTrajectorySZ.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2012 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #include <tracking/trackFindingCDC/eventdata/trajectories/CDCTrajectorySZ.h>
11 
12 #include <tracking/trackFindingCDC/geometry/SZParameters.h>
13 
14 using namespace Belle2;
15 using namespace TrackFindingCDC;
16 
18 {
19  // Dummy error estimates
20  SZCovariance szCovariance;
21  using namespace NSZParameterIndices;
22  szCovariance(c_TanL, c_TanL) = 2.0; // Error in pz double the error in pt, good estimate?
23  szCovariance(c_Z0, c_TanL) = 0.0;
24  szCovariance(c_TanL, c_Z0) = 0.0;
25  szCovariance(c_Z0, c_Z0) = 2.0;
26  return szCovariance;
27 }
28 
30 {
31  // A dummy line with no increasing z coordinate
32  double tanLambda = 0.0;
33  double z0 = 0.0;
34  SZCovariance szCovariance = getBasicSZCovariance();
35  UncertainSZLine uncertainSZLine(tanLambda, z0, szCovariance);
36  CDCTrajectorySZ trajectorySZ(uncertainSZLine);
37  return trajectorySZ;
38 }
Belle2::TrackFindingCDC::UncertainSZLine
A line in sz where s is the transverse travel distance as seen in the xy projection with uncertaintie...
Definition: UncertainSZLine.h:38
Belle2::TrackFindingCDC::CDCTrajectorySZ::basicAssumption
static CDCTrajectorySZ basicAssumption()
Constucts a basic assumption, what the z0 start position and the sz slope are, including some broad v...
Definition: CDCTrajectorySZ.cc:29
Belle2::TrackFindingCDC::CDCTrajectorySZ::getBasicSZCovariance
static SZCovariance getBasicSZCovariance()
Getter for a default assumption about the parameter covariances.
Definition: CDCTrajectorySZ.cc:17
Belle2::TrackFindingCDC::CDCTrajectorySZ
Linear trajectory in sz space.
Definition: CDCTrajectorySZ.h:41
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::PlainMatrix
A matrix implementation to be used as an interface typ through out the track finder.
Definition: PlainMatrix.h:50