Belle II Software  release-05-01-25
Phi0Rep.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 {
20 
22  class Phi0BinsSpec {
23  public:
28  Phi0BinsSpec(long nBins, int nOverlap, int nWidth);
29 
32 
34  long getNPositions() const;
35 
40  double getBinWidth() const;
41 
46  double getOverlap() const;
47 
49  int getNOverlap() const
50  {
51  return m_nOverlap;
52  }
53 
54  private:
56  long m_nBins;
57 
59  int m_nOverlap = 1;
60 
62  int m_nWidth = 3;
63  };
64  }
66 }
Belle2::TrackFindingCDC::Phi0BinsSpec::getNOverlap
int getNOverlap() const
Getter for the overlap in discrete number of positions.
Definition: Phi0Rep.h:57
Belle2::TrackFindingCDC::Phi0BinsSpec::m_nWidth
int m_nWidth
Width of the leaves at the maximal level in phi0 counted in number of discrete values.
Definition: Phi0Rep.h:70
Belle2::TrackFindingCDC::Phi0BinsSpec::getBinWidth
double getBinWidth() const
Getter for the bin width in real phi0 to investigate the value that results from the discrete overlap...
Definition: Phi0Rep.cc:41
Belle2::TrackFindingCDC::Phi0BinsSpec::m_nOverlap
int m_nOverlap
Overlap of the leaves in phi0 counted in number of discrete values.
Definition: Phi0Rep.h:67
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::Phi0BinsSpec::getNPositions
long getNPositions() const
Getter for the number of bounds.
Definition: Phi0Rep.cc:35
Belle2::TrackFindingCDC::Phi0BinsSpec::constructArray
DiscretePhi0::Array constructArray() const
Constuct the array of discrete phi0 positions.
Definition: Phi0Rep.cc:25
Belle2::TrackFindingCDC::Phi0BinsSpec::m_nBins
long m_nBins
Number of accessable bins.
Definition: Phi0Rep.h:64
Belle2::TrackFindingCDC::Phi0BinsSpec::getOverlap
double getOverlap() const
Getter for the overlap in real phi0 to investigate the value that results from the discrete overlap s...
Definition: Phi0Rep.cc:46
Belle2::TrackFindingCDC::Phi0BinsSpec::Phi0BinsSpec
Phi0BinsSpec(long nBins, int nOverlap, int nWidth)
Constructor from fixed number of accessable bins and overlap specification in discrete number of posi...
Definition: Phi0Rep.cc:17
Belle2::TrackFindingCDC::DiscreteValue::Array
std::vector< T > Array
The type of the array which contains the underlying values.
Definition: DiscreteValue.h:65