Geant4
10.03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
HadrontherapyPhysicsList.hh
Go to the documentation of this file.
1
// ********************************************************************
2
// * License and Disclaimer *
3
// * *
4
// * The Geant4 software is copyright of the Copyright Holders of *
5
// * the Geant4 Collaboration. It is provided under the terms and *
6
// * conditions of the Geant4 Software License, included in the file *
7
// * LICENSE and available at http://cern.ch/geant4/license . These *
8
// * include a list of copyright holders. *
9
// * *
10
// * Neither the authors of this software system, nor their employing *
11
// * institutes,nor the agencies providing financial support for this *
12
// * work make any representation or warranty, express or implied, *
13
// * regarding this software system or assume any liability for its *
14
// * use. Please see the license in the file LICENSE and URL above *
15
// * for the full disclaimer and the limitation of liability. *
16
// * *
17
// * This code implementation is the result of the scientific and *
18
// * technical work of the GEANT4 collaboration. *
19
// * By using, copying, modifying or distributing the software (or *
20
// * any work based on the software) you agree to acknowledge its *
21
// * use in resulting scientific publications, and indicate your *
22
// * acceptance of all terms of the Geant4 Software license. *
23
// ********************************************************************
24
//
25
// Hadrontherapy advanced example for Geant4
26
// See more at: https://twiki.cern.ch/twiki/bin/view/Geant4/AdvancedExamplesHadrontherapy
27
//
28
29
#ifndef HadrontherapyPhysicsList_h
30
#define HadrontherapyPhysicsList_h 1
31
32
#include "
G4VModularPhysicsList.hh
"
33
#include "
G4EmConfigurator.hh
"
34
#include "
globals.hh
"
35
36
class
G4VPhysicsConstructor
;
37
class
HadrontherapyStepMax
;
38
class
HadrontherapyPhysicsListMessenger
;
39
40
class
HadrontherapyPhysicsList
:
public
G4VModularPhysicsList
41
{
42
public
:
43
44
HadrontherapyPhysicsList
();
45
virtual
~HadrontherapyPhysicsList
();
46
47
void
ConstructParticle
();
48
void
SetCuts
();
49
void
SetCutForGamma
(
G4double
);
50
void
SetCutForElectron
(
G4double
);
51
void
SetCutForPositron
(
G4double
);
52
void
SetDetectorCut
(
G4double
cut);
53
void
AddPhysicsList
(
const
G4String
&
name
);
54
void
ConstructProcess
();
55
void
AddStepMax
();
56
void
AddPackage
(
const
G4String
& name);
57
58
private
:
59
60
G4EmConfigurator
em_config
;
61
62
G4double
cutForGamma
;
63
G4double
cutForElectron
;
64
G4double
cutForPositron
;
65
G4bool
locIonIonInelasticIsRegistered
;
66
G4bool
radioactiveDecayIsRegistered
;
67
G4String
emName
;
68
G4VPhysicsConstructor
*
emPhysicsList
;
69
G4VPhysicsConstructor
*
decay_List
;
70
G4VPhysicsConstructor
*
radioactiveDecay_List
;
71
72
std::vector<G4VPhysicsConstructor*>
hadronPhys
;
73
74
HadrontherapyPhysicsListMessenger
*
pMessenger
;
75
};
76
77
#endif
HadrontherapyPhysicsList::radioactiveDecayIsRegistered
G4bool radioactiveDecayIsRegistered
Definition:
HadrontherapyPhysicsList.hh:66
HadrontherapyPhysicsList::SetCutForElectron
void SetCutForElectron(G4double)
HadrontherapyPhysicsList::SetCutForPositron
void SetCutForPositron(G4double)
G4InuclParticleNames::name
const char * name(G4int ptype)
Definition:
G4InuclParticleNames.hh:77
G4EmConfigurator.hh
HadrontherapyPhysicsList::ConstructParticle
void ConstructParticle()
Definition:
HadrontherapyPhysicsList.cc:136
HadrontherapyPhysicsList::SetCutForGamma
void SetCutForGamma(G4double)
HadrontherapyPhysicsList::cutForElectron
G4double cutForElectron
Definition:
HadrontherapyPhysicsList.hh:63
HadrontherapyPhysicsList::SetCuts
void SetCuts()
Definition:
HadrontherapyPhysicsList.cc:297
HadrontherapyPhysicsList::AddPackage
void AddPackage(const G4String &name)
HadrontherapyStepMax
Definition:
HadrontherapyStepMax.hh:40
HadrontherapyPhysicsList::AddPhysicsList
void AddPhysicsList(const G4String &name)
Definition:
HadrontherapyPhysicsList.cc:173
HadrontherapyPhysicsList::pMessenger
HadrontherapyPhysicsListMessenger * pMessenger
Definition:
HadrontherapyPhysicsList.hh:74
HadrontherapyPhysicsList::cutForGamma
G4double cutForGamma
Definition:
HadrontherapyPhysicsList.hh:62
HadrontherapyPhysicsList::hadronPhys
std::vector< G4VPhysicsConstructor * > hadronPhys
Definition:
HadrontherapyPhysicsList.hh:72
G4bool
bool G4bool
Definition:
G4Types.hh:79
G4EmConfigurator
Definition:
G4EmConfigurator.hh:63
globals.hh
HadrontherapyPhysicsList::locIonIonInelasticIsRegistered
G4bool locIonIonInelasticIsRegistered
Definition:
HadrontherapyPhysicsList.hh:65
HadrontherapyPhysicsList
Definition:
HadrontherapyPhysicsList.hh:40
HadrontherapyPhysicsList::radioactiveDecay_List
G4VPhysicsConstructor * radioactiveDecay_List
Definition:
HadrontherapyPhysicsList.hh:70
HadrontherapyPhysicsList::ConstructProcess
void ConstructProcess()
Definition:
HadrontherapyPhysicsList.cc:142
HadrontherapyPhysicsList::AddStepMax
void AddStepMax()
Definition:
HadrontherapyPhysicsList.cc:275
HadrontherapyPhysicsList::decay_List
G4VPhysicsConstructor * decay_List
Definition:
HadrontherapyPhysicsList.hh:69
HadrontherapyPhysicsList::SetDetectorCut
void SetDetectorCut(G4double cut)
HadrontherapyPhysicsList::em_config
G4EmConfigurator em_config
Definition:
HadrontherapyPhysicsList.hh:60
HadrontherapyPhysicsListMessenger
Definition:
HadrontherapyPhysicsListMessenger.hh:42
G4double
double G4double
Definition:
G4Types.hh:76
G4VModularPhysicsList.hh
G4VPhysicsConstructor
Definition:
G4VPhysicsConstructor.hh:121
HadrontherapyPhysicsList::emPhysicsList
G4VPhysicsConstructor * emPhysicsList
Definition:
HadrontherapyPhysicsList.hh:68
HadrontherapyPhysicsList::~HadrontherapyPhysicsList
virtual ~HadrontherapyPhysicsList()
Definition:
HadrontherapyPhysicsList.cc:122
HadrontherapyPhysicsList::cutForPositron
G4double cutForPositron
Definition:
HadrontherapyPhysicsList.hh:64
HadrontherapyPhysicsList::HadrontherapyPhysicsList
HadrontherapyPhysicsList()
Definition:
HadrontherapyPhysicsList.cc:76
G4VModularPhysicsList
Definition:
G4VModularPhysicsList.hh:90
G4String
Definition:
G4String.hh:45
HadrontherapyPhysicsList::emName
G4String emName
Definition:
HadrontherapyPhysicsList.hh:67
geant4.10.03
examples
advanced
hadrontherapy
include
HadrontherapyPhysicsList.hh
Generated on Thu Feb 14 2002 02:27:33 for Geant4 by
1.8.8