source: trunk/examples/extended/electromagnetic/TestEm8/include/PhysicsList.hh@ 1357

Last change on this file since 1357 was 1342, checked in by garnier, 15 years ago

update ti head

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// $Id: PhysicsList.hh,v 1.5 2010/09/08 09:12:10 vnivanch Exp $
27// GEANT4 tag $Name: examples-V09-03-09 $
28//
29//---------------------------------------------------------------------------
30//
31// ClassName: PhysicsList
32//
33// Description: EM physics with a possibility to add PAI model
34//
35// Author: V.Ivanchenko 01.09.2010
36//
37//----------------------------------------------------------------------------
38//
39
40#ifndef PhysicsList_h
41#define PhysicsList_h 1
42
43#include "G4VModularPhysicsList.hh"
44#include "globals.hh"
45#include "G4EmConfigurator.hh"
46
47class G4VPhysicsConstructor;
48class StepMax;
49class PhysicsListMessenger;
50
51//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
52
53class PhysicsList: public G4VModularPhysicsList
54{
55public:
56
57 PhysicsList();
58 virtual ~PhysicsList();
59
60 void ConstructParticle();
61
62 void SetCuts();
63 void SetCutForGamma(G4double);
64 void SetCutForElectron(G4double);
65 void SetCutForPositron(G4double);
66 void SetCutForProton(G4double);
67
68 void AddPhysicsList(const G4String& name);
69 void ConstructProcess();
70
71 void AddStepMax();
72
73private:
74
75 void AddPAIModel(const G4String&);
76 void NewPAIModel(const G4ParticleDefinition*, const G4String& modname,
77 const G4String& procname);
78
79 G4EmConfigurator* em_config;
80
81 G4double cutForGamma;
82 G4double cutForElectron;
83 G4double cutForPositron;
84 G4double cutForProton;
85
86 G4VPhysicsConstructor* emPhysicsList;
87 G4VPhysicsConstructor* generalPhysicsList;
88 G4VPhysicsConstructor* particleList;
89 std::vector<G4VPhysicsConstructor*> hadronPhys;
90 G4String emName;
91
92 StepMax* stepMaxProcess;
93
94 PhysicsListMessenger* pMessenger;
95
96 G4VEmModel* em_model;
97 G4VEmFluctuationModel* fm_model;
98
99};
100
101//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
102
103#endif
104
Note: See TracBrowser for help on using the repository browser.