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

Singleton which provides access to magnetic field for track representations. More...

#include <EicRoot/blob/master/genfit/GFFieldManager.h>

+ Collaboration diagram for GFFieldManager:

Public Member Functions

GFAbsBFieldgetField ()
 
void init (GFAbsBField *b)
 set the magntic field here. Magnetic field classes must be derived from GFAbsBField
 

Static Public Member Functions

static TVector3 getFieldVal (const TVector3 &x)
 
static GFFieldManagergetInstance ()
 

Private Member Functions

 GFFieldManager ()
 

Static Private Attributes

static GFFieldManagerfInstance = NULL
 
static GFAbsBFieldfField = NULL
 

Detailed Description

Singleton which provides access to magnetic field for track representations.

Author
Christian Höppner (Technische Universität München, original author)
Sebastian Neubert (Technische Universität München, original author)

Definition at line 37 of file GFFieldManager.h.

View newest version in sPHENIX GitHub at line 37 of file GFFieldManager.h

Constructor & Destructor Documentation

GFFieldManager::GFFieldManager ( )
inlineprivate

Definition at line 39 of file GFFieldManager.h.

View newest version in sPHENIX GitHub at line 39 of file GFFieldManager.h

Referenced by getInstance().

+ Here is the caller graph for this function:

Member Function Documentation

GFAbsBField* GFFieldManager::getField ( )
inline

Definition at line 44 of file GFFieldManager.h.

View newest version in sPHENIX GitHub at line 44 of file GFFieldManager.h

References fField.

static TVector3 GFFieldManager::getFieldVal ( const TVector3 &  x)
inlinestatic

Definition at line 52 of file GFFieldManager.h.

View newest version in sPHENIX GitHub at line 52 of file GFFieldManager.h

References fField, fInstance, and GFAbsBField::get().

Referenced by RKTrackRep::RKutta().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GFFieldManager* GFFieldManager::getInstance ( )
inlinestatic

Definition at line 69 of file GFFieldManager.h.

View newest version in sPHENIX GitHub at line 69 of file GFFieldManager.h

References fInstance, and GFFieldManager().

Referenced by PndRecoDafFit::Init(), and PndRecoKalmanFit::Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GFFieldManager::init ( GFAbsBField b)
inline

set the magntic field here. Magnetic field classes must be derived from GFAbsBField

Definition at line 65 of file GFFieldManager.h.

View newest version in sPHENIX GitHub at line 65 of file GFFieldManager.h

References fField.

Referenced by PndRecoDafFit::Init(), and PndRecoKalmanFit::Init().

+ Here is the caller graph for this function:

Member Data Documentation

GFAbsBField * GFFieldManager::fField = NULL
staticprivate

Definition at line 41 of file GFFieldManager.h.

View newest version in sPHENIX GitHub at line 41 of file GFFieldManager.h

Referenced by getField(), getFieldVal(), and init().

GFFieldManager * GFFieldManager::fInstance = NULL
staticprivate

Definition at line 40 of file GFFieldManager.h.

View newest version in sPHENIX GitHub at line 40 of file GFFieldManager.h

Referenced by getFieldVal(), and getInstance().


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