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 // $Id: HadronPhysicsUrQMD.hh 77519 2013-11-25 10:54:57Z gcosmo $ 29 // 30 // 30 //-------------------------------------------- 31 //--------------------------------------------------------------------------- 31 // 32 // 32 // ClassName: << 33 // ClassName: 33 // 34 // 34 // Author: 2012 Andrea Dotti 35 // Author: 2012 Andrea Dotti 35 // created from HadronPhysicsFTFP_BERT 36 // created from HadronPhysicsFTFP_BERT 36 // Modified: 37 // Modified: 37 // 07.02.2012 A. Dotti: First version 38 // 07.02.2012 A. Dotti: First version 38 //-------------------------------------------- 39 //---------------------------------------------------------------------------- 39 // 40 // 40 #ifndef HadronPhysicsUrQMD_h 41 #ifndef HadronPhysicsUrQMD_h 41 #define HadronPhysicsUrQMD_h 1 42 #define HadronPhysicsUrQMD_h 1 42 43 43 #include "UrQMDAntiBarionBuilder.hh" << 44 #include "globals.hh" 44 #include "UrQMDNeutronBuilder.hh" << 45 #include "G4ios.hh" 45 #include "UrQMDPiKBuilder.hh" << 46 #include "UrQMDProtonBuilder.hh" << 47 46 48 #include "G4AntiBarionBuilder.hh" << 49 #include "G4HyperonBuilder.hh" << 50 #include "G4HyperonFTFPBuilder.hh" << 51 #include "G4NeutronBuilder.hh" << 52 #include "G4PiKBuilder.hh" 47 #include "G4PiKBuilder.hh" >> 48 #include "UrQMDPiKBuilder.hh" >> 49 53 #include "G4ProtonBuilder.hh" 50 #include "G4ProtonBuilder.hh" 54 #include "G4ios.hh" << 51 #include "UrQMDProtonBuilder.hh" 55 #include "globals.hh" << 56 52 57 class HadronPhysicsUrQMD : public G4VPhysicsCo << 53 #include "G4NeutronBuilder.hh" 58 { << 54 #include "UrQMDNeutronBuilder.hh" 59 public: << 60 HadronPhysicsUrQMD(G4int verbose = 1); << 61 virtual ~HadronPhysicsUrQMD(); << 62 55 63 virtual void ConstructParticle(); << 56 #include "G4HyperonFTFPBuilder.hh" 64 virtual void ConstructProcess(); << 65 57 66 private: << 58 #include "G4AntiBarionBuilder.hh" 67 void CreateModels(); << 59 #include "UrQMDAntiBarionBuilder.hh" 68 G4HadronicProcess* FindInelasticProcess(co << 69 60 70 G4NeutronBuilder* fNeutrons; << 61 class HadronPhysicsUrQMD : public G4VPhysicsConstructor 71 UrQMDNeutronBuilder* fUrQMDNeutron; << 62 { >> 63 public: 72 64 73 G4PiKBuilder* fPiK; << 65 HadronPhysicsUrQMD(G4int verbose =1); 74 UrQMDPiKBuilder* fUrQMDPiK; << 66 virtual ~HadronPhysicsUrQMD(); 75 67 76 G4ProtonBuilder* fPro; << 68 virtual void ConstructParticle(); 77 UrQMDProtonBuilder* fUrQMDPro; << 69 virtual void ConstructProcess(); 78 70 79 G4HyperonBuilder* fHyperon; << 71 private: 80 G4HyperonFTFPBuilder* fFTFPHyperon; << 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 G4HyperonFTFPBuilder * fHyperon; >> 86 >> 87 G4AntiBarionBuilder * fAntiBaryon; >> 88 UrQMDAntiBarionBuilder * fUrQMDAntiBaryon; 81 89 82 G4AntiBarionBuilder* fAntiBaryon; << 83 UrQMDAntiBarionBuilder* fUrQMDAntiBaryon; << 84 }; 90 }; 85 91 86 #endif 92 #endif >> 93 87 94