Belle II Software  release-05-01-25
Z0TanLambdaBox.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun, Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 #include <tracking/trackFindingCDC/hough/boxes/Box.h>
12 #include <tracking/trackFindingCDC/hough/axes/StandardAxes.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
21  class Z0TanLambdaBox : public Box<DiscreteZ0, DiscreteTanL> {
22 
23  private:
25  using Super = Box<DiscreteZ0, DiscreteTanL>;
26 
27  public:
29  using Super::Super;
30 
31  public:
33  float getLowerZ0() const
34  { return *(getLowerBound<DiscreteZ0>()); }
35 
37  float getUpperZ0() const
38  { return *(getUpperBound<DiscreteZ0>()); }
39 
41  float getLowerTanLambda() const
42  { return *(getLowerBound<DiscreteTanL>()); }
43 
45  float getUpperTanLambda() const
46  { return *(getUpperBound<DiscreteTanL>()); }
47 
48  //FIXME this interface should not be here, but we need a generically named getter
50  float getLowerX() const
51  { return getLowerZ0(); }
52 
54  float getUpperX() const
55  { return getUpperZ0(); }
56 
58  float getLowerY() const
59  { return getLowerTanLambda(); }
60 
62  float getUpperY() const
63  { return getUpperTanLambda(); }
64  };
65  }
67 }
Belle2::TrackFindingCDC::Z0TanLambdaBox::getLowerX
float getLowerX() const
Get the lower z0 bound (alias)
Definition: Z0TanLambdaBox.h:58
Belle2::TrackFindingCDC::Z0TanLambdaBox::getLowerTanLambda
float getLowerTanLambda() const
Concise getter for the lower tan lambda bound.
Definition: Z0TanLambdaBox.h:49
Belle2::TrackFindingCDC::Z0TanLambdaBox::getLowerY
float getLowerY() const
Get the lower tanlambda bound (alias)
Definition: Z0TanLambdaBox.h:66
Belle2::TrackFindingCDC::Z0TanLambdaBox::Super
Box< DiscreteZ0, DiscreteTanL > Super
Type of the base class.
Definition: Z0TanLambdaBox.h:33
Belle2::TrackFindingCDC::Z0TanLambdaBox::getUpperY
float getUpperY() const
Get the upper tanlambda bound (alias)
Definition: Z0TanLambdaBox.h:70
Belle2::TrackFindingCDC::Z0TanLambdaBox::getUpperZ0
float getUpperZ0() const
Concise getter for the upper z0 bound.
Definition: Z0TanLambdaBox.h:45
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::Z0TanLambdaBox::getLowerZ0
float getLowerZ0() const
Concise getter for the lower z0 bound.
Definition: Z0TanLambdaBox.h:41
Belle2::TrackFindingCDC::Z0TanLambdaBox::getUpperX
float getUpperX() const
Get the upper z0 bound (alias)
Definition: Z0TanLambdaBox.h:62
Belle2::TrackFindingCDC::Z0TanLambdaBox::getUpperTanLambda
float getUpperTanLambda() const
Concise getter for the upper tan lambda bound.
Definition: Z0TanLambdaBox.h:53