ATLAS Offline Software
Static Public Attributes | List of all members
xAOD::AFPClusterAlgID Class Reference

Helper class to store ID numbers of pixel clustering algorithm. More...

#include <AFPClusterAlgID.h>

Collaboration diagram for xAOD::AFPClusterAlgID:

Static Public Attributes

static const int singleHit = 0
 Single hit algorithm. More...
 
static const int nearestNeighbour = 1
 Nearest neighbour algorithm. More...
 
static const int allNeighbours = 2
 All neighbours algorithm. More...
 

Detailed Description

Helper class to store ID numbers of pixel clustering algorithm.

This class contains public static const variables which can be used instead of raw numbers for refering to algorithms used for clustering pixels. Enum is not used to allow adding new numbers without the need of modifying the header file.

An example of usage

xAOD::AFPSiHitsCluter* cluster;
if (cluster->clusterAlgID() == xAOD::AFPClusterAlgID::singleHit) {
// do something if clustering single hit algorithm was used
}

Algorithms indexing follows the scheme

Station ID variable name Algorithm Name Comment
0 singleHit Single hit No clustering - each hit creates a separate cluster
1 nearestNeighbour Nearest neighbour Pairs of adjacent pixels are combined in a cluster
2 allNeighbours All neighbours All adjacent pixels are combined in a cluster

Definition at line 45 of file AFPClusterAlgID.h.

Member Data Documentation

◆ allNeighbours

const int xAOD::AFPClusterAlgID::allNeighbours = 2
static

All neighbours algorithm.

Definition at line 50 of file AFPClusterAlgID.h.

◆ nearestNeighbour

const int xAOD::AFPClusterAlgID::nearestNeighbour = 1
static

Nearest neighbour algorithm.

Definition at line 49 of file AFPClusterAlgID.h.

◆ singleHit

const int xAOD::AFPClusterAlgID::singleHit = 0
static

Single hit algorithm.

Definition at line 48 of file AFPClusterAlgID.h.


The documentation for this class was generated from the following files:
xAOD::AFPClusterAlgID::singleHit
static const int singleHit
Single hit algorithm.
Definition: AFPClusterAlgID.h:48