/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Simulation/BOOST/PhySim/PhySim-00-00-10/PhySim/BgsGentleGenocide.hh

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 // File and Version Information:
00003 // $Id: BgsGentleGenocide.hh,v 1.1 2007/10/12 07:30:20 caogf Exp $
00004 //
00005 // Description:
00006 //      Class BgsGentleGenocide
00007 //
00008 //      A process that prevents the associated particle from being tracked
00009 //      if it has traveled more than the specified number of steps and
00010 //      falls below the specified kinetic energy.
00011 //
00012 //      To fix an apparent "loophole" in hadronic ionization for tritium
00013 //
00014 // Environment:
00015 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00016 //
00017 // Author List:
00018 //      David Williams
00019 //
00020 // Copyright Information:
00021 //      Copyright (C) 2001         SLAC
00022 //
00023 //-----------------------------------------------------------------------------
00024 
00025 #ifndef BgsGentleGenocide_hh
00026 #define BgsGentleGenocide_hh
00027 
00028 #include "BgsGenocide.hh"
00029 
00030 class BgsGentleGenocide : public BgsGenocide {
00031         public:
00032         BgsGentleGenocide( G4double theMaxKineticEnergy,
00033                            G4int theMinNumberSteps,
00034                            const G4String &name="BgsGentleGenocide",
00035                            G4ProcessType type=fUserDefined           );
00036         virtual ~BgsGentleGenocide();
00037 
00038         //
00039         // Derived methods
00040         //
00041         virtual G4double
00042         PostStepGetPhysicalInteractionLength( const G4Track& track,
00043                                               G4double   previousStepSize,
00044                                               G4ForceCondition* condition );
00045 
00046         protected:
00047         G4double maxKineticEnergy;
00048         G4int minNumberSteps;
00049 };
00050 
00051 
00052 #endif

Generated on Tue Nov 29 23:14:29 2016 for BOSS_7.0.2 by  doxygen 1.4.7