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
PHG4PSTOFSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4PSTOFSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4PSTOFSTEPPINGACTION_H
4
#define G4DETECTORS_PHG4PSTOFSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
class
G4Step;
9
class
G4VPhysicalVolume
;
10
class
PHCompositeNode
;
11
class
PHG4PSTOFDetector
;
12
class
PHG4Hit
;
13
class
PHG4HitContainer
;
14
class
PHParametersContainer
;
15
16
class
PHG4PSTOFSteppingAction
:
public
PHG4SteppingAction
17
{
18
public
:
20
PHG4PSTOFSteppingAction
(
PHG4PSTOFDetector
*,
const
PHParametersContainer
*);
21
23
~PHG4PSTOFSteppingAction
()
override
;
24
26
bool
UserSteppingAction
(
const
G4Step*,
bool
)
override
;
27
29
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
30
31
private
:
33
PHG4PSTOFDetector
*
detector_
=
nullptr
;
35
PHG4HitContainer
*
hits_
=
nullptr
;
36
PHG4Hit
*
hit
=
nullptr
;
37
PHG4HitContainer
*
savehitcontainer
=
nullptr
;
38
39
G4VPhysicalVolume
*
savevolpre
=
nullptr
;
40
G4VPhysicalVolume
*
savevolpost
=
nullptr
;
41
int
savetrackid
= -1;
42
int
saveprestepstatus
= -1;
43
int
savepoststepstatus
= -1;
44
double
edepsum
= 0.;
45
double
eionsum
= 0.;
46
};
47
48
#endif // PHG4PSTOFSteppingAction_h__
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4PSTOFSteppingAction.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration