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
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
BeastMagnetDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BeastMagnetDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef BEASTMAGNETDETECTOR_H
4
#define BEASTMAGNETDETECTOR_H
5
6
#include <
g4main/PHG4Detector.h
>
7
8
#include <set>
9
#include <string>
// for string
10
11
class
BeastMagnetDisplayAction
;
12
class
G4LogicalVolume
;
13
class
G4VPhysicalVolume
;
14
class
PHCompositeNode
;
15
class
PHG4Subsystem
;
16
class
PHParameters
;
17
18
class
BeastMagnetDetector
:
public
PHG4Detector
19
{
20
public
:
22
BeastMagnetDetector
(
PHG4Subsystem
*subsys,
PHCompositeNode
*Node,
PHParameters
*
parameters
,
const
std::string &dnam);
23
25
virtual
~BeastMagnetDetector
() {}
26
28
void
ConstructMe
(
G4LogicalVolume
*
world
)
override
;
29
30
void
Print
(
const
std::string &what =
"ALL"
)
const override
;
31
33
34
int
IsInDetector
(
G4VPhysicalVolume
*)
const
;
36
37
void
SuperDetector
(
const
std::string &
name
) {
m_SuperDetector
=
name
; }
38
const
std::string
SuperDetector
()
const
{
return
m_SuperDetector
; }
39
40
private
:
41
void
InsertVolumes
(
G4VPhysicalVolume
*physvol);
42
BeastMagnetDisplayAction
*
m_DisplayAction
;
43
PHParameters
*
m_Params
;
44
45
std::string
m_GDMPath
;
46
std::string
m_TopVolName
;
47
48
// active volumes
49
std::set<G4VPhysicalVolume *>
m_PhysicalVolumesSet
;
50
51
std::string
m_SuperDetector
;
52
int
m_AbsorberActive
;
53
};
54
55
#endif // BEASTMAGNETDETECTOR_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4beastmagnet
BeastMagnetDetector.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:46
using
1.8.2 with
ECCE GitHub integration