Geant4  10.00.p03
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 
42  : G4VPhysicsConstructor(name) {
43  fMuPlusIonisation = NULL;
45  fMuPlusBremsstrahlung = NULL;
46  fMuPlusPairProduction = NULL;
47 
48  fMuMinusIonisation = NULL;
52 
53  fMuMinusCaptureAtRest = NULL;
54 }
55 
56 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
57 
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 
71 {
72  // Mu
77 }
78 
79 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
80 
81 #include "G4ProcessManager.hh"
82 
84 {
89 
94 
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
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 
116 
117 }
virtual ~LXeMuonPhysics()
G4MuBremsstrahlung * fMuMinusBremsstrahlung
static G4MuonPlus * MuonPlus()
Definition: G4MuonPlus.cc:99
static G4MuonPlus * MuonPlusDefinition()
Definition: G4MuonPlus.cc:94
G4MuPairProduction * fMuPlusPairProduction
virtual void ConstructParticle()
G4String name
Definition: TRTMaterials.hh:40
G4MuPairProduction * fMuMinusPairProduction
G4MuIonisation * fMuMinusIonisation
G4ProcessManager * GetProcessManager() const
G4MuBremsstrahlung * fMuPlusBremsstrahlung
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
static G4AntiNeutrinoMu * AntiNeutrinoMuDefinition()
G4MuonMinusCaptureAtRest * fMuMinusCaptureAtRest
G4MuMultipleScattering * fMuMinusMultipleScattering
G4MuMultipleScattering * fMuPlusMultipleScattering
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
G4MuIonisation * fMuPlusIonisation
LXeMuonPhysics(const G4String &name="muon")