Geant4 Cross Reference |
1 // 2 // ******************************************************************** 3 // * License and Disclaimer * 4 // * * 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. * 10 // * * 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitation of liability. * 17 // * * 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************************************** 25 // 26 // 27 // Author: D.H. Wright 28 // Date: 2 February 2011 29 // 30 // Description: model of muon nuclear interaction in which a gamma from 31 // the virtual photon spectrum interacts in the nucleus as 32 // a real gamma at low energies and as a pi0 at high energies. 33 // Kokoulin's muon cross section and equivalent gamma spectrum 34 // are used. 35 // 36 37 #ifndef G4MuonVDNuclearModel_h 38 #define G4MuonVDNuclearModel_h 1 39 40 #include "G4HadronicInteraction.hh" 41 42 class G4CascadeInterface; 43 class G4TheoFSGenerator; 44 class G4LundStringFragmentation; 45 class G4ExcitedStringDecay; 46 class G4KokoulinMuonNuclearXS; 47 class G4ElementData; 48 49 class G4MuonVDNuclearModel : public G4HadronicInteraction 50 { 51 public: 52 53 G4MuonVDNuclearModel(); 54 ~G4MuonVDNuclearModel() override; 55 56 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 57 G4Nucleus& targetNucleus) override; 58 59 void ModelDescription(std::ostream& outFile) const override; 60 61 private: 62 63 G4DynamicParticle* CalculateEMVertex(const G4HadProjectile& aTrack, 64 G4Nucleus& targetNucleus); 65 66 void CalculateHadronicVertex(G4DynamicParticle* incident, 67 G4Nucleus& target); 68 69 void MakeSamplingTable(); 70 71 G4MuonVDNuclearModel & operator=(const G4MuonVDNuclearModel &right) = delete; 72 G4MuonVDNuclearModel(const G4MuonVDNuclearModel&) = delete; 73 74 static const G4int NBIN = 800; 75 static const G4int nzdat = 5; 76 static const G4int ntdat = 73; 77 78 static const G4int zdat[nzdat]; 79 static const G4double adat[nzdat]; 80 static const G4double tdat[ntdat]; 81 82 static G4ElementData* fElementData; 83 84 G4double CutFixed; 85 86 G4KokoulinMuonNuclearXS* muNucXS; 87 88 G4TheoFSGenerator* ftfp; 89 G4LundStringFragmentation* theFragmentation; 90 G4ExcitedStringDecay* theStringDecay; 91 G4CascadeInterface* bert; 92 93 G4int secID; // Creator model ID for the secondaries created by this model 94 }; 95 96 #endif 97 98