Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59: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 
0029 // Author : Gunter Folger March 2007
0030 // Class Description
0031 // Final state production model for theoretical models of hadron inelastic
0032 // quasi elastic scattering in geant4;
0033 // Class Description - End
0034 //
0035 // Modified:
0036 // 20110808  M. Kelsey -- Remove unnecessary #includes, use forward decls,
0037 //      Change 3D nucleus to (owned) pointer to base.
0038 
0039 #ifndef G4QuasiElasticChannel_h
0040 #define G4QuasiElasticChannel_h
0041 
0042 #include "G4HadronicInteraction.hh"
0043 #include "globals.hh"
0044 
0045 class G4KineticTrackVector;
0046 class G4Nucleus;
0047 class G4QuasiElRatios;
0048 class G4DynamicParticle;
0049 class G4V3DNucleus;
0050 
0051 class G4QuasiElasticChannel : public G4HadronicInteraction
0052 {
0053   public:
0054     explicit G4QuasiElasticChannel();
0055     ~G4QuasiElasticChannel() override;
0056 
0057     G4double GetFraction(G4Nucleus &theNucleus,
0058                  const G4DynamicParticle& thePrimary);
0059 
0060     G4KineticTrackVector* Scatter(G4Nucleus &theNucleus,
0061                       const G4DynamicParticle& thePrimary);
0062                     
0063         G4QuasiElasticChannel(const G4QuasiElasticChannel &) = delete;
0064     const G4QuasiElasticChannel & operator=(const G4QuasiElasticChannel &) = delete;
0065     G4bool operator==(const G4QuasiElasticChannel &) const = delete;
0066     G4bool operator!=(const G4QuasiElasticChannel &) const = delete;
0067 
0068   private:
0069     G4QuasiElRatios* theQuasiElastic;
0070     G4V3DNucleus* the3DNucleus;
0071         G4int secID;  // Creator model ID for the secondaries created by this model
0072 };
0073 
0074 #endif