Belle II Software  release-08-01-10
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 
14 using namespace Belle2;
15 using namespace TrackFindingCDC;
16 
17 std::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...
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
Abstract base class for different kinds of events.