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

Messenger class that defines commands for the SD construction. More...

#include <TG4SDMessenger.h>

Inheritance diagram for TG4SDMessenger:

Public Member Functions

 TG4SDMessenger (TG4SDConstruction *sdConstruction)
 
virtual ~TG4SDMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String string)
 

Private Member Functions

 TG4SDMessenger ()
 Not implemented.
 
 TG4SDMessenger (const TG4SDMessenger &right)
 Not implemented.
 
TG4SDMessengeroperator= (const TG4SDMessenger &right)
 Not implemented.
 

Private Attributes

TG4SDConstructionfSDConstruction
 associated class
 
G4UIcmdWithAString * fAddSDSelectionCmd
 addSDSelection command
 
G4UIcmdWithABool * fSetSDSelectionFromTGeoCmd
 getSDSelectionFromTGeo command
 
G4UIcmdWithAString * fSetSVLabelCmd
 setSVLabel command
 
G4UIcmdWithABool * fSetGflashCmd
 setGflash command
 
G4UIcmdWithABool * fSetExclusiveSDScoringCmd
 setExclusiveSDScoring command
 
G4UIcmdWithoutParameter * fPrintUserSDsCmd
 command: printVolumes
 

Detailed Description

Messenger class that defines commands for the SD construction.

Implements commands:

  • /mcDet/addSDSelection volName1 [volName2 ...]
  • /mcDet/setSDSelectionFromTGeo true|false
  • /mcDet/setSVLabel label
  • /mcDet/setGflash true|false
  • /mcDet/setExclusiveSDScoring true|false
  • /mcDet/printUserSDs
Author
I. Hrivnacova; IPN Orsay

Definition at line 40 of file TG4SDMessenger.h.

Constructor & Destructor Documentation

◆ TG4SDMessenger() [1/3]

TG4SDMessenger::TG4SDMessenger ( TG4SDConstruction * sdConstruction)

Standard constructor

Definition at line 25 of file TG4SDMessenger.cxx.

◆ ~TG4SDMessenger()

TG4SDMessenger::~TG4SDMessenger ( )
virtual

Destructor

Definition at line 85 of file TG4SDMessenger.cxx.

◆ TG4SDMessenger() [2/3]

TG4SDMessenger::TG4SDMessenger ( )
private

Not implemented.

◆ TG4SDMessenger() [3/3]

TG4SDMessenger::TG4SDMessenger ( const TG4SDMessenger & right)
private

Not implemented.

Member Function Documentation

◆ SetNewValue()

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

Apply command to the associated object.

Definition at line 102 of file TG4SDMessenger.cxx.

◆ operator=()

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

Not implemented.

Member Data Documentation

◆ fSDConstruction

TG4SDConstruction* TG4SDMessenger::fSDConstruction
private

associated class

Definition at line 61 of file TG4SDMessenger.h.

Referenced by SetNewValue().

◆ fAddSDSelectionCmd

G4UIcmdWithAString* TG4SDMessenger::fAddSDSelectionCmd
private

addSDSelection command

Definition at line 64 of file TG4SDMessenger.h.

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

◆ fSetSDSelectionFromTGeoCmd

G4UIcmdWithABool* TG4SDMessenger::fSetSDSelectionFromTGeoCmd
private

getSDSelectionFromTGeo command

Definition at line 67 of file TG4SDMessenger.h.

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

◆ fSetSVLabelCmd

G4UIcmdWithAString* TG4SDMessenger::fSetSVLabelCmd
private

setSVLabel command

Definition at line 70 of file TG4SDMessenger.h.

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

◆ fSetGflashCmd

G4UIcmdWithABool* TG4SDMessenger::fSetGflashCmd
private

setGflash command

Definition at line 73 of file TG4SDMessenger.h.

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

◆ fSetExclusiveSDScoringCmd

G4UIcmdWithABool* TG4SDMessenger::fSetExclusiveSDScoringCmd
private

setExclusiveSDScoring command

Definition at line 76 of file TG4SDMessenger.h.

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

◆ fPrintUserSDsCmd

G4UIcmdWithoutParameter* TG4SDMessenger::fPrintUserSDsCmd
private

command: printVolumes

Definition at line 79 of file TG4SDMessenger.h.

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


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