G4VIonDEDXTable.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 //
00027 //
00028 // ===========================================================================
00029 // GEANT4 class header file
00030 //
00031 // Class:                G4VIonDEDXTable 
00032 // 
00033 // Author:               Anton Lechner (Anton.Lechner@cern.ch)
00034 //
00035 // First implementation: 15. 02. 2009
00036 //
00037 // Modifications:        
00038 // 02. 11. 2009 A. Lechner: Added BuildPhysicsVector function which should
00039 //              invoke the build process of physics vectors.
00040 //
00041 // Class description:
00042 //    Base class for electronic stopping power tables for ions.
00043 //
00044 // Comments:
00045 //
00046 // =========================================================================== 
00047 //
00048 
00049 #ifndef G4VIONDEDXTABLE_HH
00050 #define G4VIONDEDXTABLE_HH
00051 
00052 #include "globals.hh"
00053 
00054 class G4PhysicsVector;
00055 
00056 
00057 class G4VIonDEDXTable {
00058 
00059  public:
00060    G4VIonDEDXTable(); 
00061    virtual ~G4VIonDEDXTable();  
00062 
00063    // Function for building a stopping power table for a material consisting of
00064    // a single element only.
00065    virtual G4bool BuildPhysicsVector(
00066         G4int,  // Atomic number of ion
00067         G4int   // Atomic number of elemental material
00068                                ) = 0;
00069 
00070    // Function building stopping power table for a given ion-material pair.
00071    virtual G4bool BuildPhysicsVector(
00072         G4int,           // Atomic number of ion
00073         const G4String&  // Name or chemical formula of material
00074                                ) = 0;
00075 
00076    // Function for checking the availability of stopping power tables
00077    // for a given ion-material pair, where the material consists of
00078    // a single element only.
00079    virtual G4bool IsApplicable(
00080         G4int,  // Atomic number of ion
00081         G4int   // Atomic number of elemental material
00082                                ) = 0;
00083 
00084    // Function for checking the availability of stopping power tables
00085    // for a given ion-material pair.
00086    virtual G4bool IsApplicable(
00087         G4int,           // Atomic number of ion
00088         const G4String&  // Name or chemical formula of material
00089                                ) = 0;
00090 
00091    // Function returning the stopping power vector for a given ion-material
00092    // pair, where the material consists of a single element only (the 
00093    // physics vector returned by this function must contain the kinetic 
00094    // energy per nucleon vs the mass stopping power of the elemental material). 
00095    virtual G4PhysicsVector* GetPhysicsVector(
00096         G4int,    // Atomic number of ion
00097         G4int     // Atomic number of elemental material
00098                                              ) = 0;
00099 
00100    // Function returning the stopping power vector for given ion-material
00101    // pair (the physics vector returned by this function must contain the 
00102    // kinetic energy per nucleon vs the mass stopping power of the material). 
00103    virtual G4PhysicsVector* GetPhysicsVector(
00104         G4int,           // Atomic number of ion
00105         const G4String&  // Name or chemical formula of material
00106                                              ) = 0;
00107 };
00108 
00109 #endif // G4VIONDEDXTABLE_HH

Generated on Mon May 27 17:50:14 2013 for Geant4 by  doxygen 1.4.7