@@ -10,31 +10,33 @@ weight = 4
1010## Geant4 command line scoring
1111
1212Since Geant4 VMC version 6.8, it is possible to activate Geant4
13- command line scoring (see details in the [ Geant4 Application developers Guide,
14- section Command-based scoring] ( https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/Detector/commandScore.html ) ).
13+ command line scoring (see details in the Geant4 Application developers Guide,
14+ [ section Command-based scoring] ( https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/Detector/commandScore.html ) ).
1515
1616The activation should be done via calling
1717
1818{{< highlight cpp >}}
1919void TG4RunConfiguration::SetUseOfG4Scoring()
2020{{< /highlight >}}
2121
22- in user ` g4Config.C ` .
22+ in the user ` g4Config.C ` .
2323
24- The scoring (mesh, scorers etc.) can be then defined via Geant UI commands defined in '/score'
25- directory in ` g4config.in ` . The scoring data are then automatically saved for each mesh
26- in a ` mesh_name.txt ` file at the end of run
24+ The scoring (mesh, scorers etc.) can be then defined via Geant UI commands, available in the
25+ '/score' directory, in ` g4config.in ` .
26+
27+ The scoring data will be then automatically saved for each mesh
28+ in a ` mesh_name.txt ` file at the end of simulation run.
2729
2830## User defined scoring function
2931
30- User can also provide their scoreweight function that takes (pdg, ekin) as arguments
31- ( defined via ` TG4ScoreWeightCalculator ` ) via a new ` TG4RunConfiguration ` class`
32+ Users can also provide their scoreweight function that takes (pdg, ekin) as arguments,
33+ defined via ` TG4ScoreWeightCalculator ` , using a new ` TG4RunConfiguration ` class`
3234setter:
3335
3436{{< highlight cpp >}}
3537void TG4RunConfiguration::SetScoreWeightCalculator(TG4ScoreWeightCalculator swc)
36- void TG4RunConfiguration::SetUseOfG4Scoring()
3738{{< /highlight >}}
3839
39- The user function is then, in ` TG4SDManager::LateInitialize() ` , wrapped to ` G4ScoreWeightCalculator `
40- function that takes (const G4Step* ) as argument and is applied to all Geant4 scorers with activated score weighting.
40+ The user function is then wrapped to ` G4ScoreWeightCalculator ` function,
41+ that takes (const G4Step* ) as argument, and is applied to all Geant4 scorers with activated
42+ score weighting.
0 commit comments