Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
BeamLineMagnetSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BeamLineMagnetSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_BEAMLINEMAGNETSTEPPINGACTION_H
4
#define G4DETECTORS_BEAMLINEMAGNETSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
#include <string>
// for string
9
10
class
G4Step;
11
class
G4VPhysicalVolume
;
12
class
PHCompositeNode
;
13
class
BeamLineMagnetDetector
;
14
class
PHG4Hit
;
15
class
PHG4HitContainer
;
16
class
PHParameters
;
17
18
class
BeamLineMagnetSteppingAction
:
public
PHG4SteppingAction
19
{
20
public
:
22
BeamLineMagnetSteppingAction
(
BeamLineMagnetDetector
*,
const
PHParameters
*
parameters
);
23
25
~BeamLineMagnetSteppingAction
()
override
;
26
28
bool
UserSteppingAction
(
const
G4Step*,
bool
)
override
;
29
31
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
32
33
void
SetHitNodeName
(
const
std::string
&
type
,
const
std::string
&
name
)
override
;
34
35
private
:
37
BeamLineMagnetDetector
*
m_Detector
=
nullptr
;
38
const
PHParameters
*
m_Params
=
nullptr
;
40
PHG4HitContainer
*
m_HitContainer
=
nullptr
;
41
PHG4HitContainer
*
m_AbsorberHitContainer
=
nullptr
;
42
PHG4Hit
*
m_Hit
=
nullptr
;
43
PHG4HitContainer
*
m_SaveHitContainer
=
nullptr
;
44
45
G4VPhysicalVolume
*
m_SaveVolPre
=
nullptr
;
46
G4VPhysicalVolume
*
m_SaveVolPost
=
nullptr
;
47
int
m_SaveTrackId
= -1;
48
int
m_SavePreStepStatus
= -1;
49
int
m_SavePostStepStatus
= -1;
50
double
m_EdepSum
= 0.;
51
int
m_ActiveFlag
= 0;
52
int
m_AbsorberActiveFlag
= 0;
53
int
m_BlackHoleFlag
= 0;
54
55
std::string
m_HitNodeName
;
56
std::string
m_AbsorberNodeName
;
57
};
58
59
#endif // G4DETECTORS_BEAMLINEMAGNETSTEPPINGACTION_H
coresoftware
blob
master
simulation
g4simulation
g4detectors
BeamLineMagnetSteppingAction.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:12
using
1.8.2 with
sPHENIX GitHub integration