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
G4Example02SteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4Example02SteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4EXAMPLE02STEPPINGACTION_H
4
#define G4EXAMPLE02STEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
class
G4Step;
9
class
G4VPhysicalVolume
;
10
class
PHCompositeNode
;
11
class
G4Example02Detector
;
12
class
PHG4Hit
;
13
class
PHG4HitContainer
;
14
class
PHParameters
;
15
16
class
G4Example02SteppingAction
:
public
PHG4SteppingAction
17
{
18
public
:
20
G4Example02SteppingAction
(
G4Example02Detector
*,
const
PHParameters
*
parameters
);
21
23
virtual
~G4Example02SteppingAction
();
24
26
virtual
bool
UserSteppingAction
(
const
G4Step*,
bool
);
27
29
virtual
void
SetInterfacePointers
(
PHCompositeNode
*);
30
31
private
:
33
G4Example02Detector
*
m_Detector
;
34
const
PHParameters
*
m_Params
;
36
PHG4HitContainer
*
m_HitContainer
;
37
PHG4Hit
*
m_Hit
;
38
PHG4HitContainer
*
m_SaveHitContainer
;
39
40
G4VPhysicalVolume
*
m_SaveVolPre
;
41
G4VPhysicalVolume
*
m_SaveVolPost
;
42
int
m_SaveTrackId
;
43
int
m_SavePreStepStatus
;
44
int
m_SavePostStepStatus
;
45
int
m_ActiveFlag
;
46
int
m_BlackHoleFlag
;
47
double
m_EdepSum
;
48
double
m_EionSum
;
49
};
50
51
#endif // G4EXAMPLE02STEPPINGACTION_H
g4exampledetector
blob
master
parameter
source
G4Example02SteppingAction.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:16
using
1.8.2 with
sPHENIX GitHub integration