Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
edep-sim
src
kinem
EDepSimUniformPositionGenerator.hh
Go to the documentation of this file.
1
#ifndef EDepSim_UniformPositionGenerator_hh_seen
2
#define EDepSim_UniformPositionGenerator_hh_seen
3
4
#include "
kinem/EDepSimVConstrainedPositionGenerator.hh
"
5
6
/// Select a position and time to be used as the vertex of a primary particle.
7
namespace
EDepSim
{
class
UniformPositionGenerator;}
8
class
EDepSim::UniformPositionGenerator
:
public
EDepSim::VConstrainedPositionGenerator
{
9
public
:
10
UniformPositionGenerator
(
const
G4String&
name
);
11
virtual
~UniformPositionGenerator
();
12
13
/// Return a candidate vertex.
14
virtual
G4LorentzVector
GetPosition
();
15
16
/// Flag if the vertex should be forced to the candidate vertex returned
17
/// by GetPosition().
18
virtual
bool
ForcePosition
();
19
};
20
#endif
name
static QCString name
Definition:
declinfo.cpp:673
EDepSim::VConstrainedPositionGenerator
Definition:
EDepSimVConstrainedPositionGenerator.hh:13
EDepSim::UniformPositionGenerator::~UniformPositionGenerator
virtual ~UniformPositionGenerator()
Definition:
EDepSimUniformPositionGenerator.cc:8
EDepSim::UniformPositionGenerator
Definition:
EDepSimUniformPositionGenerator.hh:8
EDepSim::UniformPositionGenerator::UniformPositionGenerator
UniformPositionGenerator(const G4String &name)
Definition:
EDepSimUniformPositionGenerator.cc:5
EDepSim
Construct a module from components.
Definition:
TG4HitSegment.h:10
EDepSim::UniformPositionGenerator::GetPosition
virtual G4LorentzVector GetPosition()
Return a candidate vertex.
Definition:
EDepSimUniformPositionGenerator.cc:10
EDepSim::UniformPositionGenerator::ForcePosition
virtual bool ForcePosition()
Definition:
EDepSimUniformPositionGenerator.cc:20
EDepSimVConstrainedPositionGenerator.hh
Generated by
1.8.11