Project
Loading...
Searching...
No Matches
o2::phos::Cluster Class Reference

Contains PHOS cluster parameters. More...

#include <Cluster.h>

Public Member Functions

 Cluster ()=default
 
 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.
 
float getEnergy () const
 
void setEnergy (float e)
 
float getCoreEnergy () const
 
void setCoreEnergy (float ec)
 
float getDispersion () const
 
void setDispersion (float d)
 
float getDistanceToBadChannel () const
 
void getElipsAxis (float &lambdaShort, float &lambdaLong) const
 
void setElipsAxis (float lambdaShort, float lambdaLong)
 
void getLocalPosition (float &posX, float &posZ) const
 
void setLocalPosition (float posX, float posZ)
 
int getMultiplicity () const
 
void setNExMax (char nmax=1)
 
char getNExMax () const
 
char module () const
 
void setModule (char mod)
 
float getTime () const
 
void setTime (float t)
 
char firedTrigger () const
 
void setFiredTrigger (char t)
 
void addDigit ()
 Method to add digit to a cluster.
 
uint32_t getFirstCluEl () const
 
uint32_t getLastCluEl () const
 
void setFirstCluEl (uint32_t first)
 
void setLastCluEl (uint32_t last)
 

Protected Member Functions

 ClassDefNV (Cluster, 4)
 

Protected Attributes

char mModule = 0
 Module number.
 
char mNExMax = -1
 number of (Ex-)maxima before unfolding
 
char mFiredTrigger = 0
 matched with PHOS trigger: 0 no match, bit 1 with 2x2, bit 2 with 4x4
 
uint32_t mFirstCluElement = -1
 index of the first contributing CluElement in a list
 
uint32_t mLastCluElement = -1
 index of the last contributing CluElement in a list
 
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 mFullEnergy = 0.
 full energy of a shower
 
float mCoreEnergy = 0.
 energy in a shower core
 
float mLambdaLong = 0.
 shower ellipse axes
 
float mLambdaShort = 0.
 shower ellipse axes
 
float mDispersion = 0.
 shower dispersion
 
float mTime = 0.
 Time of the digit with maximal energy deposition.
 
float mDistToBadChannel = 999
 Distance to nearest bad crystal.
 

Detailed Description

Contains PHOS cluster parameters.

Definition at line 38 of file Cluster.h.

Constructor & Destructor Documentation

◆ Cluster() [1/2]

o2::phos::Cluster::Cluster ( )
default

◆ Cluster() [2/2]

o2::phos::Cluster::Cluster ( const Cluster clu)
default

◆ ~Cluster()

o2::phos::Cluster::~Cluster ( )
default

Member Function Documentation

◆ addDigit()

void o2::phos::Cluster::addDigit ( )
inline

Method to add digit to a cluster.

Definition at line 102 of file Cluster.h.

◆ ClassDefNV()

o2::phos::Cluster::ClassDefNV ( Cluster  ,
 
)
protected

◆ firedTrigger()

char o2::phos::Cluster::firedTrigger ( ) const
inline

Definition at line 98 of file Cluster.h.

◆ getCoreEnergy()

float o2::phos::Cluster::getCoreEnergy ( ) const
inline

Definition at line 59 of file Cluster.h.

◆ getDispersion()

float o2::phos::Cluster::getDispersion ( ) const
inline

Definition at line 62 of file Cluster.h.

◆ getDistanceToBadChannel()

float o2::phos::Cluster::getDistanceToBadChannel ( ) const
inline

Definition at line 65 of file Cluster.h.

◆ getElipsAxis()

void o2::phos::Cluster::getElipsAxis ( float &  lambdaShort,
float &  lambdaLong 
) const
inline

Definition at line 66 of file Cluster.h.

◆ getEnergy()

float o2::phos::Cluster::getEnergy ( ) const
inline

Definition at line 56 of file Cluster.h.

◆ getFirstCluEl()

uint32_t o2::phos::Cluster::getFirstCluEl ( ) const
inline

Definition at line 104 of file Cluster.h.

◆ getLastCluEl()

uint32_t o2::phos::Cluster::getLastCluEl ( ) const
inline

Definition at line 105 of file Cluster.h.

◆ getLocalPosition()

void o2::phos::Cluster::getLocalPosition ( float &  posX,
float &  posZ 
) const
inline

Definition at line 76 of file Cluster.h.

◆ getMultiplicity()

int o2::phos::Cluster::getMultiplicity ( ) const
inline

Definition at line 86 of file Cluster.h.

◆ getNExMax()

char o2::phos::Cluster::getNExMax ( ) const
inline

Definition at line 90 of file Cluster.h.

◆ getTime()

