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
G4JLeicBeamLineMagnetDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4JLeicBeamLineMagnetDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4JLEIC_PHG4BEAMLINEMAGNETMAGNETDETECTOR_H
4
#define G4JLEIC_PHG4BEAMLINEMAGNETMAGNETDETECTOR_H
5
6
#include <
g4main/PHG4Detector.h
>
7
8
#include <string>
9
10
class
G4JLeicBeamLineMagnetDisplayAction
;
11
class
G4LogicalVolume
;
12
class
G4VPhysicalVolume
;
13
class
PHCompositeNode
;
14
class
PHG4Subsystem
;
15
class
PHParameters
;
16
17
class
G4JLeicBeamLineMagnetDetector
:
public
PHG4Detector
18
{
19
public
:
21
G4JLeicBeamLineMagnetDetector
(
PHG4Subsystem
*subsys,
PHCompositeNode
*Node,
PHParameters
*
parameters
,
const
std::string &dnam,
const
int
layer
= 0);
22
24
virtual
~G4JLeicBeamLineMagnetDetector
(
void
)
25
{
26
}
27
29
void
ConstructMe
(
G4LogicalVolume
*
world
);
30
31
int
IsInBeamLineMagnet
(
const
G4VPhysicalVolume
*)
const
;
32
void
SuperDetector
(
const
std::string &
name
) {
superdetector
=
name
; }
33
const
std::string
SuperDetector
()
const
{
return
superdetector
; }
34
int
get_Layer
()
const
{
return
layer
; }
35
36
private
:
37
PHParameters
*
params
;
38
39
G4VPhysicalVolume
*
magnet_physi
;
40
G4VPhysicalVolume
*
magnet_iron_physi
;
41
G4JLeicBeamLineMagnetDisplayAction
*
m_DisplayAction
;
42
43
int
layer
;
44
std::string
superdetector
;
45
};
46
47
#endif // G4JLEIC_PHG4BEAMLINEMAGNETMAGNETDETECTOR_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4jleic
G4JLeicBeamLineMagnetDetector.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:47
using
1.8.2 with
ECCE GitHub integration