Skip to content

Commit

Permalink
Merge pull request #27 from AngelineMeijer/patch-2
Browse files Browse the repository at this point in the history
Correct explanation of InvertFilter
  • Loading branch information
jiperl committed Oct 13, 2020
2 parents 88d177b + 66166a6 commit 4238ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parameters/source/misc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ You may specify more than one filter. For example, to emit protons with initial
sv:So/MySource/OnlyIncludeParticlesNamed = 1 "proton"
d:So/MySource/OnlyIncludeParticlesWithInitialKEAbove = 100. MeV # minimum energy

You can invert the results of all previous filters. The following would emit only particles that are Not protons with initial KE over 100 MeV::
You can invert the results of all previous filters. The following would score only particles that are 1. not protons AND 2. not neutrons AND 3. have initial KE smaller or equal to 100 MeV::

sv:So/MySource/OnlyIncludeParticlesNamed = 2 "proton" "neutron"
d:So/MySource/OnlyIncludeParticlesWithInitialKEAbove = 100. MeV # minimum energy
Expand Down

0 comments on commit 4238ea6

Please sign in to comment.