Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
source
processes
electromagnetic
dna
management
include
G4VITModel.hh
Go to the documentation of this file.
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: G4VITModel.hh 64057 2012-10-30 15:04:49Z gcosmo $
27
//
28
// Author: Mathieu Karamitros (kara (AT) cenbg . in2p3 . fr)
29
//
30
// WARNING : This class is released as a prototype.
31
// It might strongly evolve or even disapear in the next releases.
32
//
33
// History:
34
// -----------
35
// 10 Oct 2011 M.Karamitros created
36
//
37
// -------------------------------------------------------------------
38
#ifndef G4VITMODEL_HH
39
#define G4VITMODEL_HH
40
41
#include "
AddClone_def.hh
"
42
#include "
G4VITTimeStepper.hh
"
43
#include "
G4VITReactionProcess.hh
"
44
#include "
G4ITReactionTable.hh
"
45
53
class
G4VITModel
54
{
55
public
:
57
G4VITModel
(
const
G4String
& aName =
"NoName"
);
59
virtual
~G4VITModel
();
60
61
/* Macro define in AddClone_def*/
62
G4IT_TO_BE_CLONED
(
G4VITModel
)
63
64
void
IsApplicable
(
G4ITType
& type1,
G4ITType
& type2) ;
65
void
virtual
PrintInfo
(){;}
66
67
virtual
void
Initialize
();
68
69
inline
void
SetTimeStepper
(
G4VITTimeStepper
* timeStepper);
70
inline
void
SetReactionProcess
(
G4VITReactionProcess
* reactionProcess);
71
72
inline
G4VITTimeStepper
*
GetTimeStepper
();
73
inline
const
G4String
&
GetName
();
74
75
inline
G4VITReactionProcess
*
GetReactionProcess
();
76
inline
void
SetReactionTable
(
G4ITReactionTable
*);
77
inline
const
G4ITReactionTable
*
GetReactionTable
();
78
79
protected
:
80
81
G4String
fName
;
82
83
G4VITTimeStepper
*
fpTimeStepper
;
84
G4VITReactionProcess
*
fpReactionProcess
;
85
86
const
G4ITReactionTable
*
fpReactionTable
;
87
88
G4ITType
fType1
;
89
G4ITType
fType2
;
90
91
protected
:
95
G4VITModel
(
const
G4VITModel
& other);
100
G4VITModel
&
operator=
(
const
G4VITModel
& other);
101
};
102
103
inline
void
G4VITModel::SetReactionTable
(
G4ITReactionTable
* table)
104
{
105
fpReactionTable
= table;
106
}
107
108
inline
const
G4ITReactionTable
*
G4VITModel::GetReactionTable
()
109
{
110
return
fpReactionTable
;
111
}
112
113
inline
void
G4VITModel::SetTimeStepper
(
G4VITTimeStepper
* timeStepper)
114
{
115
fpTimeStepper
= timeStepper ;
116
}
117
118
inline
void
G4VITModel::SetReactionProcess
(
G4VITReactionProcess
* reactionProcess)
119
{
120
fpReactionProcess
= reactionProcess ;
121
}
122
123
inline
G4VITTimeStepper
*
G4VITModel::GetTimeStepper
()
124
{
125
return
fpTimeStepper
;
126
}
127
128
inline
G4VITReactionProcess
*
G4VITModel::GetReactionProcess
()
129
{
130
return
fpReactionProcess
;
131
}
132
133
inline
const
G4String
&
G4VITModel::GetName
()
134
{
135
return
fName
;
136
}
137
138
#endif // G4VITMODEL_HH
Generated on Sat May 25 2013 14:33:30 for Geant4 by
1.8.4