source: trunk/examples/extended/hadronic/Hadr01/include/PhysicsList.hh @ 1161

Last change on this file since 1161 was 807, checked in by garnier, 16 years ago

update

  • Property svn:executable set to *
File size: 3.3 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//
27// $Id: PhysicsList.hh,v 1.6 2007/11/14 18:59:08 vnivanch Exp $
28// GEANT4 tag $Name:  $
29//
30/////////////////////////////////////////////////////////////////////////
31//
32// PhysicsList
33//
34// Created: 31.04.2006 V.Ivanchenko
35//
36// Modified:
37// 04.06.2006 Adoptation of hadr01 (V.Ivanchenko)
38//
39////////////////////////////////////////////////////////////////////////
40//
41
42#ifndef PhysicsList_h
43#define PhysicsList_h 1
44
45#include "G4VModularPhysicsList.hh"
46#include "globals.hh"
47
48class G4VPhysicsConstructor;
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       
67  void AddPhysicsList(const G4String& name);
68  void ConstructProcess();
69  void List();
70 
71private:
72
73  void SetBuilderList0(G4bool flagHP = false);
74  void SetBuilderList1(G4bool flagHP = false);
75  void SetBuilderList2(G4bool flagHP = false);
76  void SetBuilderList3(G4bool flagHP = false);
77  void SetBuilderList4(G4bool flagHP = false);
78  void SetBuilderList5(G4bool flagHP = false);
79  void SetBuilderList6(G4bool flagHP = false);
80
81  G4double cutForGamma;
82  G4double cutForElectron;
83  G4double cutForPositron;
84
85  G4VPhysicsConstructor*  emPhysicsList;
86  G4VPhysicsConstructor*  particleList;
87  std::vector<G4VPhysicsConstructor*>  hadronPhys;
88   
89  PhysicsListMessenger* pMessenger;
90  G4bool dump;
91};
92
93//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
94
95#endif
96
Note: See TracBrowser for help on using the repository browser.