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
PHFieldConfigv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHFieldConfigv1.h
1
// $Id: $
2
11
#ifndef PHFIELD_PHFIELDCONFIGV1_H
12
#define PHFIELD_PHFIELDCONFIGV1_H
13
14
#include "
PHFieldConfig.h
"
15
16
#include <iostream>
17
#include <string>
18
19
class
PHObject
;
20
23
class
PHFieldConfigv1
:
public
PHFieldConfig
24
{
25
public
:
26
PHFieldConfigv1
(
27
FieldConfigTypes
field_config,
28
const
std::string
&
filename
,
29
double
magfield_rescale
= 1.);
30
32
PHFieldConfigv1
()
33
:
PHFieldConfigv1
(
kFieldInvalid
,
"INVALID FILE"
)
34
{
35
}
36
37
~PHFieldConfigv1
()
override
{}
38
40
PHObject
*
CloneMe
()
const override
{
return
new
PHFieldConfigv1
(*
this
); }
41
45
void
46
identify
(std::ostream&
os
= std::cout)
const override
;
47
49
void
Reset
()
override
{}
50
52
int
isValid
()
const override
;
53
54
FieldConfigTypes
get_field_config
()
const override
55
{
56
return
field_config_
;
57
}
58
void
set_field_config
(
FieldConfigTypes
fieldConfig)
override
59
{
60
field_config_
= fieldConfig;
61
}
62
63
const
std::string
&
get_filename
()
const override
64
{
65
return
filename_
;
66
}
67
68
void
set_filename
(
const
std::string
& filename)
override
69
{
70
filename_
=
filename
;
71
}
72
73
double
get_magfield_rescale
()
const override
74
{
75
return
magfield_rescale_
;
76
}
77
78
void
set_magfield_rescale
(
double
magfieldRescale)
override
79
{
80
magfield_rescale_
= magfieldRescale;
81
}
82
83
protected
:
84
FieldConfigTypes
field_config_
;
85
std::string
filename_
;
86
double
magfield_rescale_
;
87
88
ClassDefOverride(
PHFieldConfigv1
, 3)
89
};
90
91
#endif
coresoftware
blob
master
offline
packages
PHField
PHFieldConfigv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration