Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4MuonMinusAtomicCapture.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: G4MuonMinusAtomicCapture.hh 66367 2012-12-18 09:18:08Z gcosmo $
27 //
28 //---------------------------------------------------------------------
29 //
30 // GEANT4 Class header file
31 //
32 // File name: G4MuonMinusAtomicCapture
33 //
34 // 20160701 K.L. Genser - New process using G4MuonicAtom
35 //
36 // Class Description:
37 //
38 // Stopping of mu-
39 //
40 // Modifications:
41 // 20160701
42 //
43 //------------------------------------------------------------------------
44 
45 #ifndef G4MuonMinusAtomicCapture_h
46 #define G4MuonMinusAtomicCapture_h 1
47 
48 #include "globals.hh"
49 #include "G4HadronicProcess.hh"
50 #include "G4ParticleDefinition.hh"
51 #include "G4ElementSelector.hh"
52 #include "G4HadronicInteraction.hh"
53 #include "G4Track.hh"
54 #include "G4Step.hh"
55 #include "G4ForceCondition.hh"
56 #include "G4HadronicProcessType.hh"
57 #include "G4HadFinalState.hh"
58 
60 
62 {
63 public:
64 
65  explicit G4MuonMinusAtomicCapture(const G4String& name = "muMinusAtomicCaptureAtRest" );
66 
68 
70 
71  virtual void PreparePhysicsTable(const G4ParticleDefinition&);
72 
73  virtual void BuildPhysicsTable(const G4ParticleDefinition&);
74 
75  virtual G4double
78 
79  virtual G4double
81  G4double previousStepSize,
82  G4ForceCondition* condition);
83 
84  virtual G4VParticleChange* AtRestDoIt(const G4Track&, const G4Step&);
85 
86  void ProcessDescription(std::ostream& outFile) const;
87 
88  inline void SetElementSelector(G4ElementSelector* ptr);
89 
90  inline void SetEmCascade(G4HadronicInteraction* ptr);
91 
92 protected:
93  // set effective lifetime for at-rest process (default is forced action)
94  // FIXME: This should be computed by subprocesses via cross-section analogue
95  G4double GetMeanLifeTime(const G4Track& /*aTrack*/,
96  G4ForceCondition* /*condition*/) { return -1.0; }
97 
98 private:
99 
100  // hide assignment operator as private
103 
104  G4ElementSelector* fElementSelector;
105 
106  G4HadronicInteraction* fEmCascade;
107 
108 };
109 
110 #endif
111 
112 
113 
114 
115 
116 
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
G4double condition(const G4ErrorSymMatrix &m)
const XML_Char * name
Definition: expat.h:151
void SetElementSelector(G4ElementSelector *ptr)
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &track, G4ForceCondition *condition)
void SetEmCascade(G4HadronicInteraction *ptr)
bool G4bool
Definition: G4Types.hh:79
G4double GetMeanLifeTime(const G4Track &, G4ForceCondition *)
Definition: G4Step.hh:76
void ProcessDescription(std::ostream &outFile) const
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
G4bool IsApplicable(const G4ParticleDefinition &)
double G4double
Definition: G4Types.hh:76
G4ForceCondition
G4MuonMinusAtomicCapture(const G4String &name="muMinusAtomicCaptureAtRest")