source: trunk/examples/advanced/xray_fluorescence/include/XrayFluoPhysicsList.hh@ 893

Last change on this file since 893 was 807, checked in by garnier, 17 years ago

update

File size: 3.9 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//
27// $Id: XrayFluoPhysicsList.hh
28// GEANT4 tag $Name: xray_fluo-V03-02-00
29//
30// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
31//
32// History:
33// -----------
34// 28 Nov 2001 Elena Guardincerri Created
35//
36// -------------------------------------------------------------------
37
38#ifndef XrayFluoPhysicsList_h
39#define XrayFluoPhysicsList_h 1
40
41#include "G4VUserPhysicsList.hh"
42#include "globals.hh"
43//#include "XrayFluoPlaneDetectorConstruction.hh"
44//#include "XrayFluoDetectorConstruction.hh"
45//#include "XrayFluoMercuryConstruction.hh"
46
47class XrayFluoPhysicsListMessenger;
48class G4LowEnergyIonisation;
49class G4LowEnergyPhotoElectric;
50class G4LowEnergyBremsstrahlung;
51class G4eIonisation;
52class XrayFluoDetectorConstruction;
53class XrayFluoPlaneDetectorConstruction;
54class XrayFluoMercuryDetectorConstruction;
55
56
57class XrayFluoPhysicsList: public G4VUserPhysicsList
58{
59public:
60
61 XrayFluoPhysicsList(XrayFluoDetectorConstruction*);
62 XrayFluoPhysicsList(XrayFluoPlaneDetectorConstruction*);
63 XrayFluoPhysicsList(XrayFluoMercuryDetectorConstruction*);
64
65
66 virtual ~XrayFluoPhysicsList();
67
68protected:
69
70 // Construct particle and physics
71 virtual void ConstructParticle();
72 virtual void ConstructProcess();
73
74protected:
75
76 // these methods Construct particles
77 virtual void ConstructBosons();
78 virtual void ConstructLeptons();
79 virtual void ConstructBarions();
80 virtual void ConstructIons();
81
82protected:
83 // these methods Construct physics processes and register them
84 void ConstructEM();
85 void ConstructGeneral();
86
87public:
88
89 void SetCuts();
90 void SetGammaCut(G4double);
91 void SetElectronCut(G4double);
92
93 void SetGammaLowLimit(G4double);
94 void SetElectronLowLimit(G4double);
95
96 void SetGELowLimit(G4double);
97
98 void SetLowEnSecPhotCut(G4double);
99 void SetLowEnSecElecCut(G4double);
100 void SetProtonCut(G4double);
101 void SetCutsByEnergy(G4double);
102
103
104private:
105
106 G4LowEnergyIonisation* LeIoprocess;
107 G4LowEnergyPhotoElectric* LePeprocess;
108 G4LowEnergyBremsstrahlung* LeBrprocess;
109 // G4eIonisation* eIoProcess; // modified
110 XrayFluoPhysicsListMessenger* physicsListMessenger;
111 G4double cutForGamma;
112 G4double cutForElectron;
113 G4double cutForProton;
114 XrayFluoDetectorConstruction* pDet;
115 XrayFluoPlaneDetectorConstruction* planeDet;
116 XrayFluoMercuryDetectorConstruction* mercuryDet;
117
118};
119
120#endif
121
122
123
124
125
126
127
Note: See TracBrowser for help on using the repository browser.