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 (SLAC) 28 // Date: 1 February 2011 29 // 30 // Modified: 31 // 32 // 19 Aug 2011, V.Ivanchenko move to new design and make x-section per element 33 // 34 35 // 36 // Description: use Kokoulin's parameterized calculation of virtual 37 // photon production cross section and conversion to 38 // real photons. 39 40 #ifndef G4KokoulinMuonNuclearXS_h 41 #define G4KokoulinMuonNuclearXS_h 1 42 43 #include "G4VCrossSectionDataSet.hh" 44 #include "G4DynamicParticle.hh" 45 #include "G4Element.hh" 46 #include "G4PhysicsVector.hh" 47 48 const G4int MAXZMUN = 93; 49 50 class G4PhysicsVector; 51 52 class G4KokoulinMuonNuclearXS : public G4VCrossSectionDataSet 53 { 54 public: 55 56 G4KokoulinMuonNuclearXS(); 57 virtual ~G4KokoulinMuonNuclearXS(); 58 59 static const char* Default_Name() {return "KokoulinMuonNuclearXS";} 60 61 virtual void CrossSectionDescription(std::ostream&) const; 62 63 G4bool IsElementApplicable(const G4DynamicParticle* particle, 64 G4int Z, const G4Material*); 65 66 G4double GetElementCrossSection(const G4DynamicParticle* particle, 67 G4int Z, const G4Material*); 68 69 void BuildPhysicsTable(const G4ParticleDefinition&); 70 71 void BuildCrossSectionTable(); 72 73 G4double 74 ComputeDDMicroscopicCrossSection(G4double incidentKE, G4double Z, 75 G4double A, G4double epsilon); 76 77 private: 78 79 G4double 80 ComputeMicroscopicCrossSection(G4double incidentKE, G4double A); 81 82 G4KokoulinMuonNuclearXS & operator=(const G4KokoulinMuonNuclearXS &right); 83 G4KokoulinMuonNuclearXS(const G4KokoulinMuonNuclearXS&); 84 85 static G4PhysicsVector* theCrossSection[MAXZMUN]; 86 87 G4double LowestKineticEnergy; 88 G4double HighestKineticEnergy; 89 G4int TotBin; 90 G4double CutFixed; 91 G4bool isInitialized; 92 G4bool isMaster; 93 }; 94 95 #endif 96