61 |
|
{ |
62 |
|
// Print particle kinematics. In case option "l" is given then also print info about daughters. |
63 |
|
|
64 |
< |
printf("id=%5d st=%2d nd=%3d gen=%d px=%.3f py=%.3f pz=%.3f e=%.3f\n", |
65 |
< |
PdgId(), Status(), NDaughters(), IsGenerated(), Px(), Py(), Pz(), E()); |
64 |
> |
printf("id=%5d st=%2d nd=%3d gen=%d sim=%d px=%.3f py=%.3f pz=%.3f e=%.3f\n", |
65 |
> |
PdgId(), Status(), NDaughters(), IsGenerated(), IsSimulated(), Px(), Py(), Pz(), E()); |
66 |
|
|
67 |
|
if (opt && opt[0]=='l') { |
68 |
|
for (UInt_t i=0; i<NDaughters(); ++i) { |
69 |
< |
printf(" %2d -> id=%5d st=%2d gen=%d px=%.3f py=%.3f pz=%.3f e=%.3f\n", |
70 |
< |
i, Daughter(i)->PdgId(), Daughter(i)->Status(), Daughter(i)->IsGenerated(), |
69 |
> |
printf(" %2d -> id=%5d st=%2d gen=%d sim=%d px=%.3f py=%.3f pz=%.3f e=%.3f\n", |
70 |
> |
i, Daughter(i)->PdgId(), Daughter(i)->Status(), |
71 |
> |
Daughter(i)->IsGenerated(), Daughter(i)->IsSimulated(), |
72 |
|
Daughter(i)->Px(), Daughter(i)->Py(), Daughter(i)->Pz(), Daughter(i)->E()); |
73 |
|
} |
74 |
|
} |