Loading...
Searching...
No Matches
Functions
testBlineTracer.cc File Reference

Test program for the G4BlineTracer class. More...

#include "G4BlineTracer.hh"
#include "G4RunManagerFactory.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

◆ main()

int main ( )

Definition at line 37 of file testBlineTracer.cc.

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

Applications | User Support | Publications | Collaboration