Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4QPhotoNuclearPhysics.hh
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$
27//
28//---------------------------------------------------------------------------
29//
30// ClassName: G4QPhotoNuclearPhysics
31//
32// Author: 2009 M. V. Kosov
33//
34// Modified:
35//
36//----------------------------------------------------------------------------
37//
38
39#ifndef G4QPhotoNuclearPhysics_h
40#define G4QPhotoNuclearPhysics_h 1
41
43#include "globals.hh"
44
45#include "G4QMessenger.hh"
46
47#include "G4QSynchRad.hh"
48#include "G4QInelastic.hh"
49
51#include "G4ParticleTable.hh"
52#include "G4Gamma.hh"
53#include "G4Electron.hh"
54#include "G4Positron.hh"
55#include "G4MuonPlus.hh"
56#include "G4MuonMinus.hh"
57#include "G4TauPlus.hh"
58#include "G4TauMinus.hh"
59#include "G4MesonConstructor.hh"
61#include "G4ProcessManager.hh"
62
63
65{
66public:
67 G4QPhotoNuclearPhysics(G4int verbose =1);
70
71 void ConstructParticle();
72 void ConstructProcess();
73
74 G4String GetSynchRadOnOff() {return synchrOn ? "on" : "off";}
75 G4String GetGammaNuclearOnOff() {return gamNucOn ? "on" : "off";}
76 G4String GetElPosNuclearOnOff() {return eleNucOn ? "on" : "off";}
77 G4String GetMuonNuclearOnOff() {return muoNucOn ? "on" : "off";}
78 G4String GetTauNuclearOnOff() {return tauNucOn ? "on" : "off";}
79
80 void SetSynchRadOnOff(G4String& aSwitch);
81 void SetGammaNuclearOnOff(G4String& aSwitch);
82 void SetElPosNuclearOnOff(G4String& aSwitch);
83 void SetMuonNuclearOnOff(G4String& aSwitch);
84 void SetTauNuclearOnOff(G4String& aSwitch);
85 void SetMinGammaSR(G4double newValue);
86 void SetPhotoNucBias(G4double newValue);
87
88private:
89
90 void BuildSynchRad();
91 void BuildGammaNuclear();
92 void BuildElectroNuclear();
93 void BuildMuonNuclear();
94 void BuildTauNuclear();
95
96 G4bool wasBuilt; // Flag of forbidden reactivation of processes
97 G4bool SynchRActivated; // Flag of finished activation of SynchroRadiation
98 G4bool GamNucActivated; // Flag of finished activation of gamma-nuclear
99 G4bool EleNucActivated; // Flag of finished activation of electron-nuclear
100 G4bool MuoNucActivated; // Flag of finished activation of muon-nuclear
101 G4bool TauNucActivated; // Flag of finished activation of tau-nuclear
102 G4bool synchrOn; // Switch flag for Synchrotron Radiation process
103 G4double synchrMinGam; // MinimumGamma for SynchrotronRadiation activation
104 G4bool gamNucOn; // Switch flag for the gamma-nuclear process
105 G4bool eleNucOn; // Switch flag for the electron-nuclear process
106 G4bool muoNucOn; // Switch flag for the electron-nuclear process
107 G4bool tauNucOn; // Switch flag for the electron-nuclear process
108 G4double photoNucBias; // Biasing factor for photo-nuclear processes
109
110 G4QInelastic* inelastic;
111 G4QSynchRad* synchrad;
112 G4QMessenger* theMessenger;
113};
114
115#endif
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
bool G4bool
Definition: G4Types.hh:67
void SetGammaNuclearOnOff(G4String &aSwitch)
void SetMuonNuclearOnOff(G4String &aSwitch)
void SetMinGammaSR(G4double newValue)
void SetElPosNuclearOnOff(G4String &aSwitch)
void SetTauNuclearOnOff(G4String &aSwitch)
void SetPhotoNucBias(G4double newValue)
void SetSynchRadOnOff(G4String &aSwitch)