source: trunk/examples/advanced/purging_magnet/include/PurgMagPhysicsList.hh @ 1321

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

update to geant4.9.3

File size: 3.4 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// Code developed by:
27//  S.Larsson
28//
29//    ********************************
30//    *                              *
31//    *    PurgMagPhysicsList.hh     *
32//    *                              *
33//    ********************************
34//
35//
36// $Id: PurgMagPhysicsList.hh,v 1.4 2006/06/29 16:05:55 gunter Exp $
37// GEANT4 tag $Name: geant4-09-03-cand-01 $
38//
39//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
40
41#ifndef PurgMagPhysicsList_h
42#define PurgMagPhysicsList_h 1
43
44#include "G4VUserPhysicsList.hh"
45#include "globals.hh"
46
47//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
48
49class G4GammaConversion;     
50class G4ComptonScattering;   
51class G4PhotoElectricEffect;       
52
53class G4eIonisation;         
54class G4eBremsstrahlung;     
55
56
57class PurgMagPhysicsList: public G4VUserPhysicsList
58{
59public:
60  PurgMagPhysicsList();
61  ~PurgMagPhysicsList();
62 
63protected:
64  // Construct particle and physics
65  void ConstructParticle();
66  void ConstructProcess();
67 
68  void SetCuts();
69 
70public: 
71  // Set Cuts
72  void SetGammaCut(G4double);
73  void SetElectronCut(G4double);
74  void SetPositronCut(G4double);
75  void SetProtonCut(G4double);
76 
77  void SetGammaLowLimit(G4double);
78  void SetElectronLowLimit(G4double);
79  void SetPositronLowLimit(G4double);
80  void SetProtonLowLimit(G4double);
81  void SetGEPLowLimit(G4double);
82
83  void SetGELowLimit(G4double);
84 
85private:
86 
87  G4double cutForGamma;
88  G4double cutForElectron;
89  G4double cutForPositron;
90  G4double cutForProton;
91 
92protected:
93  // these methods Construct particles
94  void ConstructBosons();
95  void ConstructLeptons();
96  void ConstructBarions();
97 
98protected:
99  // these methods Construct physics processes and register them
100  void ConstructGeneral();
101  void ConstructEM();
102 
103private:
104 
105};
106#endif
107
108
109
Note: See TracBrowser for help on using the repository browser.