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
BeastMagnetSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BeastMagnetSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef BEASTMAGNETSUBSYSTEM_H
4
#define BEASTMAGNETSUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
7
8
class
BeastMagnetDetector
;
9
class
PHCompositeNode
;
10
class
PHG4Detector
;
11
class
PHG4DisplayAction
;
12
class
PHG4SteppingAction
;
13
24
class
BeastMagnetSubsystem
:
public
PHG4DetectorSubsystem
25
{
26
public
:
28
BeastMagnetSubsystem
(
const
std::string&
name
=
"BeastMagnet"
);
29
31
virtual
~BeastMagnetSubsystem
();
32
36
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
37
39
43
int
process_event
(
PHCompositeNode
*)
override
;
44
46
PHG4Detector
*
GetDetector
()
const override
;
47
48
PHG4SteppingAction
*
GetSteppingAction
()
const override
{
return
m_SteppingAction
; }
49
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
50
52
void
Print
(
const
std::string& what =
"ALL"
)
const override
;
53
54
protected
:
55
// \brief Set default parameter values
56
void
SetDefaultParameters
()
override
;
57
58
private
:
60
61
BeastMagnetDetector
*
m_Detector
;
62
64
65
PHG4SteppingAction
*
m_SteppingAction
;
66
68
69
PHG4DisplayAction
*
m_DisplayAction
;
70
};
71
72
#endif // BEASTMAGNETSUBSYSTEM_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4beastmagnet
BeastMagnetSubsystem.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:51
using
1.8.2 with
EIC GitHub integration