Skip to content

Commit 63cefe3

Browse files
committed
add a call to initialize the random number generator command processor
1 parent ee489da commit 63cefe3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WCSim.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "WCSimTrackingAction.hh"
1818
#include "WCSimSteppingAction.hh"
1919
#include "WCSimVisManager.hh"
20+
#include "WCSimRandomParameters.hh"
2021
#include <iostream>
2122

2223
int main(int argc,char** argv)
@@ -34,6 +35,9 @@ int main(int argc,char** argv)
3435
// Get the tuning parameters
3536
UI->ApplyCommand("/control/execute tuning_parameters.mac");
3637

38+
// define random number generator parameters
39+
WCSimRandomParameters *randomparameters = new WCSimRandomParameters();
40+
3741
// UserInitialization classes (mandatory)
3842
enum DetConfiguration {wfm=1,fwm=2};
3943
G4int WCSimConfiguration = fwm;

0 commit comments

Comments
 (0)