Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer 3 // * License and Disclaimer * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/ 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. 9 // * include a list of copyright holders. * 10 // * 10 // * * 11 // * Neither the authors of this software syst 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitatio 16 // * for the full disclaimer and the limitation of liability. * 17 // * 17 // * * 18 // * This code implementation is the result 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboratio 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distri 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you ag 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publicati 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Sof 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************* 24 // ******************************************************************** 25 // 25 // 26 /// \file hadronic/Hadr02/include/HadronPhysic 26 /// \file hadronic/Hadr02/include/HadronPhysicsUrQMD.hh 27 /// \brief Definition of the HadronPhysicsUrQM 27 /// \brief Definition of the HadronPhysicsUrQMD class 28 // 28 // 29 // 29 // 30 //-------------------------------------------- 30 //--------------------------------------------------------------------------- 31 // 31 // 32 // ClassName: << 32 // ClassName: 33 // 33 // 34 // Author: 2012 Andrea Dotti 34 // Author: 2012 Andrea Dotti 35 // created from HadronPhysicsFTFP_BERT 35 // created from HadronPhysicsFTFP_BERT 36 // Modified: 36 // Modified: 37 // 07.02.2012 A. Dotti: First version 37 // 07.02.2012 A. Dotti: First version 38 //-------------------------------------------- 38 //---------------------------------------------------------------------------- 39 // 39 // 40 #ifndef HadronPhysicsUrQMD_h 40 #ifndef HadronPhysicsUrQMD_h 41 #define HadronPhysicsUrQMD_h 1 41 #define HadronPhysicsUrQMD_h 1 42 42 43 #include "UrQMDAntiBarionBuilder.hh" << 43 #include "globals.hh" 44 #include "UrQMDNeutronBuilder.hh" << 44 #include "G4ios.hh" >> 45 >> 46 #include "G4PiKBuilder.hh" 45 #include "UrQMDPiKBuilder.hh" 47 #include "UrQMDPiKBuilder.hh" >> 48 >> 49 #include "G4ProtonBuilder.hh" 46 #include "UrQMDProtonBuilder.hh" 50 #include "UrQMDProtonBuilder.hh" 47 51 48 #include "G4AntiBarionBuilder.hh" << 52 #include "G4NeutronBuilder.hh" >> 53 #include "UrQMDNeutronBuilder.hh" >> 54 49 #include "G4HyperonBuilder.hh" 55 #include "G4HyperonBuilder.hh" 50 #include "G4HyperonFTFPBuilder.hh" 56 #include "G4HyperonFTFPBuilder.hh" 51 #include "G4NeutronBuilder.hh" << 57 52 #include "G4PiKBuilder.hh" << 58 #include "G4AntiBarionBuilder.hh" 53 #include "G4ProtonBuilder.hh" << 59 #include "UrQMDAntiBarionBuilder.hh" 54 #include "G4ios.hh" << 55 #include "globals.hh" << 56 60 57 class HadronPhysicsUrQMD : public G4VPhysicsCo 61 class HadronPhysicsUrQMD : public G4VPhysicsConstructor 58 { 62 { 59 public: << 63 public: 60 HadronPhysicsUrQMD(G4int verbose = 1); << 61 virtual ~HadronPhysicsUrQMD(); << 62 << 63 virtual void ConstructParticle(); << 64 virtual void ConstructProcess(); << 65 64 66 private: << 65 HadronPhysicsUrQMD(G4int verbose =1); 67 void CreateModels(); << 66 virtual ~HadronPhysicsUrQMD(); 68 G4HadronicProcess* FindInelasticProcess(co << 69 67 70 G4NeutronBuilder* fNeutrons; << 68 virtual void ConstructParticle(); 71 UrQMDNeutronBuilder* fUrQMDNeutron; << 69 virtual void ConstructProcess(); 72 70 73 G4PiKBuilder* fPiK; << 71 private: 74 UrQMDPiKBuilder* fUrQMDPiK; << 72 >> 73 void CreateModels(); >> 74 G4HadronicProcess* FindInelasticProcess(const G4ParticleDefinition*); >> 75 >> 76 G4NeutronBuilder * fNeutrons; >> 77 UrQMDNeutronBuilder * fUrQMDNeutron; >> 78 >> 79 G4PiKBuilder * fPiK; >> 80 UrQMDPiKBuilder * fUrQMDPiK; >> 81 >> 82 G4ProtonBuilder * fPro; >> 83 UrQMDProtonBuilder * fUrQMDPro; >> 84 >> 85 G4HyperonBuilder * fHyperon; >> 86 G4HyperonFTFPBuilder * fFTFPHyperon; >> 87 >> 88 G4AntiBarionBuilder * fAntiBaryon; >> 89 UrQMDAntiBarionBuilder * fUrQMDAntiBaryon; 75 90 76 G4ProtonBuilder* fPro; << 77 UrQMDProtonBuilder* fUrQMDPro; << 78 << 79 G4HyperonBuilder* fHyperon; << 80 G4HyperonFTFPBuilder* fFTFPHyperon; << 81 << 82 G4AntiBarionBuilder* fAntiBaryon; << 83 UrQMDAntiBarionBuilder* fUrQMDAntiBaryon; << 84 }; 91 }; 85 92 86 #endif 93 #endif >> 94 87 95