|
||||
File indexing completed on 2025-01-18 09:59:08
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // 0027 //--------------------------------------------------------------------------- 0028 // 0029 // ClassName: G4StoppingPhysics 0030 // 0031 // Author: Alberto Ribon 0032 // 0033 // Date: 27 July 2012 0034 // 0035 // Modified: 0036 // 20120921 M. Kelsey -- Move MuonMinusCapture.hh here; replace G4MMCAtRest 0037 // with new G4MuonMinusCapture. 0038 // 16-Oct-2012 A. Ribon: renamed G4BertiniAndFritiofStoppingPhysics as 0039 // G4StoppingPhysics. 0040 // 0041 // Class Description: 0042 // 0043 // This class provides the nuclear capture at rest of negatively charged 0044 // particles, using: Bertini for pi-, K-, Sigma-, Xi-, and Omega-. 0045 // Fritiof/Precompound for anti-proton and anti-Sigma+; 0046 // another model for mu-. 0047 // Use Fritiof/Precompound also for the annihilation at rest of neutral 0048 // anti-hadrons: anti-neutron, anti-Lambda, anti-Sigma0 and anti-Xi0. 0049 // 0050 //---------------------------------------------------------------------------- 0051 0052 #ifndef G4StoppingPhysics_h 0053 #define G4StoppingPhysics_h 1 0054 0055 #include "globals.hh" 0056 #include "G4VPhysicsConstructor.hh" 0057 0058 class G4StoppingPhysics : public G4VPhysicsConstructor { 0059 0060 public: 0061 0062 G4StoppingPhysics( G4int ver = 1 ); 0063 0064 G4StoppingPhysics( const G4String& name, 0065 G4int ver = 1, 0066 G4bool UseMuonMinusCapture=true ); 0067 0068 ~G4StoppingPhysics() override; 0069 0070 // This method will be invoked in the Construct() method. 0071 // each particle type will be instantiated 0072 virtual void ConstructParticle() override; 0073 0074 // This method will be invoked in the Construct() method. 0075 // each physics process will be instantiated and 0076 // registered to the process manager of each particle type 0077 virtual void ConstructProcess() override; 0078 0079 void SetMuonMinusCapture(G4bool val) 0080 { useMuonMinusCapture = val; }; 0081 0082 private: 0083 0084 G4int verbose; 0085 G4bool useMuonMinusCapture; 0086 }; 0087 0088 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |