#include <EDepSimFixedPositionGenerator.hh>
Public Member Functions | |
FixedPositionGenerator (const G4String &name, const G4ThreeVector &pos) | |
virtual | ~FixedPositionGenerator () |
virtual G4LorentzVector | GetPosition () |
Return a candidate vertex. More... | |
virtual void | SetPosition (const G4ThreeVector &pos) |
Set the position for the vertex. More... | |
virtual bool | ForcePosition () |
Public Member Functions inherited from EDepSim::VPositionGenerator | |
VPositionGenerator (const G4String &name) | |
virtual | ~VPositionGenerator () |
G4String | GetName () const |
Return the name of the generator. More... | |
Private Attributes | |
G4LorentzVector | fPosition |
The position for this generator. More... | |
Definition at line 11 of file EDepSimFixedPositionGenerator.hh.
EDepSim::FixedPositionGenerator::FixedPositionGenerator | ( | const G4String & | name, |
const G4ThreeVector & | pos | ||
) |
Definition at line 3 of file EDepSimFixedPositionGenerator.cc.
|
virtual |
Definition at line 7 of file EDepSimFixedPositionGenerator.cc.
|
virtual |
Flag if the vertex should be forced to the candidate vertex returned by GetPosition().
Implements EDepSim::VPositionGenerator.
Definition at line 13 of file EDepSimFixedPositionGenerator.cc.
|
virtual |
Return a candidate vertex.
Implements EDepSim::VPositionGenerator.
Definition at line 9 of file EDepSimFixedPositionGenerator.cc.
|
virtual |
Set the position for the vertex.
Definition at line 17 of file EDepSimFixedPositionGenerator.cc.
|
private |
The position for this generator.
Definition at line 29 of file EDepSimFixedPositionGenerator.hh.