Plotting alpha paths in Root C

ROOT Version: 6.32.02
_Operating System:_Sonoma 14.3
_Compiler/Version: X code 15.3
_CMake Version:_3.29.2

Hi all,

I’ve changed the microdosimetry example in G4 to run alphas instead of protons and wish to view the alphas in the plot.C Root file.

The path of the particles is plotted using:

// Protons
ntuple->SetMarkerColor(4);
ntuple->SetMarkerSize(4);
ntuple->Draw(“x:y:z/1000”,“flagParticle==2”,“same”);

Presumably the flagParticle==2 sets the particle type to protons. How do I change that to alphas?

Regards

Tim

1 Like

Hi Tim,

I am not completely sure: would it make sense to ask the G4 forum instead of the ROOT one?

Cheers,
D