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
G4LightTargetCollider.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4LightTargetCollider.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
//
27
// //
28
// File: G4LightTargetCollider.hh //
29
// Date: 30 September 2019 //
30
// Author: Dennis Wright (SLAC) //
31
// //
32
// Description: model for collision of elementary particles with light //
33
// targets (H, D, T, 3He) //
34
// //
36
37
#ifndef G4LIGHT_TARGET_COLLIDER_HH
38
#define G4LIGHT_TARGET_COLLIDER_HH
39
40
#include "
G4CascadeColliderBase.hh
"
41
#include "
G4CascadeFinalStateGenerator.hh
"
42
#include "
G4CollisionOutput.hh
"
43
44
class
G4CascadParticle
;
45
class
G4ElementaryParticleCollider
;
46
class
G4InuclParticle
;
47
class
G4KineticTrackVector
;
48
49
typedef
std::pair<G4InuclElementaryParticle, G4InuclElementaryParticle>
NucleonPair
;
50
typedef
std::vector<G4InuclElementaryParticle>
ScatteringProducts
;
51
52
class
G4LightTargetCollider
:
public
G4CascadeColliderBase
{
53
public
:
54
G4LightTargetCollider
();
55
virtual
~G4LightTargetCollider
();
56
57
void
collide
(
G4InuclParticle
* bullet,
G4InuclParticle
*
target
,
58
G4CollisionOutput
& globalOutput);
59
60
void
setVerboseLevel
(
G4int
verbose=0);
61
62
private
:
63
G4ElementaryParticleCollider
*
theElementaryParticleCollider
;
64
65
G4CollisionOutput
output
;
// Secondaries from main cascade
66
67
private
:
68
// Copying of modules is forbidden
69
G4LightTargetCollider
(
const
G4LightTargetCollider
&);
70
G4LightTargetCollider
&
operator=
(
const
G4LightTargetCollider
&);
71
72
G4double
GammaDCrossSection
(
G4double
/*kineticEnergy*/
);
73
74
G4CascadeFinalStateGenerator
fsGen
;
75
76
NucleonPair
AbsorptionOnDeuteron
(
G4InuclParticle
* bullet);
77
78
ScatteringProducts
SingleNucleonScattering
(
const
G4InuclElementaryParticle
& projectile,
79
const
G4InuclElementaryParticle
& targetNucleon);
80
81
G4double
mP
;
// proton mass
82
G4double
mN
;
// neutron mass
83
G4double
mD
;
// deuteron mass
84
G4double
pFermiD
;
// deuteron Fermi momentum (GeV/c)
85
};
86
87
#endif
/* G4LIGHT_TARGET_COLLIDER_HH */
88
89
geant4
tree
geant4-10.6-release
source
processes
hadronic
models
cascade
cascade
include
G4LightTargetCollider.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:39
using
1.8.2 with
ECCE GitHub integration