VMC Examples Version 6.6
Loading...
Searching...
No Matches
Ex03PostDetConstruction Class Reference

#include <Ex03PostDetConstruction.h>

Inheritance diagram for Ex03PostDetConstruction:

Public Member Functions

 Ex03PostDetConstruction ()
 
virtual ~Ex03PostDetConstruction ()
 
virtual void Construct ()
 
 Ex03PostDetConstruction ()
 
virtual ~Ex03PostDetConstruction ()
 
virtual void Construct ()
 
 Ex03PostDetConstruction ()
 
virtual ~Ex03PostDetConstruction ()
 
virtual void Construct ()
 

Detailed Description

Post detector construction class which integrates user defined magnetic field equation of motion and integrator

Definition at line 26 of file Ex03PostDetConstruction.h.

Constructor & Destructor Documentation

◆ Ex03PostDetConstruction() [1/3]

Ex03PostDetConstruction::Ex03PostDetConstruction ( )

◆ ~Ex03PostDetConstruction() [1/3]

Ex03PostDetConstruction::~Ex03PostDetConstruction ( )
virtual

Definition at line 30 of file Ex03PostDetConstruction.cxx.

30{}

◆ Ex03PostDetConstruction() [2/3]

Ex03PostDetConstruction::Ex03PostDetConstruction ( )

◆ ~Ex03PostDetConstruction() [2/3]

virtual Ex03PostDetConstruction::~Ex03PostDetConstruction ( )
virtual

◆ Ex03PostDetConstruction() [3/3]

Ex03PostDetConstruction::Ex03PostDetConstruction ( )

◆ ~Ex03PostDetConstruction() [3/3]

virtual Ex03PostDetConstruction::~Ex03PostDetConstruction ( )
virtual

Member Function Documentation

◆ Construct() [1/3]

void Ex03PostDetConstruction::Construct ( )
virtual

Definition at line 33 of file Ex03PostDetConstruction.cxx.

34{
35 // Create "user" equation of motion;
36 // G4Mag_UsualEqRhs eqution and G4NystromRK4 stepper should be replaced with
37 // users own objects
38 G4cout << "Create user defined equation of motion and stepper" << G4endl;
39 G4Mag_EqRhs* equation = new G4Mag_UsualEqRhs(0);
40 G4MagIntegratorStepper* stepper = new G4NystromRK4(equation);
41
42 TG4GeometryManager::Instance()->SetUserEquationOfMotion(equation);
43 TG4GeometryManager::Instance()->SetUserStepper(stepper);
44}

◆ Construct() [2/3]

virtual void Ex03PostDetConstruction::Construct ( )
virtual

◆ Construct() [3/3]

virtual void Ex03PostDetConstruction::Construct ( )
virtual

The documentation for this class was generated from the following files: