12#include "Math/Vector4D.h"
13#include "Math/VectorUtil.h"
21using ROOT::Math::PtEtaPhiEVector;
22using ROOT::Math::PtEtaPhiMVector;
23using ROOT::Math::PxPyPzEVector;
24using ROOT::Math::PxPyPzMVector;
27template <
typename object>
29 return PtEtaPhiMVector(
37template <
typename object>
39 return PtEtaPhiEVector(
47template <
typename object>
49 return PxPyPzMVector(obj->px(),
56template <
typename object>
58 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.