Project
Loading...
Searching...
No Matches
o2::cpv::FullCluster Class Reference

CPV cluster implementation. More...

#include <FullCluster.h>

Inherits o2::cpv::Cluster.

Classes

struct  CluElement
 

Public Member Functions

 FullCluster ()=default
 
 FullCluster (short digitAbsId, float energy, int label)
 
 ~FullCluster ()=default
 
void addDigit (short digitAbsId, float energy, int label)
 Method to add digit to a cluster.
 
void evalAll ()
 
short getDigitAbsId (Int_t i) const
 
const std::vector< CluElement > * getElementList () const
 
char getNumberOfLocalMax (gsl::span< int > maxAt) const
 
void purify ()
 
- Public Member Functions inherited from o2::cpv::Cluster
 Cluster ()=default
 
 Cluster (unsigned char mult, char mod, char exMax, float x, float z, float e)
 
 Cluster (const Cluster &clu)=default
 
 ~Cluster ()=default
 
bool operator< (const Cluster &other) const
 Comparison oparator, based on time and coordinates.
 
bool operator> (const Cluster &other) const
 Comparison oparator, based on time and coordinates.
 
void setEnergy (float e)
 
float getEnergy () const
 
void getLocalPosition (float &posX, float &posZ) const
 
unsigned char getMultiplicity () const
 
char getModule () const
 
void setNExMax (char nmax=1)
 
char getNExMax () const
 
uint16_t getPackedPosX () const
 
void setPackedPosX (uint16_t v)
 
uint16_t getPackedPosZ () const
 
void setPackedPosZ (uint16_t v)
 
uint8_t getPackedEnergy () const
 
void setPackedEnergy (uint8_t v)
 
uint8_t getPackedClusterStatus () const
 
void setPackedClusterStatus (uint8_t v)
 
void setPacked (uint16_t posX, uint16_t posZ, uint8_t en, uint8_t status)
 

Protected Member Functions

void evalLocalPosition ()
 
- Protected Member Functions inherited from o2::cpv::Cluster
 ClassDefNV (Cluster, 1)
 

Additional Inherited Members

- Protected Attributes inherited from o2::cpv::Cluster
unsigned char mMulDigit = 0
 Digit nultiplicity.
 
char mModule = 0
 Module number.
 
char mNExMax = -1
 number of (Ex-)maxima before unfolding
 
float mLocalPosX = 0.
 Center of gravity position in local module coordunates (phi direction)
 
float mLocalPosZ = 0.
 Center of gravity position in local module coordunates (z direction)
 
float mEnergy = 0.
 full energy of a cluster
 

Detailed Description

CPV cluster implementation.

Definition at line 27 of file FullCluster.h.

Constructor & Destructor Documentation

◆ FullCluster() [1/2]

o2::cpv::FullCluster::FullCluster ( )
default

◆ FullCluster() [2/2]

FullCluster::FullCluster ( short  digitAbsId,
float  energy,
int  label 
)

Definition at line 23 of file FullCluster.cxx.

◆ ~FullCluster()

o2::cpv::FullCluster::~FullCluster ( )
default

Member Function Documentation

◆ addDigit()

void FullCluster::addDigit ( short  digitAbsId,
float  energy,
int  label 
)

Method to add digit to a cluster.

Parameters
digitbeing added, energy of this digit, may be smaller than full due to everlap

Definition at line 29 of file FullCluster.cxx.

◆ evalAll()

void FullCluster::evalAll ( )

Definition at line 42 of file FullCluster.cxx.

◆ evalLocalPosition()

void FullCluster::evalLocalPosition ( )
protected

Definition at line 99 of file FullCluster.cxx.

◆ getDigitAbsId()

short o2::cpv::FullCluster::getDigitAbsId ( Int_t  i) const
inline

Definition at line 54 of file FullCluster.h.

◆ getElementList()

const std::vector< CluElement > * o2::cpv::FullCluster::getElementList ( ) const
inline

Definition at line 56 of file FullCluster.h.

◆ getNumberOfLocalMax()

char FullCluster::getNumberOfLocalMax ( gsl::span< int maxAt) const

Definition at line 132 of file FullCluster.cxx.

◆ purify()

void FullCluster::purify ( )

Definition at line 49 of file FullCluster.cxx.


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