12 #include <TLorentzVector.h>
13 #include <TMCParticle.h>
21 std::unique_ptr<ParticleMC>
24 TLorentzVector
p(mc.GetPx(),
28 TVector3
v(mc.GetVx(),
31 particle->SetStatus(mc.GetKS());
32 particle->SetId(mc.GetKF());
33 particle->SetParentIndex(mc.GetParent());
34 particle->SetChild1Index(mc.GetFirstChild());
35 particle->SetChildNIndex(mc.GetLastChild());
37 particle->Set4Vector(
p);
38 particle->SetVertex(
v);