Changeset 1302 for trunk/examples/novice/N03/src/ExN03PhysicsList.cc
- Timestamp:
- Jun 2, 2010, 3:31:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/novice/N03/src/ExN03PhysicsList.cc
r1209 r1302 25 25 // 26 26 // 27 // $Id: ExN03PhysicsList.cc,v 1.2 6 2009/11/15 14:48:40 maireExp $28 // GEANT4 tag $Name: geant4-09-03-cand-01$27 // $Id: ExN03PhysicsList.cc,v 1.27 2010/03/21 16:09:31 vnivanch Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // … … 36 36 37 37 #include "G4ProcessManager.hh" 38 #include "G4ParticleTypes.hh" 38 39 #include "G4BosonConstructor.hh" 40 #include "G4LeptonConstructor.hh" 41 #include "G4MesonConstructor.hh" 42 #include "G4BosonConstructor.hh" 43 #include "G4BaryonConstructor.hh" 44 #include "G4IonConstructor.hh" 39 45 40 46 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 60 66 // created in the program. 61 67 62 ConstructBosons(); 63 ConstructLeptons(); 64 ConstructMesons(); 65 ConstructBaryons(); 66 } 67 68 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 69 70 void ExN03PhysicsList::ConstructBosons() 71 { 72 // pseudo-particles 73 G4Geantino::GeantinoDefinition(); 74 G4ChargedGeantino::ChargedGeantinoDefinition(); 75 76 // gamma 77 G4Gamma::GammaDefinition(); 78 79 // optical photon 80 G4OpticalPhoton::OpticalPhotonDefinition(); 81 } 82 83 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 84 85 void ExN03PhysicsList::ConstructLeptons() 86 { 87 // leptons 88 G4Electron::ElectronDefinition(); 89 G4Positron::PositronDefinition(); 90 G4MuonPlus::MuonPlusDefinition(); 91 G4MuonMinus::MuonMinusDefinition(); 92 93 G4NeutrinoE::NeutrinoEDefinition(); 94 G4AntiNeutrinoE::AntiNeutrinoEDefinition(); 95 G4NeutrinoMu::NeutrinoMuDefinition(); 96 G4AntiNeutrinoMu::AntiNeutrinoMuDefinition(); 97 } 98 99 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 100 101 void ExN03PhysicsList::ConstructMesons() 102 { 103 // mesons 104 G4PionPlus::PionPlusDefinition(); 105 G4PionMinus::PionMinusDefinition(); 106 G4PionZero::PionZeroDefinition(); 107 G4Eta::EtaDefinition(); 108 G4EtaPrime::EtaPrimeDefinition(); 109 G4KaonPlus::KaonPlusDefinition(); 110 G4KaonMinus::KaonMinusDefinition(); 111 G4KaonZero::KaonZeroDefinition(); 112 G4AntiKaonZero::AntiKaonZeroDefinition(); 113 G4KaonZeroLong::KaonZeroLongDefinition(); 114 G4KaonZeroShort::KaonZeroShortDefinition(); 115 } 116 117 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 118 119 void ExN03PhysicsList::ConstructBaryons() 120 { 121 // barions 122 G4Proton::ProtonDefinition(); 123 G4AntiProton::AntiProtonDefinition(); 124 G4Neutron::NeutronDefinition(); 125 G4AntiNeutron::AntiNeutronDefinition(); 126 } 127 68 G4BosonConstructor pBosonConstructor; 69 pBosonConstructor.ConstructParticle(); 70 71 G4LeptonConstructor pLeptonConstructor; 72 pLeptonConstructor.ConstructParticle(); 73 74 G4MesonConstructor pMesonConstructor; 75 pMesonConstructor.ConstructParticle(); 76 77 G4BaryonConstructor pBaryonConstructor; 78 pBaryonConstructor.ConstructParticle(); 79 80 G4IonConstructor pIonConstructor; 81 pIonConstructor.ConstructParticle(); 82 } 128 83 129 84 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
Note: See TracChangeset
for help on using the changeset viewer.