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

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 // File and Version Information:
00003 // $Id: BgsGenocide.hh,v 1.1 2007/10/12 07:30:20 caogf Exp $
00004 //
00005 // Description:
00006 //      Class BgsGenocide
00007 //
00008 // A process that prevents the associated particle from being tracked.
00009 // Appropriate, for example, for neutrinos
00010 //
00011 // Environment:
00012 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00013 //
00014 // Author List:
00015 //      David Williams
00016 //
00017 // Copyright Information:
00018 //      Copyright (C) 2001         SLAC
00019 //
00020 // Created:
00021 // Modification history:
00022 //
00023 //-----------------------------------------------------------------------------
00024 
00025 #ifndef BgsGenocide_hh
00026 #define BgsGenocide_hh
00027 
00028 #include "globals.hh"
00029 #include "G4VProcess.hh"
00030 
00031 class BgsGenocide : public G4VProcess {
00032         public:
00033         BgsGenocide( const G4String &name="BgsGenocide",
00034                      G4ProcessType type=fUserDefined     );
00035         virtual ~BgsGenocide();
00036         
00037         //
00038         // Derived methods
00039         //
00040         virtual G4double
00041         PostStepGetPhysicalInteractionLength( const G4Track& track,
00042                                               G4double   previousStepSize,
00043                                               G4ForceCondition* condition );
00044 
00045         virtual G4VParticleChange* PostStepDoIt( const G4Track &track,
00046                                                  const G4Step &step );
00047 
00048         virtual G4double
00049         AlongStepGetPhysicalInteractionLength( const G4Track&,
00050                                                G4double  previousStepSize,
00051                                                G4double  currentMinimumStep,
00052                                                G4double& currentSafety,
00053                                                G4GPILSelection* selection )
00054           { return -1.0; }
00055 
00056         virtual G4VParticleChange* AlongStepDoIt( const G4Track &track,
00057                                                   const G4Step &step )
00058           { return 0; }
00059  
00060         virtual G4double
00061         AtRestGetPhysicalInteractionLength( const G4Track &track,
00062                                                   G4ForceCondition *force )
00063           { return -1.0; }
00064 
00065         virtual G4VParticleChange*
00066         AtRestDoIt( const G4Track &track, const G4Step &step )
00067           { return 0; }
00068 
00069 };
00070 
00071 
00072 #endif

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