56 for (
size_t i = 0; i <
fTracks.size(); i++)
77 for (
size_t i = 0; i <
n; i++)
CLHEP::Hep3Vector G4ThreeVector
G4MoleculeGunMessenger * fpMessenger
virtual void DefineTracks()
void DefineTracks(G4MoleculeGun *)
static G4MoleculeTable * Instance()
std::vector< G4Track * > fTracks
G4Track * BuildTrack(G4double globalTime, const G4ThreeVector &Position)
G4Track * BuildTrack(const G4String &name, const G4ThreeVector &position, double time=0)
G4Molecule * GetMoleculeModel(const G4String &, bool mustExist=true)
void AddNMolecules(size_t n, const G4String &name, const G4ThreeVector &position, double time=0)
Class Description The dynamic molecule holds all the data that change for a molecule It has a pointer...
void AddMolecule(const G4String &name, const G4ThreeVector &position, double time=0)
void PushTrack(G4Track *)