Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloEmbedding
CaloReco
centrality
ClusterIso
compressor
decayfinder
epd
eventplaneinfo
globalvertex
Half
HFTrackEfficiency
intt
jetbackground
jetbase
KFParticle_sPHENIX
mbd
micromegas
mvtx
NodeDump
particleflow
PHField
PHField.h
PHField2D.cc
PHField2D.h
PHField3DCartesian.cc
PHField3DCartesian.h
PHField3DCylindrical.cc
PHField3DCylindrical.h
PHFieldConfig.cc
PHFieldConfig.h
PHFieldConfigLinkDef.h
PHFieldConfigv1.cc
PHFieldConfigv1.h
PHFieldConfigv1LinkDef.h
PHFieldConfigv2.cc
PHFieldConfigv2.h
PHFieldConfigv2LinkDef.h
PHFieldUniform.cc
PHFieldUniform.h
PHFieldUtility.cc
PHFieldUtility.h
PHGenFitPkg
PHGeometry
QAUtils
rawtodst
ResonanceJetTagging
tpc
tpccalib
tpcdaq
TPCHitTrackDisplay
trackbase
trackbase_historic
TrackerMillepedeAlignment
TrackingDiagnostics
trackreco
trigger
vararray
QA
simulation
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHFieldConfigv2.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHFieldConfigv2.h
1
// $Id: $
2
11
#ifndef PHFIELD_PHFIELDCONFIGV2_H
12
#define PHFIELD_PHFIELDCONFIGV2_H
13
14
#include "
PHFieldConfig.h
"
15
16
#include <iostream>
17
18
class
PHObject
;
19
22
class
PHFieldConfigv2
:
public
PHFieldConfig
23
{
24
public
:
26
PHFieldConfigv2
(
27
double
field_mag_x,
28
double
field_mag_y,
29
double
field_mag_z);
30
32
PHFieldConfigv2
()
33
:
PHFieldConfigv2
(0, 0, 0)
34
{
35
}
36
37
~PHFieldConfigv2
()
override
{}
38
40
PHObject
*
CloneMe
()
const override
{
return
new
PHFieldConfigv2
(*
this
); }
41
45
void
46
identify
(std::ostream&
os
= std::cout)
const override
;
47
49
void
Reset
()
override
{}
50
52
int
isValid
()
const override
{
return
3; }
53
54
FieldConfigTypes
get_field_config
()
const override
55
{
56
return
kFieldUniform
;
57
}
58
60
double
get_field_mag_x
()
const override
61
{
62
return
field_mag_x_
;
63
}
64
66
void
set_field_mag_x
(
double
fieldMagX)
override
67
{
68
field_mag_x_
= fieldMagX;
69
}
70
72
double
get_field_mag_y
()
const override
73
{
74
return
field_mag_y_
;
75
}
76
78
void
set_field_mag_y
(
double
fieldMagY)
override
79
{
80
field_mag_y_
= fieldMagY;
81
}
82
84
double
get_field_mag_z
()
const override
85
{
86
return
field_mag_z_
;
87
}
88
90
void
set_field_mag_z
(
double
fieldMagZ)
override
91
{
92
field_mag_z_
= fieldMagZ;
93
}
94
95
protected
:
96
double
field_mag_x_
;
97
double
field_mag_y_
;
98
double
field_mag_z_
;
99
100
ClassDefOverride(
PHFieldConfigv2
, 1)
101
};
102
103
#endif
coresoftware
blob
master
offline
packages
PHField
PHFieldConfigv2.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration