Class Reference for E1039 Core & Analysis Software
|
Toolsets to do geometry operations. More...
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/PHField/PHFieldUtility.h>
Static Public Member Functions | |
static PHFieldConfig * | DefaultFieldConfig () |
static PHField * | GetFieldMapNode (const PHFieldConfig *default_config=nullptr, PHCompositeNode *topNode=nullptr, const int verbosity=0) |
Get transient PHField from DST nodes. If not found, make a new one based on default_config. More... | |
static PHFieldConfig * | GetFieldConfigNode (const PHFieldConfig *default_config=nullptr, PHCompositeNode *topNode=nullptr, const int verbosity=0) |
Get persistent PHGeomIOTGeo from DST nodes. If not found, make a new one. More... | |
static PHField * | BuildFieldMap (const PHFieldConfig *field_config, const int verbosity=0) |
Build or build field map with a configuration object. More... | |
static std::string | GetDSTFieldMapNodeName () |
DST node name for RunTime field map object. More... | |
static std::string | GetDSTConfigNodeName () |
DST node name for persistent field configuration node. More... | |
Protected Member Functions | |
PHFieldUtility () | |
virtual | ~PHFieldUtility () |
Toolsets to do geometry operations.
Definition at line 17 of file PHFieldUtility.h.
|
protected |
Definition at line 33 of file PHFieldUtility.cc.
|
protectedvirtual |
Definition at line 37 of file PHFieldUtility.cc.
|
static |
Build or build field map with a configuration object.
Definition at line 42 of file PHFieldUtility.cc.
References PHFieldConfig::get_field_config(), PHFieldConfig::get_field_mag_x(), PHFieldConfig::get_field_mag_y(), PHFieldConfig::get_field_mag_z(), PHFieldConfig::get_filename(), PHFieldConfig::get_filename1(), PHFieldConfig::get_filename2(), PHFieldConfig::get_magfield_rescale(), PHFieldConfig::get_magfield_rescale1(), PHFieldConfig::get_magfield_rescale2(), PHFieldConfig::get_taregetmag_y(), PHFieldConfig::identify(), PHFieldConfig::kField2D, PHFieldConfig::kField3DCartesian, PHFieldConfig::kField3DCylindrical, PHFieldConfig::kFieldSeaQuest, PHFieldConfig::kFieldUniform, and PHFieldConfig::RegionalConst.
Referenced by main().
|
static |
Make a default PHFieldConfig as in default macro of pro.3 release Field map = /phenix/upgrades/decadal/fieldmaps/sPHENIX.2d.root Field Scale to 1.4/1.5 \output default field configuration object. Caller assumes ownership
Make a default PHFieldConfig Field map = /phenix/upgrades/decadal/fieldmaps/sPHENIX.2d.root Field Scale to 1.4/1.5 \output default field configuration object. Caller assumes ownership
Definition at line 116 of file PHFieldUtility.cc.
References PHFieldConfig::kField2D.
|
inlinestatic |
DST node name for persistent field configuration node.
Definition at line 56 of file PHFieldUtility.h.
|
inlinestatic |
DST node name for RunTime field map object.
Definition at line 49 of file PHFieldUtility.h.
|
static |
Get persistent PHGeomIOTGeo from DST nodes. If not found, make a new one.
Get persistent PHFieldConfig from DST nodes. If not found, make a new one based on default_config
[in] | default_config | default configuraiton if not on DST. If nullptr, use DefaultFieldConfig() as the default |
[in] | topNode | you know who.... |
Definition at line 164 of file PHFieldUtility.cc.
References PHCompositeNode::addNode(), PHNodeIterator::findFirst(), PHFieldConfig::identify(), Fun4AllServer::instance(), NULL, and Fun4AllServer::topNode().
|
static |
Get transient PHField from DST nodes. If not found, make a new one based on default_config.
Get transient PHField from DST nodes. If not found, make a new one based on default_config
[in] | default_config | default configuraiton if not on DST. If nullptr, use DefaultFieldConfig() as the default |
[in] | topNode | you know who.... |
Definition at line 126 of file PHFieldUtility.cc.
References PHCompositeNode::addNode(), PHNodeIterator::findFirst(), Fun4AllServer::instance(), NULL, and Fun4AllServer::topNode().
Referenced by SQReco::InitField(), PHG4Reco::InitField(), and VertexFit::InitRun().