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
PHG4PhenixEventAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4PhenixEventAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4MAIN_PHG4PHENIXEVENTACTION_H
4
#define G4MAIN_PHG4PHENIXEVENTACTION_H
5
6
#include <
phool/PHTimeServer.h
>
7
8
#include <Geant4/G4UserEventAction.hh>
9
10
#include <list>
11
12
13
class
G4Event
;
14
class
PHG4EventAction
;
15
16
class
PHG4PhenixEventAction
:
public
G4UserEventAction
17
{
18
19
public
:
20
PHG4PhenixEventAction
(
void
);
21
22
~PHG4PhenixEventAction
()
override
;
23
25
void
AddAction
(
PHG4EventAction
* action )
26
{
actions_
.push_back( action ); }
27
28
void
BeginOfEventAction
(
const
G4Event
*)
override
;
29
30
void
EndOfEventAction
(
const
G4Event
*)
override
;
31
32
private
:
33
35
typedef
std::list<PHG4EventAction*>
ActionList
;
36
ActionList
actions_
;
37
39
PHTimeServer::timer
_timer
;
40
};
41
42
43
#endif
coresoftware
blob
master
simulation
g4simulation
g4main
PHG4PhenixEventAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:44
using
1.8.2 with
ECCE GitHub integration