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
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_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
PHGenFitPkg
PHGeometry
macros
PHGeomFileImport.cc
PHGeomFileImport.h
PHGeomIOTGeo.cc
PHGeomIOTGeo.h
PHGeomIOTGeoLinkDef.h
PHGeomTGeo.cc
PHGeomTGeo.h
PHGeomUtility.cc
PHGeomUtility.h
PHTpcTracker
tpc
tpccalib
tpcdaq
trackbase
trackbase_historic
trackreco
trigger
vararray
QA
simulation
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHGeomUtility.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHGeomUtility.h
1
#ifndef PHGEOMETRY_PHGEOMUTILITY_H
2
#define PHGEOMETRY_PHGEOMUTILITY_H
3
4
#include <string>
5
6
class
PHCompositeNode
;
7
class
TGeoManager;
8
class
PHGeomTGeo
;
9
class
PHGeomIOTGeo
;
10
12
class
PHGeomUtility
13
{
14
public
:
16
static
TGeoManager *
17
GetTGeoManager
(
PHCompositeNode
*topNode);
18
20
static
int
21
ImportGeomFile
(
PHCompositeNode
*topNode,
const
std::string &geometry_file);
22
24
static
int
25
ImportCurrentTGeoManager
(
PHCompositeNode
*topNode);
26
28
static
void
29
ExportGeomtry
(
PHCompositeNode
*topNode,
const
std::string &geometry_file);
30
32
static
PHGeomTGeo
*
33
GetGeomTGeoNode
(
PHCompositeNode
*topNode,
bool
build_new =
true
);
34
36
static
PHGeomIOTGeo
*
37
GetGeomIOTGeoNode
(
PHCompositeNode
*topNode,
bool
build_new =
true
);
38
41
static
PHGeomIOTGeo
*
42
UpdateIONode
(
PHCompositeNode
*topNode);
43
46
static
PHGeomTGeo
*
47
LoadFromIONode
(
PHCompositeNode
*topNode);
48
52
static
std::string
53
GenerateGeometryFileName
(
const
std::string &filename_extension =
"gdml"
);
54
56
static
bool
57
RemoveGeometryFile
(
const
std::string &file_name);
58
60
static
void
SetVerbosity
(
int
v
);
61
63
static
int
GetVerbosity
();
64
66
static
std::string
67
GetDSTNodeName
()
68
{
69
return
std::string(
"GEOMETRY"
);
70
}
71
73
static
std::string
74
GetDSTIONodeName
()
75
{
76
return
std::string(
"GEOMETRY_IO"
);
77
}
78
81
static
void
SetGenerateGeometryFileNameBase
(
const
std::string &base) {
mg_GenerateGeometryFileNameBase
= base; }
82
83
private
:
84
PHGeomUtility
() =
delete
;
85
~PHGeomUtility
() =
delete
;
86
89
static
std::string
mg_GenerateGeometryFileNameBase
;
90
};
91
92
#endif
fun4all_coresoftware
blob
master
offline
packages
PHGeometry
PHGeomUtility.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:45
using
1.8.2 with
EIC GitHub integration