How to Define the main() Program A Sample main() Method G4RunManager User Initialization and Action Classes G4UImanager and UI Command Submission G4cout and G4cerr How to Define a Detector Geometry Basic Concepts Create a Simple Volume Choose a Solid Create a Logical Volume Place a Volume Create a Physical Volume Coordinate Systems and Rotations How to Specify Materials in the Detector General Considerations Define a Simple material Define a Molecule Define a Mixture by Fractional Mass Print Material Information How to Specify Particles Particle Definition Range Cuts How to Specify Physics Processes Physics Processes Managing Processes Specifying Physics Processes How to Generate a Primary Event Generating Primary Events G4VPrimaryGenerator How to Make an Executable Program Building ExampleN01 in a UNIX environment Building ExampleN01 in a Windows Environment How to Set Up an Interactive Session Introduction A Short Description of Available Interface Classes Building the Interface Libraries How to Use the Interface How to Execute a Program Introduction 'Hard-coded' Batch Mode Batch Mode with Macro File Interactive Mode Driven by Command Lines General Case How to Visualize the Detector and Events Introduction Visualization Drivers How to Incorporate Visualization Drivers into an Executable Writing the main() Method to Include Visualization Sample Visualization Sessions More Information on Geant4 Visualization