Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4ParticlesCheckerMessenger Class Reference

Messenger class that defines commands for TG4ParticlesChecker. More...

#include <TG4ParticlesCheckerMessenger.h>

Inheritance diagram for TG4ParticlesCheckerMessenger:

Public Member Functions

 TG4ParticlesCheckerMessenger (TG4ParticlesChecker *particlesChecker)
 
virtual ~TG4ParticlesCheckerMessenger ()
 
void Init ()
 
virtual void SetNewValue (G4UIcommand *command, G4String string)
 

Private Member Functions

 TG4ParticlesCheckerMessenger ()
 Not implemented.
 
 TG4ParticlesCheckerMessenger (const TG4ParticlesCheckerMessenger &right)
 Not implemented.
 
TG4ParticlesCheckerMessengeroperator= (const TG4ParticlesCheckerMessenger &right)
 Not implemented.
 

Private Attributes

TG4ParticlesCheckerfParticlesChecker
 associated class
 
G4UIdirectory * fDirectory
 command directory
 
G4String fSelectedProperty
 selected property
 
G4UIcmdWithoutParameter * fCheckParticlesCmd
 command: checkParticles
 
G4UIcmdWithAnInteger * fCheckParticleCmd
 command: checkParticle
 
G4UIcmdWithAString * fSelectPropertyCmd
 command: selectProperty
 
G4UIcmdWithABool * fSetCheckingCmd
 command: setChecking
 
G4UIcmdWithADouble * fSetPrecisionCmd
 command: setPrecision
 

Detailed Description

Messenger class that defines commands for TG4ParticlesChecker.

Implements commands:

  • /mcParticlesChecker/checkParticles
  • /mcParticlesChecker/checkParticle pdgEncoding
  • /mcParticlesChecker/selectProperty propertyName
  • /mcParticlesChecker/setChecking true|false
  • /mcParticlesChecker/setPrecision epsilon
Author
I. Hrivnacova; IPN, Orsay

Definition at line 44 of file TG4ParticlesCheckerMessenger.h.

Constructor & Destructor Documentation

◆ TG4ParticlesCheckerMessenger() [1/3]

TG4ParticlesCheckerMessenger::TG4ParticlesCheckerMessenger ( TG4ParticlesChecker * particlesChecker)

Standard constructor

Definition at line 28 of file TG4ParticlesCheckerMessenger.cxx.

◆ ~TG4ParticlesCheckerMessenger()

TG4ParticlesCheckerMessenger::~TG4ParticlesCheckerMessenger ( )
virtual

Destructor

Definition at line 78 of file TG4ParticlesCheckerMessenger.cxx.

◆ TG4ParticlesCheckerMessenger() [2/3]

TG4ParticlesCheckerMessenger::TG4ParticlesCheckerMessenger ( )
private

Not implemented.

◆ TG4ParticlesCheckerMessenger() [3/3]

TG4ParticlesCheckerMessenger::TG4ParticlesCheckerMessenger ( const TG4ParticlesCheckerMessenger & right)
private

Not implemented.

Member Function Documentation

◆ Init()

void TG4ParticlesCheckerMessenger::Init ( )

Initialize the object. We have to to this separately from the constructor as we need to get properties from the particle checker, which are set after pnly after construction of its messenger.

Definition at line 95 of file TG4ParticlesCheckerMessenger.cxx.

Referenced by TG4ParticlesChecker::TG4ParticlesChecker().

◆ SetNewValue()

void TG4ParticlesCheckerMessenger::SetNewValue ( G4UIcommand * command,
G4String string )
virtual

Apply command to the associated object.

Definition at line 120 of file TG4ParticlesCheckerMessenger.cxx.

◆ operator=()

TG4ParticlesCheckerMessenger & TG4ParticlesCheckerMessenger::operator= ( const TG4ParticlesCheckerMessenger & right)
private

Not implemented.

Member Data Documentation

◆ fParticlesChecker

TG4ParticlesChecker* TG4ParticlesCheckerMessenger::fParticlesChecker
private

associated class

Definition at line 64 of file TG4ParticlesCheckerMessenger.h.

Referenced by Init(), and SetNewValue().

◆ fDirectory

G4UIdirectory* TG4ParticlesCheckerMessenger::fDirectory
private

command directory

Definition at line 65 of file TG4ParticlesCheckerMessenger.h.

Referenced by TG4ParticlesCheckerMessenger(), and ~TG4ParticlesCheckerMessenger().

◆ fSelectedProperty

G4String TG4ParticlesCheckerMessenger::fSelectedProperty
private

selected property

Definition at line 66 of file TG4ParticlesCheckerMessenger.h.

Referenced by SetNewValue().

◆ fCheckParticlesCmd

G4UIcmdWithoutParameter* TG4ParticlesCheckerMessenger::fCheckParticlesCmd
private

command: checkParticles

Definition at line 68 of file TG4ParticlesCheckerMessenger.h.

Referenced by SetNewValue(), TG4ParticlesCheckerMessenger(), and ~TG4ParticlesCheckerMessenger().

◆ fCheckParticleCmd

G4UIcmdWithAnInteger* TG4ParticlesCheckerMessenger::fCheckParticleCmd
private

command: checkParticle

Definition at line 69 of file TG4ParticlesCheckerMessenger.h.

Referenced by SetNewValue(), TG4ParticlesCheckerMessenger(), and ~TG4ParticlesCheckerMessenger().

◆ fSelectPropertyCmd

G4UIcmdWithAString* TG4ParticlesCheckerMessenger::fSelectPropertyCmd
private

command: selectProperty

Definition at line 70 of file TG4ParticlesCheckerMessenger.h.

Referenced by Init(), SetNewValue(), TG4ParticlesCheckerMessenger(), and ~TG4ParticlesCheckerMessenger().

◆ fSetCheckingCmd

G4UIcmdWithABool* TG4ParticlesCheckerMessenger::fSetCheckingCmd
private

command: setChecking

Definition at line 71 of file TG4ParticlesCheckerMessenger.h.

Referenced by SetNewValue(), TG4ParticlesCheckerMessenger(), and ~TG4ParticlesCheckerMessenger().

◆ fSetPrecisionCmd

G4UIcmdWithADouble* TG4ParticlesCheckerMessenger::fSetPrecisionCmd
private

command: setPrecision

Definition at line 72 of file TG4ParticlesCheckerMessenger.h.

Referenced by SetNewValue(), TG4ParticlesCheckerMessenger(), and ~TG4ParticlesCheckerMessenger().


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