#include <G4CascadeCoalescence.hh>
|
void | selectCandidates () |
|
void | createNuclei () |
|
void | removeNucleons () |
|
void | tryClusters (size_t idx1, size_t idx2) |
|
void | tryClusters (size_t idx1, size_t idx2, size_t idx3) |
|
void | tryClusters (size_t idx1, size_t idx2, size_t idx3, size_t idx4) |
|
void | fillCluster (size_t idx1, size_t idx2) |
|
void | fillCluster (size_t idx1, size_t idx2, size_t idx3) |
|
void | fillCluster (size_t idx1, size_t idx2, size_t idx3, size_t idx4) |
|
size_t | clusterHash (const ClusterCandidate &clus) const |
|
bool | clusterTried (const ClusterCandidate &clus) const |
|
bool | nucleonUsed (size_t idx) const |
|
bool | allNucleons (const ClusterCandidate &clus) const |
|
bool | goodCluster (const ClusterCandidate &clus) const |
|
G4int | clusterType (const ClusterCandidate &aCluster) const |
|
const G4InuclElementaryParticle & | getHadron (size_t idx) const |
|
bool | makeLightIon (const ClusterCandidate &aCluster) |
|
G4LorentzVector | getClusterMomentum (const ClusterCandidate &aCluster) const |
|
G4double | maxDeltaP (const ClusterCandidate &aCluster) const |
|
void | reportArgs (const G4String &name, const ClusterCandidate &clus) const |
|
void | reportResult (const G4String &name, const G4InuclNuclei &nucl) const |
|
Definition at line 51 of file G4CascadeCoalescence.hh.
◆ ClusterCandidate
◆ G4CascadeCoalescence()
G4CascadeCoalescence::G4CascadeCoalescence |
( |
G4int |
verbose = 0 | ) |
|
Definition at line 70 of file G4CascadeCoalescence.cc.
const G4double dpMaxTriplet
static G4double dpMaxAlpha()
const std::vector< G4InuclElementaryParticle > * thisHadrons
G4CollisionOutput * thisFinalState
const G4double dpMaxAlpha
static G4double dpMaxTriplet()
static G4double dpMaxDoublet()
const G4double dpMaxDoublet
◆ ~G4CascadeCoalescence()
G4CascadeCoalescence::~G4CascadeCoalescence |
( |
| ) |
|
|
virtual |
◆ allNucleons()
Definition at line 335 of file G4CascadeCoalescence.cc.
337 for (
size_t i=0; i<clus.size(); i++)
const G4InuclElementaryParticle & getHadron(size_t idx) const
◆ clusterHash()
Definition at line 297 of file G4CascadeCoalescence.cc.
299 for (
size_t i=0; i<aCluster.size(); i++) {
300 hash = hash*1000 + aCluster[i];
static unsigned long FASTCALL hash(XML_Parser parser, KEY s)
◆ clusterTried()
Definition at line 99 of file G4CascadeCoalescence.hh.
std::set< size_t > triedClusters
size_t clusterHash(const ClusterCandidate &clus) const
◆ clusterType()
Definition at line 284 of file G4CascadeCoalescence.cc.
286 for (
size_t i=0; i<aCluster.size(); i++) {
const G4InuclElementaryParticle & getHadron(size_t idx) const
◆ createNuclei()
void G4CascadeCoalescence::createNuclei |
( |
| ) |
|
|
private |
Definition at line 215 of file G4CascadeCoalescence.cc.
217 G4cout <<
" >>> G4CascadeCoalescence::createNuclei()" <<
G4endl;
std::vector< size_t > ClusterCandidate
bool makeLightIon(const ClusterCandidate &aCluster)
std::set< size_t > usedNucleons
std::vector< ClusterCandidate > allClusters
G4CollisionOutput * thisFinalState
G4GLOB_DLL std::ostream G4cout
G4InuclNuclei thisLightIon
void addOutgoingNucleus(const G4InuclNuclei &nuclei)
◆ fillCluster() [1/3]
void G4CascadeCoalescence::fillCluster |
( |
size_t |
idx1, |
|
|
size_t |
idx2 |
|
) |
| |
|
private |
◆ fillCluster() [2/3]
void G4CascadeCoalescence::fillCluster |
( |
size_t |
idx1, |
|
|
size_t |
idx2, |
|
|
size_t |
idx3 |
|
) |
| |
|
private |
◆ fillCluster() [3/3]
void G4CascadeCoalescence::fillCluster |
( |
size_t |
idx1, |
|
|
size_t |
idx2, |
|
|
size_t |
idx3, |
|
|
size_t |
idx4 |
|
) |
| |
|
private |
◆ FindClusters()
Definition at line 81 of file G4CascadeCoalescence.cc.
83 G4cout <<
" >>> G4CascadeCoalescence::FindClusters()" <<
G4endl;
const std::vector< G4InuclElementaryParticle > & getOutgoingParticles() const
const std::vector< G4InuclElementaryParticle > * thisHadrons
G4CollisionOutput * thisFinalState
G4GLOB_DLL std::ostream G4cout
void printCollisionOutput(std::ostream &os=G4cout) const
◆ getClusterMomentum()
Definition at line 251 of file G4CascadeCoalescence.cc.
253 for (
size_t i=0; i<aCluster.size(); i++)
G4LorentzVector getMomentum() const
const G4InuclElementaryParticle & getHadron(size_t idx) const
void set(double x, double y, double z, double t)
◆ getHadron()
◆ goodCluster()
Definition at line 345 of file G4CascadeCoalescence.cc.
350 if (clus.size() == 2)
353 if (clus.size() == 3)
357 if (clus.size() == 4)
const G4double dpMaxTriplet
G4double maxDeltaP(const ClusterCandidate &aCluster) const
void reportArgs(const G4String &name, const ClusterCandidate &clus) const
G4int clusterType(const ClusterCandidate &aCluster) const
const G4double dpMaxAlpha
const G4double dpMaxDoublet
bool allNucleons(const ClusterCandidate &clus) const
◆ makeLightIon()
Definition at line 367 of file G4CascadeCoalescence.cc.
372 if (aCluster.size()<2)
return false;
374 G4int A = aCluster.size();
378 if (A==2 && type==3) Z = 1;
379 if (A==3 && type==5) Z = 1;
380 if (A==3 && type==4) Z = 2;
381 if (A==4 && type==6) Z = 2;
383 if (Z < 0)
return false;
void fill(G4int a, G4int z, G4double exc=0., Model model=DefaultModel)
void reportResult(const G4String &name, const G4InuclNuclei &nucl) const
void reportArgs(const G4String &name, const ClusterCandidate &clus) const
G4int clusterType(const ClusterCandidate &aCluster) const
double A(double temperature)
G4InuclNuclei thisLightIon
G4LorentzVector getClusterMomentum(const ClusterCandidate &aCluster) const
◆ maxDeltaP()
Definition at line 262 of file G4CascadeCoalescence.cc.
268 for (
size_t i=0; i<aCluster.size(); i++) {
G4LorentzVector getMomentum() const
void reportArgs(const G4String &name, const ClusterCandidate &clus) const
const G4InuclElementaryParticle & getHadron(size_t idx) const
G4GLOB_DLL std::ostream G4cout
HepLorentzVector & boost(double, double, double)
Hep3Vector boostVector() const
G4LorentzVector getClusterMomentum(const ClusterCandidate &aCluster) const
◆ nucleonUsed()
bool G4CascadeCoalescence::nucleonUsed |
( |
size_t |
idx | ) |
const |
|
inlineprivate |
◆ removeNucleons()
void G4CascadeCoalescence::removeNucleons |
( |
| ) |
|
|
private |
Definition at line 235 of file G4CascadeCoalescence.cc.
237 G4cout <<
" >>> G4CascadeCoalescence::removeNucleons()" <<
G4endl;
240 std::set<size_t>::reverse_iterator usedIter;
std::set< size_t > usedNucleons
G4CollisionOutput * thisFinalState
G4GLOB_DLL std::ostream G4cout
void removeOutgoingParticle(G4int index)
◆ reportArgs()
Definition at line 396 of file G4CascadeCoalescence.cc.
398 G4cout <<
" >>> G4CascadeCoalescence::" << name <<
" ";
399 std::copy(aCluster.begin(), aCluster.end(),
400 std::ostream_iterator<size_t>(
G4cout,
" "));
404 for (
size_t i=0; i<aCluster.size(); i++)
const G4InuclElementaryParticle & getHadron(size_t idx) const
G4GLOB_DLL std::ostream G4cout
◆ reportResult()
◆ selectCandidates()
void G4CascadeCoalescence::selectCandidates |
( |
| ) |
|
|
private |
Definition at line 100 of file G4CascadeCoalescence.cc.
102 G4cout <<
" >>> G4CascadeCoalescence::selectCandidates()" <<
G4endl;
109 for (
size_t idx1=0; idx1<nHad; idx1++) {
111 for (
size_t idx2=idx1+1; idx2<nHad; idx2++) {
113 for (
size_t idx3=idx2+1; idx3<nHad; idx3++) {
115 for (
size_t idx4=idx3+1; idx4<nHad; idx4++) {
std::set< size_t > triedClusters
const G4InuclElementaryParticle & getHadron(size_t idx) const
std::set< size_t > usedNucleons
std::vector< ClusterCandidate > allClusters
const std::vector< G4InuclElementaryParticle > * thisHadrons
G4GLOB_DLL std::ostream G4cout
G4bool nucleon(G4int ityp)
void tryClusters(size_t idx1, size_t idx2)
◆ setVerboseLevel()
void G4CascadeCoalescence::setVerboseLevel |
( |
G4int |
verbose | ) |
|
|
inline |
◆ tryClusters() [1/3]
void G4CascadeCoalescence::tryClusters |
( |
size_t |
idx1, |
|
|
size_t |
idx2 |
|
) |
| |
|
private |
Definition at line 192 of file G4CascadeCoalescence.cc.
199 G4cout <<
" >>> G4CascadeCoalescence::tryClusters " << idx1 <<
" " << idx2
bool nucleonUsed(size_t idx) const
std::set< size_t > triedClusters
bool goodCluster(const ClusterCandidate &clus) const
std::set< size_t > usedNucleons
std::vector< ClusterCandidate > allClusters
bool clusterTried(const ClusterCandidate &clus) const
G4GLOB_DLL std::ostream G4cout
ClusterCandidate thisCluster
size_t clusterHash(const ClusterCandidate &clus) const
void fillCluster(size_t idx1, size_t idx2)
◆ tryClusters() [2/3]
void G4CascadeCoalescence::tryClusters |
( |
size_t |
idx1, |
|
|
size_t |
idx2, |
|
|
size_t |
idx3 |
|
) |
| |
|
private |
Definition at line 165 of file G4CascadeCoalescence.cc.
170 G4cout <<
" >>> G4CascadeCoalescence::tryClusters " << idx1 <<
" " << idx2
bool nucleonUsed(size_t idx) const
std::set< size_t > triedClusters
bool goodCluster(const ClusterCandidate &clus) const
std::set< size_t > usedNucleons
std::vector< ClusterCandidate > allClusters
bool clusterTried(const ClusterCandidate &clus) const
G4GLOB_DLL std::ostream G4cout
void tryClusters(size_t idx1, size_t idx2)
ClusterCandidate thisCluster
size_t clusterHash(const ClusterCandidate &clus) const
void fillCluster(size_t idx1, size_t idx2)
◆ tryClusters() [3/3]
void G4CascadeCoalescence::tryClusters |
( |
size_t |
idx1, |
|
|
size_t |
idx2, |
|
|
size_t |
idx3, |
|
|
size_t |
idx4 |
|
) |
| |
|
private |
Definition at line 135 of file G4CascadeCoalescence.cc.
141 G4cout <<
" >>> G4CascadeCoalescence::tryClusters " << idx1 <<
" " << idx2
142 <<
" " << idx3 <<
" " << idx4 <<
G4endl;
bool nucleonUsed(size_t idx) const
std::set< size_t > triedClusters
bool goodCluster(const ClusterCandidate &clus) const
std::set< size_t > usedNucleons
std::vector< ClusterCandidate > allClusters
bool clusterTried(const ClusterCandidate &clus) const
G4GLOB_DLL std::ostream G4cout
void tryClusters(size_t idx1, size_t idx2)
ClusterCandidate thisCluster
size_t clusterHash(const ClusterCandidate &clus) const
void fillCluster(size_t idx1, size_t idx2)
◆ allClusters
◆ dpMaxAlpha
const G4double G4CascadeCoalescence::dpMaxAlpha |
|
private |
◆ dpMaxDoublet
const G4double G4CascadeCoalescence::dpMaxDoublet |
|
private |
◆ dpMaxTriplet
const G4double G4CascadeCoalescence::dpMaxTriplet |
|
private |
◆ pCluster
◆ thisCluster
◆ thisFinalState
◆ thisHadrons
◆ thisLightIon
◆ triedClusters
std::set<size_t> G4CascadeCoalescence::triedClusters |
|
private |
◆ usedNucleons
std::set<size_t> G4CascadeCoalescence::usedNucleons |
|
private |
◆ verboseLevel
G4int G4CascadeCoalescence::verboseLevel |
|
private |
The documentation for this class was generated from the following files: