EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/eic/field/EicMagneticFieldMap.h>
Public Member Functions | |
EicMagneticFieldMap (const char *fileName=0, TGeoMatrix *transformation=0, TGeoShape *shape=0, int color=_DEFAULT_YOKE_COLOR_) | |
~EicMagneticFieldMap () | |
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 Member Functions | |
const char * | BasenameWrapper (const char *fname) const |
int | GetMD5Signature (unsigned char output[]) |
Protected Attributes | |
UInt_t | mMD5BufferSize |
UChar_t * | mMD5Signature |
Bool_t | mInitialized |
TGeoMatrix * | mTransformation |
indicates whether Initialize() call was made or not | |
TGeoShape * | mShape |
Int_t | mColor |
Private Attributes | |
TString | mFileName |
Definition at line 18 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 18 of file EicMagneticFieldMap.h
EicMagneticFieldMap::EicMagneticFieldMap | ( | const char * | fileName = 0 , |
TGeoMatrix * | transformation = 0 , |
||
TGeoShape * | shape = 0 , |
||
int | color = _DEFAULT_YOKE_COLOR_ |
||
) |
Definition at line 56 of file EicMagneticFieldMap.cxx.
View newest version in sPHENIX GitHub at line 56 of file EicMagneticFieldMap.cxx
References FairLogger::Fatal(), FairLogger::GetLogger(), GetMD5Signature(), MESSAGE_ORIGIN, mFileName, mMD5BufferSize, mMD5Signature, and mShape.
|
inline |
Definition at line 23 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 23 of file EicMagneticFieldMap.h
|
protected |
Definition at line 25 of file EicMagneticFieldMap.cxx.
View newest version in sPHENIX GitHub at line 25 of file EicMagneticFieldMap.cxx
Referenced by EicBeamLineElementMap::GetDetectorName().
|
inlinevirtual |
Reimplemented in EicBeamLineElementGrad, and EicBeamLineElementMap.
Definition at line 45 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 45 of file EicMagneticFieldMap.h
Referenced by EicMagneticField::CreateYokeVolumes().
|
inlinevirtual |
Reimplemented in EicBeamLineElementGrad, and EicBeamLineElementMap.
Definition at line 50 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 50 of file EicMagneticFieldMap.h
Referenced by EicFieldMapDetector::ConstructGeometry().
|
virtual |
Reimplemented in EicPndFieldMap.
Definition at line 119 of file EicMagneticFieldMap.cxx.
View newest version in sPHENIX GitHub at line 119 of file EicMagneticFieldMap.cxx
References mShape, and mTransformation.
Referenced by EicBeamLineElementMap::GetFieldValue(), and EicConstantField::GetFieldValue().
|
inlinevirtual |
Reimplemented in EicBeamLineElementGrad, and EicBeamLineElementMap.
Definition at line 49 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 49 of file EicMagneticFieldMap.h
References GetFileName().
Referenced by EicMagneticField::CreateYokeVolumes().
|
pure virtual |
Implemented in EicPndFieldMap, EicBeamLineElementGrad, EicBeamLineElementMap, and EicConstantField.
Referenced by EicMagneticField::GetFieldSumValue().
|
inline |
Definition at line 42 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 42 of file EicMagneticFieldMap.h
References mFileName.
Referenced by EicFieldMapDetector::ConstructGeometry(), EicBeamLineElementMap::GetDetectorName(), EicBeamLineElementGrad::GetDetectorName(), GetDetectorName(), EicBeamLineElementMap::Initialize(), and EicMagneticField::InitializeFieldMaps().
|
protected |
Definition at line 35 of file EicMagneticFieldMap.cxx.
View newest version in sPHENIX GitHub at line 35 of file EicMagneticFieldMap.cxx
References ExpandedFileName(), mFileName, and Acts::open.
Referenced by EicMagneticFieldMap(), and Initialize().
|
inline |
Definition at line 37 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 37 of file EicMagneticFieldMap.h
References mShape.
Referenced by EicConstantField::GetFieldValue().
|
inline |
Definition at line 53 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 53 of file EicMagneticFieldMap.h
References mColor.
Referenced by EicBeamLineElementMap::ConstructGeometry(), and EicBeamLineElementGrad::ConstructGeometry().
|
inlinevirtual |
Reimplemented in EicBeamLineElementGrad, and EicBeamLineElementMap.
Definition at line 55 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 55 of file EicMagneticFieldMap.h
Referenced by EicFieldMapDetector::ConstructGeometry().
|
virtual |
Reimplemented in EicPndFieldMap, EicBeamLineElementGrad, EicConstantField, and EicBeamLineElementMap.
Definition at line 91 of file EicMagneticFieldMap.cxx.
View newest version in sPHENIX GitHub at line 91 of file EicMagneticFieldMap.cxx
References FairLogger::Fatal(), FairLogger::GetLogger(), GetMD5Signature(), MESSAGE_ORIGIN, mFileName, mInitialized, and mMD5Signature.
Referenced by EicBeamLineElementMap::Initialize(), EicConstantField::Initialize(), EicBeamLineElementGrad::Initialize(), EicPndFieldMap::Initialize(), and EicMagneticField::InitializeFieldMaps().
|
inline |
Definition at line 31 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 31 of file EicMagneticFieldMap.h
References mInitialized.
Referenced by EicMagneticField::InitializeFieldMaps().
|
inline |
Definition at line 52 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 52 of file EicMagneticFieldMap.h
Referenced by EicMagneticFieldFromGradients::AddBeamLineElementGrads(), EicMagneticField::AddBeamLineElementGrads(), and EicMagneticField::AddBeamLineElementMaps().
|
protected |
Definition at line 77 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 77 of file EicMagneticFieldMap.h
Referenced by GetYokeColor(), and SetYokeColor().
|
private |
Definition at line 63 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 63 of file EicMagneticFieldMap.h
Referenced by EicMagneticFieldMap(), GetFileName(), GetMD5Signature(), and Initialize().
|
protected |
Definition at line 68 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 68 of file EicMagneticFieldMap.h
Referenced by EicConstantField::GetFieldValue(), Initialize(), and Initialized().
|
protected |
Definition at line 66 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 66 of file EicMagneticFieldMap.h
Referenced by EicMagneticFieldMap().
|
protected |
Definition at line 67 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 67 of file EicMagneticFieldMap.h
Referenced by EicMagneticFieldMap(), and Initialize().
|
protected |
Definition at line 75 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 75 of file EicMagneticFieldMap.h
Referenced by Contains(), EicConstantBoxField::EicConstantBoxField(), EicConstantTubeField::EicConstantTubeField(), EicMagneticFieldMap(), GetShape(), and EicBeamLineElementMap::Initialize().
|
protected |
indicates whether Initialize() call was made or not
Definition at line 70 of file EicMagneticFieldMap.h.
View newest version in sPHENIX GitHub at line 70 of file EicMagneticFieldMap.h
Referenced by EicBeamLineElementMap::ConstructGeometry(), Contains(), EicConstantBoxField::EicConstantBoxField(), EicConstantTubeField::EicConstantTubeField(), EicBeamLineElementMap::GetFieldValue(), EicBeamLineElementMap::Initialize(), and EicConstantField::Initialize().