Belle II Software development
Phi0Rep.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
10#include <tracking/trackFindingCDC/hough/axes/StandardAxes.h>
11
12namespace Belle2 {
17 namespace TrackFindingCDC {
18
21 public:
26 Phi0BinsSpec(long nBins, int nOverlap, int nWidth);
27
30
32 long getNPositions() const;
33
38 double getBinWidth() const;
39
44 double getOverlap() const;
45
47 int getNOverlap() const
48 {
49 return m_nOverlap;
50 }
51
52 private:
54 long m_nBins;
55
57 int m_nOverlap = 1;
58
60 int m_nWidth = 3;
61 };
62 }
64}
std::vector< T > Array
The type of the array which contains the underlying values.
Definition: DiscreteValue.h:55
Strategy to construct discrete phi0 points from discrete overlap specifications.
Definition: Phi0Rep.h:20
long getNPositions() const
Getter for the number of bounds.
Definition: Phi0Rep.cc:33
int m_nOverlap
Overlap of the leaves in phi0 counted in number of discrete values.
Definition: Phi0Rep.h:57
DiscretePhi0::Array constructArray() const
Construct the array of discrete phi0 positions.
Definition: Phi0Rep.cc:23
int m_nWidth
Width of the leaves at the maximal level in phi0 counted in number of discrete values.
Definition: Phi0Rep.h:60
double getBinWidth() const
Getter for the bin width in real phi0 to investigate the value that results from the discrete overlap...
Definition: Phi0Rep.cc:39
long m_nBins
Number of accessible bins.
Definition: Phi0Rep.h:54
int getNOverlap() const
Getter for the overlap in discrete number of positions.
Definition: Phi0Rep.h:47
double getOverlap() const
Getter for the overlap in real phi0 to investigate the value that results from the discrete overlap s...
Definition: Phi0Rep.cc:44
Abstract base class for different kinds of events.