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
PHFieldUniform.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHFieldUniform.cc
1
#include "
PHFieldUniform.h
"
2
3
#include <Geant4/G4SystemOfUnits.hh>
4
5
PHFieldUniform::PHFieldUniform
(
6
double
field_mag_x,
7
double
field_mag_y,
8
double
field_mag_z)
9
: field_mag_x_(field_mag_x *
tesla
)
10
, field_mag_y_(field_mag_y *
tesla
)
11
, field_mag_z_(field_mag_z *
tesla
)
12
{
13
}
14
15
void
PHFieldUniform::GetFieldValue
(
const
double
/*point*/
[4],
double
*Bfield)
const
16
{
17
Bfield[0] =
field_mag_x_
;
18
Bfield[1] =
field_mag_y_
;
19
Bfield[2] =
field_mag_z_
;
20
21
return
;
22
}
coresoftware
blob
master
offline
packages
PHField
PHFieldUniform.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:36
using
1.8.2 with
ECCE GitHub integration