37 #ifndef G4CollisionInitialState_hh
38 #define G4CollisionInitialState_hh
80 {
theTs.push_back(aTarget);}
87 for(
size_t i=0; i<
theTs.size(); i++)
89 result +=
theTs[i]->GetDefinition()->GetBaryonNumber();
96 for(
size_t i=0; i<
theTs.size(); i++)
98 result +=
theTs[i]->GetDefinition()->GetPDGCharge();
G4KineticTrack * GetPrimary(void)
G4KineticTrack * thePrimary
G4KineticTrackVector * GetFinalState()
int operator==(const G4CollisionInitialState &right) const
G4KineticTrack * GetTarget(void)
G4KineticTrackVector theTs
int operator<(const G4CollisionInitialState &right) const
G4int GetTargetBaryonNumber()
G4KineticTrackVector & GetTargetCollection(void)
G4KineticTrack * theTarget
void SetTarget(G4KineticTrack *aTarget)
G4double theCollisionTime
~G4CollisionInitialState()
G4BCAction * GetGenerator()
void SetPrimary(G4KineticTrack *aPrimary)
G4BCAction * theFSGenerator
G4CollisionInitialState & operator=(const G4CollisionInitialState &right)
G4double GetCollisionTime(void)
G4CollisionInitialState()
void AddTarget(G4KineticTrack *aTarget)
void SetCollisionTime(G4double value)