[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 | // $Id: Em10PhysicsList.hh,v 1.11 2006/06/29 16:37:57 gunter Exp $ |
---|
[1337] | 28 | // GEANT4 tag $Name: geant4-09-04-beta-01 $ |
---|
[807] | 29 | // |
---|
| 30 | |
---|
| 31 | #ifndef Em10PhysicsList_h |
---|
| 32 | #define Em10PhysicsList_h 1 |
---|
| 33 | |
---|
| 34 | #include "G4VUserPhysicsList.hh" |
---|
| 35 | #include "G4VModularPhysicsList.hh" |
---|
| 36 | #include "globals.hh" |
---|
| 37 | |
---|
| 38 | class G4ForwardXrayTR ; |
---|
| 39 | class Em10StepCut; |
---|
| 40 | class Em10DetectorConstruction; |
---|
| 41 | class Em10PhysicsListMessenger; |
---|
| 42 | class G4ProductionCuts; |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | class Em10PhysicsList: public G4VModularPhysicsList // G4VUserPhysicsList |
---|
| 46 | { |
---|
| 47 | public: |
---|
| 48 | Em10PhysicsList( Em10DetectorConstruction*); |
---|
| 49 | |
---|
| 50 | ~Em10PhysicsList(); |
---|
| 51 | |
---|
| 52 | // Construct particle and physics |
---|
| 53 | void ConstructParticle(); |
---|
| 54 | void ConstructProcess(); |
---|
| 55 | |
---|
| 56 | void SetCuts(); |
---|
| 57 | |
---|
| 58 | private: |
---|
| 59 | // these methods Construct particles |
---|
| 60 | void ConstructBosons(); |
---|
| 61 | void ConstructLeptons(); |
---|
| 62 | void ConstructMesons(); |
---|
| 63 | void ConstructBarions(); |
---|
| 64 | |
---|
| 65 | // these methods Construct physics processes and register them |
---|
| 66 | |
---|
| 67 | void AddParameterisation(); |
---|
| 68 | void ConstructGeneral(); |
---|
| 69 | void ConstructEM(); |
---|
| 70 | |
---|
| 71 | public: |
---|
| 72 | |
---|
| 73 | void SetGammaCut(G4double); |
---|
| 74 | void SetElectronCut(G4double); |
---|
| 75 | |
---|
| 76 | void SetRegGammaCut(G4double cut){fGammaCut = cut;}; |
---|
| 77 | void SetRegElectronCut(G4double cut){fElectronCut = cut;}; |
---|
| 78 | void SetRegPositronCut(G4double cut){fPositronCut = cut;}; |
---|
| 79 | |
---|
| 80 | void SetRadiatorCuts(); |
---|
| 81 | void SetDetectorCuts(); |
---|
| 82 | |
---|
| 83 | void SetMaxStep(G4double); |
---|
| 84 | void SetXTRModel(G4String m) {fXTRModel = m; G4cout<<fXTRModel<<G4endl;}; |
---|
| 85 | |
---|
| 86 | private: |
---|
| 87 | |
---|
| 88 | G4double MaxChargedStep; |
---|
| 89 | |
---|
| 90 | G4ForwardXrayTR* fForwardXrayTR ; |
---|
| 91 | |
---|
| 92 | Em10StepCut* theeminusStepCut ; |
---|
| 93 | Em10StepCut* theeplusStepCut ; |
---|
| 94 | |
---|
| 95 | G4double cutForGamma; |
---|
| 96 | G4double cutForElectron, cutForPositron; |
---|
| 97 | |
---|
| 98 | Em10DetectorConstruction* pDet; |
---|
| 99 | |
---|
| 100 | Em10PhysicsListMessenger* physicsListMessenger; |
---|
| 101 | |
---|
| 102 | G4ProductionCuts* fRadiatorCuts; |
---|
| 103 | G4ProductionCuts* fDetectorCuts; |
---|
| 104 | G4double fElectronCut, fGammaCut, fPositronCut; |
---|
| 105 | G4String fXTRModel; |
---|
| 106 | }; |
---|
| 107 | |
---|
| 108 | #endif |
---|
| 109 | |
---|
| 110 | |
---|
| 111 | |
---|