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

Last change on this file since 1036 was 807, checked in by garnier, 17 years ago

update

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.5 2006/11/17 17:03:26 vnivanch Exp $
27// GEANT4 tag $Name: $
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 ~PhysicsList();
64
65 void ConstructParticle();
66
67 void SetCuts();
68 void SetCutForGamma(G4double);
69 void SetCutForElectron(G4double);
70 void SetCutForPositron(G4double);
71 void SetMscStepLimit(G4bool val);
72
73 void AddPhysicsList(const G4String& name);
74 void ConstructProcess();
75
76 void AddStepMax();
77 StepMax* GetStepMaxProcess() {return stepMaxProcess;};
78
79 void SetVertexCut(G4double val);
80 void SetMuonCut(G4double val);
81
82private:
83
84 // hide assignment operator
85 PhysicsList & operator=(const PhysicsList &right);
86 PhysicsList(const PhysicsList&);
87
88 G4double cutForGamma;
89 G4double cutForElectron;
90 G4double cutForPositron;
91
92 G4VPhysicsConstructor* emPhysicsList;
93 G4VPhysicsConstructor* generalPhysicsList;
94
95 std::vector<G4VPhysicsConstructor*> hadronPhys;
96 G4String emName;
97
98 StepMax* stepMaxProcess;
99
100 PhysicsListMessenger* pMessenger;
101 G4ProductionCuts* vertexDetectorCuts;
102 G4ProductionCuts* muonDetectorCuts;
103
104 G4bool mscStepLimit;
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.