Files
geant4/examples/extended/electromagnetic/TestEm5/include/Em5SteppingAction.hh
T
2016-06-08 16:57:27 +02:00

76 lines
2.7 KiB
C++

//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: Em5SteppingAction.hh,v 1.5 2002/06/05 15:43:43 urban Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef Em5SteppingAction_h
#define Em5SteppingAction_h 1
#include "G4UserSteppingAction.hh"
#include "G4Event.hh"
#include "G4EventManager.hh"
#include "G4ios.hh"
#include "globals.hh"
class Em5DetectorConstruction;
class Em5RunAction;
class Em5EventAction;
class Em5SteppingMessenger;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef G4NOHIST
class HepTupleManager;
class HepHistogram;
#endif
class Em5SteppingAction : public G4UserSteppingAction
{
public:
Em5SteppingAction(Em5DetectorConstruction*, Em5EventAction*,
Em5RunAction* );
~Em5SteppingAction();
void UserSteppingAction(const G4Step*);
private:
Em5DetectorConstruction* detector;
Em5EventAction* eventaction;
Em5RunAction* runaction;
Em5SteppingMessenger* steppingMessenger;
G4int IDnow,IDold;
G4int evnoold ;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif