Geant4  10.00.p02
G4ScoreQuantityMessenger Class Reference

#include <G4ScoreQuantityMessenger.hh>

+ Inheritance diagram for G4ScoreQuantityMessenger:
+ Collaboration diagram for G4ScoreQuantityMessenger:

Public Member Functions

 G4ScoreQuantityMessenger (G4ScoringManager *SManager)
 
 ~G4ScoreQuantityMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValues)
 
G4String GetCurrentValue (G4UIcommand *)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 

Protected Member Functions

void FillTokenVec (G4String newValues, G4TokenVec &token)
 
void FParticleCommand (G4VScoringMesh *mesh, G4TokenVec &token)
 
void FParticleWithEnergyCommand (G4VScoringMesh *mesh, G4TokenVec &token)
 
G4bool CheckMeshPS (G4VScoringMesh *mesh, G4String &psname)
 
- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 

Private Member Functions

void QuantityCommands ()
 
void FilterCommands ()
 

Private Attributes

G4ScoringManagerfSMan
 
G4UIdirectoryquantityDir
 
G4UIcmdWithAStringqTouchCmd
 
G4UIcmdWithoutParameterqGetUnitCmd
 
G4UIcmdWithAStringqSetUnitCmd
 
G4UIcommandqCellChgCmd
 
G4UIcommandqCellFluxCmd
 
G4UIcommandqPassCellFluxCmd
 
G4UIcommandqeDepCmd
 
G4UIcommandqdoseDepCmd
 
G4UIcommandqnOfStepCmd
 
G4UIcommandqnOfSecondaryCmd
 
G4UIcommandqTrackLengthCmd
 
G4UIcommandqPassCellCurrCmd
 
G4UIcommandqPassTrackLengthCmd
 
G4UIcommandqFlatSurfCurrCmd
 
G4UIcommandqFlatSurfFluxCmd
 
G4UIcommandqNofCollisionCmd
 
G4UIcommandqPopulationCmd
 
G4UIcommandqTrackCountCmd
 
G4UIcommandqTerminationCmd
 
G4UIcommandqMinKinEAtGeneCmd
 
G4UIcommandqStepCheckerCmd
 
G4UIdirectoryfilterDir
 
G4UIcmdWithAStringfchargedCmd
 
G4UIcmdWithAStringfneutralCmd
 
G4UIcommandfkinECmd
 
G4UIcommandfparticleCmd
 
G4UIcommandfparticleKinECmd
 

Additional Inherited Members

- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 

Detailed Description

Definition at line 59 of file G4ScoreQuantityMessenger.hh.

Constructor & Destructor Documentation

G4ScoreQuantityMessenger::G4ScoreQuantityMessenger ( G4ScoringManager SManager)

Definition at line 91 of file G4ScoreQuantityMessenger.cc.

References FilterCommands(), and QuantityCommands().

+ Here is the call graph for this function:

Member Function Documentation

G4bool G4ScoreQuantityMessenger::CheckMeshPS ( G4VScoringMesh mesh,
G4String psname 
)
protected

Definition at line 539 of file G4ScoreQuantityMessenger.cc.

References G4VScoringMesh::FindPrimitiveScorer(), G4cout, G4endl, G4UIcommand::GetCommandPath(), qTouchCmd, and G4VScoringMesh::SetNullToCurrentPrimitiveScorer().

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ScoreQuantityMessenger::FillTokenVec ( G4String  newValues,
G4TokenVec token 
)
protected

Definition at line 501 of file G4ScoreQuantityMessenger.cc.

Referenced by SetNewValue().

+ Here is the caller graph for this function:

void G4ScoreQuantityMessenger::FilterCommands ( )
private

Definition at line 98 of file G4ScoreQuantityMessenger.cc.

References DBL_MAX, G4UImessenger::DtoS(), fchargedCmd, filterDir, fkinECmd, fneutralCmd, fparticleCmd, fparticleKinECmd, G4UIparameter::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), G4UIcmdWithAString::SetParameterName(), and smax.

Referenced by G4ScoreQuantityMessenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ScoreQuantityMessenger::FParticleCommand ( G4VScoringMesh mesh,
G4TokenVec token 
)
protected

Definition at line 511 of file G4ScoreQuantityMessenger.cc.

References name, and G4VScoringMesh::SetFilter().

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ScoreQuantityMessenger::FParticleWithEnergyCommand ( G4VScoringMesh mesh,
G4TokenVec token 
)
protected

Definition at line 526 of file G4ScoreQuantityMessenger.cc.

References G4SDParticleWithEnergyFilter::add(), G4UnitDefinition::GetValueOf(), name, G4VScoringMesh::SetFilter(), and G4UImessenger::StoD().

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4String G4ScoreQuantityMessenger::GetCurrentValue ( G4UIcommand )
virtual

Reimplemented from G4UImessenger.

Definition at line 494 of file G4ScoreQuantityMessenger.cc.

void G4ScoreQuantityMessenger::QuantityCommands ( )
private

Definition at line 83 of file G4ScoreQuantityMessengerQCmd.cc.

References qCellChgCmd, qCellFluxCmd, qdoseDepCmd, qeDepCmd, qFlatSurfCurrCmd, qFlatSurfFluxCmd, qGetUnitCmd, qMinKinEAtGeneCmd, qNofCollisionCmd, qnOfSecondaryCmd, qnOfStepCmd, qPassCellCurrCmd, qPassCellFluxCmd, qPassTrackLengthCmd, qPopulationCmd, qSetUnitCmd, qStepCheckerCmd, qTerminationCmd, qTouchCmd, qTrackCountCmd, qTrackLengthCmd, quantityDir, G4UIparameter::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), and G4UIcmdWithAString::SetParameterName().

