[807] | 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 | // File name: RadmonPhysicsNuclear.cc |
---|
| 28 | // Creation date: Nov 2005 |
---|
| 29 | // Main author: Riccardo Capra <capra@ge.infn.it> |
---|
| 30 | // |
---|
| 31 | // Id: $Id: RadmonPhysicsNuclear.cc,v 1.3 2006/06/29 16:19:33 gunter Exp $ |
---|
| 32 | // Tag: $Name: $ |
---|
| 33 | // |
---|
| 34 | |
---|
| 35 | #include "RadmonPhysicsNuclear.hh" |
---|
| 36 | |
---|
| 37 | #include "G4Electron.hh" |
---|
| 38 | #include "G4Positron.hh" |
---|
| 39 | #include "G4Gamma.hh" |
---|
| 40 | |
---|
| 41 | #include "G4ProcessManager.hh" |
---|
| 42 | |
---|
| 43 | #include "G4ElectronNuclearProcess.hh" |
---|
| 44 | #include "G4PositronNuclearProcess.hh" |
---|
| 45 | |
---|
| 46 | #include "G4PhotoNuclearProcess.hh" |
---|
| 47 | |
---|
| 48 | // models |
---|
| 49 | #include "G4ElectroNuclearReaction.hh" |
---|
| 50 | |
---|
| 51 | #include "G4GammaNuclearReaction.hh" |
---|
| 52 | #include "G4TheoFSGenerator.hh" |
---|
| 53 | #include "G4GeneratorPrecompoundInterface.hh" |
---|
| 54 | #include "G4QGSMFragmentation.hh" |
---|
| 55 | #include "G4ExcitedStringDecay.hh" |
---|
| 56 | #include "G4GammaParticipants.hh" |
---|
| 57 | #include "G4QGSModel.hh" |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | RadmonVSubPhysicsListWithLabel * RadmonPhysicsNuclear :: New(void) const |
---|
| 61 | { |
---|
| 62 | return new RadmonPhysicsNuclear; |
---|
| 63 | } |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | void RadmonPhysicsNuclear :: ConstructParticle(void) |
---|
| 68 | { |
---|
| 69 | G4Positron::PositronDefinition(); |
---|
| 70 | G4Gamma::GammaDefinition(); |
---|
| 71 | G4Electron::ElectronDefinition(); |
---|
| 72 | } |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | void RadmonPhysicsNuclear :: ConstructProcess(void) |
---|
| 77 | { |
---|
| 78 | G4ElectroNuclearReaction* electronReaction(new G4ElectroNuclearReaction); |
---|
| 79 | |
---|
| 80 | G4ProcessManager * manager(G4Electron::ElectronDefinition()->GetProcessManager()); |
---|
| 81 | G4ElectronNuclearProcess * electronNuclearProcess(new G4ElectronNuclearProcess); |
---|
| 82 | electronNuclearProcess->RegisterMe(electronReaction); |
---|
| 83 | manager->AddDiscreteProcess(electronNuclearProcess); |
---|
| 84 | |
---|
| 85 | manager=G4Positron::PositronDefinition()->GetProcessManager(); |
---|
| 86 | G4PositronNuclearProcess * positronNuclearProcess(new G4PositronNuclearProcess); |
---|
| 87 | positronNuclearProcess->RegisterMe(electronReaction); |
---|
| 88 | manager->AddDiscreteProcess(positronNuclearProcess); |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | G4GammaNuclearReaction * lowEGammaModel(new G4GammaNuclearReaction); |
---|
| 92 | lowEGammaModel->SetMaxEnergy(3.5*GeV); |
---|
| 93 | |
---|
| 94 | G4TheoFSGenerator * highEGammaModel(new G4TheoFSGenerator); |
---|
| 95 | highEGammaModel->SetTransport(new G4GeneratorPrecompoundInterface); |
---|
| 96 | |
---|
| 97 | G4QGSModel<G4GammaParticipants> * stringModel(new G4QGSModel<G4GammaParticipants>); |
---|
| 98 | stringModel->SetFragmentationModel(new G4ExcitedStringDecay(new G4QGSMFragmentation)); |
---|
| 99 | |
---|
| 100 | highEGammaModel->SetHighEnergyGenerator(stringModel); |
---|
| 101 | highEGammaModel->SetMinEnergy(3.*GeV); |
---|
| 102 | highEGammaModel->SetMaxEnergy(100.*TeV); |
---|
| 103 | |
---|
| 104 | manager=G4Gamma::GammaDefinition()->GetProcessManager(); |
---|
| 105 | G4PhotoNuclearProcess * photoNuclearProcess(new G4PhotoNuclearProcess); |
---|
| 106 | photoNuclearProcess->RegisterMe(lowEGammaModel); |
---|
| 107 | photoNuclearProcess->RegisterMe(highEGammaModel); |
---|
| 108 | manager->AddDiscreteProcess(photoNuclearProcess); |
---|
| 109 | } |
---|
| 110 | |
---|
| 111 | |
---|
| 112 | |
---|
| 113 | void RadmonPhysicsNuclear :: SetCuts(void) |
---|
| 114 | { |
---|
| 115 | } |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | const RadmonPhysicsInfoList & RadmonPhysicsNuclear :: Provides(void) const |
---|
| 122 | { |
---|
| 123 | if (infoList.GetNPhysicsInfos()==0) |
---|
| 124 | { |
---|
| 125 | RadmonPhysicsInfo info; |
---|
| 126 | |
---|
| 127 | info.SetProcessName("NuclearReaction"); |
---|
| 128 | info.SetParticleDefinition(G4Electron::ElectronDefinition()); |
---|
| 129 | info.SetMinEnergy(0.*eV); |
---|
| 130 | info.SetMaxEnergy(30.*TeV); |
---|
| 131 | infoList.InsertPhysicsInfo(info); |
---|
| 132 | |
---|
| 133 | info.SetParticleDefinition(G4Positron::PositronDefinition()); |
---|
| 134 | infoList.InsertPhysicsInfo(info); |
---|
| 135 | |
---|
| 136 | info.SetParticleDefinition(G4Gamma::GammaDefinition()); |
---|
| 137 | info.SetMaxEnergy(100.*TeV); |
---|
| 138 | infoList.InsertPhysicsInfo(info); |
---|
| 139 | } |
---|
| 140 | |
---|
| 141 | return infoList; |
---|
| 142 | } |
---|