12#include "Math/Vector4D.h"
13#include "Math/VectorUtil.h"
17using ROOT::Math::PtEtaPhiEVector;
18using ROOT::Math::PtEtaPhiMVector;
19using ROOT::Math::PxPyPzEVector;
20using ROOT::Math::PxPyPzMVector;
23template <
typename object>
25 return PtEtaPhiMVector(
33template <
typename object>
35 return PtEtaPhiEVector(
43template <
typename object>
45 return PxPyPzMVector(obj->px(),
52template <
typename object>
54 return PxPyPzEVector(obj->px(),
PxPyPzEVector GetPxPyPzEfromTruth(const xAOD::TruthParticle *TruthParticle)
PxPyPzMVector GetPxPyPzM(const object *obj)
PtEtaPhiMVector GetPtEtaPhiM(const object *obj)
PtEtaPhiEVector GetPtEtaPhiEfromTruth(const xAOD::TruthParticle *TruthParticle)
PxPyPzEVector GetPxPyPzE(const object *obj)
PtEtaPhiMVector GetPtEtaPhiMfromTruth(const xAOD::TruthParticle *TruthParticle)
PtEtaPhiEVector GetPtEtaPhiE(const object *obj)
PxPyPzMVector GetPxPyPzMfromTruth(const xAOD::TruthParticle *TruthParticle)
(HepMC) Monte Carlo particle.
TruthParticle_v1 TruthParticle
Typedef to implementation.