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

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

update to geant4.9.3

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
47/*
48class G4LowEnergyIonisation;
49class G4LowEnergyPhotoElectric;
50class G4LowEnergyBremsstrahlung;
51class G4eIonisation;
52*/
53
54class XrayFluoPhysicsListMessenger;
55class XrayFluoDetectorConstruction;
56class XrayFluoPlaneDetectorConstruction;
57class XrayFluoMercuryDetectorConstruction;
58
59
60class XrayFluoPhysicsList: public G4VUserPhysicsList
61{
62public:
63
64  XrayFluoPhysicsList(XrayFluoDetectorConstruction*);
65  XrayFluoPhysicsList(XrayFluoPlaneDetectorConstruction*);
66  XrayFluoPhysicsList(XrayFluoMercuryDetectorConstruction*);
67
68
69  virtual ~XrayFluoPhysicsList();
70 
71protected:
72
73  // Construct particle and physics
74  virtual void ConstructParticle();
75  virtual void ConstructProcess();
76 
77protected:
78
79  // these methods Construct particles
80  virtual void ConstructBosons();
81  virtual void ConstructLeptons();
82  virtual void ConstructBarions();
83  virtual void ConstructIons();
84
85protected:
86  // these methods Construct physics processes and register them
87  void ConstructEM();
88  void ConstructGeneral();
89
90public:
91 
92  void SetCuts();
93  void SetGammaCut(G4double);
94  void SetElectronCut(G4double);
95
96  void SetGammaLowLimit(G4double);
97  void SetElectronLowLimit(G4double);
98
99  void SetGELowLimit(G4double);
100
101  void SetLowEnSecPhotCut(G4double);
102  void SetLowEnSecElecCut(G4double);
103  void SetProtonCut(G4double);
104  void SetCutsByEnergy(G4double);
105 
106
107private:
108
109//  G4LowEnergyIonisation*  LeIoprocess;
110//  G4LowEnergyPhotoElectric* LePeprocess;
111//  G4LowEnergyBremsstrahlung* LeBrprocess;
112  // G4eIonisation* eIoProcess; // modified
113  XrayFluoPhysicsListMessenger* physicsListMessenger;
114  G4double cutForGamma;
115  G4double cutForElectron;
116  G4double cutForProton;
117  XrayFluoDetectorConstruction* pDet;
118  XrayFluoPlaneDetectorConstruction* planeDet;
119  XrayFluoMercuryDetectorConstruction* mercuryDet;
120
121};
122
123#endif
124
125
126
127
128
129
130
Note: See TracBrowser for help on using the repository browser.