Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4MagneticField Class Reference

PHG4MagneticField interfaces with Geant4. More...

#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4MagneticField.h>

+ Inheritance diagram for PHG4MagneticField:
+ Collaboration diagram for PHG4MagneticField:

Public Member Functions

 PHG4MagneticField (const PHField *field)
 
 ~PHG4MagneticField () override
 
const PHFieldget_field () const
 
void set_field (const PHField *field)
 
void GetFieldValue (const double Point[4], double *Bfield) const override
 

Private Attributes

const PHFieldfield_
 

Detailed Description

PHG4MagneticField interfaces with Geant4.

Definition at line 23 of file PHG4MagneticField.h.

View newest version in sPHENIX GitHub at line 23 of file PHG4MagneticField.h

Constructor & Destructor Documentation

PHG4MagneticField::PHG4MagneticField ( const PHField field)

Definition at line 17 of file PHG4MagneticField.cc.

View newest version in sPHENIX GitHub at line 17 of file PHG4MagneticField.cc

References assert, and field_.

PHG4MagneticField::~PHG4MagneticField ( )
override

Definition at line 23 of file PHG4MagneticField.cc.

View newest version in sPHENIX GitHub at line 23 of file PHG4MagneticField.cc

Member Function Documentation

const PHField* PHG4MagneticField::get_field ( ) const
inline

Definition at line 29 of file PHG4MagneticField.h.

View newest version in sPHENIX GitHub at line 29 of file PHG4MagneticField.h

References field_.

void PHG4MagneticField::GetFieldValue ( const double  Point[4],
double Bfield 
) const
override

Definition at line 28 of file PHG4MagneticField.cc.

View newest version in sPHENIX GitHub at line 28 of file PHG4MagneticField.cc

References assert, field_, and PHField::GetFieldValue().

+ Here is the call graph for this function:

void PHG4MagneticField::set_field ( const PHField field)
inline

Definition at line 34 of file PHG4MagneticField.h.

View newest version in sPHENIX GitHub at line 34 of file PHG4MagneticField.h

References ckf::field, and field_.

Member Data Documentation

const PHField* PHG4MagneticField::field_
private

Definition at line 42 of file PHG4MagneticField.h.

View newest version in sPHENIX GitHub at line 42 of file PHG4MagneticField.h

Referenced by get_field(), GetFieldValue(), PHG4MagneticField(), and set_field().


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