LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
testBlineTracer.cc File Reference

Test program for the G4BlineTracer class. More...

#include "G4BlineTracer.hh"
#include "G4RunManager.hh"
#include "FTFP_BERT.hh"

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 }