Contains CPV cluster parameters.
More...
#include <Cluster.h>
Inherited by o2::cpv::FullCluster.
|
| 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) |
|
|
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
|
|
Contains CPV cluster parameters.
Definition at line 32 of file Cluster.h.
◆ Cluster() [1/3]
o2::cpv::Cluster::Cluster |
( |
| ) |
|
|
default |
◆ Cluster() [2/3]
o2::cpv::Cluster::Cluster |
( |
unsigned char |
mult, |
|
|
char |
mod, |
|
|
char |
exMax, |
|
|
float |
x, |
|
|
float |
z, |
|
|
float |
e |
|
) |
| |
|
inline |
◆ Cluster() [3/3]
o2::cpv::Cluster::Cluster |
( |
const Cluster & |
clu | ) |
|
|
default |
◆ ~Cluster()
o2::cpv::Cluster::~Cluster |
( |
| ) |
|
|
default |
◆ ClassDefNV()
o2::cpv::Cluster::ClassDefNV |
( |
Cluster |
, |
|
|
1 |
|
|
) |
| |
|
protected |
◆ getEnergy()
float o2::cpv::Cluster::getEnergy |
( |
| ) |
const |
|
inline |
◆ getLocalPosition()
void o2::cpv::Cluster::getLocalPosition |
( |
float & |
posX, |
|
|
float & |
posZ |
|
) |
| const |
|
inline |
◆ getModule()
char o2::cpv::Cluster::getModule |
( |
| ) |
const |
|
inline |
◆ getMultiplicity()
unsigned char o2::cpv::Cluster::getMultiplicity |
( |
| ) |
const |
|
inline |
◆ getNExMax()
char o2::cpv::Cluster::getNExMax |
( |
| ) |
const |
|
inline |
◆ getPackedClusterStatus()
uint8_t o2::cpv::Cluster::getPackedClusterStatus |
( |
| ) |
const |
|
inline |
◆ getPackedEnergy()
uint8_t o2::cpv::Cluster::getPackedEnergy |
( |
| ) |
const |
|
inline |
◆ getPackedPosX()
uint16_t o2::cpv::Cluster::getPackedPosX |
( |
| ) |
const |
|
inline |
◆ getPackedPosZ()
uint16_t o2::cpv::Cluster::getPackedPosZ |
( |
| ) |
const |
|
inline |
◆ operator<()
bool Cluster::operator< |
( |
const Cluster & |
other | ) |
const |
Comparison oparator, based on time and coordinates.
- Parameters
-
- Returns
- result of comparison: x and z coordinates
Definition at line 21 of file Cluster.cxx.
◆ operator>()
bool Cluster::operator> |
( |
const Cluster & |
other | ) |
const |
Comparison oparator, based on time and coordinates.
Comparison oparator, based on time and absId.
- Parameters
-
- Returns
- result of comparison: x and z coordinates
Definition at line 47 of file Cluster.cxx.
◆ setEnergy()
void o2::cpv::Cluster::setEnergy |
( |
float |
e | ) |
|
|
inline |
◆ setNExMax()
void o2::cpv::Cluster::setNExMax |
( |
char |
nmax = 1 | ) |
|
|
inline |
◆ setPacked()
void o2::cpv::Cluster::setPacked |
( |
uint16_t |
posX, |
|
|
uint16_t |
posZ, |
|
|
uint8_t |
en, |
|
|
uint8_t |
status |
|
) |
| |
|
inline |
◆ setPackedClusterStatus()
void o2::cpv::Cluster::setPackedClusterStatus |
( |
uint8_t |
v | ) |
|
|
inline |
◆ setPackedEnergy()
void o2::cpv::Cluster::setPackedEnergy |
( |
uint8_t |
v | ) |
|
|
inline |
◆ setPackedPosX()
void o2::cpv::Cluster::setPackedPosX |
( |
uint16_t |
v | ) |
|
|
inline |
◆ setPackedPosZ()
void o2::cpv::Cluster::setPackedPosZ |
( |
uint16_t |
v | ) |
|
|
inline |
◆ mEnergy
float o2::cpv::Cluster::mEnergy = 0. |
|
protected |
full energy of a cluster
Definition at line 117 of file Cluster.h.
◆ mLocalPosX
float o2::cpv::Cluster::mLocalPosX = 0. |
|
protected |
Center of gravity position in local module coordunates (phi direction)
Definition at line 115 of file Cluster.h.
◆ mLocalPosZ
float o2::cpv::Cluster::mLocalPosZ = 0. |
|
protected |
Center of gravity position in local module coordunates (z direction)
Definition at line 116 of file Cluster.h.
◆ mModule
char o2::cpv::Cluster::mModule = 0 |
|
protected |
◆ mMulDigit
unsigned char o2::cpv::Cluster::mMulDigit = 0 |
|
protected |
◆ mNExMax
char o2::cpv::Cluster::mNExMax = -1 |
|
protected |
number of (Ex-)maxima before unfolding
Definition at line 114 of file Cluster.h.
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/CPV/include/DataFormatsCPV/Cluster.h
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/CPV/src/Cluster.cxx