float o2::phos::Cluster::getTime ( ) const
inline

Definition at line 95 of file Cluster.h.

◆ module()

char o2::phos::Cluster::module ( ) const
inline

Definition at line 92 of file Cluster.h.

◆ operator<()

bool Cluster::operator< ( const Cluster other) const

Comparison oparator, based on time and coordinates.

Parameters
anotherPHOS Cluster
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
anotherPHOS Cluster
Returns
result of comparison: x and z coordinates

Definition at line 47 of file Cluster.cxx.

◆ setCoreEnergy()

void o2::phos::Cluster::setCoreEnergy ( float  ec)
inline

Definition at line 60 of file Cluster.h.

◆ setDispersion()

void o2::phos::Cluster::setDispersion ( float  d)
inline

Definition at line 63 of file Cluster.h.

◆ setElipsAxis()

void o2::phos::Cluster::setElipsAxis ( float  lambdaShort,
float  lambdaLong 
)
inline

Definition at line 71 of file Cluster.h.

◆ setEnergy()

void o2::phos::Cluster::setEnergy ( float  e)
inline

Definition at line 57 of file Cluster.h.

◆ setFiredTrigger()

void o2::phos::Cluster::setFiredTrigger ( char  t)
inline

Definition at line 99 of file Cluster.h.

◆ setFirstCluEl()

void o2::phos::Cluster::setFirstCluEl ( uint32_t  first)
inline

Definition at line 106 of file Cluster.h.

◆ setLastCluEl()

void o2::phos::Cluster::setLastCluEl ( uint32_t  last)
inline

Definition at line 107 of file Cluster.h.

◆ setLocalPosition()

void o2::phos::Cluster::setLocalPosition ( float  posX,
float  posZ 
)
inline

Definition at line 81 of file Cluster.h.

◆ setModule()

void o2::phos::Cluster::setModule ( char  mod)
inline

Definition at line 93 of file Cluster.h.

◆ setNExMax()

void o2::phos::Cluster::setNExMax ( char  nmax = 1)
inline

Definition at line 89 of file Cluster.h.

◆ setTime()

void o2::phos::Cluster::setTime ( float  t)
inline

Definition at line 96 of file Cluster.h.

Member Data Documentation

◆ mCoreEnergy

float o2::phos::Cluster::mCoreEnergy = 0.
protected

energy in a shower core

Definition at line 121 of file Cluster.h.

◆ mDispersion

float o2::phos::Cluster::mDispersion = 0.
protected

shower dispersion

Definition at line 124 of file Cluster.h.

◆ mDistToBadChannel

float o2::phos::Cluster::mDistToBadChannel = 999
protected

Distance to nearest bad crystal.

Definition at line 126 of file Cluster.h.

◆ mFiredTrigger

char o2::phos::Cluster::mFiredTrigger = 0
protected

matched with PHOS trigger: 0 no match, bit 1 with 2x2, bit 2 with 4x4

Definition at line 115 of file Cluster.h.

◆ mFirstCluElement

uint32_t o2::phos::Cluster::mFirstCluElement = -1
protected

index of the first contributing CluElement in a list

Definition at line 116 of file Cluster.h.

◆ mFullEnergy

float o2::phos::Cluster::mFullEnergy = 0.
protected

full energy of a shower

Definition at line 120 of file Cluster.h.

◆ mLambdaLong

float o2::phos::Cluster::mLambdaLong = 0.
protected

shower ellipse axes

Definition at line 122 of file Cluster.h.

◆ mLambdaShort

float o2::phos::Cluster::mLambdaShort = 0.
protected

shower ellipse axes

Definition at line 123 of file Cluster.h.

◆ mLastCluElement

uint32_t o2::phos::Cluster::mLastCluElement = -1
protected

index of the last contributing CluElement in a list

Definition at line 117 of file Cluster.h.

◆ mLocalPosX

float o2::phos::Cluster::mLocalPosX = 0.
protected

Center of gravity position in local module coordunates (phi direction)

Definition at line 118 of file Cluster.h.

◆ mLocalPosZ

float o2::phos::Cluster::mLocalPosZ = 0.
protected

Center of gravity position in local module coordunates (z direction)

Definition at line 119 of file Cluster.h.

◆ mModule

char o2::phos::Cluster::mModule = 0
protected

Module number.

Definition at line 113 of file Cluster.h.

◆ mNExMax

char o2::phos::Cluster::mNExMax = -1
protected

number of (Ex-)maxima before unfolding

Definition at line 114 of file Cluster.h.

◆ mTime

float o2::phos::Cluster::mTime = 0.
protected

Time of the digit with maximal energy deposition.

Definition at line 125 of file Cluster.h.


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