Files
geant4/source/g3tog4/test/include/G3toG4EventAction.hh
T
2016-06-08 15:28:20 +02:00

46 lines
1.2 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: G3toG4EventAction.hh,v 1.3 1999/12/05 17:50:25 gcosmo Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef G3toG4EventAction_h
#define G3toG4EventAction_h 1
#include "G4UserEventAction.hh"
#include "globals.hh"
class G3toG4EventActionMessenger;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class G3toG4EventAction : public G4UserEventAction
{
public:
G3toG4EventAction();
~G3toG4EventAction();
public:
void BeginOfEventAction(const G4Event* anEvent);
void EndOfEventAction(const G4Event* anEvent);
void SetDrawFlag(G4String val) {drawFlag = val;};
private:
G4String drawFlag; // control the drawing of event
G3toG4EventActionMessenger* eventMessenger;
};
#endif