8 #ifndef CLUSTERPROPERTIESHELPER_H
9 #define CLUSTERPROPERTIESHELPER_H
11 #include "Pandora/PandoraInternal.h"
12 #include "Pandora/StatusCodes.h"
16 namespace pandora {
class Algorithm;
class CaloHit;
class Track; }
18 namespace april_content
23 static pandora::StatusCode GetClusterProperties(
const pandora::Cluster* pCluster,
24 float& minHitLayer,
float& clusterVol,
float& energyRatio,
25 float& hitOutsideRatio,
float& axisLengthRatio,
float& shortAxisLengthRatio);
27 static pandora::StatusCode GetAxisInformation(std::vector<TVector3>& relativePositionVector,
28 std::vector<float>& hitWeightVector,
float weightSum,
29 TVector3& clusterMainAxis,
float& axisLengthRatio,
float& shortAxisLengthRatio);
31 static pandora::StatusCode CalcClusterProperties(
const pandora::Cluster* pCluster,
32 float& minHitLayer,
float& clusterVol,
float& energyRatio,
33 float& hitOutsideRatio,
float& axisLengthRatio,
float& shortAxisLengthRatio, TVector3& axis);
35 static TVector3 GetMainAxis(
const pandora::Cluster*
const pCluster);
39 #endif // CLUSTERPROPERTIESHELPER_H
Definition: ClusterPropertiesHelper.h:20