00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef BDSSteppingAction_h
00023 #define BDSSteppingAction_h 1
00024
00025 #include <vector>
00026
00027 #include "G4UserSteppingAction.hh"
00028
00029
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