39 theCollisionTime(
DBL_MAX), thePrimary(0), theTarget(0), theFSGenerator(0)
47 theCollisionTime = time;
48 thePrimary = aPrimary;
59 theCollisionTime = time;
60 thePrimary = aPrimary;
62 for (
size_t i=0; i<aTarget.size(); i++) theTs.push_back(aTarget[i]);
63 theFSGenerator = aFSGenerator;
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;
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;
107 G4int tgtPdg=theTarget ?
109 G4cout <<
" collision " <<
this <<
" time: "
110 << theCollisionTime/second <<
" proj: "
112 <<
" tgt: " << theTarget <<
"/pdg=" << tgtPdg
113 <<
" Collision type: "<<
typeid(*theFSGenerator).name();
G4GLOB_DLL std::ostream G4cout
virtual G4KineticTrackVector * GetFinalState(G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &theTargets)=0
G4CollisionInitialState()
G4KineticTrackVector * GetFinalState()
G4CollisionInitialState & operator=(const G4CollisionInitialState &right)
const G4ParticleDefinition * GetDefinition() const
G4int GetPDGEncoding() const