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

#include <Cluster.h>

Public Member Functions

 Cluster ()=default
 
 Cluster (const Cluster &clu)=default
 
 ~Cluster ()=default
 
void addDigit (int digitIndex, int towerId, double energy)
 
void setNLM (int nMax)
 
void setE (float energy)
 
void setX (float x)
 
void setY (float y)
 
void setZ (float z)
 
void setChi2 (float chi2)
 
void setEdgeFlag (bool isEdge)
 
void addMcTrackID (int mcTrackID, float energy)
 
const std::map< int, float > & getMcTrackEnergy ()
 
int getMultiplicity () const
 
int getDigitIndex (int i) const
 
int getDigitTowerId (int i) const
 
float getDigitEnergy (int i) const
 
float getNLM () const
 
float getTime () const
 
float getE () const
 
float getX () const
 
float getY () const
 
float getZ () const
 
float getR () const
 
float getTheta () const
 
float getEta () const
 
float getPhi () const
 
float getChi2 () const
 
bool isAtTheEdge () const
 
int getMcTrackID () const
 
TLorentzVector getMomentum () const
 

Detailed Description

Definition at line 28 of file Cluster.h.

Constructor & Destructor Documentation

◆ Cluster() [1/2]

o2::ecal::Cluster::Cluster ( )
default

◆ Cluster() [2/2]

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

◆ ~Cluster()

o2::ecal::Cluster::~Cluster ( )
default

Member Function Documentation

◆ addDigit()

void Cluster::addDigit ( int  digitIndex,
int  towerId,
double  energy 
)

Definition at line 27 of file Cluster.cxx.

◆ addMcTrackID()

void o2::ecal::Cluster::addMcTrackID ( int  mcTrackID,
float  energy 
)
inline

Definition at line 44 of file Cluster.h.

◆ getChi2()

float o2::ecal::Cluster::getChi2 ( ) const
inline

Definition at line 62 of file Cluster.h.

◆ getDigitEnergy()

float o2::ecal::Cluster::getDigitEnergy ( int  i) const
inline

Definition at line 51 of file Cluster.h.

◆ getDigitIndex()

int o2::ecal::Cluster::getDigitIndex ( int  i) const
inline

Definition at line 49 of file Cluster.h.

◆ getDigitTowerId()

int o2::ecal::Cluster::getDigitTowerId ( int  i) const
inline

Definition at line 50 of file Cluster.h.

◆ getE()

float o2::ecal::Cluster::getE ( ) const
inline

Definition at line 54 of file Cluster.h.

◆ getEta()

float o2::ecal::Cluster::getEta ( ) const
inline

Definition at line 60 of file Cluster.h.

◆ getMcTrackEnergy()

const std::map< int, float > & o2::ecal::Cluster::getMcTrackEnergy ( )
inline

Definition at line 47 of file Cluster.h.

◆ getMcTrackID()

int Cluster::getMcTrackID ( ) const

Definition at line 36 of file Cluster.cxx.

◆ getMomentum()

TLorentzVector Cluster::getMomentum ( ) const

Definition at line 50 of file Cluster.cxx.

◆ getMultiplicity()

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

Definition at line 48 of file Cluster.h.

◆ getNLM()

float o2::ecal::Cluster::getNLM ( ) const
inline

Definition at line 52 of file Cluster.h.

◆ getPhi()

float o2::ecal::Cluster::getPhi ( ) const
inline

Definition at line 61 of file Cluster.h.

◆ getR()

float o2::ecal::Cluster::getR ( ) const
inline

Definition at line 58 of file Cluster.h.

◆ getTheta()

float o2::ecal::Cluster::getTheta ( ) const
inline

Definition at line 59 of file Cluster.h.

◆ getTime()

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

Definition at line 53 of file Cluster.h.

◆ getX()

float o2::ecal::Cluster::getX ( ) const
inline

Definition at line 55 of file Cluster.h.

◆ getY()

float o2::ecal::Cluster::getY ( ) const
inline

Definition at line 56 of file Cluster.h.

◆ getZ()

float o2::ecal::Cluster::getZ ( ) const
inline

Definition at line 57 of file Cluster.h.

◆ isAtTheEdge()

bool o2::ecal::Cluster::isAtTheEdge ( ) const
inline

Definition at line 63 of file Cluster.h.

◆ setChi2()

void o2::ecal::Cluster::setChi2 ( float  chi2)
inline

Definition at line 42 of file Cluster.h.

◆ setE()

void o2::ecal::Cluster::setE ( float  energy)
inline

Definition at line 38 of file Cluster.h.

◆ setEdgeFlag()

void o2::ecal::Cluster::setEdgeFlag ( bool  isEdge)
inline

Definition at line 43 of file Cluster.h.

◆ setNLM()

void o2::ecal::Cluster::setNLM ( int  nMax)
inline

Definition at line 37 of file Cluster.h.

◆ setX()

void o2::ecal::Cluster::setX ( float  x)
inline

Definition at line 39 of file Cluster.h.

◆ setY()

void o2::ecal::Cluster::setY ( float  y)
inline

Definition at line 40 of file Cluster.h.

◆ setZ()

void o2::ecal::Cluster::setZ ( float  z)
inline

Definition at line 41 of file Cluster.h.


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