#include <G4CollisionInitialState.hh>
Definition at line 46 of file G4CollisionInitialState.hh.
G4CollisionInitialState::G4CollisionInitialState |
( |
| ) |
|
Definition at line 55 of file G4CollisionInitialState.cc.
59 theCollisionTime = time;
60 thePrimary = aPrimary;
62 for (
size_t i=0; i<aTarget.size(); i++) theTs.push_back(aTarget[i]);
63 theFSGenerator = aFSGenerator;
G4CollisionInitialState::~G4CollisionInitialState |
( |
| ) |
|
|
inline |
Definition at line 68 of file G4CollisionInitialState.cc.
70 theCollisionTime = right.theCollisionTime;
71 thePrimary = right.thePrimary;
72 theTarget = right.theTarget;
73 for (
size_t i=0; i<right.theTs.size(); i++) theTs.push_back(right.theTs[i]);
74 theFSGenerator = right.theFSGenerator;
Definition at line 95 of file G4CollisionInitialState.cc.
virtual G4KineticTrackVector * GetFinalState(G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &theTargets)=0
const G4BCAction* G4CollisionInitialState::GetGenerator |
( |
| ) |
|
|
inline |
G4int G4CollisionInitialState::GetTargetBaryonNumber |
( |
| ) |
|
|
inline |
Definition at line 84 of file G4CollisionInitialState.hh.
87 for(
size_t i=0; i<theTs.size(); i++)
89 result += theTs[i]->GetDefinition()->GetBaryonNumber();
G4double G4ParticleHPJENDLHEData::G4double result
G4int G4CollisionInitialState::GetTargetCharge |
( |
| ) |
|
|
inline |
Definition at line 93 of file G4CollisionInitialState.hh.
96 for(
size_t i=0; i<theTs.size(); i++)
98 result += theTs[i]->GetDefinition()->GetPDGCharge();
G4double G4ParticleHPJENDLHEData::G4double result
Definition at line 77 of file G4CollisionInitialState.cc.
81 theCollisionTime = right.theCollisionTime;
82 thePrimary = right.thePrimary;
83 theTarget = right.theTarget;
84 for (
size_t i=0; i<right.theTs.size(); i++)
85 theTs.push_back(right.theTs[i]);
86 theFSGenerator = right.theFSGenerator;
void G4CollisionInitialState::Print |
( |
| ) |
const |
Definition at line 105 of file G4CollisionInitialState.cc.
107 G4int tgtPdg=theTarget ?
109 G4cout <<
" collision " <<
this <<
" time: "
110 << theCollisionTime/
second <<
" proj: "
112 <<
" tgt: " << theTarget <<
"/pdg=" << tgtPdg
113 <<
" Collision type: "<<
typeid(*theFSGenerator).name();
G4int GetPDGEncoding() const
static constexpr double second
G4GLOB_DLL std::ostream G4cout
const G4ParticleDefinition * GetDefinition() const
void G4CollisionInitialState::SetCollisionTime |
( |
G4double |
value | ) |
|
|
inline |
The documentation for this class was generated from the following files: