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
hadronic
models
inclxx
interface
include
G4INCLXXInterface.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
// INCL++ intra-nuclear cascade model
27
// Pekka Kaitaniemi, CEA and Helsinki Institute of Physics
28
// Davide Mancusi, CEA
29
// Alain Boudard, CEA
30
// Sylvie Leray, CEA
31
// Joseph Cugnon, University of Liege
32
//
33
#define INCLXX_IN_GEANT4_MODE 1
34
35
#include "
globals.hh
"
36
37
#ifndef G4INCLXXInterface_hh
38
#define G4INCLXXInterface_hh 1
39
40
#include "
G4Nucleon.hh
"
41
#include "
G4Nucleus.hh
"
42
#include "
G4HadronicInteraction.hh
"
43
#include "
G4VIntraNuclearTransportModel.hh
"
44
#include "
G4KineticTrackVector.hh
"
45
#include "
G4FragmentVector.hh
"
46
#include "
G4ParticleChange.hh
"
47
#include "
G4ReactionProductVector.hh
"
48
#include "
G4ReactionProduct.hh
"
49
#include "
globals.hh
"
50
51
// INCL++
52
#include "
G4INCLCascade.hh
"
53
54
// Geant4 de-excitation
55
#include "
G4ExcitationHandler.hh
"
56
57
// Binary cascade
58
#include "
G4BinaryLightIonReaction.hh
"
59
60
#include <fstream>
61
#include <iostream>
62
63
using namespace
std;
64
65
class
G4INCLXXInterfaceStore
;
66
91
class
G4INCLXXInterface
:
public
G4VIntraNuclearTransportModel
{
92
public
:
93
G4INCLXXInterface
(
const
G4String
&
name
=
"INCL++ cascade with G4ExcitationHandler"
);
94
~
G4INCLXXInterface
();
// Destructor
95
96
G4int
operator==
(
G4INCLXXInterface
&
right
) {
97
return
(
this
== &right);
98
}
99
100
G4int
operator!=
(
G4INCLXXInterface
&
right
) {
101
return
(
this
!= &right);
102
}
103
104
G4ReactionProductVector
* Propagate(
G4KineticTrackVector
* theSecondaries,
G4V3DNucleus
* theNucleus);
// Idle
105
112
G4HadFinalState
* ApplyYourself(
const
G4HadProjectile
& aTrack,
G4Nucleus
& theNucleus);
113
114
void
DeleteModel
() {
115
delete
theINCLModel;
116
theINCLModel = NULL;
117
}
118
119
private
:
120
G4bool
AccurateProjectile(
const
G4HadProjectile
&aTrack,
const
G4Nucleus
&theTargetNucleus)
const
;
121
123
G4INCLXXInterface
(
const
G4INCLXXInterface
&rhs);
124
126
G4INCLXXInterface
&operator=(
G4INCLXXInterface
const
&rhs);
127
129
G4INCL::ParticleType
toINCLParticleType(
G4ParticleDefinition
const
*
const
)
const
;
130
132
G4INCL::ParticleSpecies
toINCLParticleSpecies(
G4HadProjectile
const
&)
const
;
133
135
G4double
toINCLKineticEnergy(
G4HadProjectile
const
&)
const
;
136
138
G4DynamicParticle
*toG4Particle(
G4int
A,
G4int
Z
,
G4double
kinE,
G4double
px,
G4double
py,
G4double
pz)
const
;
139
141
G4ParticleDefinition
*toG4ParticleDefinition (
G4int
A,
G4int
Z
)
const
;
142
144
G4double
remnant4MomentumScaling(
G4double
mass,
145
G4double
kineticE,
146
G4double
px,
G4double
py,
G4double
pz)
const
;
147
148
G4INCL::INCL
*theINCLModel;
149
G4HadFinalState
theResult;
150
151
G4ExcitationHandler
*theExcitationHandler;
152
153
G4HadronicInteraction
*theBackupModel;
154
155
G4INCLXXInterfaceStore
*
const
theInterfaceStore;
156
157
G4bool
complainedAboutBackupModel;
158
159
};
160
161
#endif
Generated on Sat May 25 2013 14:33:59 for Geant4 by
1.8.4