Belle II Software  release-08-01-10
Z0TanLambdaLegendre.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 #include <tracking/trackFindingCDC/hough/trees/DebugableSimpleBoxDivisionHoughTree.h>
10 
11 namespace Belle2 {
16  namespace TrackFindingCDC {
17 
24  template <class AHitPointerType,
25  class AHitDecisionAlgorithm,
26  size_t z0Divisions = 2,
27  size_t tanLambdaDivisions = 2>
29  AHitDecisionAlgorithm,
30  z0Divisions,
31  tanLambdaDivisions> {
32 
33  private:
35  using Super = DebugableSimpleBoxDivisionHoughTree<AHitPointerType,
36  AHitDecisionAlgorithm,
37  z0Divisions,
38  tanLambdaDivisions>;
39 
40  public:
42  using DecisionAlgorithm = AHitDecisionAlgorithm;
43 
46  : Super(140, std::tan(75.0 * M_PI / 180.0), 1, 1)
47  {
48  }
49  };
50  }
52 }
A fast hough algorithm with rectangular boxes, which are split linearly by a fixed number of division...
A convenience class for adding debug information to a Simple Hough Tree.
Hough Tree for finding StereoHits using a templated class as the item type.
AHitDecisionAlgorithm DecisionAlgorithm
typedef of the templated AHitDecisionAlgorithm; used to reach methods defined in the algorithm e....
Z0TanLambdaLegendre()
Constructor using the given maximal level setting the maximal values.
double tan(double a)
tan for double
Definition: beamHelpers.h:31
Abstract base class for different kinds of events.