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
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/PHG4Hit.h
>
// for PHG4Hit
12
#include <
g4main/PHG4SteppingAction.h
>
13
14
#include <memory>
15
#include <string>
// for string
16
17
class
PHG4MicromegasDetector
;
18
19
class
G4Step;
20
class
G4VPhysicalVolume
;
21
class
PHCompositeNode
;
22
class
PHG4HitContainer
;
23
class
PHParameters
;
24
25
class
PHG4MicromegasSteppingAction
:
public
PHG4SteppingAction
26
{
27
public
:
29
PHG4MicromegasSteppingAction
(
PHG4MicromegasDetector
*,
const
PHParameters
*
parameters
);
30
32
bool
UserSteppingAction
(
const
G4Step*,
bool
)
override
;
33
35
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
36
37
void
SetHitNodeName
(
const
std::string
&
type
,
const
std::string
&
name
)
override
;
38
39
private
:
41
PHG4MicromegasDetector
*
m_Detector
{
nullptr
};
42
43
const
PHParameters
*
m_Params
{
nullptr
};
44
46
PHG4HitContainer
*
m_HitContainer
{
nullptr
};
47
49
PHG4HitContainer
*
m_SupportHitContainer
{
nullptr
};
50
52
std::unique_ptr<PHG4Hit>
m_hit
;
53
54
PHG4HitContainer
*
m_SaveHitContainer
{
nullptr
};
55
G4VPhysicalVolume
*
m_SaveVolPre
{
nullptr
};
56
G4VPhysicalVolume
*
m_SaveVolPost
{
nullptr
};
57
58
int
m_SaveTrackId
{-1};
59
int
m_SavePreStepStatus
{-1};
60
int
m_SavePostStepStatus
{-1};
61
int
m_ActiveFlag
{0};
62
int
m_BlackHoleFlag
{0};
63
double
m_EdepSum
{0};
64
double
m_EionSum
{0};
65
66
std::string
m_HitNodeName
;
67
std::string
m_SupportNodeName
;
68
};
69
70
#endif // MICROMEGASSTEPPINGACTION_H
coresoftware
blob
master
simulation
g4simulation
g4micromegas
PHG4MicromegasSteppingAction.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration