ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloReco
centrality
ClusterIso
compressor
Half
HelixHough
intt
jetbackground
KFParticle_sPHENIX
micromegas
mvtx
NodeDump
particleflow
PHField
PHField.h
PHField2D.cc
PHField2D.h
PHField3DCartesian.cc
PHField3DCartesian.h
PHField3DCylindrical.cc
PHField3DCylindrical.h
PHFieldBeast.cc
PHFieldBeast.h
PHFieldCleo.cc
PHFieldCleo.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
PHTpcTracker
tpc
tpccalib
tpcdaq
trackbase
trackbase_historic
trackreco
trigger
vararray
QA
simulation
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
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
53
isValid
()
const override
;
54
55
FieldConfigTypes
get_field_config
()
const override
56
{
57
return
field_config_
;
58
}
59
void
set_field_config
(
FieldConfigTypes
fieldConfig)
override
60
{
61
field_config_
= fieldConfig;
62
}
63
64
const
std::string&
get_filename
()
const override
65
{
66
return
filename_
;
67
}
68
69
void
set_filename
(
const
std::string& filename)
override
70
{
71
filename_
=
filename
;
72
}
73
74
double
get_magfield_rescale
()
const override
75
{
76
return
magfield_rescale_
;
77
}
78
79
void
set_magfield_rescale
(
double
magfieldRescale)
override
80
{
81
magfield_rescale_
= magfieldRescale;
82
}
83
84
protected
:
85
FieldConfigTypes
field_config_
;
86
std::string
filename_
;
87
double
magfield_rescale_
;
88
89
ClassDefOverride(
PHFieldConfigv1
, 3)
90
};
91
92
#endif
coresoftware
blob
master
offline
packages
PHField
PHFieldConfigv1.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:36
using
1.8.2 with
ECCE GitHub integration