9#include <tracking/trackFindingCDC/hough/perigee/Phi0Rep.h>
10#include <tracking/trackFindingCDC/hough/perigee/CurvRep.h>
11#include <tracking/trackFindingCDC/hough/boxes/Box.h>
13#include <gtest/gtest.h>
16using namespace TrackFindingCDC;
20 TEST(TrackFindingCDCTest, hough_perigee_getCurvBounds)
29 EXPECT_EQ(2.0, getLowerCurv(phi0DiscreteCurvBox));
30 EXPECT_EQ(4.0, getUpperCurv(phi0DiscreteCurvBox));
35 EXPECT_EQ(2.0, getLowerCurv(phi0ContinuousCurvBox));
36 EXPECT_EQ(4.0, getUpperCurv(phi0ContinuousCurvBox));
41 EXPECT_EQ(0.0, getLowerCurv(phi0Box));
42 EXPECT_EQ(0.0, getUpperCurv(phi0Box));
The base class for all boxes.
std::array< T, 2 > Array
Mock array type to be a drop in replacement for the discrete values.
static std::array< This, 2 > getRange(const Array &bounds)
Extract the range from an array providing the discrete values.
static std::array< This, 2 > getRange(Array &values)
Extract the range from an array providing the discrete values.
std::vector< T > Array
The type of the array which contains the underlying values.
Abstract base class for different kinds of events.