EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4MagneticField Class Reference

PHG4MagneticField interfaces with Geant4. More...

#include <fun4all_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
 

Protected 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 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 27 of file PHG4MagneticField.cc.

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

References 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 field_.

Member Data Documentation

const PHField* PHG4MagneticField::field_
protected

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: