Belle II Software development
Z0TanLambdaBox.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#include <tracking/trackFindingCDC/hough/boxes/Box.h>
10#include <tracking/trackFindingCDC/hough/axes/StandardAxes.h>
11
12namespace Belle2 {
17 namespace TrackFindingCDC {
19 class Z0TanLambdaBox : public Box<DiscreteZ0, DiscreteTanL> {
20
21 private:
24
25 public:
27 using Super::Super;
28
29 public:
31 float getLowerZ0() const
32 { return *(getLowerBound<DiscreteZ0>()); }
33
35 float getUpperZ0() const
36 { return *(getUpperBound<DiscreteZ0>()); }
37
39 float getLowerTanLambda() const
40 { return *(getLowerBound<DiscreteTanL>()); }
41
43 float getUpperTanLambda() const
44 { return *(getUpperBound<DiscreteTanL>()); }
45
46 //FIXME this interface should not be here, but we need a generically named getter
48 float getLowerX() const
49 { return getLowerZ0(); }
50
52 float getUpperX() const
53 { return getUpperZ0(); }
54
56 float getLowerY() const
57 { return getLowerTanLambda(); }
58
60 float getUpperY() const
61 { return getUpperTanLambda(); }
62 };
63 }
65}
The base class for all boxes.
Definition: Box.h:33
A rectangular domain for the hough space over phi0 and two dimensional curvature.
float getLowerX() const
Get the lower z0 bound (alias)
float getLowerTanLambda() const
Concise getter for the lower tan lambda bound.
float getUpperZ0() const
Concise getter for the upper z0 bound.
float getLowerZ0() const
Concise getter for the lower z0 bound.
float getUpperY() const
Get the upper tanlambda bound (alias)
float getLowerY() const
Get the lower tanlambda bound (alias)
float getUpperX() const
Get the upper z0 bound (alias)
float getUpperTanLambda() const
Concise getter for the upper tan lambda bound.
Abstract base class for different kinds of events.