#include <G4MoleculeGun.hh>
|
| 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 >) |
|
| G4ITGun () |
|
virtual | ~G4ITGun () |
|
Definition at line 126 of file G4MoleculeGun.hh.
G4MoleculeGun::G4MoleculeGun |
( |
| ) |
|
G4MoleculeGun::~G4MoleculeGun |
( |
| ) |
|
|
virtual |
Definition at line 117 of file G4MoleculeGun.cc.
ThreeVector shoot(const G4int Ap, const G4int Af)
std::vector< G4shared_ptr< G4MoleculeShoot > > fShoots
void G4MoleculeGun::AddMoleculeInCMRepresentation |
( |
size_t |
n, |
|
|
const G4String & |
moleculeName, |
|
|
double |
time = 0 |
|
) |
| |
Definition at line 221 of file G4MoleculeGun.cc.
227 shoot->fMoleculeName = moleculeName;
ThreeVector shoot(const G4int Ap, const G4int Af)
std::vector< G4shared_ptr< G4MoleculeShoot > > fShoots
Definition at line 216 of file G4MoleculeGun.cc.
ThreeVector shoot(const G4int Ap, const G4int Af)
std::vector< G4shared_ptr< G4MoleculeShoot > > fShoots
Definition at line 146 of file G4MoleculeGun.cc.
154 shoot->fMoleculeName = moleculeName;
155 shoot->fPosition = boxCenter;
ThreeVector shoot(const G4int Ap, const G4int Af)
CLHEP::Hep3Vector G4ThreeVector
std::vector< G4shared_ptr< G4MoleculeShoot > > fShoots
void G4MoleculeGun::AddNMolecules |
( |
size_t |
n, |
|
|
const G4String & |
moleculeName, |
|
|
const G4ThreeVector & |
position, |
|
|
double |
time = 0 |
|
) |
| |
Definition at line 130 of file G4MoleculeGun.cc.
137 shoot->fMoleculeName = moleculeName;
ThreeVector shoot(const G4int Ap, const G4int Af)
std::vector< G4shared_ptr< G4MoleculeShoot > > fShoots
Definition at line 163 of file G4MoleculeGun.cc.
static G4MoleculeTable * Instance()
G4Track * BuildTrack(G4double globalTime, const G4ThreeVector &Position)
void PushTrack(G4Track *)
G4MolecularConfiguration * GetConfiguration(const G4String &, bool mustExist=true)
void G4MoleculeGun::DefineTracks |
( |
| ) |
|
|
virtual |
Reimplemented from G4ITGun.
Definition at line 107 of file G4MoleculeGun.cc.
109 for (
size_t i = 0; i <
fShoots.size(); i++)
std::vector< G4shared_ptr< G4MoleculeShoot > > fShoots
Definition at line 189 of file G4MoleculeGun.hh.
std::vector< G4shared_ptr< G4MoleculeShoot > > fShoots
Definition at line 177 of file G4MoleculeGun.cc.
179 for(
size_t i = 0 ; i <
fShoots.size() ; ++i)
181 output[
fShoots[i]->fMoleculeName]+=fShoots[i]->fNumber;
std::vector< G4shared_ptr< G4MoleculeShoot > > fShoots
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/source/processes/electromagnetic/dna/utils/include/G4MoleculeGun.hh
- source/geant4.10.03.p03/source/processes/electromagnetic/dna/utils/src/G4MoleculeGun.cc