#include <G4CascadParticle.hh>
|
| G4CascadParticle () |
|
| G4CascadParticle (const G4InuclElementaryParticle &particle, const G4ThreeVector &pos, G4int izone, G4double cpath, G4int gen) |
|
| ~G4CascadParticle () |
|
| G4CascadParticle (const G4CascadParticle &cpart) |
|
G4CascadParticle & | operator= (const G4CascadParticle &cpart) |
|
void | fill (const G4InuclElementaryParticle &particle, const G4ThreeVector &pos, G4int izone, G4double cpath, G4int gen) |
|
const G4InuclElementaryParticle & | getParticle () const |
|
G4InuclElementaryParticle & | getParticle () |
|
G4int | getGeneration () const |
|
void | setGeneration (G4int gen) |
|
G4int | getHistoryId () const |
|
void | setHistoryId (G4int id) |
|
G4LorentzVector | getMomentum () const |
|
void | updateParticleMomentum (const G4LorentzVector &mom) |
|
const G4ThreeVector & | getPosition () const |
|
void | updatePosition (const G4ThreeVector &pos) |
|
void | incrementReflectionCounter () |
|
G4int | getNumberOfReflections () const |
|
void | resetReflection () |
|
G4bool | reflectedNow () const |
|
void | initializePath (G4double npath) |
|
void | incrementCurrentPath (G4double npath) |
|
G4double | getCurrentPath () const |
|
void | updateZone (G4int izone) |
|
G4int | getCurrentZone () const |
|
void | setMovingInsideNuclei (G4bool isMovingIn=true) |
|
G4bool | movingInsideNuclei () const |
|
G4double | getPathToTheNextZone (G4double rz_in, G4double rz_out) |
|
void | propagateAlongThePath (G4double path) |
|
G4bool | young (G4double young_path_cut, G4double cpath) const |
|
void | print (std::ostream &os) const |
|
Definition at line 50 of file G4CascadParticle.hh.
◆ G4CascadParticle() [1/3]
G4CascadParticle::G4CascadParticle |
( |
| ) |
|
◆ G4CascadParticle() [2/3]
Definition at line 57 of file G4CascadParticle.cc.
65 G4cout <<
" >>> G4CascadParticle::G4CascadParticle "
G4InuclElementaryParticle theParticle
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
const G4ParticleDefinition * getDefinition() const
◆ ~G4CascadParticle()
G4CascadParticle::~G4CascadParticle |
( |
| ) |
|
|
inline |
◆ G4CascadParticle() [3/3]
◆ fill()
Definition at line 92 of file G4CascadParticle.cc.
G4InuclElementaryParticle theParticle
G4GLOB_DLL std::ostream G4cout
static const G4double pos
◆ getCurrentPath()
G4double G4CascadParticle::getCurrentPath |
( |
| ) |
const |
|
inline |
◆ getCurrentZone()
G4int G4CascadParticle::getCurrentZone |
( |
| ) |
const |
|
inline |
◆ getGeneration()
G4int G4CascadParticle::getGeneration |
( |
| ) |
const |
|
inline |
◆ getHistoryId()
G4int G4CascadParticle::getHistoryId |
( |
| ) |
const |
|
inline |
◆ getMomentum()
Definition at line 83 of file G4CascadParticle.hh.
G4LorentzVector getMomentum() const
G4InuclElementaryParticle theParticle
◆ getNumberOfReflections()
G4int G4CascadParticle::getNumberOfReflections |
( |
| ) |
const |
|
inline |
◆ getParticle() [1/2]
◆ getParticle() [2/2]
◆ getPathToTheNextZone()
Definition at line 109 of file G4CascadParticle.cc.
112 G4cout <<
" >>> G4CascadParticle::getPathToTheNextZone rz_in " << rz_in
113 <<
" rz_out " << rz_out <<
G4endl;
123 if (std::abs(pp) < 1
e-9) {
137 <<
" rp " << rp <<
" pp " << pp <<
" ra " << ra <<
G4endl;
141 d2 = rz_out * rz_out - ra;
146 d2 = rz_in * rz_in - ra;
151 d2 = rz_in * rz_in - ra;
156 d2 = rz_out * rz_out - ra;
164 if (d2 < 0.0 && d2 > -1
e-6) d2 = 0.;
166 if (d2 > 0.0) path = ds * std::sqrt(d2) - rp /
pp;
G4GLOB_DLL std::ostream G4cout
double dot(const Hep3Vector &) const
G4LorentzVector getMomentum() const
◆ getPosition()
◆ incrementCurrentPath()
void G4CascadParticle::incrementCurrentPath |
( |
G4double |
npath | ) |
|
|
inline |
◆ incrementReflectionCounter()
void G4CascadParticle::incrementReflectionCounter |
( |
| ) |
|
|
inline |
◆ initializePath()
void G4CascadParticle::initializePath |
( |
G4double |
npath | ) |
|
|
inline |
◆ movingInsideNuclei()
G4bool G4CascadParticle::movingInsideNuclei |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ print()
void G4CascadParticle::print |
( |
std::ostream & |
os | ) |
const |
◆ propagateAlongThePath()
void G4CascadParticle::propagateAlongThePath |
( |
G4double |
path | ) |
|
Definition at line 171 of file G4CascadParticle.cc.
173 G4cout <<
" >>> G4CascadParticle::propagateAlongThePath" <<
G4endl;
G4GLOB_DLL std::ostream G4cout
G4LorentzVector getMomentum() const
◆ reflectedNow()
G4bool G4CascadParticle::reflectedNow |
( |
| ) |
const |
|
inline |
◆ resetReflection()
void G4CascadParticle::resetReflection |
( |
| ) |
|
|
inline |
◆ setGeneration()
void G4CascadParticle::setGeneration |
( |
G4int |
gen | ) |
|
|
inline |
◆ setHistoryId()
void G4CascadParticle::setHistoryId |
( |
G4int |
id | ) |
|
|
inline |
◆ setMovingInsideNuclei()
void G4CascadParticle::setMovingInsideNuclei |
( |
G4bool |
isMovingIn = true | ) |
|
|
inline |
◆ updateParticleMomentum()
void G4CascadParticle::updateParticleMomentum |
( |
const G4LorentzVector & |
mom | ) |
|
|
inline |
Definition at line 87 of file G4CascadParticle.hh.
G4InuclElementaryParticle theParticle
void setMomentum(const G4LorentzVector &mom)
◆ updatePosition()
void G4CascadParticle::updatePosition |
( |
const G4ThreeVector & |
pos | ) |
|
|
inline |
◆ updateZone()
void G4CascadParticle::updateZone |
( |
G4int |
izone | ) |
|
|
inline |
◆ young()
◆ current_path
◆ current_zone
G4int G4CascadParticle::current_zone |
|
private |
◆ generation
G4int G4CascadParticle::generation |
|
private |
◆ historyId
G4int G4CascadParticle::historyId |
|
private |
◆ movingIn
G4bool G4CascadParticle::movingIn |
|
private |
◆ position
◆ reflected
G4bool G4CascadParticle::reflected |
|
private |
◆ reflectionCounter
G4int G4CascadParticle::reflectionCounter |
|
private |
◆ theParticle
◆ verboseLevel
G4int G4CascadParticle::verboseLevel |
|
private |
The documentation for this class was generated from the following files: