ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Toolsets to do geometry operations. More...
#include <coresoftware/blob/master/offline/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. | |
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. | |
static PHField * | BuildFieldMap (const PHFieldConfig *field_config, const int verbosity=0) |
Build or build field map with a configuration object. | |
static std::string | GetDSTFieldMapNodeName () |
DST node name for RunTime field map object. | |
static std::string | GetDSTConfigNodeName () |
DST node name for persistent field configuration node. | |
Private Member Functions | |
PHFieldUtility ()=delete | |
~PHFieldUtility ()=delete | |
Toolsets to do geometry operations.
Definition at line 11 of file PHFieldUtility.h.
View newest version in sPHENIX GitHub at line 11 of file PHFieldUtility.h
|
privatedelete |
|
privatedelete |
|
static |
Build or build field map with a configuration object.
Definition at line 32 of file PHFieldUtility.cc.
View newest version in sPHENIX GitHub at line 32 of file PHFieldUtility.cc
References PHFieldConfig::Field3DCartesian, PHFieldConfig::get_field_config(), PHFieldConfig::get_field_mag_x(), PHFieldConfig::get_field_mag_y(), PHFieldConfig::get_field_mag_z(), PHFieldConfig::get_filename(), PHFieldConfig::get_magfield_rescale(), PHFieldConfig::identify(), PHFieldConfig::kField2D, PHFieldConfig::kField3DCylindrical, PHFieldConfig::kFieldBeast, PHFieldConfig::kFieldCleo, and PHFieldConfig::kFieldUniform.
Referenced by PHTpcTracker::getMagField(), and 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 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 default field configuration object. Caller assumes ownership
Definition at line 109 of file PHFieldUtility.cc.
View newest version in sPHENIX GitHub at line 109 of file PHFieldUtility.cc
References PHFieldConfig::kField2D.
Referenced by main().
|
inlinestatic |
DST node name for persistent field configuration node.
Definition at line 45 of file PHFieldUtility.h.
View newest version in sPHENIX GitHub at line 45 of file PHFieldUtility.h
|
inlinestatic |
DST node name for RunTime field map object.
Definition at line 38 of file PHFieldUtility.h.
View newest version in sPHENIX GitHub at line 38 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 152 of file PHFieldUtility.cc.
View newest version in sPHENIX GitHub at line 152 of file PHFieldUtility.cc
References PHObject::CloneMe(), PHNodeIterator::findFirst(), PHFieldConfig::identify(), Fun4AllServer::instance(), PHWHERE, 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 118 of file PHFieldUtility.cc.
View newest version in sPHENIX GitHub at line 118 of file PHFieldUtility.cc
References PHNodeIterator::findFirst(), Fun4AllServer::instance(), PHWHERE, and Fun4AllServer::topNode().
Referenced by ALICEKF::ALICEKF(), PHTpcTracker::getMagField(), PHG4Reco::InitField(), PHGenFitTrkProp::InitializePHGenFit(), FieldMapReadBack::InitRun(), PHGenFitTrackProjection::InitRun(), PHSimpleKFProp::InitRun(), PHRaveVertexing::InitRun(), PHG4TrackFastSim::InitRun(), B0TrackFastSim::InitRun(), and PHGenFitTrkFitter::InitRun().