4 #include <TObjString.h> 12 fInputFile(
"not-open"), fTreeName(
"gRooTracker"),
13 fGeneratorName(
"GENIE"), fOrder(
"consecutive"), fFirstEvent(0) {
20 fTreeNameCMD->SetGuidance(
"Set the tree path in the input file.");
28 fOrderCMD->SetGuidance(
"Set order that events in the file are used.");
29 fOrderCMD->SetParameterName(
"order",
false);
30 fOrderCMD->SetCandidates(
"consecutive stride random");
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
Handle messages from the UI processor.
RooTrackerKinematicsFactory(EDepSim::UserPrimaryGeneratorMessenger *fParent)
virtual const G4String & GetInputFile() const
Get the input file to read.
virtual void SetInputFile(const G4String &name)
Set the input file to read.
G4UIcmdWithAString * fInputFileCMD
Construct a module from components.
G4UIcmdWithAString * fGeneratorNameCMD
G4UIcmdWithAString * fOrderCMD
virtual const G4String & GetGeneratorName() const
Get the generator name.
virtual const G4String & GetTreeName() const
Get the tree name.
G4String CommandName(G4String cmd)
Build a command name with the directory prefix.
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.
def parent(G, child, parent_type)