Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClusterizationTests2D.cpp File Reference
#include <boost/test/data/test_case.hpp>
#include <boost/test/unit_test.hpp>
#include "Acts/Clusterization/Clusterization.hpp"
#include <algorithm>
#include <array>
#include <cstdlib>
#include <iostream>
#include <iterator>
#include <memory>
#include <random>
#include <stdexcept>
#include <utility>
#include <vector>
#include <boost/functional/hash.hpp>
+ Include dependency graph for ClusterizationTests2D.cpp:

Go to the source code of this file.

Classes

struct  Acts::Test::Cell2D
 
struct  Acts::Test::Cluster2D
 

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 
namespace  Acts::Test
 

Typedefs

using Acts::Test::Rectangle = std::array< int, 4 >
 

Functions

std::vector< Rectangle > Acts::Test::concat (std::vector< std::vector< Rectangle >> vecs)
 
template<typename RNG >
std::vector< Rectangle > Acts::Test::segment (int x0, int y0, int x1, int y1, RNG &rng)
 
int Acts::Test::getCellRow (const Cell2D &cell)
 
int Acts::Test::getCellColumn (const Cell2D &cell)
 
Ccl::Label & Acts::Test::getCellLabel (Cell2D &cell)
 
bool Acts::Test::operator== (const Cell2D &left, const Cell2D &right)
 
bool Acts::Test::cellComp (const Cell2D &left, const Cell2D &right)
 
void Acts::Test::clusterAddCell (Cluster2D &cl, const Cell2D &cell)
 
void Acts::Test::hash (Cluster2D &cl)
 
bool Acts::Test::clHashComp (const Cluster2D &left, const Cluster2D &right)
 
template<typename RNG >
void Acts::Test::genclusterw (int x, int y, int x0, int y0, int x1, int y1, std::vector< Cell2D > &cells, RNG &rng, double startp=0.5, double decayp=0.9)
 
template<typename RNG >
Cluster2D Acts::Test::gencluster (int x0, int y0, int x1, int y1, RNG &rng, double startp=0.5, double decayp=0.9)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (Grid_2D_rand)