EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
f2ascii.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file f2ascii.C
1
2
void
f2ascii
(TString fname)
3
{
4
// Load basic libraries;
5
gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C"
);
6
7
// Import ${VMCWORKDIR}/input/${fname}.root & initialize;
8
PndSolenoidMap
*fField =
new
PndSolenoidMap
(fname,
"R"
);
9
fField->
Init
();
10
11
// Convert and dump ASCII version to ./${fname}.dat;
12
fField->
WriteAsciiFile
(fname +
".dat"
);
13
14
exit
(0);
15
}
// f2ascii()
16
EicRoot
blob
master
input
field
f2ascii.C
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:36
using
1.8.2 with
EIC GitHub integration