ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
G4InuclCollider.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4InuclCollider.hh
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
// 20100413 M. Kelsey -- Pass G4CollisionOutput by ref to ::collide()
28
// 20100517 M. Kelsey -- Inherit from common base class, make other colliders
29
// simple data members
30
// 20100620 M. Kelsey -- Move output buffers here to reduce memory churn
31
// 20100714 M. Kelsey -- Switch to new G4CascadeColliderBase class
32
// 20100720 M. Kelsey -- Make all the collders pointer members (to reducde
33
// external compile dependences).
34
// 20100915 M. Kelsey -- Move de-excitation colliders to G4CascadeDeexcitation
35
// 20100922 M. Kelsey -- Add functions to select de-excitation method, change
36
// "theDeexcitation" to be a base-class pointer for switching
37
// 20100926 M. Kelsey -- Use new intermediate base class for de-exciations.
38
// 20110224 M. Kelsey -- Add ::rescatter() function which takes a list of
39
// pre-existing secondaries as input. Add setVerboseLevel().
40
// 20110304 M. Kelsey -- Modify rescatter to use original Propagate() input
41
// 20110308 M. Kelsey -- Add ::deexcite() function to handle nuclear fragment
42
// 20130620 Address Coverity complaint about missing copy actions
43
// 20150128 Add function to check for sensible photonuclear final states
44
45
#ifndef G4INUCL_COLLIDER_HH
46
#define G4INUCL_COLLIDER_HH
47
48
#include "
G4CascadeColliderBase.hh
"
49
#include "
G4CollisionOutput.hh
"
50
51
class
G4CascadParticle
;
52
class
G4ElementaryParticleCollider
;
53
class
G4IntraNucleiCascader
;
54
class
G4InuclParticle
;
55
class
G4KineticTrackVector
;
56
class
G4V3DNucleus
;
57
class
G4VCascadeDeexcitation
;
58
59
60
class
G4InuclCollider
:
public
G4CascadeColliderBase
{
61
public
:
62
G4InuclCollider
();
63
virtual
~G4InuclCollider
();
64
65
void
collide
(
G4InuclParticle
* bullet,
G4InuclParticle
*
target
,
66
G4CollisionOutput
& globalOutput);
67
68
// For use with top-level Propagate to preload a set of secondaries
69
void
rescatter
(
G4InuclParticle
* bullet,
G4KineticTrackVector
* theSecondaries,
70
G4V3DNucleus
* theNucleus,
G4CollisionOutput
& globalOutput);
71
72
void
setVerboseLevel
(
G4int
verbose=0);
73
74
// Select betweeen different post-cascade de-excitation models
75
void
useCascadeDeexcitation
();
76
void
usePreCompoundDeexcitation
();
77
78
protected
:
79
void
deexcite
(
const
G4Fragment
& fragment,
G4CollisionOutput
& globalOutput);
80
81
// Looks for non-gamma final state in photonuclear or leptonuclear
82
G4bool
photonuclearOkay
(
G4CollisionOutput
& checkOutput)
const
;
83
84
private
:
85
G4ElementaryParticleCollider
*
theElementaryParticleCollider
;
86
G4IntraNucleiCascader
*
theIntraNucleiCascader
;
87
88
G4VCascadeDeexcitation
*
theDeexcitation
;
// User switchable!
89
90
G4CollisionOutput
output
;
// Secondaries from main cascade
91
G4CollisionOutput
DEXoutput
;
// Secondaries from de-excitation
92
93
private
:
94
// Copying of modules is forbidden
95
G4InuclCollider
(
const
G4InuclCollider
&);
96
G4InuclCollider
&
operator=
(
const
G4InuclCollider
&);
97
};
98
99
#endif
/* G4INUCL_COLLIDER_HH */
100
101
geant4
tree
geant4-10.6-release
source
processes
hadronic
models
cascade
cascade
include
G4InuclCollider.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:39
using
1.8.2 with
ECCE GitHub integration