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

Last change on this file since 1358 was 1342, checked in by garnier, 14 years ago

update ti head

  • Property svn:executable set to *
File size: 3.2 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.8 2010/10/11 10:37:48 vnivanch Exp $
28// GEANT4 tag $Name: examples-V09-03-09 $
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  void SetCutForProton(G4double);
67       
68  void AddPhysicsList(const G4String& name);
69  void ConstructProcess();
70  void List();
71 
72private:
73
74  void SetBuilderList0(G4bool flagHP = false);
75  void SetBuilderList1(G4bool flagHP = false);
76  void SetBuilderList2(G4bool addStopping = false);
77  void SetBuilderList3(const G4String& type);
78  void SetBuilderList4();
79
80  G4double cutForGamma;
81  G4double cutForElectron;
82  G4double cutForPositron;
83  G4double cutForProton;
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.