source: trunk/source/physics_lists/builders/include/G4QPhotoNuclearPhysics.hh @ 1315

Last change on this file since 1315 was 1315, checked in by garnier, 14 years ago

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File size: 4.8 KB
Line 
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: G4QPhotoNuclearPhysics.hh,v 1.3 2010/06/03 14:37:24 gunter Exp $
27// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
28//
29//---------------------------------------------------------------------------
30//
31// ClassName:   G4QPhotoNuclearPhysics
32//
33// Author: 2009 M. V. Kosov
34//
35// Modified:
36//
37//----------------------------------------------------------------------------
38//
39
40#ifndef G4QPhotoNuclearPhysics_h
41#define G4QPhotoNuclearPhysics_h 1
42
43#include "G4VPhysicsConstructor.hh"
44#include "globals.hh"
45
46#include "G4QMessenger.hh"
47
48#include "G4QSynchRad.hh"
49#include "G4QInelastic.hh"
50
51#include "G4ParticleDefinition.hh"
52#include "G4ParticleTable.hh"
53#include "G4Gamma.hh"
54#include "G4Electron.hh"
55#include "G4Positron.hh"
56#include "G4MuonPlus.hh"
57#include "G4MuonMinus.hh"
58#include "G4TauPlus.hh"
59#include "G4TauMinus.hh"
60#include "G4MesonConstructor.hh"
61#include "G4BaryonConstructor.hh"
62#include "G4ProcessManager.hh"
63
64
65class G4QPhotoNuclearPhysics : public G4VPhysicsConstructor
66{
67public:
68  G4QPhotoNuclearPhysics(G4int verbose =1);
69  G4QPhotoNuclearPhysics(const G4String& name);
70  virtual ~G4QPhotoNuclearPhysics();
71
72  void ConstructParticle();
73  void ConstructProcess();
74
75  G4String GetSynchRadOnOff()     {return synchrOn ? "on" : "off";}
76  G4String GetGammaNuclearOnOff() {return gamNucOn ? "on" : "off";}
77  G4String GetElPosNuclearOnOff() {return eleNucOn ? "on" : "off";}
78  G4String GetMuonNuclearOnOff()  {return muoNucOn ? "on" : "off";}
79  G4String GetTauNuclearOnOff()   {return tauNucOn ? "on" : "off";}
80
81  void SetSynchRadOnOff(G4String& aSwitch);
82  void SetGammaNuclearOnOff(G4String& aSwitch);
83  void SetElPosNuclearOnOff(G4String& aSwitch);
84  void SetMuonNuclearOnOff(G4String& aSwitch);
85  void SetTauNuclearOnOff(G4String& aSwitch);
86  void SetMinGammaSR(G4double newValue);
87  void SetPhotoNucBias(G4double newValue);
88
89private:
90
91  void BuildSynchRad();
92  void BuildGammaNuclear();
93  void BuildElectroNuclear();
94  void BuildMuonNuclear();
95  void BuildTauNuclear();
96
97  G4bool   wasBuilt;                    // Flag of forbidden reactivation of processes
98  G4bool   SynchRActivated;             // Flag of finished activation of SynchroRadiation
99  G4bool   GamNucActivated;             // Flag of finished activation of gamma-nuclear
100  G4bool   EleNucActivated;             // Flag of finished activation of electron-nuclear
101  G4bool   MuoNucActivated;             // Flag of finished activation of muon-nuclear
102  G4bool   TauNucActivated;             // Flag of finished activation of tau-nuclear
103  G4bool   synchrOn;                    // Switch flag for Synchrotron Radiation process
104  G4double synchrMinGam;                // MinimumGamma for SynchrotronRadiation activation
105  G4bool   gamNucOn;                    // Switch flag for the gamma-nuclear process
106  G4bool   eleNucOn;                    // Switch flag for the electron-nuclear process
107  G4bool   muoNucOn;                    // Switch flag for the electron-nuclear process
108  G4bool   tauNucOn;                    // Switch flag for the electron-nuclear process
109  G4double photoNucBias;                // Biasing factor for photo-nuclear processes
110
111  G4QInelastic*           inelastic;
112  G4QSynchRad*            synchrad;
113  G4QMessenger*           theMessenger;
114};
115
116#endif
Note: See TracBrowser for help on using the repository browser.