Geant4_10
G4StoppingPhysics.hh
Go to the documentation of this file.
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 // $Id: G4StoppingPhysics.hh 71041 2013-06-10 09:27:06Z gcosmo $
27 //
28 //---------------------------------------------------------------------------
29 //
30 // ClassName: G4StoppingPhysics
31 //
32 // Author: Alberto Ribon
33 //
34 // Date: 27 July 2012
35 //
36 // Modified:
37 // 20120921 M. Kelsey -- Move MuonMinusCapture.hh here; replace G4MMCAtRest
38 // with new G4MuonMinusCapture.
39 // 16-Oct-2012 A. Ribon: renamed G4BertiniAndFritiofStoppingPhysics as
40 // G4StoppingPhysics.
41 //
42 // Class Description:
43 //
44 // This class provides the nuclear capture at rest of negatively charged
45 // particles, using: Bertini for pi-, K-, Sigma-, Xi-, and Omega-.
46 // Fritiof/Precompound for anti-proton and anti-Sigma+;
47 // another model for mu-.
48 //
49 //----------------------------------------------------------------------------
50 
51 #ifndef G4StoppingPhysics_h
52 #define G4StoppingPhysics_h 1
53 
54 #include "globals.hh"
55 #include "G4VPhysicsConstructor.hh"
56 
57 
60 class G4MuonMinusCapture;
61 
62 
64 
65 public:
66 
67  G4StoppingPhysics( G4int ver = 1 );
68 
70  G4int ver = 1,
71  G4bool UseMuonMinusCapture=true );
72 
73  virtual ~G4StoppingPhysics();
74 
75 public:
76 
77  // This method will be invoked in the Construct() method.
78  // each particle type will be instantiated
79  virtual void ConstructParticle();
80 
81  // This method will be invoked in the Construct() method.
82  // each physics process will be instantiated and
83  // registered to the process manager of each particle type
84  virtual void ConstructProcess();
85 
86 private:
87 
88  //G4MuonMinusCapture* muProcess;
89  //G4HadronicAbsorptionBertini* hBertiniProcess;
90  //G4HadronicAbsorptionFritiof* hFritiofProcess;
91 
92  G4int verbose;
93  static G4ThreadLocal G4bool wasActivated;
94  G4bool useMuonMinusCapture;
95 };
96 
97 
98 #endif
virtual void ConstructProcess()
virtual void ConstructParticle()
const XML_Char * name
Definition: expat.h:151
#define G4ThreadLocal
Definition: tls.hh:52
int G4int
Definition: G4Types.hh:78
bool G4bool
Definition: G4Types.hh:79
virtual ~G4StoppingPhysics()
G4StoppingPhysics(G4int ver=1)