Geant4
10.03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
G4CascadeDeexciteBase.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
#ifndef G4CASCADE_DEEXCITE_BASE_HH
27
#define G4CASCADE_DEEXCITE_BASE_HH 1
28
// $Id$
29
//
30
// Semi-concrete base class for de-excitation modules, analogous to
31
// G4CascadeColliderBase.
32
//
33
// 20130628 M.Kelsey -- Add makeFragment() with zero momentum
34
35
#include "
G4VCascadeDeexcitation.hh
"
36
#include "
G4InuclElementaryParticle.hh
"
37
#include "
G4InuclNuclei.hh
"
38
#include "
G4LorentzVector.hh
"
39
#include <vector>
40
41
class
G4CascadeCheckBalance
;
42
class
G4Fragment
;
43
44
45
class
G4CascadeDeexciteBase
:
public
G4VCascadeDeexcitation
{
46
public
:
47
G4CascadeDeexciteBase
(
const
char
*
name
);
48
virtual
~G4CascadeDeexciteBase
();
49
50
virtual
void
setVerboseLevel
(
G4int
verbose=0);
51
52
protected
:
53
// Decide whether to use G4BigBanger or not
54
virtual
G4bool
explosion
(
const
G4Fragment
& target)
const
;
55
virtual
G4bool
explosion
(
G4int
A
,
G4int
Z
,
G4double
excitation)
const
;
56
57
protected
:
58
G4CascadeCheckBalance
*
balance
;
// For conservation checking
59
60
// ==> Provide interfaces to G4CascadeCheckBalance
61
virtual
G4bool
validateOutput
(
const
G4Fragment
& target,
62
G4CollisionOutput
& output);
63
64
// This is for use with G4BigBanger
65
virtual
G4bool
validateOutput
(
const
G4Fragment
& target,
66
const
std::vector<G4InuclElementaryParticle>& particles);
67
68
// This is for use with G4Fissioner
69
virtual
G4bool
validateOutput
(
const
G4Fragment
& target,
70
const
std::vector<G4InuclNuclei>& fragments);
71
72
// Interfaces between local content and G4Fragment
73
void
getTargetData
(
const
G4Fragment
& target);
74
G4int
A
;
// Buffers to collect target data for all modules
75
G4int
Z
;
76
G4LorentzVector
PEX
;
// Four momentum of recoil in Bertini units (GeV)
77
G4double
EEXS
;
// Excitation energy in MeV
78
79
// NOTE: Momentum passed by value so that energy/mass can be adjusted
80
const
G4Fragment
&
makeFragment
(
G4LorentzVector
mom,
G4int
A,
G4int
Z,
81
G4double
EX=0.);
82
const
G4Fragment
&
makeFragment
(
G4int
A,
G4int
Z,
G4double
EX=0.);
83
G4Fragment
aFragment
;
// Reusable buffer to reduce new/delete cycling
84
85
private
:
86
// Copying of modules is forbidden
87
G4CascadeDeexciteBase
(
const
G4CascadeDeexciteBase
&);
88
G4CascadeDeexciteBase
&
operator=
(
const
G4CascadeDeexciteBase
&);
89
};
90
91
#endif
/* G4CASCADE_DEEXCITE_BASE_HH */
G4LorentzVector.hh
G4CascadeDeexciteBase::setVerboseLevel
virtual void setVerboseLevel(G4int verbose=0)
Definition:
G4CascadeDeexciteBase.cc:59
G4CascadeDeexciteBase::A
G4int A
Definition:
G4CascadeDeexciteBase.hh:74
G4CascadeDeexciteBase
Definition:
G4CascadeDeexciteBase.hh:45
G4CascadeDeexciteBase::Z
G4int Z
Definition:
G4CascadeDeexciteBase.hh:75
G4Fragment
Definition:
G4Fragment.hh:66
G4InuclParticleNames::name
const char * name(G4int ptype)
Definition:
G4InuclParticleNames.hh:77
G4int
int G4int
Definition:
G4Types.hh:78
G4CascadeDeexciteBase::getTargetData
void getTargetData(const G4Fragment &target)
Definition:
G4CascadeDeexciteBase.cc:67
G4bool
bool G4bool
Definition:
G4Types.hh:79
G4CascadeDeexciteBase::operator=
G4CascadeDeexciteBase & operator=(const G4CascadeDeexciteBase &)
G4CascadeDeexciteBase::EEXS
G4double EEXS
Definition:
G4CascadeDeexciteBase.hh:77
G4CascadeCheckBalance
Definition:
G4CascadeCheckBalance.hh:65
G4CascadeDeexciteBase::~G4CascadeDeexciteBase
virtual ~G4CascadeDeexciteBase()
Definition:
G4CascadeDeexciteBase.cc:55
G4CascadeDeexciteBase::explosion
virtual G4bool explosion(const G4Fragment &target) const
Definition:
G4CascadeDeexciteBase.cc:110
G4VCascadeDeexcitation.hh
G4VCascadeDeexcitation
Definition:
G4VCascadeDeexcitation.hh:46
G4CascadeDeexciteBase::balance
G4CascadeCheckBalance * balance
Definition:
G4CascadeDeexciteBase.hh:58
G4CascadeDeexciteBase::makeFragment
const G4Fragment & makeFragment(G4LorentzVector mom, G4int A, G4int Z, G4double EX=0.)
Definition:
G4CascadeDeexciteBase.cc:87
G4InuclNuclei.hh
G4CascadeDeexciteBase::aFragment
G4Fragment aFragment
Definition:
G4CascadeDeexciteBase.hh:83
G4CascadeDeexciteBase::validateOutput
virtual G4bool validateOutput(const G4Fragment &target, G4CollisionOutput &output)
Definition:
G4CascadeDeexciteBase.cc:131
G4CascadeDeexciteBase::G4CascadeDeexciteBase
G4CascadeDeexciteBase(const char *name)
Definition:
G4CascadeDeexciteBase.cc:49
G4double
double G4double
Definition:
G4Types.hh:76
G4InuclElementaryParticle.hh
G4CollisionOutput
Definition:
G4CollisionOutput.hh:67
G4CascadeDeexciteBase::PEX
G4LorentzVector PEX
Definition:
G4CascadeDeexciteBase.hh:76
G4LorentzVector
CLHEP::HepLorentzVector G4LorentzVector
Definition:
G4LorentzVector.hh:35
geant4.10.03
source
processes
hadronic
models
cascade
cascade
include
G4CascadeDeexciteBase.hh
Generated on Thu Feb 14 2002 02:28:56 for Geant4 by
1.8.8