Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:01

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //
0028 // Geant4 Header : G4ChipsElasticModel
0029 //
0030 // Author : V.Ivanchenko 29 June 2009 (redesign old elastic model)
0031 //  
0032 // Modified:
0033 //
0034 // Class Description
0035 // Default model for elastic scattering; GHEISHA algorithm is used 
0036 // Class Description - End
0037 
0038 #ifndef G4ChipsElasticModel_h
0039 #define G4ChipsElasticModel_h 1
0040  
0041 #include "G4HadronElastic.hh"
0042 #include "globals.hh"
0043 #include "G4ChipsProtonElasticXS.hh"
0044 #include "G4ChipsNeutronElasticXS.hh"
0045 #include "G4ChipsAntiBaryonElasticXS.hh"
0046 #include "G4ChipsPionPlusElasticXS.hh"
0047 #include "G4ChipsPionMinusElasticXS.hh"
0048 #include "G4ChipsKaonPlusElasticXS.hh"
0049 #include "G4ChipsKaonMinusElasticXS.hh"
0050 
0051 
0052 class G4ChipsElasticModel : public G4HadronElastic
0053 {
0054 public:
0055 
0056   G4ChipsElasticModel();
0057 
0058   virtual ~G4ChipsElasticModel();
0059  
0060   virtual G4double SampleInvariantT(const G4ParticleDefinition* p, 
0061                     G4double plab,
0062                     G4int Z, G4int A);
0063   virtual void ModelDescription(std::ostream&) const;
0064 
0065 private:
0066 
0067   G4ChipsProtonElasticXS* pxsManager;
0068   G4ChipsNeutronElasticXS* nxsManager;
0069 
0070   G4ChipsAntiBaryonElasticXS* PBARxsManager;
0071   G4ChipsPionPlusElasticXS* PIPxsManager;
0072   G4ChipsPionMinusElasticXS* PIMxsManager;
0073   G4ChipsKaonPlusElasticXS* KPxsManager;
0074   G4ChipsKaonMinusElasticXS* KMxsManager;
0075 
0076 };
0077 
0078 #endif