[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: RadmonPhysicsNeutronBinary.cc |
---|
| 28 | // Creation date: Nov 2005 |
---|
| 29 | // Main author: Riccardo Capra <capra@ge.infn.it> |
---|
| 30 | // |
---|
| 31 | // Id: $Id: RadmonPhysicsNeutronBinary.cc,v 1.2.2.2 2006/06/29 16:19:29 gunter Exp $ |
---|
| 32 | // Tag: $Name: geant4-09-01-patch-02 $ |
---|
| 33 | // |
---|
| 34 | |
---|
| 35 | #include "RadmonPhysicsNeutronBinary.hh" |
---|
| 36 | |
---|
| 37 | #include "G4Neutron.hh" |
---|
| 38 | |
---|
| 39 | #include "G4ProcessManager.hh" |
---|
| 40 | |
---|
| 41 | #include "G4HadronElasticProcess.hh" |
---|
| 42 | #include "G4LElastic.hh" |
---|
| 43 | #include "G4BinaryCascade.hh" |
---|
| 44 | #include "G4LENeutronInelastic.hh" |
---|
| 45 | #include "G4TheoFSGenerator.hh" |
---|
| 46 | #include "G4GeneratorPrecompoundInterface.hh" |
---|
| 47 | #include "G4PreCompoundModel.hh" |
---|
| 48 | #include "G4ExcitationHandler.hh" |
---|
| 49 | #include "G4QGSModel.hh" |
---|
| 50 | #include "G4QGSParticipants.hh" |
---|
| 51 | #include "G4ExcitedStringDecay.hh" |
---|
| 52 | #include "G4QGSMFragmentation.hh" |
---|
| 53 | #include "G4NeutronInelasticProcess.hh" |
---|
| 54 | #include "G4NeutronInelasticCrossSection.hh" |
---|
| 55 | #include "G4LCapture.hh" |
---|
| 56 | #include "G4HadronCaptureProcess.hh" |
---|
| 57 | #include "G4LFission.hh" |
---|
| 58 | #include "G4HadronFissionProcess.hh" |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | RadmonVSubPhysicsListWithLabel * RadmonPhysicsNeutronBinary :: New(void) const |
---|
| 63 | { |
---|
| 64 | return new RadmonPhysicsNeutronBinary; |
---|
| 65 | } |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | void RadmonPhysicsNeutronBinary :: ConstructParticle(void) |
---|
| 70 | { |
---|
| 71 | G4Neutron::NeutronDefinition(); |
---|
| 72 | } |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | void RadmonPhysicsNeutronBinary :: ConstructProcess(void) |
---|
| 77 | { |
---|
| 78 | G4ProcessManager * manager(G4Neutron::NeutronDefinition()->GetProcessManager()); |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | G4HadronElasticProcess * elasticProcess(new G4HadronElasticProcess()); |
---|
| 83 | elasticProcess->RegisterMe(new G4LElastic()); |
---|
| 84 | manager->AddDiscreteProcess(elasticProcess); |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | G4BinaryCascade * binaryCascadeModel(new G4BinaryCascade()); |
---|
| 89 | binaryCascadeModel->SetMaxEnergy(10.*GeV); |
---|
| 90 | |
---|
| 91 | G4LENeutronInelastic * lepModel(new G4LENeutronInelastic()); |
---|
| 92 | lepModel->SetMinEnergy(8.*GeV); |
---|
| 93 | lepModel->SetMaxEnergy(25.*GeV); |
---|
| 94 | |
---|
| 95 | G4TheoFSGenerator * qgspModel(new G4TheoFSGenerator()); |
---|
| 96 | G4GeneratorPrecompoundInterface * cascade(new G4GeneratorPrecompoundInterface()); |
---|
| 97 | cascade->SetDeExcitation(new G4PreCompoundModel(new G4ExcitationHandler())); |
---|
| 98 | qgspModel->SetTransport(cascade); |
---|
| 99 | G4QGSModel<G4QGSParticipants> * stringModel(new G4QGSModel<G4QGSParticipants>); |
---|
| 100 | stringModel->SetFragmentationModel(new G4ExcitedStringDecay(new G4QGSMFragmentation())); |
---|
| 101 | qgspModel->SetHighEnergyGenerator(stringModel); |
---|
| 102 | qgspModel->SetMinEnergy(20*GeV); |
---|
| 103 | qgspModel->SetMaxEnergy(100*TeV); |
---|
| 104 | |
---|
| 105 | G4NeutronInelasticProcess * inelasticProcess(new G4NeutronInelasticProcess()); |
---|
| 106 | inelasticProcess->AddDataSet(new G4NeutronInelasticCrossSection()); |
---|
| 107 | inelasticProcess->RegisterMe(binaryCascadeModel); |
---|
| 108 | inelasticProcess->RegisterMe(lepModel); |
---|
| 109 | inelasticProcess->RegisterMe(qgspModel); |
---|
| 110 | manager->AddDiscreteProcess(inelasticProcess); |
---|
| 111 | |
---|
| 112 | |
---|
| 113 | |
---|
| 114 | G4LCapture * captureModel(new G4LCapture()); |
---|
| 115 | captureModel->SetMinEnergy(0.*eV); |
---|
| 116 | captureModel->SetMaxEnergy(100.*TeV); |
---|
| 117 | G4HadronCaptureProcess * captureProcess(new G4HadronCaptureProcess()); |
---|
| 118 | captureProcess->RegisterMe(captureModel); |
---|
| 119 | manager->AddDiscreteProcess(captureProcess); |
---|
| 120 | |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | G4LFission * fissionModel(new G4LFission()); |
---|
| 124 | fissionModel->SetMinEnergy(0.*eV); |
---|
| 125 | fissionModel->SetMaxEnergy(100.*TeV); |
---|
| 126 | G4HadronFissionProcess * fissionProcess(new G4HadronFissionProcess()); |
---|
| 127 | fissionProcess->RegisterMe(fissionModel); |
---|
| 128 | manager->AddDiscreteProcess(fissionProcess); |
---|
| 129 | } |
---|
| 130 | |
---|
| 131 | |
---|
| 132 | |
---|
| 133 | void RadmonPhysicsNeutronBinary :: SetCuts(void) |
---|
| 134 | { |
---|
| 135 | } |
---|
| 136 | |
---|
| 137 | |
---|
| 138 | |
---|
| 139 | |
---|
| 140 | |
---|
| 141 | const RadmonPhysicsInfoList & RadmonPhysicsNeutronBinary :: Provides(void) const |
---|
| 142 | { |
---|
| 143 | if (infoList.GetNPhysicsInfos()==0) |
---|
| 144 | { |
---|
| 145 | RadmonPhysicsInfo info; |
---|
| 146 | |
---|
| 147 | info.SetProcessName("Elastic"); |
---|
| 148 | info.SetParticleDefinition(G4Neutron::NeutronDefinition()); |
---|
| 149 | info.SetMinEnergy(0.*eV); |
---|
| 150 | info.SetMaxEnergy(DBL_MAX); |
---|
| 151 | infoList.InsertPhysicsInfo(info); |
---|
| 152 | |
---|
| 153 | info.SetProcessName("Inelastic"); |
---|
| 154 | info.SetParticleDefinition(G4Neutron::NeutronDefinition()); |
---|
| 155 | info.SetMinEnergy(0.*eV); |
---|
| 156 | info.SetMaxEnergy(100.*TeV); |
---|
| 157 | infoList.InsertPhysicsInfo(info); |
---|
| 158 | |
---|
| 159 | info.SetProcessName("Fission"); |
---|
| 160 | info.SetParticleDefinition(G4Neutron::NeutronDefinition()); |
---|
| 161 | info.SetMinEnergy(0.*eV); |
---|
| 162 | info.SetMaxEnergy(100.*TeV); |
---|
| 163 | infoList.InsertPhysicsInfo(info); |
---|
| 164 | |
---|
| 165 | info.SetProcessName("Capture"); |
---|
| 166 | info.SetParticleDefinition(G4Neutron::NeutronDefinition()); |
---|
| 167 | info.SetMinEnergy(0.*eV); |
---|
| 168 | info.SetMaxEnergy(100.*TeV); |
---|
| 169 | infoList.InsertPhysicsInfo(info); |
---|
| 170 | } |
---|
| 171 | |
---|
| 172 | return infoList; |
---|
| 173 | } |
---|