What determines the number of steps in a track?

Hi everyone,
I think the number of tracks associated with each track varies.

Can someone please share what determines the number of steps a given track takes? Does the type and number of physics interactions that a given track undergoes have a role to play in that?

Specifically,
suppose two gamma photons(g1, g2) have 2 tracks
1.) g1 passes directly through a detector volume without depositing any energy in the detector.
2.) g2 Undergoes Compton’s scattering and escapes the detector.

Is it safe to say that in ‘general’ g1 will have fewer steps than g2?

Thank You

I think you mean “steps,” above. Of course it does; see Tracking — Book For Application Developers 11.2 documentation.

The type and number of physics interactions that a given track undergoes. See Tracking and Physics — Book For Application Developers 11.2 documentation.

No, it is not safe to say that. Perhaps there are interactions outside your detector volume.

If you are trying to understand the track’s interactions, you should probably either record every step in an N-tuple, so you can do your analysis offline; or you should have “accumulators” of information in your SteppingAction so you can eventually flag which tracks you want to record and which you don’t.

1 Like

Thanks a lot for the explanation.

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