Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4DiffractiveHHScatterer.cc
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
#include "
G4DiffractiveHHScatterer.hh
"
27
#include "
G4DiffractiveExcitation.hh
"
28
#include "
G4ExcitedString.hh
"
29
#include "
G4LundStringFragmentation.hh
"
30
#include "
G4KineticTrack.hh
"
31
#include "
G4DiffractiveSplitableHadron.hh
"
32
#include "
G4FTFParameters.hh
"
// Uzhi 21.04.08
33
34
G4DiffractiveHHScatterer::G4DiffractiveHHScatterer
()
35
:
36
theExcitation(new
G4DiffractiveExcitation
()),
37
theStringFragmentation(new
G4LundStringFragmentation
())
38
{}
39
40
G4DiffractiveHHScatterer::~G4DiffractiveHHScatterer
()
41
{}
42
43
void
G4DiffractiveHHScatterer::CreateStrings
()
44
/*
45
G4VSplitableHadron * aHadron,
46
G4bool isProjectile,
47
G4ExcitedString * FirstString,
48
G4ExcitedString * SecondString,
49
G4FTFParameters *theParameters)
50
*/
51
const
52
53
{}
54
55
/* -------------------------------------------------------------------
56
G4KineticTrackVector * G4DiffractiveHHScatterer::
57
Scatter(const G4KineticTrack & aTrack, const G4KineticTrack & bTrack)
58
{
59
G4KineticTrackVector * result = new G4KineticTrackVector();
60
61
G4DiffractiveSplitableHadron aHadron(& aTrack);
62
G4DiffractiveSplitableHadron bHadron(& bTrack);
63
theParameters = new G4FTFParameters(aHadron.GetDefinition(), // -------- Uzhi 21.04.08
64
1.,1., 100.);
65
//s);// ------------------------- Uzhi 21.04.08
66
if ( ! theExcitation->ExciteParticipants(& aHadron,
67
& bHadron,
68
theParameters)) // -------- Uzhi 21.04.08
69
{
70
return NULL;
71
}
72
73
G4ExcitedString * string;
74
G4KineticTrackVector * fragments=NULL;
75
76
string = theExcitation->String(& aHadron, true); // Projectile
77
fragments=theStringFragmentation->FragmentString(*string);
78
for (unsigned int aFragment=0; aFragment < fragments->size(); aFragment++)
79
{
80
result->push_back(fragments->operator[](aFragment));
81
}
82
83
string = theExcitation->String(& bHadron, false); // Target
84
fragments=theStringFragmentation->FragmentString(*string);
85
for (unsigned int bFragment=0; bFragment < fragments->size(); bFragment++)
86
{
87
result->push_back(fragments->operator[](bFragment));
88
}
89
90
91
return result;
92
}
93
*/
G4DiffractiveExcitation.hh
G4DiffractiveHHScatterer.hh
G4DiffractiveSplitableHadron.hh
G4ExcitedString.hh
G4FTFParameters.hh
G4KineticTrack.hh
G4LundStringFragmentation.hh
G4DiffractiveExcitation
Definition:
G4DiffractiveExcitation.hh:49
G4DiffractiveHHScatterer::CreateStrings
virtual void CreateStrings() const
Definition:
G4DiffractiveHHScatterer.cc:43
G4DiffractiveHHScatterer::G4DiffractiveHHScatterer
G4DiffractiveHHScatterer()
Definition:
G4DiffractiveHHScatterer.cc:34
G4DiffractiveHHScatterer::~G4DiffractiveHHScatterer
virtual ~G4DiffractiveHHScatterer()
Definition:
G4DiffractiveHHScatterer.cc:40
G4LundStringFragmentation
Definition:
G4LundStringFragmentation.hh:43
geant4-v9.6.0
source
processes
hadronic
models
parton_string
diffraction
src
G4DiffractiveHHScatterer.cc
Generated by
1.9.6