Geant4  10.02.p02
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 85911 2014-11-06 08:56:31Z 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 
42  : G4VPhysicsConstructor(name) {
43 }
44 
45 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
46 
48 
49 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
50 
51 #include "G4ParticleDefinition.hh"
52 #include "G4ParticleTable.hh"
53 
54 #include "G4MuonPlus.hh"
55 #include "G4MuonMinus.hh"
56 #include "G4NeutrinoMu.hh"
57 #include "G4AntiNeutrinoMu.hh"
58 #include "G4Neutron.hh"
59 #include "G4Proton.hh"
60 #include "G4PionZero.hh"
61 #include "G4PionPlus.hh"
62 #include "G4PionMinus.hh"
63 
65 {
66  // Mu
71  //These are needed for the mu- capture
77 }
78 
79 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
80 
81 #include "G4ProcessManager.hh"
82 
84 {
85  G4MuIonisation* fMuPlusIonisation =
86  new G4MuIonisation();
87  G4MuMultipleScattering* fMuPlusMultipleScattering =
89  G4MuBremsstrahlung* fMuPlusBremsstrahlung=
90  new G4MuBremsstrahlung();
91  G4MuPairProduction* fMuPlusPairProduction=
92  new G4MuPairProduction();
93 
94  G4MuIonisation* fMuMinusIonisation =
95  new G4MuIonisation();
96  G4MuMultipleScattering* fMuMinusMultipleScattering =
98  G4MuBremsstrahlung* fMuMinusBremsstrahlung =
99  new G4MuBremsstrahlung();
100  G4MuPairProduction* fMuMinusPairProduction =
101  new G4MuPairProduction();
102 
103  G4MuonMinusCapture* fMuMinusCaptureAtRest =
104  new G4MuonMinusCapture();
105 
106  G4ProcessManager * pManager = 0;
107 
108  // Muon Plus Physics
109  pManager = G4MuonPlus::MuonPlus()->GetProcessManager();
110 
111  pManager->AddProcess(fMuPlusMultipleScattering,-1, 1, 1);
112  pManager->AddProcess(fMuPlusIonisation, -1, 2, 2);
113  pManager->AddProcess(fMuPlusBremsstrahlung, -1, 3, 3);
114  pManager->AddProcess(fMuPlusPairProduction, -1, 4, 4);
115 
116  // Muon Minus Physics
118 
119  pManager->AddProcess(fMuMinusMultipleScattering,-1, 1, 1);
120  pManager->AddProcess(fMuMinusIonisation, -1, 2, 2);
121  pManager->AddProcess(fMuMinusBremsstrahlung, -1, 3, 3);
122  pManager->AddProcess(fMuMinusPairProduction, -1, 4, 4);
123 
124  pManager->AddRestProcess(fMuMinusCaptureAtRest);
125 
126 }
virtual ~LXeMuonPhysics()
static G4MuonPlus * MuonPlus()
Definition: G4MuonPlus.cc:99
static G4MuonPlus * MuonPlusDefinition()
Definition: G4MuonPlus.cc:94
virtual void ConstructParticle()
G4String name
Definition: TRTMaterials.hh:40
G4ProcessManager * GetProcessManager() const
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
static G4AntiNeutrinoMu * AntiNeutrinoMuDefinition()
static G4Proton * Proton()
Definition: G4Proton.cc:93
static G4PionPlus * PionPlus()
Definition: G4PionPlus.cc:98
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
static G4PionZero * PionZero()
Definition: G4PionZero.cc:108
static G4PionMinus * PionMinus()
Definition: G4PionMinus.cc:98
static G4MuonMinus * MuonMinusDefinition()
Definition: G4MuonMinus.cc:95
Definition of the LXeMuonPhysics class.
static G4MuonMinus * MuonMinus()
Definition: G4MuonMinus.cc:100
virtual void ConstructProcess()
G4int AddRestProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4NeutrinoMu * NeutrinoMuDefinition()
Definition: G4NeutrinoMu.cc:80
LXeMuonPhysics(const G4String &name="muon")