Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testBlineTracer.cc File Reference

Test program for the G4BlineTracer class. More...

#include "G4BlineTracer.hh"
#include "G4RunManager.hh"
#include "FTFP_BERT.hh"
Include dependency graph for testBlineTracer.cc:

Go to the source code of this file.

Functions

int main ()
 

Detailed Description

Test program for the G4BlineTracer class.

Definition in file testBlineTracer.cc.

Function Documentation

int main ( )

Definition at line 38 of file testBlineTracer.cc.

39 {
40  // Construct the default run manager
41  // and set a physics list (otherwise a run action cannot be instatiated)
42  G4RunManager * runManager = new G4RunManager;
43  runManager->SetUserInitialization(new FTFP_BERT);
44 
45  // Instantiate the G4BlineTracer class
46  G4BlineTracer* theBlineTool = new G4BlineTracer();
47 
48  // delete it
49  delete theBlineTool;
50 
51  return 0;
52 }
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)

Here is the call graph for this function: