Geant4 Cross Reference |
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 Par02PhysicsList.hh 28 /// \brief Definition of the Par02PhysicsList class 29 30 #ifndef PAR02_PHYSICS_LIST_H 31 #define PAR02_PHYSICS_LIST_H 32 33 #include "G4VUserPhysicsList.hh" 34 #include "globals.hh" 35 36 /// Construction of a physics list. 37 /// 38 /// A mandatory initialization class of the physics list. 39 /// For the purposes of fast simulation, only transportation, decays and 40 /// parametrisation is used. Based on G4 41 /// examples/extended/parametrisations/Par01/include/Par01PhysicsList.hh . 42 /// @author Anna Zaborowska 43 44 class Par02PhysicsList : public G4VUserPhysicsList 45 { 46 public: 47 /// A default constructor. Sets the default cut value. 48 Par02PhysicsList(); 49 50 virtual ~Par02PhysicsList(); 51 52 protected: 53 /// Constructs particles: bosons, leptons, mesons, baryons and ions. 54 virtual void ConstructParticle(); 55 56 /// Constructs physics processes: particle transportation, decays, 57 /// parametrisation (for the purpose of fast parametric simulation). 58 virtual void ConstructProcess(); 59 60 /// Sets cuts with the default value for all particle types. 61 virtual void SetCuts(); 62 63 /// Constructs bosons (including geantino) 64 virtual void ConstructBosons(); 65 66 /// Constructs all leptons. 67 virtual void ConstructLeptons(); 68 69 /// Constructs all mesons. 70 virtual void ConstructMesons(); 71 72 /// Constructs all barions. 73 virtual void ConstructBaryons(); 74 75 /// Constructs light ions. 76 virtual void ConstructIons(); 77 78 /// Creates a G4FastSimulationManagerProcess object for all the particle types. 79 void AddParameterisation(); 80 81 /// Adds decay process. 82 virtual void ConstructGeneral(); 83 84 /// Adds the particle transport. 85 /// G4CoupledTransportation is used to allow the calculation of the expected 86 /// position of the particle within a G4VFastSimulationModel. 87 virtual void AddTransportation(); 88 }; 89 90 #endif 91