Project
Loading...
Searching...
No Matches
o2::mft::Cluster Struct Reference

#include <Cluster.h>

Inherits o2::BaseCluster< float >.

Public Member Functions

 Cluster ()=default
 
 Cluster (const Float_t x, const Float_t y, const Float_t z, const Float_t phi, const Float_t r, const Int_t id, const Int_t bin, const Float_t sigX2, const Float_t sigY2, const Int_t sensorID)
 
 Cluster (const Float_t x, const Float_t y, const Float_t z, const Int_t index)
 
void setUsed (Bool_t bval)
 
const Bool_t getUsed ()
 
- Public Member Functions inherited from o2::BaseCluster< float >
 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)
 

Public Attributes

Float_t phiCoordinate
 
Float_t rCoordinate
 
Int_t clusterId
 
Int_t indexTableBin
 
Float_t sigmaX2
 
Float_t sigmaY2
 
Bool_t isUsed
 

Additional Inherited Members

- Protected Member Functions inherited from o2::BaseCluster< float >
 ClassDefNV (BaseCluster, 2)
 

Detailed Description

Definition at line 28 of file Cluster.h.

Constructor & Destructor Documentation

◆ Cluster() [1/3]

o2::mft::Cluster::Cluster ( )
default

◆ Cluster() [2/3]

o2::mft::Cluster::Cluster ( const Float_t  x,
const Float_t  y,
const Float_t  z,
const Float_t  phi,
const Float_t  r,
const Int_t  id,
const Int_t  bin,
const Float_t  sigX2,
const Float_t  sigY2,
const Int_t  sensorID 
)
inline

Definition at line 30 of file Cluster.h.

◆ Cluster() [3/3]

o2::mft::Cluster::Cluster ( const Float_t  x,
const Float_t  y,
const Float_t  z,
const Int_t  index 
)

Definition at line 25 of file Cluster.cxx.

Member Function Documentation

◆ getUsed()

const Bool_t o2::mft::Cluster::getUsed ( )
inline

Definition at line 42 of file Cluster.h.

◆ setUsed()

void o2::mft::Cluster::setUsed ( Bool_t  bval)
inline

Definition at line 41 of file Cluster.h.

Member Data Documentation

◆ clusterId

Int_t o2::mft::Cluster::clusterId

Definition at line 46 of file Cluster.h.

◆ indexTableBin

Int_t o2::mft::Cluster::indexTableBin

Definition at line 47 of file Cluster.h.

◆ isUsed

Bool_t o2::mft::Cluster::isUsed

Definition at line 50 of file Cluster.h.

◆ phiCoordinate

Float_t o2::mft::Cluster::phiCoordinate

Definition at line 44 of file Cluster.h.

◆ rCoordinate

Float_t o2::mft::Cluster::rCoordinate

Definition at line 45 of file Cluster.h.

◆ sigmaX2

Float_t o2::mft::Cluster::sigmaX2

Definition at line 48 of file Cluster.h.

◆ sigmaY2

Float_t o2::mft::Cluster::sigmaY2

Definition at line 49 of file Cluster.h.


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