Geant4
10.02.p02
|
#include <G4MoleculeGun.hh>
Public Types | |
typedef std::map< G4String, int > | NameNumber |
Public Member Functions | |
G4MoleculeGun () | |
virtual | ~G4MoleculeGun () |
virtual void | DefineTracks () |
void | AddMolecule (const G4String &moleculeName, const G4ThreeVector &position, double time=0) |
void | AddNMolecules (size_t n, const G4String &moleculeName, const G4ThreeVector &position, double time=0) |
void | AddMoleculesRandomPositionInBox (size_t n, const G4String &moleculeName, const G4ThreeVector &boxCenter, const G4ThreeVector &boxExtension, double time=0) |
void | AddMoleculeInCMRepresentation (size_t n, const G4String &moleculeName, double time=0) |
const std::vector < G4shared_ptr < G4MoleculeShoot > > & | GetMoleculeShoot () |
void | GetNameAndNumber (NameNumber &) |
void | AddMoleculeShoot (G4shared_ptr< G4MoleculeShoot >) |
Public Member Functions inherited from G4ITGun | |
G4ITGun () | |
virtual | ~G4ITGun () |
Protected Member Functions | |
void | BuildAndPushTrack (const G4String &name, const G4ThreeVector &position, double time=0) |
Protected Member Functions inherited from G4ITGun | |
void | PushTrack (G4Track *) |
Protected Attributes | |
G4MoleculeGunMessenger * | fpMessenger |
std::vector< G4shared_ptr < G4MoleculeShoot > > | fShoots |
Friends | |
class | G4MoleculeShoot |
template<class T > | |
class | TG4MoleculeShoot |
Definition at line 126 of file G4MoleculeGun.hh.
typedef std::map<G4String, int> G4MoleculeGun::NameNumber |
Definition at line 193 of file G4MoleculeGun.hh.
G4MoleculeGun::G4MoleculeGun | ( | ) |
Definition at line 93 of file G4MoleculeGun.cc.
References fpMessenger.
|
virtual |
Definition at line 100 of file G4MoleculeGun.cc.
References fpMessenger.
void G4MoleculeGun::AddMolecule | ( | const G4String & | moleculeName, |
const G4ThreeVector & | position, | ||
double | time = 0 |
||
) |
Definition at line 117 of file G4MoleculeGun.cc.
References fShoots, name, position, and G4INCL::DeJongSpin::shoot().
void G4MoleculeGun::AddMoleculeInCMRepresentation | ( | size_t | n, |
const G4String & | moleculeName, | ||
double | time = 0 |
||
) |
Definition at line 221 of file G4MoleculeGun.cc.
References fShoots, n, and G4INCL::DeJongSpin::shoot().
void G4MoleculeGun::AddMoleculeShoot | ( | G4shared_ptr< G4MoleculeShoot > | shoot | ) |
Definition at line 216 of file G4MoleculeGun.cc.
References fShoots.
Referenced by G4MoleculeGunMessenger::CreateNewType().
void G4MoleculeGun::AddMoleculesRandomPositionInBox | ( | size_t | n, |
const G4String & | moleculeName, | ||
const G4ThreeVector & | boxCenter, | ||
const G4ThreeVector & | boxExtension, | ||
double | time = 0 |
||
) |
Definition at line 146 of file G4MoleculeGun.cc.
References fShoots, n, and G4INCL::DeJongSpin::shoot().
void G4MoleculeGun::AddNMolecules | ( | size_t | n, |
const G4String & | moleculeName, | ||
const G4ThreeVector & | position, | ||
double | time = 0 |
||
) |
Definition at line 130 of file G4MoleculeGun.cc.
References fShoots, n, position, and G4INCL::DeJongSpin::shoot().
|
protected |
Definition at line 163 of file G4MoleculeGun.cc.
References G4Molecule::BuildTrack(), G4MoleculeTable::GetConfiguration(), G4MoleculeTable::Instance(), and G4ITGun::PushTrack().
Referenced by TG4MoleculeShoot< TYPE >::ShootAtFixedPosition(), and TG4MoleculeShoot< TYPE >::ShootAtRandomPosition().
|
virtual |
|
inline |
Definition at line 189 of file G4MoleculeGun.hh.
References fShoots.
void G4MoleculeGun::GetNameAndNumber | ( | G4MoleculeGun::NameNumber & | output | ) |
Definition at line 177 of file G4MoleculeGun.cc.
References fShoots.
|
friend |
Definition at line 206 of file G4MoleculeGun.hh.
|
friend |
Definition at line 207 of file G4MoleculeGun.hh.
|
protected |
Definition at line 203 of file G4MoleculeGun.hh.
Referenced by G4MoleculeGun(), and ~G4MoleculeGun().
|
protected |
Definition at line 205 of file G4MoleculeGun.hh.
Referenced by AddMolecule(), AddMoleculeInCMRepresentation(), AddMoleculeShoot(), AddMoleculesRandomPositionInBox(), AddNMolecules(), DefineTracks(), GetMoleculeShoot(), and GetNameAndNumber().