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
extract-vc-gdml.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file extract-vc-gdml.C
1
2
void
extract_vc_gdml
(
const
char
*fin,
const
char
*fout)
3
{
4
TFile froot(fin);
5
auto
ostr =
dynamic_cast<
TObjString *
>
(froot.Get(
"VC.GDML"
));
6
if
(ostr) {
7
std::ofstream fgdml(fout);
8
fgdml << ostr->GetString();
9
fgdml.close();
10
}
//if
11
12
exit
(0);
13
}
// extract_vc_gdml()
EicToyModel
blob
master
scripts
extract-vc-gdml.C
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:38
using
1.8.2 with
EIC GitHub integration