Geant4_10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
source
examples
extended
optical
LXe
src
LXeMuonPhysics.cc
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: LXeMuonPhysics.cc 68752 2013-04-05 10:23:47Z gcosmo $
27
//
30
//
31
//
32
#include "
LXeMuonPhysics.hh
"
33
34
#include "
globals.hh
"
35
#include "
G4ios.hh
"
36
#include "
G4PhysicalConstants.hh
"
37
#include <iomanip>
38
39
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
40
41
LXeMuonPhysics::LXeMuonPhysics
(
const
G4String
&
name
)
42
:
G4VPhysicsConstructor
(name) {
43
fMuPlusIonisation
= NULL;
44
fMuPlusMultipleScattering
= NULL;
45
fMuPlusBremsstrahlung
= NULL;
46
fMuPlusPairProduction
= NULL;
47
48
fMuMinusIonisation
= NULL;
49
fMuMinusMultipleScattering
= NULL;
50
fMuMinusBremsstrahlung
= NULL;
51
fMuMinusPairProduction
= NULL;
52
53
fMuMinusCaptureAtRest
= NULL;
54
}
55
56
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
57
58
LXeMuonPhysics::~LXeMuonPhysics
() {}
59
60
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
61
62
#include "
G4ParticleDefinition.hh
"
63
#include "
G4ParticleTable.hh
"
64
65
#include "
G4MuonPlus.hh
"
66
#include "
G4MuonMinus.hh
"
67
#include "
G4NeutrinoMu.hh
"
68
#include "
G4AntiNeutrinoMu.hh
"
69
70
void
LXeMuonPhysics::ConstructParticle
()
71
{
72
// Mu
73
G4MuonPlus::MuonPlusDefinition
();
74
G4MuonMinus::MuonMinusDefinition
();
75
G4NeutrinoMu::NeutrinoMuDefinition
();
76
G4AntiNeutrinoMu::AntiNeutrinoMuDefinition
();
77
}
78
79
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
80
81
#include "
G4ProcessManager.hh
"
82
83
void
LXeMuonPhysics::ConstructProcess
()
84
{
85
fMuPlusIonisation
=
new
G4MuIonisation
();
86
fMuPlusMultipleScattering
=
new
G4MuMultipleScattering
();
87
fMuPlusBremsstrahlung
=
new
G4MuBremsstrahlung
();
88
fMuPlusPairProduction
=
new
G4MuPairProduction
();
89
90
fMuMinusIonisation
=
new
G4MuIonisation
();
91
fMuMinusMultipleScattering
=
new
G4MuMultipleScattering
;
92
fMuMinusBremsstrahlung
=
new
G4MuBremsstrahlung
();
93
fMuMinusPairProduction
=
new
G4MuPairProduction
();
94
95
fMuMinusCaptureAtRest
=
new
G4MuonMinusCaptureAtRest
();
96
97
G4ProcessManager
* pManager = 0;
98
99
// Muon Plus Physics
100
pManager =
G4MuonPlus::MuonPlus
()->
GetProcessManager
();
101
102
pManager->
AddProcess
(
fMuPlusMultipleScattering
,-1, 1, 1);
103
pManager->
AddProcess
(
fMuPlusIonisation
, -1, 2, 2);
104
pManager->
AddProcess
(
fMuPlusBremsstrahlung
, -1, 3, 3);
105
pManager->
AddProcess
(
fMuPlusPairProduction
, -1, 4, 4);
106
107
// Muon Minus Physics
108
pManager =
G4MuonMinus::MuonMinus
()->
GetProcessManager
();
109
110
pManager->
AddProcess
(
fMuMinusMultipleScattering
,-1, 1, 1);
111
pManager->
AddProcess
(
fMuMinusIonisation
, -1, 2, 2);
112
pManager->
AddProcess
(
fMuMinusBremsstrahlung
, -1, 3, 3);
113
pManager->
AddProcess
(
fMuMinusPairProduction
, -1, 4, 4);
114
115
pManager->
AddRestProcess
(
fMuMinusCaptureAtRest
);
116
117
}
LXeMuonPhysics::~LXeMuonPhysics
virtual ~LXeMuonPhysics()
Definition:
LXeMuonPhysics.cc:58
LXeMuonPhysics::fMuMinusBremsstrahlung
G4MuBremsstrahlung * fMuMinusBremsstrahlung
Definition:
LXeMuonPhysics.hh:73
G4MuonPlus::MuonPlus
static G4MuonPlus * MuonPlus()
Definition:
G4MuonPlus.cc:99
G4MuonPlus::MuonPlusDefinition
static G4MuonPlus * MuonPlusDefinition()
Definition:
G4MuonPlus.cc:94
LXeMuonPhysics::fMuPlusPairProduction
G4MuPairProduction * fMuPlusPairProduction
Definition:
LXeMuonPhysics.hh:69
LXeMuonPhysics::ConstructParticle
virtual void ConstructParticle()
Definition:
LXeMuonPhysics.cc:70
G4MuonMinusCaptureAtRest
Definition:
G4MuonMinusCaptureAtRest.hh:64
name
const XML_Char * name
Definition:
expat.h:151
LXeMuonPhysics::fMuMinusPairProduction
G4MuPairProduction * fMuMinusPairProduction
Definition:
LXeMuonPhysics.hh:74
LXeMuonPhysics::fMuMinusIonisation
G4MuIonisation * fMuMinusIonisation
Definition:
LXeMuonPhysics.hh:71
G4ParticleDefinition::GetProcessManager
G4ProcessManager * GetProcessManager() const
LXeMuonPhysics::fMuPlusBremsstrahlung
G4MuBremsstrahlung * fMuPlusBremsstrahlung
Definition:
LXeMuonPhysics.hh:68
G4AntiNeutrinoMu.hh
G4ParticleTable.hh
G4MuMultipleScattering
Definition:
G4MuMultipleScattering.hh:61
G4ProcessManager::AddProcess
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
Definition:
G4ProcessManager.cc:410
G4AntiNeutrinoMu::AntiNeutrinoMuDefinition
static G4AntiNeutrinoMu * AntiNeutrinoMuDefinition()
Definition:
G4AntiNeutrinoMu.cc:80
G4ProcessManager.hh
G4ParticleDefinition.hh
G4MuBremsstrahlung
Definition:
G4MuBremsstrahlung.hh:78
globals.hh
LXeMuonPhysics::fMuMinusCaptureAtRest
G4MuonMinusCaptureAtRest * fMuMinusCaptureAtRest
Definition:
LXeMuonPhysics.hh:76
LXeMuonPhysics::fMuMinusMultipleScattering
G4MuMultipleScattering * fMuMinusMultipleScattering
Definition:
LXeMuonPhysics.hh:72
G4PhysicalConstants.hh
G4MuIonisation
Definition:
G4MuIonisation.hh:85
LXeMuonPhysics::fMuPlusMultipleScattering
G4MuMultipleScattering * fMuPlusMultipleScattering
Definition:
LXeMuonPhysics.hh:67
G4MuonMinus.hh
G4ios.hh
G4MuPairProduction
Definition:
G4MuPairProduction.hh:74
G4MuonMinus::MuonMinusDefinition
static G4MuonMinus * MuonMinusDefinition()
Definition:
G4MuonMinus.cc:95
LXeMuonPhysics.hh
Definition of the LXeMuonPhysics class.
G4MuonMinus::MuonMinus
static G4MuonMinus * MuonMinus()
Definition:
G4MuonMinus.cc:100
G4ProcessManager
Definition:
G4ProcessManager.hh:106
LXeMuonPhysics::ConstructProcess
virtual void ConstructProcess()
Definition:
LXeMuonPhysics.cc:83
G4MuonPlus.hh
G4ProcessManager::AddRestProcess
G4int AddRestProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4NeutrinoMu.hh
G4NeutrinoMu::NeutrinoMuDefinition
static G4NeutrinoMu * NeutrinoMuDefinition()
Definition:
G4NeutrinoMu.cc:80
G4VPhysicsConstructor
Definition:
G4VPhysicsConstructor.hh:121
LXeMuonPhysics::fMuPlusIonisation
G4MuIonisation * fMuPlusIonisation
Definition:
LXeMuonPhysics.hh:66
G4String
Definition:
G4String.hh:45
LXeMuonPhysics::LXeMuonPhysics
LXeMuonPhysics(const G4String &name="muon")
Definition:
LXeMuonPhysics.cc:41
Generated on Sat Dec 14 2013 14:33:53 for Geant4_10 by
1.8.5