49 lines
1.3 KiB
C++
49 lines
1.3 KiB
C++
// This code implementation is the intellectual property of
|
|
// the GEANT4 collaboration.
|
|
//
|
|
// By copying, distributing or modifying the Program (or any work
|
|
// based on the Program) you indicate your acceptance of this statement,
|
|
// and all its terms.
|
|
//
|
|
// $Id: ExN03EventAction.hh,v 1.4 1999/12/15 14:49:24 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
//
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|
|
|
#ifndef ExN03EventAction_h
|
|
#define ExN03EventAction_h 1
|
|
|
|
#include "G4UserEventAction.hh"
|
|
#include "globals.hh"
|
|
|
|
class ExN03EventActionMessenger;
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|
|
|
class ExN03EventAction : public G4UserEventAction
|
|
{
|
|
public:
|
|
ExN03EventAction();
|
|
virtual ~ExN03EventAction();
|
|
|
|
public:
|
|
virtual void BeginOfEventAction(const G4Event*);
|
|
virtual void EndOfEventAction(const G4Event*);
|
|
|
|
void SetDrawFlag (G4String val) {drawFlag = val;};
|
|
void SetPrintModulo(G4int val) {printModulo = val;};
|
|
|
|
private:
|
|
G4int calorimeterCollID;
|
|
G4String drawFlag;
|
|
G4int printModulo;
|
|
ExN03EventActionMessenger* eventMessenger;
|
|
};
|
|
|
|
#endif
|
|
|
|
|