Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHFieldUtility.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHFieldUtility.h
1
#ifndef PHFIELD_PHFIELDUTILITY_H
2
#define PHFIELD_PHFIELDUTILITY_H
3
4
#include <string>
5
6
class
PHCompositeNode
;
7
class
PHField
;
8
class
PHFieldConfig
;
9
11
class
PHFieldUtility
12
{
13
public
:
18
static
PHFieldConfig
*
DefaultFieldConfig
();
19
23
static
PHField
*
24
GetFieldMapNode
(
const
PHFieldConfig
*default_config =
nullptr
,
PHCompositeNode
*topNode =
nullptr
,
const
int
verbosity
= 0);
25
29
static
PHFieldConfig
*
30
GetFieldConfigNode
(
const
PHFieldConfig
*default_config =
nullptr
,
PHCompositeNode
*topNode =
nullptr
,
const
int
verbosity
= 0);
31
33
static
PHField
*
34
BuildFieldMap
(
const
PHFieldConfig
*field_config,
float
inner_radius
= 0.,
float
outer_radius
= 1.e10,
float
size_z
= 1.e10,
const
int
verbosity
= 0);
35
37
static
std::string
38
GetDSTFieldMapNodeName
()
39
{
40
return
std::string
(
"FIELD_MAP"
);
41
}
42
44
static
std::string
45
GetDSTConfigNodeName
()
46
{
47
return
std::string
(
"FIELD_CONFIG"
);
48
}
49
50
private
:
51
// static tool sets only
52
PHFieldUtility
() =
delete
;
53
~PHFieldUtility
() =
delete
;
54
};
55
56
#endif
coresoftware
blob
master
offline
packages
PHField
PHFieldUtility.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration