Project
Loading...
Searching...
No Matches
ClustererACTS.cxx File Reference

Implementation of the TRK cluster finder with the ACTS. More...

#include "TRKReconstruction/ClustererACTS.h"
#include "TRKBase/GeometryTGeo.h"
#include "DataFormatsITSMFT/ClusterPattern.h"
#include <Acts/Clusterization/Clusterization.hpp>
#include <algorithm>
#include <array>
#include <numeric>

Go to the source code of this file.

Classes

struct  Cell2D
 
struct  Cluster2D
 

Functions

int getCellRow (const Cell2D &cell)
 
int getCellColumn (const Cell2D &cell)
 
bool operator== (const Cell2D &left, const Cell2D &right)
 
bool cellComp (const Cell2D &left, const Cell2D &right)
 
void clusterAddCell (Cluster2D &cl, const Cell2D &cell)
 
void hash (Cluster2D &cl)
 
bool clHashComp (const Cluster2D &left, const Cluster2D &right)
 
template<typename RNG >
void 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 gencluster (int x0, int y0, int x1, int y1, RNG &rng, double startp=0.5, double decayp=0.9)
 

Detailed Description

Implementation of the TRK cluster finder with the ACTS.

Definition in file ClustererACTS.cxx.

Function Documentation

◆ cellComp()

bool cellComp ( const Cell2D left,
const Cell2D right 
)

Definition at line 49 of file ClustererACTS.cxx.

◆ clHashComp()

bool clHashComp ( const Cluster2D left,
const Cluster2D right 
)

Definition at line 73 of file ClustererACTS.cxx.

◆ clusterAddCell()

void clusterAddCell ( Cluster2D cl,
const Cell2D cell 
)

Definition at line 59 of file ClustererACTS.cxx.

◆ gencluster()

template<typename RNG >
Cluster2D gencluster ( int  x0,
int  y0,
int  x1,
int  y1,
RNG &  rng,
double  startp = 0.5,
double  decayp = 0.9 
)

Definition at line 134 of file ClustererACTS.cxx.

◆ genclusterw()

template<typename RNG >
void 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 
)

Definition at line 79 of file ClustererACTS.cxx.

◆ getCellColumn()

int getCellColumn ( const Cell2D cell)

Definition at line 39 of file ClustererACTS.cxx.

◆ getCellRow()

int getCellRow ( const Cell2D cell)

Definition at line 34 of file ClustererACTS.cxx.

◆ hash()

void hash ( Cluster2D cl)

Definition at line 64 of file ClustererACTS.cxx.

◆ operator==()

bool operator== ( const Cell2D left,
const Cell2D right 
)

Definition at line 44 of file ClustererACTS.cxx.