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