forked from sPHENIX-Collaboration/coresoftware
/
PHG4InttSteppingAction.h
54 lines (42 loc) · 1.54 KB
/
PHG4InttSteppingAction.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Tell emacs that this is a C++ source
// This file is really -*- C++ -*-.
#ifndef G4INTT_PHG4INTTSTEPPINGACTION_H
#define G4INTT_PHG4INTTSTEPPINGACTION_H
#include <g4main/PHG4SteppingAction.h>
#include <map>
#include <vector>
#include <utility> // for pair
class G4Step;
class PHCompositeNode;
class PHG4InttDetector;
class PHG4Hit;
class PHG4HitContainer;
class PHG4Shower;
class PHParametersContainer;
class PHG4InttSteppingAction : public PHG4SteppingAction
{
public:
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);
~PHG4InttSteppingAction() override;
bool UserSteppingAction(const G4Step *, bool) override;
void SetInterfacePointers(PHCompositeNode *) override;
private:
//! pointer to the detector
PHG4InttDetector *m_Detector;
//! pointer to hit container
PHG4HitContainer *m_Hits;
PHG4HitContainer *m_AbsorberHits;
PHG4Hit *m_Hit;
PHG4HitContainer *m_SaveHitContainer;
PHG4Shower *m_SaveShower;
const PHParametersContainer *m_ParamsContainer;
std::map<int, int> m_InttToTrackerLayerMap;
std::map<int, int> m_LadderTypeMap;
std::map<int, double> m_StripYMap;
std::map<int, std::pair<double, double>> m_StripZMap;
std::map<int, int> m_nStripsPhiCell;
std::map<int, std::pair<int, int>> m_nStripsZSensor;
std::map<int, int> m_IsActiveMap;
std::map<int, int> m_IsBlackHoleMap;
};
#endif // G4INTT_PHG4INTTSTEPPINGACTION_H