Back to home page

EIC code displayed by LXR

 
 

    


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

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 // Author:  D.H. Wright
0028 // Date:    2 February 2011
0029 //
0030 // Description: model of muon nuclear interaction in which a gamma from
0031 //              the virtual photon spectrum interacts in the nucleus as
0032 //              a real gamma at low energies and as a pi0 at high energies.
0033 //              Kokoulin's muon cross section and equivalent gamma spectrum
0034 //              are used.
0035 //
0036  
0037 #ifndef G4MuonVDNuclearModel_h
0038 #define G4MuonVDNuclearModel_h 1 
0039 
0040 #include "G4HadronicInteraction.hh"
0041 
0042 class G4CascadeInterface;
0043 class G4TheoFSGenerator; 
0044 class G4LundStringFragmentation;
0045 class G4ExcitedStringDecay;
0046 class G4KokoulinMuonNuclearXS;
0047 class G4ElementData; 
0048 
0049 class G4MuonVDNuclearModel : public G4HadronicInteraction
0050 {
0051 public:
0052     
0053   G4MuonVDNuclearModel();
0054   ~G4MuonVDNuclearModel() override;
0055 
0056   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
0057                  G4Nucleus& targetNucleus) override;
0058 
0059   void ModelDescription(std::ostream& outFile) const override;
0060 
0061 private:
0062     
0063   G4DynamicParticle* CalculateEMVertex(const G4HadProjectile& aTrack,
0064                        G4Nucleus& targetNucleus);
0065 
0066   void CalculateHadronicVertex(G4DynamicParticle* incident,
0067                    G4Nucleus& target);
0068 
0069   void MakeSamplingTable();
0070 
0071   G4MuonVDNuclearModel & operator=(const G4MuonVDNuclearModel &right) = delete;
0072   G4MuonVDNuclearModel(const  G4MuonVDNuclearModel&) = delete;
0073 
0074   static const G4int NBIN = 800;
0075   static const G4int nzdat = 5;
0076   static const G4int ntdat = 73;
0077 
0078   static const G4int zdat[nzdat];
0079   static const G4double adat[nzdat];
0080   static const G4double tdat[ntdat];
0081   
0082   static G4ElementData* fElementData;             
0083 
0084   G4double CutFixed;
0085 
0086   G4KokoulinMuonNuclearXS* muNucXS;
0087 
0088   G4TheoFSGenerator* ftfp;
0089   G4LundStringFragmentation* theFragmentation;
0090   G4ExcitedStringDecay* theStringDecay;
0091   G4CascadeInterface* bert;
0092 
0093   G4int secID;  // Creator model ID for the secondaries created by this model
0094 };
0095  
0096 #endif
0097