14#include <fairlogger/Logger.h>
17#include <TLorentzVector.h>
47 LOG(info) <<
"Null cluster radius, momentum calculation not possible";
math_utils::Point3D< float > mGlobalPos
Position in global coordinate system (cm).
void setGlobalPosition(math_utils::Point3D< float > x)
Set the cluster global position.
float mEnergy
Energy measured by calorimeter in GeV.
math_utils::Point3D< float > mLocalPos
Local position in the sub-detector coordinate.
TLorentzVector getMomentum(std::array< const float, 3 > vertexPosition) const
std::vector< float > mCellsAmpFraction
std::vector< unsigned short > mCellsIndices
Array of cell indices contributing to this cluster.
void setLocalPosition(math_utils::Point3D< float > x)
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"