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
eASTDetectorComponentGDML.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file eASTDetectorComponentGDML.hh
1
// ********************************************************************
2
//
3
// eASTDetectorComponentGDML.hh
4
// eAST Beam pipe component
5
//
6
// History
7
// October 25, 2021 : first implementation
8
//
9
// ********************************************************************
10
11
#ifndef eASTDetectorComponentGDML_H
12
#define eASTDetectorComponentGDML_H 1
13
14
#include "
eASTVDetectorComponent.hh
"
15
16
class
G4GenericMessenger;
17
18
class
eASTDetectorComponentGDML
:
public
eASTVDetectorComponent
19
{
20
public
:
21
eASTDetectorComponentGDML
(G4String compName, G4int vl = 0,
const
G4bool validate_gdml=
false
);
22
virtual
~eASTDetectorComponentGDML
();
23
24
public
:
25
virtual
void
SetUp
();
26
virtual
void
Construct
(G4VPhysicalVolume*);
27
28
private
:
29
G4GenericMessenger*
messenger
=
nullptr
;
30
G4String
gdmlFileName
=
"*NOTDEFINED*"
;
31
G4String
matFileName
=
"*NOTDEFINED*"
;
32
G4bool
materialToBeSet
=
false
;
33
34
protected
:
35
const
G4bool
m_validate_gdml
=
false
;
36
37
public
:
38
void
SetGDML
(G4String fn)
39
{
gdmlFileName
=
LocateDataFile
(fn); }
40
void
SetMatFile
(G4String fn)
41
{
42
matFileName
=
LocateDataFile
(fn);
43
materialToBeSet
=
true
;
44
}
45
};
46
47
#endif
48
east
blob
main
Components
Base
include
eASTDetectorComponentGDML.hh
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:31
using
1.8.2 with
EIC GitHub integration