Cluster class for kinematic cluster parametersported from AliVCluster in AliRoot.
More...
#include <AnalysisCluster.h>
|
std::vector< int > | mLabels |
| TODO to replace later by o2::MCLabel when implementing the MC handling.
|
|
int | mNCells = 0 |
| Number of cells in cluster.
|
|
std::vector< unsigned short > | mCellsIndices |
| Array of cell indices contributing to this cluster.
|
|
std::vector< float > | mCellsAmpFraction |
|
math_utils::Point3D< float > | mGlobalPos |
| Position in global coordinate system (cm).
|
|
math_utils::Point3D< float > | mLocalPos |
| Local position in the sub-detector coordinate.
|
|
float | mEnergy = 0 |
| Energy measured by calorimeter in GeV.
|
|
float | mCoreEnergy = 0. |
| Energy in a shower core.
|
|
float | mDispersion = 0 |
| Cluster shape dispersion.
|
|
float | mChi2 = 0 |
| Chi2 of cluster fit (unfolded clusters)
|
|
float | mM20 = 0 |
| 2-nd moment along the second eigen axis.
|
|
float | mM02 = 0 |
| 2-nd moment along the main eigen axis.
|
|
float | mEmcCpvDistance = 1024 |
| the distance from PHOS EMC rec.point to the closest CPV rec.point.
|
|
float | mTrackDx = 1024 |
| Distance to closest track in phi.
|
|
float | mTrackDz = 1024 |
| Distance to closest track in z.
|
|
float | mDistToBadChannel = 1024 |
| Distance to nearest bad channel.
|
|
int | mID = 0 |
| Unique Id of the cluster.
|
|
unsigned char | mNExMax = 0 |
| Number of Local (Ex-)maxima before unfolding.
|
|
float | mTime = 0. |
| Time of the digit/cell with maximal energy deposition.
|
|
bool | mIsExotic = false |
| ! Cluster marked as "exotic" (high energy deposition concentrated in a single cell)
|
|
int | mInputIndMax = -1 |
| index of digit/cell with max energy
|
|
Cluster class for kinematic cluster parameters
ported from AliVCluster in AliRoot.
- Author
- Hadi Hassan hadi..nosp@m.hass.nosp@m.an@ce.nosp@m.rn.c.nosp@m.h, Oak Ridge National Laboratory
- Since
- March 05, 2020
Definition at line 36 of file AnalysisCluster.h.
◆ AnalysisCluster() [1/2]
o2::emcal::AnalysisCluster::AnalysisCluster |
( |
| ) |
|
|
default |
◆ ~AnalysisCluster()
o2::emcal::AnalysisCluster::~AnalysisCluster |
( |
| ) |
|
|
default |
◆ AnalysisCluster() [2/2]
o2::emcal::AnalysisCluster::AnalysisCluster |
( |
const AnalysisCluster & |
clus | ) |
|
|
default |
◆ Chi2()
float o2::emcal::AnalysisCluster::Chi2 |
( |
| ) |
const |
|
inline |
◆ ClassDefNV()
◆ clear()
void AnalysisCluster::clear |
( |
| ) |
|
◆ E()
float o2::emcal::AnalysisCluster::E |
( |
| ) |
const |
|
inline |
◆ getCellAmplitudeFraction()
float o2::emcal::AnalysisCluster::getCellAmplitudeFraction |
( |
int |
i | ) |
const |
|
inline |
◆ getCellIndex()
int o2::emcal::AnalysisCluster::getCellIndex |
( |
int |
i | ) |
const |
|
inline |
◆ getCellsAmplitudeFraction()
const std::vector< float > & o2::emcal::AnalysisCluster::getCellsAmplitudeFraction |
( |
| ) |
const |
|
inline |
◆ getCellsIndices()
const std::vector< unsigned short > & o2::emcal::AnalysisCluster::getCellsIndices |
( |
| ) |
const |
|
inline |
◆ getClusterTime()
float o2::emcal::AnalysisCluster::getClusterTime |
( |
| ) |
const |
|
inline |
◆ getCoreEnergy()
float o2::emcal::AnalysisCluster::getCoreEnergy |
( |
| ) |
const |
|
inline |
◆ getDispersion()
float o2::emcal::AnalysisCluster::getDispersion |
( |
| ) |
const |
|
inline |
◆ getDistanceToBadChannel()
float o2::emcal::AnalysisCluster::getDistanceToBadChannel |
( |
| ) |
const |
|
inline |
◆ getEmcCpvDistance()
float o2::emcal::AnalysisCluster::getEmcCpvDistance |
( |
| ) |
const |
|
inline |
◆ getGlobalPosition()
◆ getID()
int o2::emcal::AnalysisCluster::getID |
( |
| ) |
const |
|
inline |
◆ getIndMaxInput()
int o2::emcal::AnalysisCluster::getIndMaxInput |
( |
| ) |
const |
|
inline |
◆ getIsExotic()
bool o2::emcal::AnalysisCluster::getIsExotic |
( |
| ) |
const |
|
inline |
◆ getLocalPosition()
◆ getM02()
float o2::emcal::AnalysisCluster::getM02 |
( |
| ) |
const |
|
inline |
◆ getM20()
float o2::emcal::AnalysisCluster::getM20 |
( |
| ) |
const |
|
inline |
◆ getMomentum()
TLorentzVector AnalysisCluster::getMomentum |
( |
std::array< const float, 3 > |
vertexPosition | ) |
const |
Returns TLorentzVector with momentum of the cluster. Only valid for clusters identified as photons or pi0 (overlapped gamma) produced on the vertex Vertex can be recovered with esd pointer doing:
Definition at line 32 of file AnalysisCluster.cxx.
◆ getNCells()
int o2::emcal::AnalysisCluster::getNCells |
( |
| ) |
const |
|
inline |
◆ getNExMax()
unsigned char o2::emcal::AnalysisCluster::getNExMax |
( |
| ) |
const |
|
inline |
◆ getTrackDx()
float o2::emcal::AnalysisCluster::getTrackDx |
( |
| ) |
const |
|
inline |
◆ getTrackDz()
float o2::emcal::AnalysisCluster::getTrackDz |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ setCellsAmplitudeFraction()
void o2::emcal::AnalysisCluster::setCellsAmplitudeFraction |
( |
const std::vector< float > & |
array | ) |
|
|
inline |
Set the array of cell amplitude fractions. Cell can be shared between 2 clusters, here the fraction of energy assigned to each cluster is stored. Only in unfolded clusters.
Definition at line 142 of file AnalysisCluster.h.
◆ setCellsIndices()
void o2::emcal::AnalysisCluster::setCellsIndices |
( |
const std::vector< unsigned short > & |
array | ) |
|
|
inline |
◆ setChi2()
void o2::emcal::AnalysisCluster::setChi2 |
( |
float |
chi2 | ) |
|
|
inline |
◆ setClusterTime()
void o2::emcal::AnalysisCluster::setClusterTime |
( |
float |
time | ) |
|
|
inline |
◆ setCoreEnergy()
void o2::emcal::AnalysisCluster::setCoreEnergy |
( |
float |
energy | ) |
|
|
inline |
◆ setDispersion()
void o2::emcal::AnalysisCluster::setDispersion |
( |
float |
disp | ) |
|
|
inline |
◆ setDistanceToBadChannel()
void o2::emcal::AnalysisCluster::setDistanceToBadChannel |
( |
float |
dist | ) |
|
|
inline |
◆ setE()
void o2::emcal::AnalysisCluster::setE |
( |
float |
ene | ) |
|
|
inline |
◆ setEmcCpvDistance()
void o2::emcal::AnalysisCluster::setEmcCpvDistance |
( |
float |
dEmcCpv | ) |
|
|
inline |
◆ setGlobalPosition()
◆ setID()
void o2::emcal::AnalysisCluster::setID |
( |
int |
id | ) |
|
|
inline |
◆ setIndMaxInput()
void o2::emcal::AnalysisCluster::setIndMaxInput |
( |
const int |
ind | ) |
|
|
inline |
◆ setIsExotic()
void o2::emcal::AnalysisCluster::setIsExotic |
( |
bool |
b | ) |
|
|
inline |
◆ setLocalPosition()
◆ setM02()
void o2::emcal::AnalysisCluster::setM02 |
( |
float |
m02 | ) |
|
|
inline |
◆ setM20()
void o2::emcal::AnalysisCluster::setM20 |
( |
float |
m20 | ) |
|
|
inline |
◆ setNCells()
void o2::emcal::AnalysisCluster::setNCells |
( |
int |
n | ) |
|
|
inline |
◆ setNExMax()
void o2::emcal::AnalysisCluster::setNExMax |
( |
unsigned char |
nExMax | ) |
|
|
inline |
◆ setTrackDistance()
void o2::emcal::AnalysisCluster::setTrackDistance |
( |
float |
dx, |
|
|
float |
dz |
|
) |
| |
|
inline |
◆ mCellsAmpFraction
std::vector<float> o2::emcal::AnalysisCluster::mCellsAmpFraction |
|
protected |
Array with cell amplitudes fraction. Only usable for unfolded clusters, where cell can be shared. here we store what fraction of the cell energy is assigned to a given cluster.
Definition at line 202 of file AnalysisCluster.h.
◆ mCellsIndices
std::vector<unsigned short> o2::emcal::AnalysisCluster::mCellsIndices |
|
protected |
Array of cell indices contributing to this cluster.
Definition at line 198 of file AnalysisCluster.h.
◆ mChi2
float o2::emcal::AnalysisCluster::mChi2 = 0 |
|
protected |
◆ mCoreEnergy
float o2::emcal::AnalysisCluster::mCoreEnergy = 0. |
|
protected |
◆ mDispersion
float o2::emcal::AnalysisCluster::mDispersion = 0 |
|
protected |
◆ mDistToBadChannel
float o2::emcal::AnalysisCluster::mDistToBadChannel = 1024 |
|
protected |
◆ mEmcCpvDistance
float o2::emcal::AnalysisCluster::mEmcCpvDistance = 1024 |
|
protected |
the distance from PHOS EMC rec.point to the closest CPV rec.point.
Definition at line 213 of file AnalysisCluster.h.
◆ mEnergy
float o2::emcal::AnalysisCluster::mEnergy = 0 |
|
protected |
◆ mGlobalPos
◆ mID
int o2::emcal::AnalysisCluster::mID = 0 |
|
protected |
◆ mInputIndMax
int o2::emcal::AnalysisCluster::mInputIndMax = -1 |
|
protected |
◆ mIsExotic
bool o2::emcal::AnalysisCluster::mIsExotic = false |
|
protected |
◆ mLabels
std::vector<int> o2::emcal::AnalysisCluster::mLabels |
|
protected |
TODO to replace later by o2::MCLabel when implementing the MC handling.
List of MC particles that generated the cluster, ordered in deposited energy.
Definition at line 193 of file AnalysisCluster.h.
◆ mLocalPos
◆ mM02
float o2::emcal::AnalysisCluster::mM02 = 0 |
|
protected |
◆ mM20
float o2::emcal::AnalysisCluster::mM20 = 0 |
|
protected |
◆ mNCells
int o2::emcal::AnalysisCluster::mNCells = 0 |
|
protected |
◆ mNExMax
unsigned char o2::emcal::AnalysisCluster::mNExMax = 0 |
|
protected |
◆ mTime
float o2::emcal::AnalysisCluster::mTime = 0. |
|
protected |
Time of the digit/cell with maximal energy deposition.
Definition at line 223 of file AnalysisCluster.h.
◆ mTrackDx
float o2::emcal::AnalysisCluster::mTrackDx = 1024 |
|
protected |
◆ mTrackDz
float o2::emcal::AnalysisCluster::mTrackDz = 1024 |
|
protected |
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/EMCAL/include/DataFormatsEMCAL/AnalysisCluster.h
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/EMCAL/src/AnalysisCluster.cxx