ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
G4MuonMinusAtomicCapture.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4MuonMinusAtomicCapture.hh
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
"
49
#include "
G4ParticleDefinition.hh
"
50
#include "
G4ElementSelector.hh
"
51
#include "
G4HadronicInteraction.hh
"
52
#include "
G4Track.hh
"
53
#include "
G4Step.hh
"
54
#include "
G4ForceCondition.hh
"
55
#include "
G4HadronicProcessType.hh
"
56
#include "
G4HadFinalState.hh
"
57
58
class
G4HadronicInteraction
;
59
60
class
G4MuonMinusAtomicCapture
:
public
G4VRestProcess
61
62
{
63
public
:
64
65
explicit
G4MuonMinusAtomicCapture
(
const
G4String
&
name
66
=
"muMinusAtomicCaptureAtRest"
);
67
68
~G4MuonMinusAtomicCapture
();
69
70
G4bool
IsApplicable
(
const
G4ParticleDefinition
&);
71
72
virtual
void
PreparePhysicsTable
(
const
G4ParticleDefinition
&);
73
74
virtual
void
BuildPhysicsTable
(
const
G4ParticleDefinition
&);
75
76
virtual
G4double
77
AtRestGetPhysicalInteractionLength
(
const
G4Track
&
track
,
78
G4ForceCondition
*
condition
);
79
80
virtual
G4VParticleChange
*
AtRestDoIt
(
const
G4Track
&,
const
G4Step
&);
81
82
void
ProcessDescription
(std::ostream& outFile)
const
;
83
84
inline
void
SetElementSelector
(
G4ElementSelector
* ptr);
85
86
inline
void
SetEmCascade
(
G4HadronicInteraction
* ptr);
87
88
protected
:
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
94
private
:
95
96
// hide assignment operator as private
97
G4MuonMinusAtomicCapture
&
operator=
(
const
G4MuonMinusAtomicCapture
&
right
);
98
G4MuonMinusAtomicCapture
(
const
G4MuonMinusAtomicCapture
& );
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
geant4
tree
geant4-10.6-release
source
processes
hadronic
stopping
include
G4MuonMinusAtomicCapture.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:51
using
1.8.2 with
ECCE GitHub integration