G4NuclearStopping.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id$
00027 //
00028 // -----------------------------------------------------------------------------
00029 //
00030 // GEANT4 Class header file
00031 //
00032 // Author:        Vladimir Ivanchenko
00033 //
00034 // Creation date: 20 July 2009
00035 // 
00036 // Modified:
00037 //
00038 //------------------------------------------------------------------------------
00039 //
00040 
00041 // class description
00042 //
00043 //  The class simulates nuclear stopping due to multiple scattering
00044 //
00045 // class description - end
00046 
00047 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00048 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00049 
00050 #ifndef G4NuclearStopping_h
00051 #define G4NuclearStopping_h 1
00052 
00053 #include "G4VEmProcess.hh"
00054 #include "globals.hh"
00055 #include "G4Track.hh"
00056 #include "G4Step.hh"
00057 #include "G4ParticleDefinition.hh"
00058 #include "G4GPILSelection.hh"
00059 #include "G4ParticleChangeForLoss.hh"
00060 
00061 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00062 
00063 class G4ICRU49NuclearStoppingModel;
00064 
00065 class G4NuclearStopping : public G4VEmProcess
00066 {
00067 
00068 public:    // with description
00069 
00070   G4NuclearStopping(const G4String& processName="nuclearStopping");
00071 
00072   virtual ~G4NuclearStopping();
00073 
00074   // returns true for charged particles, false otherwise
00075   G4bool IsApplicable (const G4ParticleDefinition& p);
00076 
00077   // implementation of pure virtual method
00078   G4double AlongStepGetPhysicalInteractionLength(const G4Track& track,
00079                                                  G4double  previousStepSize,
00080                                                  G4double  currentMinimumStep,
00081                                                  G4double& proposedSafety,
00082                                                  G4GPILSelection* selection);
00083 
00084   // implementation of energy loss along step
00085   G4VParticleChange* AlongStepDoIt(const G4Track& track,
00086                                    const G4Step&  step);
00087 
00088   // Print few lines of informations about the process: validity range,
00089   void PrintInfo();
00090 
00091 protected:
00092 
00093   // This function initialise process
00094   void InitialiseProcess(const G4ParticleDefinition*);
00095 
00096 private:       
00097 
00098   // copy constructor and hide assignment operator
00099   G4NuclearStopping(G4NuclearStopping &);
00100   G4NuclearStopping & operator=(const G4NuclearStopping &right);
00101 
00102   G4ParticleChangeForLoss nParticleChange;
00103 
00104   G4ICRU49NuclearStoppingModel* modelICRU49;
00105 
00106   G4bool   isInitialized;
00107 
00108 };
00109 
00110 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00111 
00112 #endif

Generated on Mon May 27 17:49:07 2013 for Geant4 by  doxygen 1.4.7