Referenced by G4ScoreQuantityMessenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ScoreQuantityMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 215 of file G4ScoreQuantityMessenger.cc.

References boxMesh, CheckMeshPS(), cylinderMesh, G4PSFlatSurfaceCurrent::DivideByArea(), G4PSFlatSurfaceFlux::DivideByArea(), G4PSTrackLength::DivideByVelocity(), fchargedCmd, FillTokenVec(), fkinECmd, fneutralCmd, fparticleCmd, FParticleCommand(), fparticleKinECmd, FParticleWithEnergyCommand(), fSMan, G4cerr, G4cout, G4endl, G4UIcommand::GetCommandPath(), G4ScoringManager::GetCurrentMesh(), G4VScoringMesh::GetCurrentPSUnit(), G4VScoringMesh::GetNumberOfSegments(), G4VScoringMesh::GetShape(), G4VScoringMesh::GetSize(), G4UnitDefinition::GetValueOf(), G4VScoringMesh::IsCurrentPrimitiveScorerNull(), G4PSTrackLength::MultiplyKineticEnergy(), name, qCellChgCmd, qCellFluxCmd, qdoseDepCmd, qeDepCmd, qFlatSurfCurrCmd, qFlatSurfFluxCmd, qGetUnitCmd, qMinKinEAtGeneCmd, qNofCollisionCmd, qnOfSecondaryCmd, qnOfStepCmd, qPassCellCurrCmd, qPassCellFluxCmd, qPassTrackLengthCmd, qPopulationCmd, qSetUnitCmd, qStepCheckerCmd, qTerminationCmd, qTouchCmd, qTrackCountCmd, qTrackLengthCmd, G4PSNofStep::SetBoundaryFlag(), G4VScoringMesh::SetCurrentPrimitiveScorer(), G4VScoringMesh::SetCurrentPSUnit(), G4PSDoseDepositForCylinder3D::SetCylinderSize(), G4PSPassageCellFluxForCylinder3D::SetCylinderSize(), G4PSCellFluxForCylinder3D::SetCylinderSize(), G4VScoringMesh::SetFilter(), G4PSDoseDepositForCylinder3D::SetNumberOfSegments(), G4PSPassageCellFluxForCylinder3D::SetNumberOfSegments(), G4PSCellFluxForCylinder3D::SetNumberOfSegments(), G4VScoringMesh::SetPrimitiveScorer(), G4PSEnergyDeposit::SetUnit(), G4PSCellCharge::SetUnit(), G4PSDoseDeposit::SetUnit(), G4PSPassageTrackLength::SetUnit(), G4PSMinKinEAtGeneration::SetUnit(), G4PSTrackLength::SetUnit(), G4PSPassageCellFlux::SetUnit(), G4PSCellFlux::SetUnit(), G4PSFlatSurfaceCurrent::SetUnit(), G4PSFlatSurfaceFlux::SetUnit(), G4UImessenger::StoB(), G4UImessenger::StoD(), G4UImessenger::StoI(), G4PSPassageCellCurrent::Weighted(), G4PSPassageTrackLength::Weighted(), G4PSTrackLength::Weighted(), G4PSTrackCounter::Weighted(), G4PSTermination::Weighted(), G4PSNofCollision::Weighted(), G4PSPopulation::Weighted(), G4PSFlatSurfaceFlux::Weighted(), and G4PSFlatSurfaceCurrent::Weighted().

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithAString* G4ScoreQuantityMessenger::fchargedCmd
private
G4UIdirectory* G4ScoreQuantityMessenger::filterDir
private

Definition at line 120 of file G4ScoreQuantityMessenger.hh.

Referenced by FilterCommands(), and ~G4ScoreQuantityMessenger().

G4UIcommand* G4ScoreQuantityMessenger::fkinECmd
private
G4UIcmdWithAString* G4ScoreQuantityMessenger::fneutralCmd
private
G4UIcommand* G4ScoreQuantityMessenger::fparticleCmd
private
G4UIcommand* G4ScoreQuantityMessenger::fparticleKinECmd
private
G4ScoringManager* G4ScoreQuantityMessenger::fSMan
private

Definition at line 85 of file G4ScoreQuantityMessenger.hh.

Referenced by SetNewValue().

G4UIcommand* G4ScoreQuantityMessenger::qCellChgCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qCellFluxCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qdoseDepCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qeDepCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qFlatSurfCurrCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qFlatSurfFluxCmd
private
G4UIcmdWithoutParameter* G4ScoreQuantityMessenger::qGetUnitCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qMinKinEAtGeneCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qNofCollisionCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qnOfSecondaryCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qnOfStepCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qPassCellCurrCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qPassCellFluxCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qPassTrackLengthCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qPopulationCmd
private
G4UIcmdWithAString* G4ScoreQuantityMessenger::qSetUnitCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qStepCheckerCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qTerminationCmd
private
G4UIcmdWithAString* G4ScoreQuantityMessenger::qTouchCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qTrackCountCmd
private
G4UIcommand* G4ScoreQuantityMessenger::qTrackLengthCmd
private
G4UIdirectory* G4ScoreQuantityMessenger::quantityDir
private

Definition at line 88 of file G4ScoreQuantityMessenger.hh.

Referenced by QuantityCommands(), and ~G4ScoreQuantityMessenger().


The documentation for this class was generated from the following files: