1 |
cafagna |
1.1 |
|
2 |
|
|
#ifndef EventAction_h |
3 |
|
|
#define EventAction_h 1 |
4 |
|
|
|
5 |
|
|
#include "G4UserEventAction.hh" |
6 |
|
|
#include "globals.hh" |
7 |
|
|
|
8 |
|
|
class RunAction; |
9 |
|
|
//class EventActionMessenger; |
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
class EventAction : public G4UserEventAction |
14 |
|
|
{ |
15 |
|
|
public: |
16 |
|
|
EventAction(RunAction*); |
17 |
|
|
~EventAction(); |
18 |
|
|
|
19 |
|
|
public: |
20 |
|
|
void BeginOfEventAction(const G4Event*); |
21 |
|
|
void EndOfEventAction(const G4Event*); |
22 |
|
|
|
23 |
|
|
private: |
24 |
|
|
RunAction* myRU; |
25 |
|
|
G4double E_X[22]; |
26 |
|
|
G4double E_Y[22]; |
27 |
|
|
G4int printModulo; |
28 |
|
|
}; |
29 |
|
|
|
30 |
|
|
#endif |
31 |
|
|
|
32 |
|
|
|
33 |
|
|
// 2005 by G.I.Vasilyev |