Belle II Software development
StandardBinSpec.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/perigee/Phi0Rep.h>
11#include <tracking/trackFindingCDC/hough/perigee/ImpactRep.h>
12#include <tracking/trackFindingCDC/hough/perigee/CurvRep.h>
13
14namespace Belle2 {
19 namespace TrackFindingCDC {
20 namespace PerigeeBinSpec {
21
23 const int maxLevel = 13;
24
25 const int phi0Divisions = 2;
26 const int curvDivisions = 2;
27 const int impactDivisions = 2;
28
29
30 // Phi0
32
33 // Fixed implicit phi0 range
34 // const double maxPhi0 = M_PI;
35 // const double minPhi0 = -M_PI;
36
37 const int discretePhi0Overlap = 4;
38 const int discretePhi0Width = 5;
39 const int nPhi0Bins = std::pow(phi0Divisions, maxLevel);
40 const Phi0BinsSpec phi0BinsSpec(nPhi0Bins,
41 discretePhi0Overlap,
42 discretePhi0Width);
43
46
47 // const double maxCurv = 0.13;
48 const double maxCurv = 0.75;
49 const double minCurv = -0.018;
50 const double maxCurvAcceptance = 0.13;
51
52 const int discreteCurvOverlap = 4;
53 const int discreteCurvWidth = 5;
54 const int nCurvBins = std::pow(curvDivisions, maxLevel);
55 const CurvBinsSpec curvBinsSpec(minCurv,
56 maxCurv,
57 nCurvBins,
58 discreteCurvOverlap,
59 discreteCurvWidth);
60
61 // Impact parameter
63
64 const double maxImpact = 100;
65 const double minImpact = -100;
66
67 const int discreteImpactOverlap = 1;
68 const int discreteImpactWidth = 2;
69 const int nImpactBins = std::pow(impactDivisions, maxLevel);
70 const ImpactBinsSpec impactBinsSpec(minImpact,
71 maxImpact,
72 nImpactBins,
73 discreteImpactOverlap,
74 discreteImpactWidth);
75
76 // Additional parameters
77 const double curlCurv = 0.018;
78 }
79 }
81}
Abstract base class for different kinds of events.