Project
Loading...
Searching...
No Matches
o2::mid::PreClustersDE Class Reference

#include <PreClustersDE.h>

Classes

struct  BP
 
struct  NBP
 

Public Member Functions

NBPgetPreClusterNBP (int idx)
 Gets the pre-cluster in the NBP.
 
const NBPgetPreClusterNBP (int idx) const
 Gets the pre-cluster in the NBP (const version)
 
BPgetPreClusterBP (int icolumn, int idx)
 Gets pre-cluster in the BP.
 
const BPgetPreClusterBP (int icolumn, int idx) const
 Gets pre-cluster in the BP (const version)
 
size_t getNPreClustersNBP () const
 Gets the number of pre-clusters in the NBP.
 
size_t getNPreClustersBP (int icolumn) const
 Gets the number of pre-clusters in the BP.
 
void setDEId (uint8_t deId)
 Sets the detection element ID.
 
uint8_t getDEId () const
 Gets the detection element ID.
 
std::vector< intgetNeighbours (int icolumn, int idx) const
 
std::vector< NBP > & getPreClustersNBP ()
 Gets the vector of pre-clusters in the NBP.
 
std::vector< BP > & getPreClustersBP (int icolumn)
 Gets the vector of pre-clusters in the BP in column icolumn.
 
bool init ()
 
void reset ()
 

Detailed Description

Definition at line 32 of file PreClustersDE.h.

Member Function Documentation

◆ getDEId()

uint8_t o2::mid::PreClustersDE::getDEId ( ) const
inline

Gets the detection element ID.

Definition at line 69 of file PreClustersDE.h.

◆ getNeighbours()

std::vector< int > o2::mid::PreClustersDE::getNeighbours ( int  icolumn,
int  idx 
) const

Gets the neighbour pre-cluster in the BP in icolumn + 1

Definition at line 38 of file PreClustersDE.cxx.

◆ getNPreClustersBP()

size_t o2::mid::PreClustersDE::getNPreClustersBP ( int  icolumn) const
inline

Gets the number of pre-clusters in the BP.

Definition at line 63 of file PreClustersDE.h.

◆ getNPreClustersNBP()

size_t o2::mid::PreClustersDE::getNPreClustersNBP ( ) const
inline

Gets the number of pre-clusters in the NBP.

Definition at line 60 of file PreClustersDE.h.

◆ getPreClusterBP() [1/2]

BP & o2::mid::PreClustersDE::getPreClusterBP ( int  icolumn,
int  idx 
)
inline

Gets pre-cluster in the BP.

Definition at line 54 of file PreClustersDE.h.

◆ getPreClusterBP() [2/2]

const BP & o2::mid::PreClustersDE::getPreClusterBP ( int  icolumn,
int  idx 
) const
inline

Gets pre-cluster in the BP (const version)

Definition at line 57 of file PreClustersDE.h.

◆ getPreClusterNBP() [1/2]

NBP & o2::mid::PreClustersDE::getPreClusterNBP ( int  idx)
inline

Gets the pre-cluster in the NBP.

Definition at line 48 of file PreClustersDE.h.

◆ getPreClusterNBP() [2/2]

const NBP & o2::mid::PreClustersDE::getPreClusterNBP ( int  idx) const
inline

Gets the pre-cluster in the NBP (const version)

Definition at line 51 of file PreClustersDE.h.

◆ getPreClustersBP()

std::vector< BP > & o2::mid::PreClustersDE::getPreClustersBP ( int  icolumn)
inline

Gets the vector of pre-clusters in the BP in column icolumn.

Definition at line 77 of file PreClustersDE.h.

◆ getPreClustersNBP()

std::vector< NBP > & o2::mid::PreClustersDE::getPreClustersNBP ( )
inline

Gets the vector of pre-clusters in the NBP.

Definition at line 74 of file PreClustersDE.h.

◆ init()

bool o2::mid::PreClustersDE::init ( )

Initializes the class

Definition at line 24 of file PreClustersDE.cxx.

◆ reset()

void o2::mid::PreClustersDE::reset ( )

Resets number of pre-clusters

Definition at line 62 of file PreClustersDE.cxx.

◆ setDEId()

void o2::mid::PreClustersDE::setDEId ( uint8_t  deId)
inline

Sets the detection element ID.

Definition at line 66 of file PreClustersDE.h.


The documentation for this class was generated from the following files: