EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/field/PndMultiField.h>
Public Member Functions | |
PndMultiField () | |
PndMultiField (TString Map, Double_t BeamMom=15.0) | |
PndMultiField (PndMultiFieldPar *fieldPar) | |
virtual | ~PndMultiField () |
void | Init () |
void | AddField (FairField *field) |
TObjArray * | GetFieldList () |
void | FillParContainer () |
virtual void | Print () |
ClassDef (PndMultiField, 2) void GetFieldValue(const Double_t point[3] | |
Public Attributes | |
Double_t * | bField |
Protected Attributes | |
TObjArray * | fMaps |
Int_t | fNoOfMaps |
std::map< PndRegion *, FairField * > | fFieldMaps |
std::map< PndRegion *, FairField * >::iterator | fMapIter |
Double_t | fBeamMom |
Private Member Functions | |
PndMultiField (const PndMultiField &L) | |
PndMultiField & | operator= (const PndMultiField &) |
Definition at line 23 of file PndMultiField.h.
View newest version in sPHENIX GitHub at line 23 of file PndMultiField.h
PndMultiField::PndMultiField | ( | ) |
Default constructor
Definition at line 36 of file PndMultiField.cxx.
View newest version in sPHENIX GitHub at line 36 of file PndMultiField.cxx
PndMultiField::PndMultiField | ( | TString | Map, |
Double_t | BeamMom = 15.0 |
||
) |
Definition at line 43 of file PndMultiField.cxx.
View newest version in sPHENIX GitHub at line 43 of file PndMultiField.cxx
References AddField(), and fBeamMom.
PndMultiField::PndMultiField | ( | PndMultiFieldPar * | fieldPar | ) |
Constructor from PndFieldPar
Definition at line 97 of file PndMultiField.cxx.
View newest version in sPHENIX GitHub at line 97 of file PndMultiField.cxx
References PndMultiFieldPar::GetParArray().
|
virtual |
Destructor
Definition at line 107 of file PndMultiField.cxx.
View newest version in sPHENIX GitHub at line 107 of file PndMultiField.cxx
References fMaps.
|
inlineprivate |
Definition at line 60 of file PndMultiField.h.
View newest version in sPHENIX GitHub at line 60 of file PndMultiField.h
void PndMultiField::AddField | ( | FairField * | field | ) |
Adding a field to the collection
Definition at line 116 of file PndMultiField.cxx.
View newest version in sPHENIX GitHub at line 116 of file PndMultiField.cxx
References fMaps, and fNoOfMaps.
Referenced by EicRunSim::AddField(), PndFieldCreator::createFairField(), and PndMultiField().
PndMultiField::ClassDef | ( | PndMultiField | , |
2 | |||
) | const |
Get magnetic field. For use of GEANT3
point | Coordinates [cm] |
bField | (return) Field components [kG] |
void PndMultiField::FillParContainer | ( | ) |
Definition at line 156 of file PndMultiField.cxx.
View newest version in sPHENIX GitHub at line 156 of file PndMultiField.cxx
References FairRuntimeDb::getContainer(), FairRun::GetRunId(), FairRun::GetRuntimeDb(), FairRun::Instance(), FairParSet::setChanged(), FairParSet::setInputVersion(), and PndMultiFieldPar::SetParameters().
|
inline |
Definition at line 46 of file PndMultiField.h.
View newest version in sPHENIX GitHub at line 46 of file PndMultiField.h
References fMaps.
Referenced by PndFieldPar::SetParameters(), and PndMultiFieldPar::SetParameters().
void PndMultiField::Init | ( | void | ) |
Initialisation (read map from file)
Definition at line 126 of file PndMultiField.cxx.
View newest version in sPHENIX GitHub at line 126 of file PndMultiField.cxx
References fFieldMaps, fMaps, fNoOfMaps, PndConstField::GetZmax(), PndFieldMap::GetZmax(), PndConstField::GetZmin(), PndFieldMap::GetZmin(), PndFieldMap::Init(), and n.
Referenced by PndFieldCreator::createFairField().
|
inlineprivate |
Definition at line 61 of file PndMultiField.h.
View newest version in sPHENIX GitHub at line 61 of file PndMultiField.h
|
virtual |
Screen output
Definition at line 144 of file PndMultiField.cxx.
View newest version in sPHENIX GitHub at line 144 of file PndMultiField.cxx
Double_t* PndMultiField::bField |
Definition at line 58 of file PndMultiField.h.
View newest version in sPHENIX GitHub at line 58 of file PndMultiField.h
|
protected |
Definition at line 69 of file PndMultiField.h.
View newest version in sPHENIX GitHub at line 69 of file PndMultiField.h
Referenced by PndMultiField().
|
protected |
Definition at line 67 of file PndMultiField.h.
View newest version in sPHENIX GitHub at line 67 of file PndMultiField.h
Referenced by Init().
|
protected |
Definition at line 68 of file PndMultiField.h.
View newest version in sPHENIX GitHub at line 68 of file PndMultiField.h
|
protected |
Definition at line 61 of file PndMultiField.h.
View newest version in sPHENIX GitHub at line 61 of file PndMultiField.h
Referenced by AddField(), GetFieldList(), Init(), Print(), and ~PndMultiField().
|
protected |
Definition at line 66 of file PndMultiField.h.
View newest version in sPHENIX GitHub at line 66 of file PndMultiField.h
Referenced by AddField(), Init(), and Print().