ECCE @ EIC Software
Reference for
ECCE @ 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
G4EicDircStackingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4EicDircStackingAction.h
1
#ifndef G4EICDIRCSTACKINGACTION_H
2
#define G4EICDIRCSTACKINGACTION_H
3
4
#include <
g4main/PHG4StackingAction.h
>
5
6
#include <Geant4/G4UserStackingAction.hh>
7
#include <Geant4/globals.hh>
8
9
#include <gsl/gsl_rng.h>
10
11
class
G4EicDircDetector
;
12
class
TGraph;
13
14
class
G4EicDircStackingAction
:
public
PHG4StackingAction
15
{
16
public
:
17
G4EicDircStackingAction
(
G4EicDircDetector
* det);
18
~G4EicDircStackingAction
()
override
;
19
20
G4ClassificationOfNewTrack
ClassifyNewTrack
(
const
G4Track
* aTrack)
override
;
21
void
PrepareNewEvent
()
override
;
22
23
private
:
24
gsl_rng*
m_RandomGenerator
=
nullptr
;
25
G4EicDircDetector
*
m_Detector
=
nullptr
;
26
TGraph*
fDetEff
[2] = {
nullptr
};
27
int
fCerenkovCounter
= 0;
28
int
fScintillationCounter
= 0;
29
};
30
31
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4eicdirc
G4EicDircStackingAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:47
using
1.8.2 with
ECCE GitHub integration