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
G4Example01SteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4Example01SteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4EXAMPLE01STEPPINGACTION_H
4
#define G4EXAMPLE01STEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
class
G4Step;
9
class
G4VPhysicalVolume;
10
class
PHCompositeNode
;
11
class
G4Example01Detector
;
12
class
PHG4Hit
;
13
class
PHG4HitContainer
;
14
15
class
G4Example01SteppingAction
:
public
PHG4SteppingAction
16
{
17
public
:
19
G4Example01SteppingAction
(
G4Example01Detector
*);
20
22
virtual
~G4Example01SteppingAction
();
23
25
virtual
bool
UserSteppingAction
(
const
G4Step*,
bool
);
26
28
virtual
void
SetInterfacePointers
(
PHCompositeNode
*);
29
30
private
:
32
G4Example01Detector
*
m_Detector
;
34
PHG4HitContainer
*
m_HitContainer
;
35
PHG4Hit
*
m_Hit
;
36
PHG4HitContainer
*
m_SaveHitContainer
;
37
38
G4VPhysicalVolume*
m_SaveVolPre
;
39
G4VPhysicalVolume*
m_SaveVolPost
;
40
int
m_SaveTrackId
;
41
int
m_SavePreStepStatus
;
42
int
m_SavePostStepStatus
;
43
double
m_EdepSum
;
44
double
m_EionSum
;
45
};
46
47
#endif // G4EXAMPLE01STEPPINGACTION_H
g4exampledetector
blob
master
simple
source
G4Example01SteppingAction.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:55
using
1.8.2 with
EIC GitHub integration