/home/cern/BDSIM_new/include/BDSSteppingAction.hh

00001 /* BDSIM code.    Version 1.0
00002    Author: Grahame A. Blair, Royal Holloway, Univ. of London.
00003    Last modified 24.7.2002
00004    Copyright (c) 2002 by G.A.Blair.  ALL RIGHTS RESERVED. 
00005 */
00006 
00007 // This code implementation is the intellectual property of
00008 // the GEANT4 collaboration.
00009 //
00010 // By copying, distributing or modifying the Program (or any work
00011 // based on the Program) you indicate your acceptance of this statement,
00012 // and all its terms.
00013 //
00014 // $Id: BDSSteppingAction.hh,v 1.3 2007/07/18 13:35:01 malton Exp $
00015 // GEANT4 tag $Name:  $
00016 //
00017 // 
00018 
00019 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
00020 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
00021 
00022 #ifndef BDSSteppingAction_h
00023 #define BDSSteppingAction_h 1
00024 
00025 #include <vector>
00026 
00027 #include "G4UserSteppingAction.hh"
00028 
00029 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
00030 
00031 class BDSSteppingAction : public G4UserSteppingAction
00032 {
00033 public:
00034   BDSSteppingAction();
00035   virtual ~BDSSteppingAction();
00036 
00037   virtual void UserSteppingAction(const G4Step*);
00038 
00039 private:
00040   G4double itsTrackWeight;
00041   G4double itsInverseTrackWeight;
00042 
00043   G4int itsLastTrackID,itsNtry,itsNmax;
00044   G4double itsLastZpos;
00045   G4double itsZposTolerance;
00046   G4double itsPosKick;
00047   G4double postponedEnergy;
00048 
00049   std::vector<G4ThreeVector> r;
00050   std::vector<G4ThreeVector> rp;
00051   
00052 
00053  };
00054 
00055 #endif

Generated on Wed Mar 5 17:25:22 2008 for BDSIM by  doxygen 1.5.3