Cluster class for the ITSMFT.
More...
#include <Cluster.h>
Inherits o2::BaseCluster< float >.
|
enum | { kUsed
, kShared
} |
|
enum | {
kOffsNZ = 0
, kMaskNZ = 0xff
, kOffsNX = 8
, kMaskNX = 0xff
,
kOffsNPix = 16
, kMaskNPix = 0x1ff
, kOffsClUse = 25
, kMaskClUse = 0x7f
} |
|
enum | { kMaxPatternBits = 32 * 16
, kMaxPatternBytes = kMaxPatternBits / 8
, kSpanMask = 0x7fff
, kTruncateMask = 0x8000
} |
|
|
| ~Cluster ()=default |
|
void | setUsed () |
|
void | setShared () |
|
void | increaseClusterUsage () |
|
bool | isUsed () const |
|
bool | isShared () const |
|
void | setNxNzN (UChar_t nx, UChar_t nz, UShort_t n) |
|
void | setClusterUsage (int n) |
|
void | modifyClusterUsage (bool used=kTRUE) |
|
void | incClusterUsage () |
|
void | decreaseClusterUsage () |
|
int | getNx () const |
|
int | getNz () const |
|
int | getNPix () const |
|
int | getClusterUsage () const |
|
void | print () const |
|
| BaseCluster ()=default |
|
| BaseCluster (std::uint16_t sensid, const math_utils::Point3D< T > &xyz) |
|
| BaseCluster (std::uint16_t sensid, T x, T y, T z) |
|
| BaseCluster (std::uint16_t sensid, const math_utils::Point3D< T > &xyz, T sy2, T sz2, T syz) |
|
| BaseCluster (std::int16_t sensid, T x, T y, T z, T sy2, T sz2, T syz) |
|
| BaseCluster ()=default |
|
| BaseCluster (std::uint16_t sensid, const math_utils::Point3D< float > &xyz) |
|
| BaseCluster (std::uint16_t sensid, float x, float y, float z) |
|
| BaseCluster (std::uint16_t sensid, const math_utils::Point3D< float > &xyz, float sy2, float sz2, float syz) |
|
| BaseCluster (std::int16_t sensid, float x, float y, float z, float sy2, float sz2, float syz) |
|
| ~BaseCluster ()=default |
|
float | getX () const |
|
float | getY () const |
|
float | getZ () const |
|
float | getSigmaY2 () const |
|
float | getSigmaZ2 () const |
|
float | getSigmaYZ () const |
|
math_utils::Point3D< float > | getXYZ () const |
|
math_utils::Point3D< float > & | getXYZ () |
|
math_utils::Point3D< float > | getXYZLoc (const o2::detectors::DetMatrixCache &dm) const |
|
math_utils::Point3D< float > | getXYZGlo (const o2::detectors::DetMatrixCache &dm) const |
|
math_utils::Point3D< float > | getXYZGloRot (const o2::detectors::DetMatrixCache &dm) const |
|
std::int16_t | getSensorID () const |
|
std::int8_t | getCount () const |
|
std::uint8_t | getBits () const |
|
bool | isBitSet (int bit) const |
|
| operator math_utils::Point3D< float > & () |
|
void | setSensorID (std::int16_t sid) |
|
void | setCount (std::int8_t c) |
|
void | setBits (std::uint8_t b) |
|
void | setBit (int bit) |
|
void | resetBit (int bit) |
|
void | setX (float x) |
|
void | setY (float y) |
|
void | setZ (float z) |
|
void | setXYZ (float x, float y, float z) |
|
void | setPos (const math_utils::Point3D< float > &p) |
|
void | setSigmaY2 (float v) |
|
void | setSigmaZ2 (float v) |
|
void | setSigmaYZ (float v) |
|
void | setErrors (float sy2, float sz2, float syz) |
|
Cluster class for the ITSMFT.
Definition at line 33 of file Cluster.h.
◆ anonymous enum
◆ anonymous enum
Enumerator |
---|
kOffsNZ | |
kMaskNZ | |
kOffsNX | |
kMaskNX | |
kOffsNPix | |
kMaskNPix | |
kOffsClUse | |
kMaskClUse | |
Definition at line 41 of file Cluster.h.
◆ anonymous enum
Enumerator |
---|
kMaxPatternBits | |
kMaxPatternBytes | |
kSpanMask | |
kTruncateMask | |
Definition at line 53 of file Cluster.h.
◆ ~Cluster()
o2::itsmft::Cluster::~Cluster |
( |
| ) |
|
|
default |
◆ BaseCluster() [1/5]
◆ BaseCluster() [2/5]
o2::BaseCluster< T >::BaseCluster |
( |
std::int16_t |
sensid, |
|
|
T |
x, |
|
|
T |
y, |
|
|
T |
z, |
|
|
T |
sy2, |
|
|
T |
sz2, |
|
|
T |
syz |
|
) |
| |
|
inline |
◆ BaseCluster() [3/5]
◆ BaseCluster() [4/5]
◆ BaseCluster() [5/5]
◆ ClassDefNV()
◆ decreaseClusterUsage()
void o2::itsmft::Cluster::decreaseClusterUsage |
( |
| ) |
|
|
inline |
◆ getClusterUsage()
int o2::itsmft::Cluster::getClusterUsage |
( |
| ) |
const |
|
inline |
◆ getNPix()
int o2::itsmft::Cluster::getNPix |
( |
| ) |
const |
|
inline |
◆ getNx()
int o2::itsmft::Cluster::getNx |
( |
| ) |
const |
|
inline |
◆ getNz()
int o2::itsmft::Cluster::getNz |
( |
| ) |
const |
|
inline |
◆ incClusterUsage()
void o2::itsmft::Cluster::incClusterUsage |
( |
| ) |
|
|
inline |
◆ increaseClusterUsage()
void o2::itsmft::Cluster::increaseClusterUsage |
( |
| ) |
|
|
inline |
◆ isShared()
bool o2::itsmft::Cluster::isShared |
( |
| ) |
const |
|
inline |
◆ isUsed()
bool o2::itsmft::Cluster::isUsed |
( |
| ) |
const |
|
inline |
◆ modifyClusterUsage()
void o2::itsmft::Cluster::modifyClusterUsage |
( |
bool |
used = kTRUE | ) |
|
|
inline |
◆ print()
void Cluster::print |
( |
| ) |
const |
◆ setClusterUsage()
void o2::itsmft::Cluster::setClusterUsage |
( |
int |
n | ) |
|
|
inline |
◆ setNxNzN()
void o2::itsmft::Cluster::setNxNzN |
( |
UChar_t |
nx, |
|
|
UChar_t |
nz, |
|
|
UShort_t |
n |
|
) |
| |
|
inline |
◆ setShared()
void o2::itsmft::Cluster::setShared |
( |
| ) |
|
|
inline |
◆ setUsed()
void o2::itsmft::Cluster::setUsed |
( |
| ) |
|
|
inline |
◆ maxLabels
constexpr int o2::itsmft::Cluster::maxLabels = 10 |
|
staticconstexpr |
◆ mNxNzN
Int_t o2::itsmft::Cluster::mNxNzN = 0 |
|
protected |
effective cluster size in X (1st byte) and Z (2nd byte) directions and total Npix(next 9 bits).
The last 7 bits are used for clusters usage counter
Definition at line 148 of file Cluster.h.
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/Cluster.h
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/ITSMFT/common/src/Cluster.cxx