Geant4-11
G4LightTargetCollider.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//
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
42#include "G4CollisionOutput.hh"
43
46class G4InuclParticle;
48
49typedef std::pair<G4InuclElementaryParticle, G4InuclElementaryParticle> NucleonPair;
50typedef std::vector<G4InuclElementaryParticle> ScatteringProducts;
51
53public:
55 virtual ~G4LightTargetCollider();
56
57 void collide(G4InuclParticle* bullet, G4InuclParticle* target,
58 G4CollisionOutput& globalOutput);
59
60 void setVerboseLevel(G4int verbose=0);
61
62private:
64
65 G4CollisionOutput output; // Secondaries from main cascade
66
67private:
68 // Copying of modules is forbidden
71
72 G4double GammaDCrossSection(G4double /*kineticEnergy*/);
73
75
77
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
std::vector< G4InuclElementaryParticle > ScatteringProducts
std::pair< G4InuclElementaryParticle, G4InuclElementaryParticle > NucleonPair
double G4double
Definition: G4Types.hh:83
int G4int
Definition: G4Types.hh:85
G4LightTargetCollider(const G4LightTargetCollider &)
G4double GammaDCrossSection(G4double)
NucleonPair AbsorptionOnDeuteron(G4InuclParticle *bullet)
void setVerboseLevel(G4int verbose=0)
ScatteringProducts SingleNucleonScattering(const G4InuclElementaryParticle &projectile, const G4InuclElementaryParticle &targetNucleon)
G4CascadeFinalStateGenerator fsGen
G4LightTargetCollider & operator=(const G4LightTargetCollider &)
void collide(G4InuclParticle *bullet, G4InuclParticle *target, G4CollisionOutput &globalOutput)
G4ElementaryParticleCollider * theElementaryParticleCollider