- Timestamp:
- Apr 17, 2009, 11:01:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/physics_lists/builders/src/G4MiscLHEPBuilder.cc
r850 r988 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: HEAD$26 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 27 27 // 28 28 //--------------------------------------------------------------------------- … … 55 55 56 56 // anti-Proton 57 theAntiProtonInelastic = new G4AntiProtonInelasticProcess(); 57 58 aProcMan = G4AntiProton::AntiProton()->GetProcessManager(); 58 59 theLEAntiProtonModel = new G4LEAntiProtonInelastic(); 59 60 theHEAntiProtonModel = new G4HEAntiProtonInelastic(); 60 61 theHEAntiProtonModel->SetMaxEnergy(100*TeV); 61 theAntiProtonInelastic .RegisterMe(theLEAntiProtonModel);62 theAntiProtonInelastic .RegisterMe(theHEAntiProtonModel);63 aProcMan->AddDiscreteProcess( &theAntiProtonInelastic);62 theAntiProtonInelastic->RegisterMe(theLEAntiProtonModel); 63 theAntiProtonInelastic->RegisterMe(theHEAntiProtonModel); 64 aProcMan->AddDiscreteProcess(theAntiProtonInelastic); 64 65 65 66 // AntiNeutron 67 theAntiNeutronInelastic = new G4AntiNeutronInelasticProcess(); 66 68 aProcMan = G4AntiNeutron::AntiNeutron()->GetProcessManager(); 67 69 theLEAntiNeutronModel = new G4LEAntiNeutronInelastic(); 68 70 theHEAntiNeutronModel = new G4HEAntiNeutronInelastic(); 69 71 theHEAntiNeutronModel->SetMaxEnergy(100*TeV); 70 theAntiNeutronInelastic .RegisterMe(theLEAntiNeutronModel);71 theAntiNeutronInelastic .RegisterMe(theHEAntiNeutronModel);72 aProcMan->AddDiscreteProcess( &theAntiNeutronInelastic);72 theAntiNeutronInelastic->RegisterMe(theLEAntiNeutronModel); 73 theAntiNeutronInelastic->RegisterMe(theHEAntiNeutronModel); 74 aProcMan->AddDiscreteProcess(theAntiNeutronInelastic); 73 75 74 76 // Lambda 77 theLambdaInelastic = new G4LambdaInelasticProcess(); 75 78 aProcMan = G4Lambda::Lambda()->GetProcessManager(); 76 79 theLELambdaModel = new G4LELambdaInelastic(); 77 80 theHELambdaModel = new G4HELambdaInelastic(); 78 81 theHELambdaModel->SetMaxEnergy(100*TeV); 79 theLambdaInelastic .RegisterMe(theLELambdaModel);80 theLambdaInelastic .RegisterMe(theHELambdaModel);81 aProcMan->AddDiscreteProcess( &theLambdaInelastic);82 theLambdaInelastic->RegisterMe(theLELambdaModel); 83 theLambdaInelastic->RegisterMe(theHELambdaModel); 84 aProcMan->AddDiscreteProcess(theLambdaInelastic); 82 85 83 86 // AntiLambda 87 theAntiLambdaInelastic = new G4AntiLambdaInelasticProcess(); 84 88 aProcMan = G4AntiLambda::AntiLambda()->GetProcessManager(); 85 89 theLEAntiLambdaModel = new G4LEAntiLambdaInelastic(); 86 90 theHEAntiLambdaModel = new G4HEAntiLambdaInelastic(); 87 91 theHEAntiLambdaModel->SetMaxEnergy(100*TeV); 88 theAntiLambdaInelastic .RegisterMe(theLEAntiLambdaModel);89 theAntiLambdaInelastic .RegisterMe(theHEAntiLambdaModel);90 aProcMan->AddDiscreteProcess( &theAntiLambdaInelastic);92 theAntiLambdaInelastic->RegisterMe(theLEAntiLambdaModel); 93 theAntiLambdaInelastic->RegisterMe(theHEAntiLambdaModel); 94 aProcMan->AddDiscreteProcess(theAntiLambdaInelastic); 91 95 92 96 // SigmaMinus 97 theSigmaMinusInelastic = new G4SigmaMinusInelasticProcess(); 93 98 aProcMan = G4SigmaMinus::SigmaMinus()->GetProcessManager(); 94 99 theLESigmaMinusModel = new G4LESigmaMinusInelastic(); 95 100 theHESigmaMinusModel = new G4HESigmaMinusInelastic(); 96 101 theHESigmaMinusModel->SetMaxEnergy(100*TeV); 97 theSigmaMinusInelastic .RegisterMe(theLESigmaMinusModel);98 theSigmaMinusInelastic .RegisterMe(theHESigmaMinusModel);99 aProcMan->AddDiscreteProcess( &theSigmaMinusInelastic);102 theSigmaMinusInelastic->RegisterMe(theLESigmaMinusModel); 103 theSigmaMinusInelastic->RegisterMe(theHESigmaMinusModel); 104 aProcMan->AddDiscreteProcess(theSigmaMinusInelastic); 100 105 101 106 // anti-SigmaMinus 107 theAntiSigmaMinusInelastic = new G4AntiSigmaMinusInelasticProcess(); 102 108 aProcMan = G4AntiSigmaMinus::AntiSigmaMinus()->GetProcessManager(); 103 109 theLEAntiSigmaMinusModel = new G4LEAntiSigmaMinusInelastic(); 104 110 theHEAntiSigmaMinusModel = new G4HEAntiSigmaMinusInelastic(); 105 111 theHEAntiSigmaMinusModel->SetMaxEnergy(100*TeV); 106 theAntiSigmaMinusInelastic .RegisterMe(theLEAntiSigmaMinusModel);107 theAntiSigmaMinusInelastic .RegisterMe(theHEAntiSigmaMinusModel);108 aProcMan->AddDiscreteProcess( &theAntiSigmaMinusInelastic);112 theAntiSigmaMinusInelastic->RegisterMe(theLEAntiSigmaMinusModel); 113 theAntiSigmaMinusInelastic->RegisterMe(theHEAntiSigmaMinusModel); 114 aProcMan->AddDiscreteProcess(theAntiSigmaMinusInelastic); 109 115 110 116 // SigmaPlus 117 theSigmaPlusInelastic = new G4SigmaPlusInelasticProcess(); 111 118 aProcMan = G4SigmaPlus::SigmaPlus()->GetProcessManager(); 112 119 theLESigmaPlusModel = new G4LESigmaPlusInelastic(); 113 120 theHESigmaPlusModel = new G4HESigmaPlusInelastic(); 114 121 theHESigmaPlusModel->SetMaxEnergy(100*TeV); 115 theSigmaPlusInelastic .RegisterMe(theLESigmaPlusModel);116 theSigmaPlusInelastic .RegisterMe(theHESigmaPlusModel);117 aProcMan->AddDiscreteProcess( &theSigmaPlusInelastic);122 theSigmaPlusInelastic->RegisterMe(theLESigmaPlusModel); 123 theSigmaPlusInelastic->RegisterMe(theHESigmaPlusModel); 124 aProcMan->AddDiscreteProcess(theSigmaPlusInelastic); 118 125 119 126 // anti-SigmaPlus 127 theAntiSigmaPlusInelastic = new G4AntiSigmaPlusInelasticProcess(); 120 128 aProcMan = G4AntiSigmaPlus::AntiSigmaPlus()->GetProcessManager(); 121 129 theLEAntiSigmaPlusModel = new G4LEAntiSigmaPlusInelastic(); 122 130 theHEAntiSigmaPlusModel = new G4HEAntiSigmaPlusInelastic(); 123 131 theHEAntiSigmaPlusModel->SetMaxEnergy(100*TeV); 124 theAntiSigmaPlusInelastic .RegisterMe(theLEAntiSigmaPlusModel);125 theAntiSigmaPlusInelastic .RegisterMe(theHEAntiSigmaPlusModel);126 aProcMan->AddDiscreteProcess( &theAntiSigmaPlusInelastic);132 theAntiSigmaPlusInelastic->RegisterMe(theLEAntiSigmaPlusModel); 133 theAntiSigmaPlusInelastic->RegisterMe(theHEAntiSigmaPlusModel); 134 aProcMan->AddDiscreteProcess(theAntiSigmaPlusInelastic); 127 135 128 136 // XiMinus 137 theXiMinusInelastic = new G4XiMinusInelasticProcess(); 129 138 aProcMan = G4XiMinus::XiMinus()->GetProcessManager(); 130 139 theLEXiMinusModel = new G4LEXiMinusInelastic(); 131 140 theHEXiMinusModel = new G4HEXiMinusInelastic(); 132 141 theHEXiMinusModel->SetMaxEnergy(100*TeV); 133 theXiMinusInelastic .RegisterMe(theLEXiMinusModel);134 theXiMinusInelastic .RegisterMe(theHEXiMinusModel);135 aProcMan->AddDiscreteProcess( &theXiMinusInelastic);142 theXiMinusInelastic->RegisterMe(theLEXiMinusModel); 143 theXiMinusInelastic->RegisterMe(theHEXiMinusModel); 144 aProcMan->AddDiscreteProcess(theXiMinusInelastic); 136 145 137 146 // anti-XiMinus 147 theAntiXiMinusInelastic = new G4AntiXiMinusInelasticProcess(); 138 148 aProcMan = G4AntiXiMinus::AntiXiMinus()->GetProcessManager(); 139 149 theLEAntiXiMinusModel = new G4LEAntiXiMinusInelastic(); 140 150 theHEAntiXiMinusModel = new G4HEAntiXiMinusInelastic(); 141 151 theHEAntiXiMinusModel->SetMaxEnergy(100*TeV); 142 theAntiXiMinusInelastic .RegisterMe(theLEAntiXiMinusModel);143 theAntiXiMinusInelastic .RegisterMe(theHEAntiXiMinusModel);144 aProcMan->AddDiscreteProcess( &theAntiXiMinusInelastic);152 theAntiXiMinusInelastic->RegisterMe(theLEAntiXiMinusModel); 153 theAntiXiMinusInelastic->RegisterMe(theHEAntiXiMinusModel); 154 aProcMan->AddDiscreteProcess(theAntiXiMinusInelastic); 145 155 146 156 // XiZero 157 theXiZeroInelastic = new G4XiZeroInelasticProcess(); 147 158 aProcMan = G4XiZero::XiZero()->GetProcessManager(); 148 159 theLEXiZeroModel = new G4LEXiZeroInelastic(); 149 160 theHEXiZeroModel = new G4HEXiZeroInelastic(); 150 161 theHEXiZeroModel->SetMaxEnergy(100*TeV); 151 theXiZeroInelastic .RegisterMe(theLEXiZeroModel);152 theXiZeroInelastic .RegisterMe(theHEXiZeroModel);153 aProcMan->AddDiscreteProcess( &theXiZeroInelastic);162 theXiZeroInelastic->RegisterMe(theLEXiZeroModel); 163 theXiZeroInelastic->RegisterMe(theHEXiZeroModel); 164 aProcMan->AddDiscreteProcess(theXiZeroInelastic); 154 165 155 166 // anti-XiZero 167 theAntiXiZeroInelastic = new G4AntiXiZeroInelasticProcess(); 156 168 aProcMan = G4AntiXiZero::AntiXiZero()->GetProcessManager(); 157 169 theLEAntiXiZeroModel = new G4LEAntiXiZeroInelastic(); 158 170 theHEAntiXiZeroModel = new G4HEAntiXiZeroInelastic(); 159 171 theHEAntiXiZeroModel->SetMaxEnergy(100*TeV); 160 theAntiXiZeroInelastic .RegisterMe(theLEAntiXiZeroModel);161 theAntiXiZeroInelastic .RegisterMe(theHEAntiXiZeroModel);162 aProcMan->AddDiscreteProcess( &theAntiXiZeroInelastic);172 theAntiXiZeroInelastic->RegisterMe(theLEAntiXiZeroModel); 173 theAntiXiZeroInelastic->RegisterMe(theHEAntiXiZeroModel); 174 aProcMan->AddDiscreteProcess(theAntiXiZeroInelastic); 163 175 164 176 // OmegaMinus 177 theOmegaMinusInelastic = new G4OmegaMinusInelasticProcess(); 165 178 aProcMan = G4OmegaMinus::OmegaMinus()->GetProcessManager(); 166 179 theLEOmegaMinusModel = new G4LEOmegaMinusInelastic(); 167 180 theHEOmegaMinusModel = new G4HEOmegaMinusInelastic(); 168 181 theHEOmegaMinusModel->SetMaxEnergy(100*TeV); 169 theOmegaMinusInelastic .RegisterMe(theLEOmegaMinusModel);170 theOmegaMinusInelastic .RegisterMe(theHEOmegaMinusModel);171 aProcMan->AddDiscreteProcess( &theOmegaMinusInelastic);182 theOmegaMinusInelastic->RegisterMe(theLEOmegaMinusModel); 183 theOmegaMinusInelastic->RegisterMe(theHEOmegaMinusModel); 184 aProcMan->AddDiscreteProcess(theOmegaMinusInelastic); 172 185 173 186 // anti-OmegaMinus 187 theAntiOmegaMinusInelastic = new G4AntiOmegaMinusInelasticProcess(); 174 188 aProcMan = G4AntiOmegaMinus::AntiOmegaMinus()->GetProcessManager(); 175 189 theLEAntiOmegaMinusModel = new G4LEAntiOmegaMinusInelastic(); 176 190 theHEAntiOmegaMinusModel = new G4HEAntiOmegaMinusInelastic(); 177 191 theHEAntiOmegaMinusModel->SetMaxEnergy(100*TeV); 178 theAntiOmegaMinusInelastic .RegisterMe(theLEAntiOmegaMinusModel);179 theAntiOmegaMinusInelastic .RegisterMe(theHEAntiOmegaMinusModel);180 aProcMan->AddDiscreteProcess( &theAntiOmegaMinusInelastic);192 theAntiOmegaMinusInelastic->RegisterMe(theLEAntiOmegaMinusModel); 193 theAntiOmegaMinusInelastic->RegisterMe(theHEAntiOmegaMinusModel); 194 aProcMan->AddDiscreteProcess(theAntiOmegaMinusInelastic); 181 195 } 182 196
Note: See TracChangeset
for help on using the changeset viewer.