Skip to content

Commit

Permalink
docs(sim): Add comment to FairRunSim::SetMCConfig()
Browse files Browse the repository at this point in the history
Comments explain `SetMCConfig()` functionality.
  • Loading branch information
karabowi committed Aug 28, 2024
1 parent 9bf292c commit 00898f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fairroot/base/steer/FairRunSim.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ class FairRunSim : public FairRun
private:
FairRunSim(const FairRunSim& M);
FairRunSim& operator=(const FairRunSim&) { return *this; }
/**
* Performs simulation initialization:
* - runs simulation config (construct TGeant3/TGeant4, configure TGeant3/TGeant4, create stack),
* - runs FairMCApplication->InitMC() (set stack, run fMC->Init(), run fMC->BuildPhysics()),
* - runs postinit config (sets some VMC properties, which are only allowed after init).
*/
void SetMCConfig();
void CheckFlukaExec();

Expand Down

0 comments on commit 00898f9

Please sign in to comment.