[1199] | 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 | // $Id: NTSTPhysicsList.hh,v 1.3 2006/06/29 18:25:42 gunter Exp $ |
---|
| 27 | // GEANT4 tag $Name: HEAD $ |
---|
| 28 | // |
---|
| 29 | // |
---|
| 30 | |
---|
| 31 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
| 32 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
| 33 | |
---|
| 34 | #ifndef NTSTPhysicsList_h |
---|
| 35 | #define NTSTPhysicsList_h 1 |
---|
| 36 | |
---|
| 37 | #include "G4VUserPhysicsList.hh" |
---|
| 38 | #include "globals.hh" |
---|
| 39 | |
---|
| 40 | class NTSTLooperDeath; |
---|
| 41 | |
---|
| 42 | class G4PhotoElectricEffect; |
---|
| 43 | class G4ComptonScattering; |
---|
| 44 | class G4GammaConversion; |
---|
| 45 | |
---|
| 46 | class G4MultipleScattering; |
---|
| 47 | |
---|
| 48 | class G4eIonisation; |
---|
| 49 | class G4eBremsstrahlung; |
---|
| 50 | class G4eplusAnnihilation; |
---|
| 51 | |
---|
| 52 | class G4MuIonisation; |
---|
| 53 | class G4MuBremsstrahlung; |
---|
| 54 | class G4MuPairProduction; |
---|
| 55 | |
---|
| 56 | class G4hIonisation; |
---|
| 57 | |
---|
| 58 | class NTSTPhysicsListMessenger; |
---|
| 59 | |
---|
| 60 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
| 61 | |
---|
| 62 | class NTSTPhysicsList: public G4VUserPhysicsList |
---|
| 63 | { |
---|
| 64 | public: |
---|
| 65 | NTSTPhysicsList(); |
---|
| 66 | ~NTSTPhysicsList(); |
---|
| 67 | // |
---|
| 68 | // set methods |
---|
| 69 | // |
---|
| 70 | inline void SetBgsTran(const G4bool on) { useBgsTran = on; } |
---|
| 71 | void SetMinimumEnergyCut(const G4double e); |
---|
| 72 | void SetMaximumEnergyCut(const G4double e); |
---|
| 73 | inline void SetLengthCut(const G4double e) { Cut = e ; } |
---|
| 74 | void SetLooperCut(const G4double e); |
---|
| 75 | |
---|
| 76 | protected: |
---|
| 77 | void AddBgsTransportation(); |
---|
| 78 | |
---|
| 79 | // Construct particle and physics |
---|
| 80 | void ConstructParticle(); |
---|
| 81 | void ConstructProcess(); |
---|
| 82 | |
---|
| 83 | void SetCuts(); |
---|
| 84 | |
---|
| 85 | protected: |
---|
| 86 | // these methods Construct particles |
---|
| 87 | void ConstructBosons(); |
---|
| 88 | void ConstructLeptons(); |
---|
| 89 | void ConstructMesons(); |
---|
| 90 | void ConstructBarions(); |
---|
| 91 | |
---|
| 92 | protected: |
---|
| 93 | // these methods Construct physics processes and register them |
---|
| 94 | void ConstructGeneral(); |
---|
| 95 | void ConstructEM(); |
---|
| 96 | void ConstructLeptHad(); |
---|
| 97 | void ConstructHad(); |
---|
| 98 | |
---|
| 99 | public: |
---|
| 100 | // this method allow to set on/off the processes |
---|
| 101 | void SetStatusEmProcess(); |
---|
| 102 | |
---|
| 103 | private: |
---|
| 104 | G4bool useBgsTran; |
---|
| 105 | G4double MinimumEnergyCut; |
---|
| 106 | G4double MaximumEnergyCut; |
---|
| 107 | G4double Cut; |
---|
| 108 | G4double LooperCut; |
---|
| 109 | |
---|
| 110 | // processes |
---|
| 111 | |
---|
| 112 | NTSTLooperDeath* theLooperDeath; |
---|
| 113 | |
---|
| 114 | G4PhotoElectricEffect* thePhotoElectricEffect; |
---|
| 115 | G4ComptonScattering* theComptonScattering; |
---|
| 116 | G4GammaConversion* theGammaConversion; |
---|
| 117 | |
---|
| 118 | G4MultipleScattering* theeminusMultipleScattering; |
---|
| 119 | G4eIonisation* theeminusIonisation; |
---|
| 120 | G4eBremsstrahlung* theeminusBremsstrahlung; |
---|
| 121 | |
---|
| 122 | G4MultipleScattering* theeplusMultipleScattering; |
---|
| 123 | G4eIonisation* theeplusIonisation; |
---|
| 124 | G4eBremsstrahlung* theeplusBremsstrahlung; |
---|
| 125 | G4eplusAnnihilation* theeplusAnnihilation; |
---|
| 126 | |
---|
| 127 | NTSTPhysicsListMessenger* physicsListMessenger; |
---|
| 128 | }; |
---|
| 129 | |
---|
| 130 | #endif |
---|
| 131 | |
---|
| 132 | |
---|
| 133 | |
---|