EDepSimGPSKinematicsFactory.hh
Go to the documentation of this file.
1 #ifndef EDepSim_GPSKinematicsFactory_hh_seen
2 #define EDepSim_GPSKinematicsFactory_hh_seen
3 
5 
6 class G4VPrimaryGenerator;
7 namespace EDepSim {class GPSKinematicsGenerator;}
8 
9 namespace EDepSim {class GPSKinematicsFactory;}
11 public:
13  virtual ~GPSKinematicsFactory();
14 
15  /// Return a new generator enclosing the current factory state. The new
16  /// generator method is pure virtual so it must be implemented by derived
17  /// classes.
19 
20 private:
21  /// The GPS G4VPrimaryGenerator that will be used for this kinematics
22  /// generator. This must be created when the factory is constructed so
23  /// that the GPS can add it's commands to the UI. There can be only one.
24  G4VPrimaryGenerator* fGenerator;
25 };
26 #endif
GPSKinematicsFactory(EDepSim::UserPrimaryGeneratorMessenger *fParent)
EDepSim::UserPrimaryGeneratorMessenger * fParent
The messenger that is holding this set of sub-commands.
Construct a module from components.
Definition: TG4HitSegment.h:10
virtual EDepSim::VKinematicsGenerator * GetGenerator()