Belle II Software development
UncertainSZLine.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/geometry/UncertainSZLine.h>
9
10#include <tracking/trackFindingCDC/geometry/SZLine.h>
11
12#include <ostream>
13
14using namespace Belle2;
15using namespace TrackFindingCDC;
16
17std::ostream& TrackFindingCDC::operator<<(std::ostream& output, const UncertainSZLine& uncertainSZLine)
18{
19 return output << "UncertainSZLine("
20 << "tanL=" << uncertainSZLine->slope() << ","
21 << "z0=" << uncertainSZLine->intercept() << ")";
22}
double slope() const
Getter for the slope in the sz space which is equivalent to tan lambda.
Definition: SZLine.h:58
double intercept() const
Getter for the intercept in the sz space which is equivalent to z0.
Definition: SZLine.h:88
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.