LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 37 of file testBlineTracer.cc.

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