Skip to content

Commit 66958aa

Browse files
committed
update default value for cosmic generator particles
1 parent 4249870 commit 66958aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/TRestGeant4ParticleSourceCosmics.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ void TRestGeant4ParticleSourceCosmics::InitFromConfigFile() {
2121

2222
cout << "TRestGeant4ParticleSourceCosmics::InitFromConfigFile" << endl;
2323
fFilename = GetParameter("filename");
24-
const auto particles = GetParameter("particles", "neutron,proton,gamma,electron,muon");
24+
const auto particles =
25+
GetParameter("particles", "neutron,proton,gamma,electron_minus,electron_plus,muon_minus,muon_plus");
2526

2627
fDirection = Get3DVectorParameterWithUnits("direction", {0, -1, 0});
2728

0 commit comments

Comments
 (0)