Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
edep-sim
src
kinem
EDepSimGPSKinematicsFactory.cc
Go to the documentation of this file.
1
#include <G4GeneralParticleSource.hh>
2
3
#include "
kinem/EDepSimGPSKinematicsFactory.hh
"
4
#include "
kinem/EDepSimGPSKinematicsGenerator.hh
"
5
6
EDepSim::GPSKinematicsFactory::GPSKinematicsFactory
(
7
EDepSim::UserPrimaryGeneratorMessenger
*
parent
)
8
:
EDepSim
::
VKinematicsFactory
(
"gps"
,parent,false) {
9
fGenerator
=
new
G4GeneralParticleSource();
10
}
11
12
EDepSim::GPSKinematicsFactory::~GPSKinematicsFactory
() {
13
delete
fGenerator
;
14
}
15
16
EDepSim::VKinematicsGenerator
*
EDepSim::GPSKinematicsFactory::GetGenerator
() {
17
EDepSim::VKinematicsGenerator
* kine
18
=
new
EDepSim::GPSKinematicsGenerator
(
GetName
(),
fGenerator
);
19
return
kine;
20
}
EDepSim::GPSKinematicsFactory::fGenerator
G4VPrimaryGenerator * fGenerator
Definition:
EDepSimGPSKinematicsFactory.hh:24
EDepSim::VPrimaryFactory::GetName
G4String GetName() const
Definition:
EDepSimVPrimaryFactory.cc:30
EDepSim::GPSKinematicsFactory::GPSKinematicsFactory
GPSKinematicsFactory(EDepSim::UserPrimaryGeneratorMessenger *fParent)
Definition:
EDepSimGPSKinematicsFactory.cc:6
EDepSimGPSKinematicsGenerator.hh
EDepSim
Construct a module from components.
Definition:
TG4HitSegment.h:10
EDepSim::VKinematicsGenerator
Definition:
EDepSimVKinematicsGenerator.hh:25
EDepSim::GPSKinematicsFactory::~GPSKinematicsFactory
virtual ~GPSKinematicsFactory()
Definition:
EDepSimGPSKinematicsFactory.cc:12
EDepSim::VKinematicsFactory
Definition:
EDepSimVKinematicsFactory.hh:9
EDepSim::GPSKinematicsFactory::GetGenerator
virtual EDepSim::VKinematicsGenerator * GetGenerator()
Definition:
EDepSimGPSKinematicsFactory.cc:16
EDepSim::GPSKinematicsGenerator
Definition:
EDepSimGPSKinematicsGenerator.hh:16
EDepSimGPSKinematicsFactory.hh
EDepSim::UserPrimaryGeneratorMessenger
Definition:
EDepSimUserPrimaryGeneratorMessenger.hh:25
wirecell.util.wires.graph.parent
def parent(G, child, parent_type)
Definition:
graph.py:67
Generated by
1.8.11