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

#include <EicRoot/blob/master/eic/field/EicMagneticFieldGrad.h>

+ Inheritance diagram for EicMagneticFieldGrad:
+ Collaboration diagram for EicMagneticFieldGrad:

Public Member Functions

 EicMagneticFieldGrad (const char *fileName=0, TGeoMatrix *transformation=0, TGeoShape *shape=0, int color=_DEFAULT_YOKE_COLOR_)
 
 ~EicMagneticFieldGrad ()
 
virtual int Initialize ()
 
bool Initialized () const
 
virtual int GetFieldValue (const double xx[], double B[]) const =0
 
TGeoShape * GetShape () const
 
virtual bool Contains (const double xx[]) const
 
const TString & GetFileName () const
 
virtual bool CapableToBuildYoke () const
 
virtual TString GetDetectorName () const
 
virtual int ConstructGeometry ()
 
void SetYokeColor (int color)
 
int GetYokeColor () const
 
virtual TGeoVolume * GetYokeVolume () const
 

Protected Attributes

Bool_t mInitialized
 
TGeoMatrix * mTransformation
 indicates whether Initialize() call was made or not
 
TGeoShape * mShape
 
Int_t mColor
 

Private Attributes

TString mFileName
 

Detailed Description

Definition at line 17 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 17 of file EicMagneticFieldGrad.h

Constructor & Destructor Documentation

EicMagneticFieldGrad::EicMagneticFieldGrad ( const char *  fileName = 0,
TGeoMatrix *  transformation = 0,
TGeoShape *  shape = 0,
int  color = _DEFAULT_YOKE_COLOR_ 
)

Definition at line 21 of file EicMagneticFieldGrad.cxx.

View newest version in sPHENIX GitHub at line 21 of file EicMagneticFieldGrad.cxx

References FairLogger::Fatal(), FairLogger::GetLogger(), MESSAGE_ORIGIN, mFileName, and mShape.

+ Here is the call graph for this function:

EicMagneticFieldGrad::~EicMagneticFieldGrad ( )
inline

Definition at line 22 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 22 of file EicMagneticFieldGrad.h

Member Function Documentation

virtual bool EicMagneticFieldGrad::CapableToBuildYoke ( ) const
inlinevirtual

Definition at line 44 of file EicMagneticFieldGrad.h.

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

Referenced by EicMagneticFieldFromGradients::CreateYokeVolumes().

+ Here is the caller graph for this function:

virtual int EicMagneticFieldGrad::ConstructGeometry ( )
inlinevirtual

Definition at line 50 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 50 of file EicMagneticFieldGrad.h

Referenced by EicFieldGradDetector::ConstructGeometry().

+ Here is the caller graph for this function:

bool EicMagneticFieldGrad::Contains ( const double  xx[]) const
virtual

Definition at line 59 of file EicMagneticFieldGrad.cxx.

View newest version in sPHENIX GitHub at line 59 of file EicMagneticFieldGrad.cxx

References mShape, and mTransformation.

virtual TString EicMagneticFieldGrad::GetDetectorName ( ) const
inlinevirtual

Definition at line 49 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 49 of file EicMagneticFieldGrad.h

References GetFileName().

+ Here is the call graph for this function:

virtual int EicMagneticFieldGrad::GetFieldValue ( const double  xx[],
double  B[] 
) const
pure virtual

Referenced by EicMagneticFieldFromGradients::GetFieldSumValue().

+ Here is the caller graph for this function:

const TString& EicMagneticFieldGrad::GetFileName ( void  ) const
inline

Definition at line 41 of file EicMagneticFieldGrad.h.

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

References mFileName.

Referenced by EicFieldGradDetector::ConstructGeometry(), GetDetectorName(), and EicMagneticFieldFromGradients::InitializeFieldGradients().

+ Here is the caller graph for this function:

TGeoShape* EicMagneticFieldGrad::GetShape ( ) const
inline

Definition at line 36 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 36 of file EicMagneticFieldGrad.h

References mShape.

int EicMagneticFieldGrad::GetYokeColor ( ) const
inline

Definition at line 53 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 53 of file EicMagneticFieldGrad.h

References mColor.

virtual TGeoVolume* EicMagneticFieldGrad::GetYokeVolume ( ) const
inlinevirtual

Definition at line 55 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 55 of file EicMagneticFieldGrad.h

Referenced by EicFieldGradDetector::ConstructGeometry().

+ Here is the caller graph for this function:

int EicMagneticFieldGrad::Initialize ( )
virtual

Definition at line 48 of file EicMagneticFieldGrad.cxx.

View newest version in sPHENIX GitHub at line 48 of file EicMagneticFieldGrad.cxx

References mInitialized.

Referenced by EicMagneticFieldFromGradients::InitializeFieldGradients().

+ Here is the caller graph for this function:

bool EicMagneticFieldGrad::Initialized ( ) const
inline

Definition at line 30 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 30 of file EicMagneticFieldGrad.h

References mInitialized.

Referenced by EicMagneticFieldFromGradients::InitializeFieldGradients().

+ Here is the caller graph for this function:

void EicMagneticFieldGrad::SetYokeColor ( int  color)
inline

Definition at line 52 of file EicMagneticFieldGrad.h.

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

References color, and mColor.

Member Data Documentation

Int_t EicMagneticFieldGrad::mColor
protected

Definition at line 72 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 72 of file EicMagneticFieldGrad.h

Referenced by GetYokeColor(), and SetYokeColor().

TString EicMagneticFieldGrad::mFileName
private

Definition at line 55 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 55 of file EicMagneticFieldGrad.h

Referenced by EicMagneticFieldGrad(), and GetFileName().

Bool_t EicMagneticFieldGrad::mInitialized
protected

Definition at line 63 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 63 of file EicMagneticFieldGrad.h

Referenced by Initialize(), and Initialized().

TGeoShape* EicMagneticFieldGrad::mShape
protected

Definition at line 70 of file EicMagneticFieldGrad.h.

View newest version in sPHENIX GitHub at line 70 of file EicMagneticFieldGrad.h

Referenced by Contains(), EicMagneticFieldGrad(), and GetShape().

TGeoMatrix* EicMagneticFieldGrad::mTransformation
protected

indicates whether Initialize() call was made or not

Definition at line 65 of file EicMagneticFieldGrad.h.

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

Referenced by Contains().


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