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
PHG4MicromegasSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4MicromegasSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4MICROMEGAS_PHG4MICROMEGASSTEPPINGACTION_H
4
#define G4MICROMEGAS_PHG4MICROMEGASSTEPPINGACTION_H
5
11
#include <
g4main/PHG4SteppingAction.h
>
12
13
#include <memory>
14
15
class
PHG4MicromegasDetector
;
16
17
class
G4Step;
18
class
G4VPhysicalVolume;
19
class
PHCompositeNode
;
20
class
PHG4Hit
;
21
class
PHG4HitContainer
;
22
class
PHParameters
;
23
24
class
PHG4MicromegasSteppingAction
:
public
PHG4SteppingAction
25
{
26
27
public
:
28
30
PHG4MicromegasSteppingAction
(
PHG4MicromegasDetector
*,
const
PHParameters
*
parameters
);
31
33
bool
UserSteppingAction
(
const
G4Step*,
bool
)
override
;
34
36
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
37
38
private
:
39
41
PHG4MicromegasDetector
*
m_Detector
=
nullptr
;
42
43
const
PHParameters
*
m_Params
=
nullptr
;
44
46
PHG4HitContainer
*
m_hitContainer
=
nullptr
;
47
49
std::unique_ptr<PHG4Hit>
m_hit
;
50
51
PHG4HitContainer
*
m_SaveHitContainer
=
nullptr
;
52
G4VPhysicalVolume*
m_SaveVolPre
=
nullptr
;
53
G4VPhysicalVolume*
m_SaveVolPost
=
nullptr
;
54
55
int
m_SaveTrackId
= -1;
56
int
m_SavePreStepStatus
= -1;
57
int
m_SavePostStepStatus
= -1;
58
int
m_ActiveFlag
= 0;
59
int
m_BlackHoleFlag
= 0;
60
double
m_EdepSum
= 0;
61
double
m_EionSum
= 0;
62
};
63
64
#endif // MICROMEGASSTEPPINGACTION_H
fun4all_coresoftware
blob
master
simulation
g4simulation
g4micromegas
PHG4MicromegasSteppingAction.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:50
using
1.8.2 with
EIC GitHub integration