1 #ifndef EDepSim_RooTrackerKinematicsFactory_hh_seen 2 #define EDepSim_RooTrackerKinematicsFactory_hh_seen 6 class G4VPrimaryGenerator;
7 namespace EDepSim {
class RooTrackerKinematicsGenerator;}
9 namespace EDepSim {
class RooTrackerKinematicsFactory;}
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
Handle messages from the UI processor.
RooTrackerKinematicsFactory(EDepSim::UserPrimaryGeneratorMessenger *fParent)
G4String fOrder
The order that events in the input file will be used.
virtual const G4String & GetInputFile() const
Get the input file to read.
G4String fInputFile
The root file with the RooTracker tree.
G4String fTreeName
The path to the tree in the root file.
EDepSim::UserPrimaryGeneratorMessenger * fParent
The messenger that is holding this set of sub-commands.
virtual void SetInputFile(const G4String &name)
Set the input file to read.
G4UIcmdWithAString * fInputFileCMD
Construct a module from components.
int fFirstEvent
The first event to read in the file.
G4UIcmdWithAString * fGeneratorNameCMD
G4UIcmdWithAString * fOrderCMD
virtual const G4String & GetGeneratorName() const
Get the generator name.
virtual const G4String & GetTreeName() const
Get the tree name.
virtual int GetFirstEvent() const
Get the first event to read.
virtual void SetTreeName(const G4String &name)
G4UIcmdWithAString * fTreeNameCMD
virtual void SetFirstEvent(int f)
Set the first event to read.
virtual ~RooTrackerKinematicsFactory()
virtual EDepSim::VKinematicsGenerator * GetGenerator()
virtual G4String GetOrder()
Get the order that events in the input file will be used.
virtual void SetGeneratorName(const G4String &name)
G4UIcmdWithAnInteger * fFirstEventCMD
virtual void SetOrder(const G4String &order)
Set the order that events in the input file will be used.