Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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//
27//---------------------------------------------------------------------
28//
29// GEANT4 Class header file
30//
31// File name: G4MuonMinusAtomicCapture
32//
33// 20160701 K.L. Genser - New process using G4MuonicAtom
34//
35// Class Description:
36//
37// Stopping of mu-
38//
39// Modifications:
40// 20160912 K.L. Genser made it rest process
41//
42//------------------------------------------------------------------------
43
44#ifndef G4MuonMinusAtomicCapture_h
45#define G4MuonMinusAtomicCapture_h 1
46
47#include "globals.hh"
48#include "G4VRestProcess.hh"
50#include "G4ElementSelector.hh"
52#include "G4Track.hh"
53#include "G4Step.hh"
54#include "G4ForceCondition.hh"
56#include "G4HadFinalState.hh"
57
59
61
62{
63public:
64
65 explicit G4MuonMinusAtomicCapture(const G4String& name
66 = "muMinusAtomicCaptureAtRest" );
67
69
71
72 virtual void PreparePhysicsTable(const G4ParticleDefinition&);
73
74 virtual void BuildPhysicsTable(const G4ParticleDefinition&);
75
76 virtual G4double
79
80 virtual G4VParticleChange* AtRestDoIt(const G4Track&, const G4Step&);
81
82 void ProcessDescription(std::ostream& outFile) const;
83
85
87
88protected:
89 // set effective lifetime for at-rest process (default is forced action)
90 // FIXME: This should be computed by subprocesses via cross-section analogue
91 G4double GetMeanLifeTime(const G4Track& /*aTrack*/,
92 G4ForceCondition* /*condition*/) { return -1.0; }
93
94private:
95
96 // hide assignment operator as private
99
100 G4ElementSelector* fElementSelector;
101
102 G4HadronicInteraction* fEmCascade;
103
104 G4ParticleChange* theTotalResult;
105
106 G4HadFinalState* result;
107
108 G4HadProjectile thePro;
109
110 G4Nucleus targetNucleus;
111
112};
113
114#endif
115
116
117
118
119
120
G4double condition(const G4ErrorSymMatrix &m)
G4ForceCondition
double G4double
Definition G4Types.hh:83
bool G4bool
Definition G4Types.hh:86
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
G4MuonMinusAtomicCapture(const G4String &name="muMinusAtomicCaptureAtRest")
void ProcessDescription(std::ostream &outFile) const
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
void SetElementSelector(G4ElementSelector *ptr)
G4bool IsApplicable(const G4ParticleDefinition &)
G4double GetMeanLifeTime(const G4Track &, G4ForceCondition *)
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &track, G4ForceCondition *condition)
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
void SetEmCascade(G4HadronicInteraction *ptr)