Production process of particles with TVirtualMC

Dear all,

I am trying to figure out how to get the production process of a particle in an event in with TVirtualMC. This class has a function has a function ProdProcess() which takes the parameter Int_t isec. What is this parameter?

Is this the way to figure out via which production process the current particle is produced?
If not, is there someone that knows how to figure this out?

Kind regards,
Cas

_ROOT Version: v6-24-06
_Platform: Ubuntu 20.04.4 LTS
_Compiler: C++


@ivana, can you please help here ?
Thank you

I solved my problem, but in a different way.
I do not have the answer to the question I posed, unfortunately.

Hello,

The TVirtualMC class is documented at:
https://vmc-project.github.io/vmc/classTVirtualMC.html

The ProdProcess() function description:
“Return the VMC code of the process that has produced the secondary particles in the current step.”

The isec parameter is the number of the secondary particle.

Best regards,

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.