#include <G4MoleculeGun.hh>
|
| G4MoleculeGun () |
|
| ~G4MoleculeGun () override |
|
void | DefineTracks () override |
|
void | AddMolecule (const G4String &moleculeName, const G4ThreeVector &position, G4double time=0) |
|
void | AddNMolecules (std::size_t n, const G4String &moleculeName, const G4ThreeVector &position, G4double time=0) |
|
void | AddMoleculesRandomPositionInBox (std::size_t n, const G4String &moleculeName, const G4ThreeVector &boxCenter, const G4ThreeVector &boxExtension, G4double time=0) |
|
void | AddMoleculeInCMRepresentation (std::size_t n, const G4String &moleculeName, G4double time=0) |
|
const std::vector< G4shared_ptr< G4MoleculeShoot > > & | GetMoleculeShoot () |
|
void | GetNameAndNumber (NameNumber &) |
|
void | AddMoleculeShoot (G4shared_ptr< G4MoleculeShoot >) |
|
| G4ITGun () |
|
virtual | ~G4ITGun () |
|
Definition at line 137 of file G4MoleculeGun.hh.
◆ NameNumber
◆ G4MoleculeGun()
G4MoleculeGun::G4MoleculeGun |
( |
| ) |
|
Definition at line 93 of file G4MoleculeGun.cc.
94{
96}
G4MoleculeGunMessenger * fpMessenger
◆ ~G4MoleculeGun()
G4MoleculeGun::~G4MoleculeGun |
( |
| ) |
|
|
override |
◆ AddMolecule()
Definition at line 117 of file G4MoleculeGun.cc.
120{
126}
std::vector< G4shared_ptr< G4MoleculeShoot > > fShoots
ThreeVector shoot(const G4int Ap, const G4int Af)
const char * name(G4int ptype)
◆ AddMoleculeInCMRepresentation()
void G4MoleculeGun::AddMoleculeInCMRepresentation |
( |
std::size_t | n, |
|
|
const G4String & | moleculeName, |
|
|
G4double | time = 0 ) |
◆ AddMoleculeShoot()
◆ AddMoleculesRandomPositionInBox()
Definition at line 146 of file G4MoleculeGun.cc.
151{
154 shoot->fMoleculeName = moleculeName;
155 shoot->fPosition = boxCenter;
159}
CLHEP::Hep3Vector G4ThreeVector
◆ AddNMolecules()
◆ BuildAndPushTrack()
◆ DefineTracks()
void G4MoleculeGun::DefineTracks |
( |
| ) |
|
|
overridevirtual |
◆ GetMoleculeShoot()
◆ GetNameAndNumber()
Definition at line 177 of file G4MoleculeGun.cc.
178{
179 for(
const auto & fShoot :
fShoots)
180 {
181 output[fShoot->fMoleculeName]+=fShoot->fNumber;
182 }
183}
◆ G4MoleculeShoot
◆ TG4MoleculeShoot
◆ fpMessenger
◆ fShoots
The documentation for this class was generated from the following files: