source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/detector/G4Detector/optics/include/OptRunAction.hh @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 521 bytes
Line 
1#ifndef OptRunAction_h
2#define OptRunAction_h 1
3
4#include <globals.hh>
5#include <G4UserRunAction.hh>
6#include "EsafMsgSource.hh"
7
8class G4Timer;
9class OptRunAction : public G4UserRunAction, public EsafMsgSource
10{
11  public:
12    OptRunAction();
13    virtual ~OptRunAction();
14
15  public:
16    void BeginOfRunAction(const G4Run* aRun);
17    void EndOfRunAction(const G4Run* aRun);
18    static OptRunAction*  Instance()   { return fMe; }
19
20  private:
21    static OptRunAction *fMe;
22    G4Timer* timer;
23
24
25};
26#endif /*OptRunAction_h*/
Note: See TracBrowser for help on using the repository browser.