G4CrossSectionElastic.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 //
00033 // File name:     G4CrossSectionElastic
00034 //
00035 // Author:        Vladimir Ivanchenko
00036 //
00037 // Creation date: 19.11.2010
00038 // Modifications:
00039 //
00040 // Class Description:
00041 //
00042 // Wrapper for elastic cross section build from a component
00043 //
00044 // -------------------------------------------------------------------
00045 //
00046 
00047 #ifndef G4CrossSectionElastic_h
00048 #define G4CrossSectionElastic_h 1
00049 
00050 #include "globals.hh"
00051 #include "G4VCrossSectionDataSet.hh"
00052 #include <iostream>
00053 
00054 class G4ParticleDefinition;
00055 class G4VComponentCrossSection;
00056 class G4DynamicParticle;
00057 class G4Element;
00058 class G4Material;
00059 class G4NistManager;
00060 
00061 class G4CrossSectionElastic : public G4VCrossSectionDataSet
00062 {
00063 public:
00064 
00065   G4CrossSectionElastic(G4VComponentCrossSection*,
00066                         G4int zmin = 0, G4int zmax = 256, 
00067                         G4double Emin = 0.0, G4double Emax = DBL_MAX);
00068 
00069   virtual ~G4CrossSectionElastic();
00070    
00071   virtual
00072   G4bool IsElementApplicable(const G4DynamicParticle*, G4int Z,
00073                              const G4Material* mat = 0);
00074 
00075   virtual
00076   G4double GetElementCrossSection(const G4DynamicParticle*, 
00077                                   G4int Z, 
00078                                   const G4Material* mat = 0);
00079 
00080   virtual
00081   void BuildPhysicsTable(const G4ParticleDefinition&);
00082 
00083   virtual
00084   void DumpPhysicsTable(const G4ParticleDefinition&);
00085 
00086   virtual void CrossSectionDescription(std::ostream&) const;
00087 
00088 private:
00089 
00090   G4CrossSectionElastic & operator=(const G4CrossSectionElastic &right);
00091   G4CrossSectionElastic(const G4CrossSectionElastic&);
00092 
00093   G4NistManager* nist;
00094   G4VComponentCrossSection* component;
00095   G4int Zmin;
00096   G4int Zmax;
00097 
00098 };
00099 
00100 #endif

Generated on Mon May 27 17:47:58 2013 for Geant4 by  doxygen 1.4.7