Belle II Software  release-05-02-19
ImpactRep.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - 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 #pragma once
11 
12 #include <tracking/trackFindingCDC/hough/axes/StandardAxes.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
21  class ImpactBinsSpec {
22  public:
35  ImpactBinsSpec(double lowerBound, double upperBound, long nBins, int nOverlap, int nWidth);
36 
39 
41  long getNPositions() const;
42 
47  double getBinWidth() const;
48 
53  double getOverlap() const;
54 
56  long getNOverlap() const
57  {
58  return m_nOverlap;
59  }
60 
61  private:
63  double m_lowerBound;
64 
66  double m_upperBound;
67 
69  long m_nBins;
70 
72  int m_nOverlap = 1;
73 
75  int m_nWidth = 3;
76  };
77  }
79 }
Belle2::TrackFindingCDC::ImpactBinsSpec::getNPositions
long getNPositions() const
Getter for the number of bounds.
Definition: ImpactRep.cc:34
Belle2::TrackFindingCDC::ImpactBinsSpec::getNOverlap
long getNOverlap() const
Getter for the overlap in discrete number of positions.
Definition: ImpactRep.h:64
Belle2::TrackFindingCDC::ImpactBinsSpec::m_nOverlap
int m_nOverlap
Overlap of the leaves in impact counted in number of discrete values.
Definition: ImpactRep.h:80
Belle2::TrackFindingCDC::ImpactBinsSpec::m_nBins
long m_nBins
Number of accessable bins.
Definition: ImpactRep.h:77
Belle2::TrackFindingCDC::ImpactBinsSpec::m_upperBound
double m_upperBound
Upper bound of the binning range.
Definition: ImpactRep.h:74
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::ImpactBinsSpec::ImpactBinsSpec
ImpactBinsSpec(double lowerBound, double upperBound, long nBins, int nOverlap, int nWidth)
Constructs a specification for equally spaced discrete impactature values with discrete overlap speci...
Definition: ImpactRep.cc:17
Belle2::TrackFindingCDC::ImpactBinsSpec::m_nWidth
int m_nWidth
Width of the leaves at the maximal level in impact counted in number of discrete values.
Definition: ImpactRep.h:83
Belle2::TrackFindingCDC::ImpactBinsSpec::getOverlap
double getOverlap() const
Getter for the overlap in real impact to investigate the value that results from the discrete overlap...
Definition: ImpactRep.cc:47
Belle2::TrackFindingCDC::ImpactBinsSpec::getBinWidth
double getBinWidth() const
Getter for the bin width in real impact to investigate the value that results from the discrete overl...
Definition: ImpactRep.cc:40
Belle2::TrackFindingCDC::ImpactBinsSpec::constructArray
DiscreteImpact::Array constructArray() const
Constuct the array of discrete impact positions.
Definition: ImpactRep.cc:28
Belle2::TrackFindingCDC::DiscreteValue::Array
std::vector< T > Array
The type of the array which contains the underlying values.
Definition: DiscreteValue.h:65
Belle2::TrackFindingCDC::ImpactBinsSpec::m_lowerBound
double m_lowerBound
Lower bound of the binning range.
Definition: ImpactRep.h:71