source: trunk/examples/extended/electromagnetic/TestEm9/include/PhysicsList.hh@ 1303

Last change on this file since 1303 was 1230, checked in by garnier, 16 years ago

update to geant4.9.3

File size: 3.8 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.7 2008/04/07 18:09:05 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-03-cand-01 $
28//
29//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
30//
31//---------------------------------------------------------------------------
32//
33// ClassName: PhysicsList
34//
35// Author: V.Ivanchenko 14.10.2002
36//
37// Modified:
38// 17.11.06 Use components from physics_lists subdirectory (V.Ivanchenko)
39//
40//----------------------------------------------------------------------------
41//
42
43//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
44//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
45
46#ifndef PhysicsList_h
47#define PhysicsList_h 1
48
49#include "G4VModularPhysicsList.hh"
50#include "globals.hh"
51
52class G4VPhysicsConstructor;
53class StepMax;
54class PhysicsListMessenger;
55class G4ProductionCuts;
56
57//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
58
59class PhysicsList: public G4VModularPhysicsList
60{
61public:
62 PhysicsList();
63 virtual ~PhysicsList();
64
65 void ConstructParticle();
66
67 void SetCuts();
68 void SetCutForGamma(G4double);
69 void SetCutForElectron(G4double);
70 void SetCutForPositron(G4double);
71
72 void AddPhysicsList(const G4String& name);
73 void ConstructProcess();
74
75 void AddStepMax();
76 StepMax* GetStepMaxProcess() {return stepMaxProcess;};
77
78 void SetVertexCut(G4double val);
79 void SetMuonCut(G4double val);
80
81private:
82
83 // hide assignment operator
84 PhysicsList & operator=(const PhysicsList &right);
85 PhysicsList(const PhysicsList&);
86
87 G4double cutForGamma;
88 G4double cutForElectron;
89 G4double cutForPositron;
90 G4double cutForVertexDetector;
91 G4double cutForMuonDetector;
92
93 G4VPhysicsConstructor* emPhysicsList;
94 G4VPhysicsConstructor* generalPhysicsList;
95
96 std::vector<G4VPhysicsConstructor*> hadronPhys;
97 G4String emName;
98
99 StepMax* stepMaxProcess;
100
101 PhysicsListMessenger* pMessenger;
102 G4ProductionCuts* vertexDetectorCuts;
103 G4ProductionCuts* muonDetectorCuts;
104
105 G4bool helIsRegisted;
106 G4bool bicIsRegisted;
107 G4bool gnucIsRegisted;
108 G4bool stopIsRegisted;
109};
110
111//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
112
113#endif
114
Note: See TracBrowser for help on using the repository browser.