M. Novak 13 May 2022 ==================== Download and extract into our `work` directory on the VM: --------------------------------------------------------- Download `day5-start.tar.gz` from your VM (e.g. using `firefox`) then you and extract to our work directory that is `$HOME/geant4/work` as: (go to our work directory; copy `day5-start.tar.gz` from ~/Downloads; then extract) localhost.localdomain:/app < 216 >cd $HOME/geant4/work/ localhost.localdomain:/work < 217 >cp ~/Downloads/day5-start.tar.gz . localhost.localdomain:/work < 218 >tar -xzvf day5-start.tar.gz Description: ------------ This is the starting point of our application at the beginning of day5. This state (where we stopped at the end of day4) contains only the implementation of the (mandatory) G4VUserDetectorConstruction, G4VUserActionInitialization, G4VUserPrimaryGeneratorAction interfaces (and a reference physics list). We already added the switch to youMain.cc that makes possible to execute the the application either in interactive or batch mode. Visualization can also be activated since we added the visualization manager. I have added the `YourRun` and `Hist` classes to the application that we will inspect at the begininning of day5. I have also made 2 very small changes to YourPrimaryGeneratorAction and YourDetectorConstruction that will be used from now. See more details in the readme file of the `app` directory. This will be the starting point of our development at the beginning of day4. Configure, compile and run: ------------------------------ As before you can configure, build and execute the application on your VM (from the `build` directory) as $ cmake ../ -DGeant4_DIR=$G4COMP $ make $ ./yourMain Note, that the above will execute the application in interactive mode while $ ./yourMain ../g4macro.mac will execute application in batch mode with the `g4macro.mac` macro file.