#include <EDepSimPersistencyMessenger.hh>
Definition at line 16 of file EDepSimPersistencyMessenger.cc.
22 fOpenCMD =
new G4UIcmdWithAString(
"/edep/db/open",
this);
23 fOpenCMD->SetGuidance(
"Set the name of the output file and open it.");
24 fOpenCMD->SetParameterName(
"filename",
true);
25 fOpenCMD->SetDefaultValue(
"edepsim-output.root");
26 fOpenCMD->AvailableForStates(G4State_PreInit,G4State_Idle);
28 fCloseCMD =
new G4UIcmdWithoutParameter(
"/edep/db/close",
this);
29 fCloseCMD->SetGuidance(
"Close the output file.");
35 =
new G4UIcmdWithADoubleAndUnit(
"/edep/db/set/gammaThreshold",
this);
37 "Set momentum threshold for writing out gamma-ray trajectories");
42 =
new G4UIcmdWithADoubleAndUnit(
"/edep/db/set/neutronThreshold",
this);
44 "Set momentum threshold for writing out neutron trajectories");
49 =
new G4UIcmdWithADoubleAndUnit(
"/edep/db/set/lengthThreshold",
this);
51 "Set length of track in an SD for writing out particle trajectories");
56 =
new G4UIcmdWithABool(
"/edep/db/set/saveAllPrimTraj",
this);
58 "Control which primaries have saved trajectories.\n" 59 " True: Save all prim. part. trajectories.\n" 60 " False: Save prim. that ultimately deposit energy in SD.");
63 =
new G4UIcmdWithADoubleAndUnit(
"/edep/db/set/trajectoryAccuracy",
this);
65 "Set the minimum accuracy of the trajectory.");
70 =
new G4UIcmdWithADoubleAndUnit(
"/edep/db/set/trajectoryDeposit",
this);
72 "Set the minimum energy deposit for a trajectory point.");
77 =
new G4UIcmdWithAString(
"/edep/db/set/trajectoryBoundary",
this);
79 "Add a Perl RegExp for a phys. vol. boundary where a\n" 80 " trajectory point is saved. The expression is compared to a\n" 81 " string constructed \":particle:charge:volume:\" where particle\n" 82 " is the particle name, charge is \"charged\" or \"neutral\" and\n" 83 " volume is the physical volume name.");
88 =
new G4UIcmdWithoutParameter(
"/edep/db/set/clearBoundaries",
this);
90 "trajectory points.");
G4UIcmdWithoutParameter * fClearBoundariesCMD
G4UIcmdWithoutParameter * fCloseCMD
G4UIcmdWithABool * fSaveAllPrimaryTrajectoriesCMD
G4UIcmdWithADoubleAndUnit * fTrajectoryPointDepositCMD
G4UIcmdWithADoubleAndUnit * fNeutronThresholdCMD
G4UIcmdWithAString * fTrajectoryBoundaryCMD
EDepSim::PersistencyManager * fPersistencyManager
G4UIdirectory * fPersistencySetDIR
G4UIdirectory * fPersistencyDIR
G4UIcmdWithADoubleAndUnit * fTrajectoryPointAccuracyCMD
G4UIcmdWithADoubleAndUnit * fLengthThresholdCMD
G4UIcmdWithAString * fOpenCMD
G4UIcmdWithADoubleAndUnit * fGammaThresholdCMD
EDepSim::PersistencyMessenger::~PersistencyMessenger |
( |
| ) |
|
|
virtual |
Definition at line 94 of file EDepSimPersistencyMessenger.cc.
G4UIcmdWithoutParameter * fClearBoundariesCMD
G4UIcmdWithoutParameter * fCloseCMD
G4UIcmdWithABool * fSaveAllPrimaryTrajectoriesCMD
G4UIcmdWithADoubleAndUnit * fTrajectoryPointDepositCMD
G4UIcmdWithADoubleAndUnit * fNeutronThresholdCMD
G4UIcmdWithAString * fTrajectoryBoundaryCMD
G4UIdirectory * fPersistencySetDIR
G4UIdirectory * fPersistencyDIR
G4UIcmdWithADoubleAndUnit * fTrajectoryPointAccuracyCMD
G4UIcmdWithADoubleAndUnit * fLengthThresholdCMD
G4UIcmdWithAString * fOpenCMD
G4UIcmdWithADoubleAndUnit * fGammaThresholdCMD
G4String EDepSim::PersistencyMessenger::GetCurrentValue |
( |
G4UIcommand * |
command | ) |
|
Definition at line 151 of file EDepSimPersistencyMessenger.cc.
152 G4String currentValue;
virtual G4String GetFilename(void) const
Return the output file name.
virtual bool GetSaveAllPrimaryTrajectories(void) const
virtual G4double GetNeutronThreshold() const
G4UIcmdWithABool * fSaveAllPrimaryTrajectoriesCMD
virtual double GetTrajectoryPointAccuracy(void) const
G4UIcmdWithADoubleAndUnit * fTrajectoryPointDepositCMD
G4UIcmdWithADoubleAndUnit * fNeutronThresholdCMD
virtual double GetTrajectoryPointDeposit(void) const
EDepSim::PersistencyManager * fPersistencyManager
G4UIcmdWithADoubleAndUnit * fTrajectoryPointAccuracyCMD
virtual G4double GetGammaThreshold() const
G4UIcmdWithADoubleAndUnit * fLengthThresholdCMD
G4UIcmdWithAString * fOpenCMD
virtual G4double GetLengthThreshold() const
Get the threshold for length in a sensitive detector.
G4UIcmdWithADoubleAndUnit * fGammaThresholdCMD
void EDepSim::PersistencyMessenger::SetNewValue |
( |
G4UIcommand * |
command, |
|
|
G4String |
newValues |
|
) |
| |
Definition at line 110 of file EDepSimPersistencyMessenger.cc.
G4UIcmdWithoutParameter * fClearBoundariesCMD
G4UIcmdWithoutParameter * fCloseCMD
virtual void AddTrajectoryBoundary(const G4String &boundary)
virtual void SetTrajectoryPointAccuracy(double acc)
G4UIcmdWithABool * fSaveAllPrimaryTrajectoriesCMD
G4UIcmdWithADoubleAndUnit * fTrajectoryPointDepositCMD
virtual void SetNeutronThreshold(G4double thresh)
G4UIcmdWithADoubleAndUnit * fNeutronThresholdCMD
G4UIcmdWithAString * fTrajectoryBoundaryCMD
EDepSim::PersistencyManager * fPersistencyManager
G4UIcmdWithADoubleAndUnit * fTrajectoryPointAccuracyCMD
virtual G4bool Open(G4String filename)
virtual void ClearTrajectoryBoundaries()
G4UIcmdWithADoubleAndUnit * fLengthThresholdCMD
virtual void SetLengthThreshold(G4double thresh)
virtual void SetGammaThreshold(G4double thresh)
virtual void SetSaveAllPrimaryTrajectories(bool val)
virtual void SetTrajectoryPointDeposit(double dep)
virtual G4bool Close(void)
Make sure the output file is closed.
G4UIcmdWithAString * fOpenCMD
G4UIcmdWithADoubleAndUnit * fGammaThresholdCMD
G4UIcmdWithoutParameter* EDepSim::PersistencyMessenger::fClearBoundariesCMD |
|
private |
G4UIcmdWithoutParameter* EDepSim::PersistencyMessenger::fCloseCMD |
|
private |
G4UIcmdWithADoubleAndUnit* EDepSim::PersistencyMessenger::fGammaThresholdCMD |
|
private |
G4UIcmdWithADoubleAndUnit* EDepSim::PersistencyMessenger::fLengthThresholdCMD |
|
private |
G4UIcmdWithADoubleAndUnit* EDepSim::PersistencyMessenger::fNeutronThresholdCMD |
|
private |
G4UIcmdWithAString* EDepSim::PersistencyMessenger::fOpenCMD |
|
private |
G4UIdirectory* EDepSim::PersistencyMessenger::fPersistencyDIR |
|
private |
G4UIdirectory* EDepSim::PersistencyMessenger::fPersistencySetDIR |
|
private |
G4UIcmdWithABool* EDepSim::PersistencyMessenger::fSaveAllPrimaryTrajectoriesCMD |
|
private |
G4UIcmdWithAString* EDepSim::PersistencyMessenger::fTrajectoryBoundaryCMD |
|
private |
G4UIcmdWithADoubleAndUnit* EDepSim::PersistencyMessenger::fTrajectoryPointAccuracyCMD |
|
private |
G4UIcmdWithADoubleAndUnit* EDepSim::PersistencyMessenger::fTrajectoryPointDepositCMD |
|
private |
The documentation for this class was generated from the following files: