7#ifndef XAODPFLOW_FEHELPERS_H
8#define XAODPFLOW_FEHELPERS_H 1
33 const std::string& attributeName,
38 const std::string& attributeName,
FillNeutralFlowElements()
void addStandardSamplingEnergies(xAOD::FlowElement &theFE, const xAOD::CaloCluster &theCluster)
void addStandardCalHitMoments(xAOD::FlowElement &theFE, const xAOD::CaloCluster &theCluster)
void addStandardMoments(xAOD::FlowElement &theFE, const xAOD::CaloCluster &theCluster)
bool addMoment(const xAOD::CaloCluster::MomentType &momentType, const std::string &attributeName, const xAOD::CaloCluster &theCluster, xAOD::FlowElement &theFE)
Function to add cluster moments onto FE.
void addSamplingEnergy(const xAOD::CaloCluster::CaloSample &sampling, const std::string &attributeName, const xAOD::CaloCluster &theCluster, xAOD::FlowElement &theFE)
MomentType
Enums to identify different moments.
CaloSampling::CaloSample CaloSample
std::vector< float > getEnergiesPerSampling(const xAOD::FlowElement &fe)
void vertexCorrectTheFourVector(const xAOD::FlowElement &fe, const TVector3 &vertexToCorrectTo, TLorentzVector &theFourVector)
bool getClusterMoment(const xAOD::FlowElement &fe, xAOD::CaloCluster::MomentType momentType, float &value)
TLorentzVector getVertexCorrectedFourVec(const xAOD::FlowElement &fe, const xAOD::Vertex &vertexToCorrectTo)
std::string getClusterMomentName(xAOD::CaloCluster::MomentType momentType)
xAOD::Type::ObjectType signalToXAODType(const xAOD::FlowElement &fe)
ObjectType
Type of objects that have a representation in the xAOD EDM.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Vertex_v1 Vertex
Define the latest version of the vertex class.