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
PHG4InttSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4InttSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// This file is really -*- C++ -*-.
3
#ifndef G4INTT_PHG4INTTSTEPPINGACTION_H
4
#define G4INTT_PHG4INTTSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
#include <map>
9
#include <string>
10
#include <utility>
// for pair
11
#include <vector>
12
13
class
G4Step;
14
class
PHCompositeNode
;
15
class
PHG4InttDetector
;
16
class
PHG4Hit
;
17
class
PHG4HitContainer
;
18
class
PHG4Shower
;
19
class
PHParametersContainer
;
20
21
class
PHG4InttSteppingAction
:
public
PHG4SteppingAction
22
{
23
public
:
24
PHG4InttSteppingAction
(
PHG4InttDetector
*,
const
PHParametersContainer
*
parameters
,
const
std::pair<std::vector<std::pair<int, int>>::const_iterator, std::vector<std::pair<int, int>>::const_iterator> &layer_begin_end);
25
26
~PHG4InttSteppingAction
()
override
;
27
28
bool
UserSteppingAction
(
const
G4Step *,
bool
)
override
;
29
30
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
31
32
void
SetHitNodeName
(
const
std::string
&
type
,
const
std::string
&
name
)
override
;
33
34
private
:
36
PHG4InttDetector
*
m_Detector
=
nullptr
;
37
39
PHG4HitContainer
*
m_HitContainer
=
nullptr
;
40
PHG4HitContainer
*
m_AbsorberHitContainer
=
nullptr
;
41
PHG4Hit
*
m_Hit
=
nullptr
;
42
PHG4HitContainer
*
m_SaveHitContainer
=
nullptr
;
43
PHG4Shower
*
m_SaveShower
=
nullptr
;
44
const
PHParametersContainer
*
m_ParamsContainer
=
nullptr
;
45
46
std::map<int, int>
m_InttToTrackerLayerMap
;
47
std::map<int, int>
m_LadderTypeMap
;
48
std::map<int, double>
m_StripYMap
;
49
std::map<int, std::pair<double, double>>
m_StripZMap
;
50
std::map<int, int>
m_nStripsPhiCell
;
51
std::map<int, std::pair<int, int>>
m_nStripsZSensor
;
52
53
std::map<int, int>
m_IsActiveMap
;
54
std::map<int, int>
m_IsBlackHoleMap
;
55
std::string
m_AbsorberNodeName
;
56
std::string
m_HitNodeName
;
57
};
58
59
#endif // G4INTT_PHG4INTTSTEPPINGACTION_H
coresoftware
blob
master
simulation
g4simulation
g4intt
PHG4InttSteppingAction.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration