Geant4
10.01.p03
|
#include <G4MoleculeGun.hh>
Public Member Functions | |
G4MoleculeGun () | |
virtual | ~G4MoleculeGun () |
virtual void | DefineTracks () |
void | AddMolecule (const G4String &name, const G4ThreeVector &position, double time=0) |
void | AddNMolecules (size_t n, const G4String &name, const G4ThreeVector &position, double time=0) |
Public Member Functions inherited from G4ITGun | |
G4ITGun () | |
virtual | ~G4ITGun () |
Protected Member Functions | |
G4Track * | BuildTrack (const G4String &name, const G4ThreeVector &position, double time=0) |
Protected Member Functions inherited from G4ITGun | |
void | PushTrack (G4Track *) |
Protected Attributes | |
std::vector< G4Track * > | fTracks |
G4MoleculeGunMessenger * | fpMessenger |
Definition at line 56 of file G4MoleculeGun.hh.
G4MoleculeGun::G4MoleculeGun | ( | ) |
Definition at line 39 of file G4MoleculeGun.cc.
References fpMessenger.
|
virtual |
Definition at line 46 of file G4MoleculeGun.cc.
References fpMessenger.
void G4MoleculeGun::AddMolecule | ( | const G4String & | name, |
const G4ThreeVector & | position, | ||
double | time = 0 |
||
) |
Definition at line 64 of file G4MoleculeGun.cc.
References BuildTrack(), and fTracks.
Referenced by AddNMolecules().
void G4MoleculeGun::AddNMolecules | ( | size_t | n, |
const G4String & | name, | ||
const G4ThreeVector & | position, | ||
double | time = 0 |
||
) |
Definition at line 72 of file G4MoleculeGun.cc.
References AddMolecule(), and n.
Referenced by G4MoleculeGunMessenger::MultipleGun::DefineTracks().
|
protected |
Definition at line 83 of file G4MoleculeGun.cc.
References G4Molecule::BuildTrack(), G4MoleculeTable::GetMoleculeModel(), and G4MoleculeTable::Instance().
Referenced by AddMolecule().
|
virtual |
Reimplemented from G4ITGun.
Definition at line 52 of file G4MoleculeGun.cc.
References G4MoleculeGunMessenger::DefineTracks(), fpMessenger, fTracks, and G4ITGun::PushTrack().
|
protected |
Definition at line 76 of file G4MoleculeGun.hh.
Referenced by DefineTracks(), G4MoleculeGun(), and ~G4MoleculeGun().
|
protected |
Definition at line 75 of file G4MoleculeGun.hh.
Referenced by AddMolecule(), and DefineTracks().