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

cluster structure for MID More...

#include <Cluster.h>

Public Member Functions

void setFired (int cathode, bool isFired=true)
 
void setBothFired ()
 Sets a flag specifying that both BP and NBP were fired.
 
double getX () const
 Returns the x position.
 
double getY () const
 Returns the y position.
 
double getZ () const
 Returns the z position.
 
double getEX () const
 Returns the x resolution.
 
double getEX2 () const
 Returns the square of the x resolution.
 
double getEY () const
 Returns the y resolution.
 
double getEY2 () const
 Returns the square of the y resolution.
 
bool isFired (int cathode) const
 Checks if cathode was fired.
 
 ClassDefNV (Cluster, 1)
 

Public Attributes

float xCoor = 0
 x coordinate
 
float yCoor = 0
 y coordinate
 
float zCoor = 0
 z coordinate
 
float xErr = 0
 Cluster resolution along x.
 
float yErr = 0
 Cluster resolution along y.
 
uint8_t deId = 0
 Detection element ID.
 
uint8_t firedCathodes = 0
 Fired cathodes.
 

Detailed Description

cluster structure for MID

Definition at line 30 of file Cluster.h.

Member Function Documentation

◆ ClassDefNV()

o2::mid::Cluster::ClassDefNV ( Cluster  ,
 
)

◆ getEX()

double o2::mid::Cluster::getEX ( ) const
inline

Returns the x resolution.

Definition at line 57 of file Cluster.h.

◆ getEX2()

double o2::mid::Cluster::getEX2 ( ) const
inline

Returns the square of the x resolution.

Definition at line 60 of file Cluster.h.

◆ getEY()

double o2::mid::Cluster::getEY ( ) const
inline

Returns the y resolution.

Definition at line 63 of file Cluster.h.

◆ getEY2()

double o2::mid::Cluster::getEY2 ( ) const
inline

Returns the square of the y resolution.

Definition at line 66 of file Cluster.h.

◆ getX()

double o2::mid::Cluster::getX ( ) const
inline

Returns the x position.

Definition at line 48 of file Cluster.h.

◆ getY()

double o2::mid::Cluster::getY ( ) const
inline

Returns the y position.

Definition at line 51 of file Cluster.h.

◆ getZ()

double o2::mid::Cluster::getZ ( ) const
inline

Returns the z position.

Definition at line 54 of file Cluster.h.

◆ isFired()

bool o2::mid::Cluster::isFired ( int  cathode) const
inline

Checks if cathode was fired.

Definition at line 69 of file Cluster.h.

◆ setBothFired()

void o2::mid::Cluster::setBothFired ( )
inline

Sets a flag specifying that both BP and NBP were fired.

Definition at line 45 of file Cluster.h.

◆ setFired()

void o2::mid::Cluster::setFired ( int  cathode,
bool  isFired = true 
)

Sets a flag specifying if the BP or NBP were fired

Parameters
cathodecan be 0 (bending-plane) or 1 (non-bending plane)
isFiredtrue if it was fired

Definition at line 22 of file Cluster.cxx.

Member Data Documentation

◆ deId

uint8_t o2::mid::Cluster::deId = 0

Detection element ID.

Definition at line 36 of file Cluster.h.

◆ firedCathodes

uint8_t o2::mid::Cluster::firedCathodes = 0

Fired cathodes.

Definition at line 37 of file Cluster.h.

◆ xCoor

float o2::mid::Cluster::xCoor = 0

x coordinate

Definition at line 31 of file Cluster.h.

◆ xErr

float o2::mid::Cluster::xErr = 0

Cluster resolution along x.

Definition at line 34 of file Cluster.h.

◆ yCoor

float o2::mid::Cluster::yCoor = 0

y coordinate

Definition at line 32 of file Cluster.h.

◆ yErr

float o2::mid::Cluster::yErr = 0

Cluster resolution along y.

Definition at line 35 of file Cluster.h.

◆ zCoor

float o2::mid::Cluster::zCoor = 0

z coordinate

Definition at line 33 of file Cluster.h.


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