source: trunk/source/geometry/magneticfield/test/NTST/include/NTSTPhysicsList.hh @ 1347

Last change on this file since 1347 was 1347, checked in by garnier, 13 years ago

geant4 tag 9.4

File size: 4.1 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: NTSTPhysicsList.hh,v 1.3 2006/06/29 18:25:42 gunter Exp $
27// GEANT4 tag $Name: geant4-09-04-ref-00 $
28//
29//
30
31//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
32//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
33
34#ifndef NTSTPhysicsList_h
35#define NTSTPhysicsList_h 1
36
37#include "G4VUserPhysicsList.hh"
38#include "globals.hh"
39
40class NTSTLooperDeath;
41
42class G4PhotoElectricEffect;
43class G4ComptonScattering;
44class G4GammaConversion;
45
46class G4MultipleScattering;
47
48class G4eIonisation;
49class G4eBremsstrahlung;
50class G4eplusAnnihilation;
51
52class G4MuIonisation;
53class G4MuBremsstrahlung;
54class G4MuPairProduction;
55
56class G4hIonisation;
57
58class NTSTPhysicsListMessenger;
59
60//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
61
62class NTSTPhysicsList: public G4VUserPhysicsList
63{
64public:
65  NTSTPhysicsList();
66  ~NTSTPhysicsList();
67  //
68  // set methods
69  //
70  inline void SetBgsTran(const G4bool on) { useBgsTran = on; }
71  void SetMinimumEnergyCut(const G4double e);
72  void SetMaximumEnergyCut(const G4double e);
73  inline void SetLengthCut(const G4double e) { Cut = e ; }
74  void SetLooperCut(const G4double e);
75   
76protected:
77  void AddBgsTransportation();
78 
79  // Construct particle and physics
80  void ConstructParticle();
81  void ConstructProcess();
82 
83  void SetCuts();
84   
85protected:
86  // these methods Construct particles
87  void ConstructBosons();
88  void ConstructLeptons();
89  void ConstructMesons();
90  void ConstructBarions();
91
92protected:
93  // these methods Construct physics processes and register them
94  void ConstructGeneral();
95  void ConstructEM();
96  void ConstructLeptHad();
97  void ConstructHad();
98   
99public:
100  // this method allow to set on/off the processes
101  void SetStatusEmProcess();
102   
103private:
104  G4bool   useBgsTran;
105  G4double MinimumEnergyCut;
106  G4double MaximumEnergyCut;
107  G4double Cut;
108  G4double LooperCut;
109
110  // processes
111
112  NTSTLooperDeath*       theLooperDeath;
113
114  G4PhotoElectricEffect* thePhotoElectricEffect;
115  G4ComptonScattering*   theComptonScattering;
116  G4GammaConversion*     theGammaConversion;
117   
118  G4MultipleScattering*  theeminusMultipleScattering;
119  G4eIonisation*         theeminusIonisation;
120  G4eBremsstrahlung*     theeminusBremsstrahlung;
121   
122  G4MultipleScattering*  theeplusMultipleScattering;
123  G4eIonisation*         theeplusIonisation;
124  G4eBremsstrahlung*     theeplusBremsstrahlung;
125  G4eplusAnnihilation*   theeplusAnnihilation;
126   
127  NTSTPhysicsListMessenger* physicsListMessenger;
128};
129
130#endif
131
132
133
Note: See TracBrowser for help on using the repository browser.