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
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
tree
geant4-10.6-release
config
environments
examples
advanced
air_shower
amsEcal
brachytherapy
ChargeExchangeMC
composite_calorimeter
doiPET
eRosita
gammaknife
gammaray_telescope
include
src
GammaRayTelActionInitializer.cc
GammaRayTelAnalysis.cc
GammaRayTelAnalysisMessenger.cc
GammaRayTelAnticoincidenceHit.cc
GammaRayTelAnticoincidenceSD.cc
GammaRayTelCalorimeterHit.cc
GammaRayTelCalorimeterSD.cc
GammaRayTelDetectorConstruction.cc
GammaRayTelDetectorMessenger.cc
GammaRayTelDigi.cc
GammaRayTelDigitizer.cc
GammaRayTelDigitizerMessenger.cc
GammaRayTelEMlowePhysics.cc
GammaRayTelEMstdPhysics.cc
GammaRayTelEventAction.cc
GammaRayTelGeneralPhysics.cc
GammaRayTelHadronPhysics.cc
GammaRayTelIonPhysics.cc
GammaRayTelMuonPhysics.cc
GammaRayTelParticles.cc
GammaRayTelPhysicsList.cc
GammaRayTelPhysicsListMessenger.cc
GammaRayTelPrimaryGeneratorAction.cc
GammaRayTelPrimaryGeneratorMessenger.cc
GammaRayTelRunAction.cc
GammaRayTelTrackerHit.cc
GammaRayTelTrackerSD.cc
GammaRayTel.cc
gammaraytel.py
hadrontherapy
human_phantom
iort_therapy
lAr_calorimeter
medical_linac
microbeam
microelectronics
nanobeam
purging_magnet
radioprotection
STCyclotron
underground_physics
xray_fluorescence
xray_telescope
basic
extended
source
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GammaRayTelMuonPhysics.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file GammaRayTelMuonPhysics.cc
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
#include "
GammaRayTelMuonPhysics.hh
"
30
31
#include "
globals.hh
"
32
#include "
G4ios.hh
"
33
#include "
G4MuonPlus.hh
"
34
#include "
G4TauPlus.hh
"
35
#include "
G4TauMinus.hh
"
36
#include <iomanip>
37
38
39
#include "
G4ParticleTypes.hh
"
40
41
42
GammaRayTelMuonPhysics::GammaRayTelMuonPhysics
(
const
G4String
&
name
)
43
:
G4VPhysicsConstructor
(name)
44
{
45
}
46
47
GammaRayTelMuonPhysics::~GammaRayTelMuonPhysics
()
48
{
49
}
50
51
void
GammaRayTelMuonPhysics::ConstructParticle
()
52
{
53
54
}
55
56
57
#include "
G4ProcessManager.hh
"
58
59
void
GammaRayTelMuonPhysics::ConstructProcess
()
60
{
61
G4ProcessManager
* pManager = 0;
62
63
// Muon Plus Physics
64
pManager =
G4MuonPlus::MuonPlus
()->
GetProcessManager
();
65
// add processes
66
pManager->
AddProcess
(&
fMuPlusIonisation
,
ordInActive
,2, 2);
67
68
pManager->
AddDiscreteProcess
(&
fMuPlusBremsstrahlung
);
69
70
pManager->
AddDiscreteProcess
(&
fMuPlusPairProduction
);
71
72
pManager->
AddProcess
(&
fMuPlusMultipleScattering
);
73
pManager->
SetProcessOrdering
(&
fMuPlusMultipleScattering
,
idxAlongStep
, 1);
74
pManager->
SetProcessOrdering
(&
fMuPlusMultipleScattering
,
idxPostStep
, 1);
75
76
// Muon Minus Physics
77
pManager =
G4MuonMinus::MuonMinus
()->
GetProcessManager
();
78
// add processes
79
pManager->
AddProcess
(&
fMuMinusIonisation
,
ordInActive
,2, 2);
80
81
pManager->
AddDiscreteProcess
(&
fMuMinusBremsstrahlung
);
82
83
pManager->
AddDiscreteProcess
(&
fMuMinusPairProduction
);
84
85
pManager->
AddProcess
(&
fMuMinusMultipleScattering
);
86
pManager->
SetProcessOrdering
(&
fMuMinusMultipleScattering
,
idxAlongStep
, 1);
87
pManager->
SetProcessOrdering
(&
fMuMinusMultipleScattering
,
idxPostStep
, 1);
88
pManager->
AddRestProcess
(&
fMuMinusCaptureAtRest
);
89
90
// Tau Plus Physics
91
pManager =
G4TauPlus::TauPlus
()->
GetProcessManager
();
92
// add processes
93
pManager->
AddProcess
(&
fTauPlusIonisation
,
ordInActive
,2, 2);
94
95
pManager->
AddProcess
(&
fTauPlusMultipleScattering
);
96
pManager->
SetProcessOrdering
(&
fTauPlusMultipleScattering
,
idxAlongStep
, 1);
97
pManager->
SetProcessOrdering
(&
fTauPlusMultipleScattering
,
idxPostStep
, 1);
98
99
// Tau Minus Physics
100
pManager =
G4TauMinus::TauMinus
()->
GetProcessManager
();
101
// add processes
102
pManager->
AddProcess
(&
fTauMinusIonisation
,
ordInActive
,2, 2);
103
104
pManager->
AddProcess
(&
fTauMinusMultipleScattering
);
105
pManager->
SetProcessOrdering
(&
fTauMinusMultipleScattering
,
idxAlongStep
, 1);
106
pManager->
SetProcessOrdering
(&
fTauMinusMultipleScattering
,
idxPostStep
, 1);
107
108
}
109
110
111
geant4
tree
geant4-10.6-release
examples
advanced
gammaray_telescope
src
GammaRayTelMuonPhysics.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:58
using
1.8.2 with
ECCE GitHub integration