Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Geant4/G4HadronElasticProcess.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 Hadron Elastic Scattering Process -- header file
0029 // 
0030 // Created 26 July 2012 V.Ivanchenko from G4WHadronElasticProcess
0031 //  
0032 // Modified:
0033 //
0034 
0035 // Class Description
0036 // General process for hadron nuclear elastic scattering  
0037 // Class Description - End
0038 
0039 #ifndef G4HadronElasticProcess_h
0040 #define G4HadronElasticProcess_h 1
0041  
0042 #include "globals.hh"
0043 #include "G4HadronicProcess.hh"
0044 
0045 class G4ParticleDefinition;
0046 class G4CrossSectionDataStore;
0047 class G4VCrossSectionRatio;
0048 
0049 class G4HadronElasticProcess : public G4HadronicProcess
0050 {
0051 public:
0052 
0053   explicit G4HadronElasticProcess(const G4String& procName = "hadElastic");
0054 
0055   ~G4HadronElasticProcess() override;
0056  
0057   G4VParticleChange* PostStepDoIt(const G4Track& aTrack, 
0058                                   const G4Step& aStep) override;
0059 
0060   // set internal limit
0061   virtual void SetLowestEnergy(G4double);
0062 
0063   // obsolete method - will be removed
0064   virtual void SetLowestEnergyNeutron(G4double);
0065 
0066   void ProcessDescription(std::ostream& outFile) const override;
0067 
0068   // enable sampling of low-mass diffraction process
0069   void SetDiffraction(G4HadronicInteraction*, G4VCrossSectionRatio*);
0070 
0071 private:
0072 
0073   // hide assignment operator as private 
0074   G4HadronElasticProcess& operator=(const G4HadronElasticProcess &right);
0075   G4HadronElasticProcess(const G4HadronElasticProcess& );
0076 
0077   void PrintWarning(const G4String&) const;
0078 
0079   G4HadronicInteraction* fDiffraction;
0080   G4VCrossSectionRatio*  fDiffractionRatio;
0081 };
0082 
0083 #endif