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

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

#include <TG4CrossSectionMessenger.h>

Inheritance diagram for TG4CrossSectionMessenger:

Public Member Functions

 TG4CrossSectionMessenger (TG4CrossSectionManager *crossSectionManager)
 
virtual ~TG4CrossSectionMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String string)
 

Private Member Functions

 TG4CrossSectionMessenger ()
 Not implemented.
 
 TG4CrossSectionMessenger (const TG4CrossSectionMessenger &right)
 Not implemented.
 
TG4CrossSectionMessengeroperator= (const TG4CrossSectionMessenger &right)
 Not implemented.
 

Private Attributes

TG4CrossSectionManagerfCrossSectionManager
 associated class
 
G4UIdirectory * fDirectory
 command directory
 
G4UIcmdWithABool * fMakeHistogramsCmd
 command: makeHistograms
 
G4UIcmdWithAString * fParticleCmd
 command: setParticle
 
G4UIcmdWithAString * fElementCmd
 command: setElement
 
G4UIcmdWithAnInteger * fNofBinsECmd
 command: setNofBinsE
 
G4UIcmdWithAnInteger * fNofBinsPCmd
 command: setNofBinsP
 
G4UIcmdWithADoubleAndUnit * fMinKinECmd
 command: setMinKinE
 
G4UIcmdWithADoubleAndUnit * fMaxKinECmd
 command: setMaxKinE
 
G4UIcmdWithADoubleAndUnit * fKinECmd
 command: setMinKinE
 
G4UIcmdWithADoubleAndUnit * fMinMomentumCmd
 command: setMinMomentum
 
G4UIcmdWithADoubleAndUnit * fMaxMomentumCmd
 command: setMaxMomentum
 
G4UIcmdWithADoubleAndUnit * fMomentumCmd
 command: setMomentum
 
G4UIcmdWithAString * fLabelCmd
 command: setLabel
 
G4UIcmdWithAString * fPrintCmd
 command: printCrossSection
 

Detailed Description

Messenger class that defines commands for TG4CrossSectionManager.

Implements commands:

  • /mcCrossSection/makeHistograms true|false
  • /mcCrossSection/setParticle particleName
  • /mcCrossSection/setElement elementName
  • /mcCrossSection/setNofBinsE number
  • /mcCrossSection/setNofBinsP number
  • /mcCrossSection/setMinKinE value unit
  • /mcCrossSection/setMaxKinE valueunit
  • /mcCrossSection/setKinE value unit
  • /mcCrossSection/setMinMomentum value unit
  • /mcCrossSection/setMaxMomentum value unit
  • /mcCrossSection/setMomentum value unit
  • /mcCrossSection/setLabel label
  • /mcCrossSection/printCrossSection crossSectionType
Author
I. Hrivnacova; IPN, Orsay

Definition at line 49 of file TG4CrossSectionMessenger.h.

Constructor & Destructor Documentation

◆ TG4CrossSectionMessenger() [1/3]

TG4CrossSectionMessenger::TG4CrossSectionMessenger ( TG4CrossSectionManager * crossSectionManager)

Standard constructor

Definition at line 28 of file TG4CrossSectionMessenger.cxx.

◆ ~TG4CrossSectionMessenger()

TG4CrossSectionMessenger::~TG4CrossSectionMessenger ( )
virtual

Destructor

Definition at line 137 of file TG4CrossSectionMessenger.cxx.

◆ TG4CrossSectionMessenger() [2/3]

TG4CrossSectionMessenger::TG4CrossSectionMessenger ( )
private

Not implemented.

◆ TG4CrossSectionMessenger() [3/3]

TG4CrossSectionMessenger::TG4CrossSectionMessenger ( const TG4CrossSectionMessenger & right)
private

Not implemented.

Member Function Documentation

◆ SetNewValue()

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

Apply command to the associated object.

Definition at line 162 of file TG4CrossSectionMessenger.cxx.

◆ operator=()

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

Not implemented.

Member Data Documentation

◆ fCrossSectionManager

TG4CrossSectionManager* TG4CrossSectionMessenger::fCrossSectionManager
private

associated class

Definition at line 67 of file TG4CrossSectionMessenger.h.

Referenced by SetNewValue().

◆ fDirectory

G4UIdirectory* TG4CrossSectionMessenger::fDirectory
private

command directory

Definition at line 68 of file TG4CrossSectionMessenger.h.

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

◆ fMakeHistogramsCmd

G4UIcmdWithABool* TG4CrossSectionMessenger::fMakeHistogramsCmd
private

command: makeHistograms

Definition at line 70 of file TG4CrossSectionMessenger.h.

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

◆ fParticleCmd

G4UIcmdWithAString* TG4CrossSectionMessenger::fParticleCmd
private

command: setParticle

Definition at line 71 of file TG4CrossSectionMessenger.h.

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

◆ fElementCmd

G4UIcmdWithAString* TG4CrossSectionMessenger::fElementCmd
private

command: setElement

Definition at line 72 of file TG4CrossSectionMessenger.h.

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

◆ fNofBinsECmd

G4UIcmdWithAnInteger* TG4CrossSectionMessenger::fNofBinsECmd
private

command: setNofBinsE

Definition at line 73 of file TG4CrossSectionMessenger.h.

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

◆ fNofBinsPCmd

G4UIcmdWithAnInteger* TG4CrossSectionMessenger::fNofBinsPCmd
private

command: setNofBinsP

Definition at line 74 of file TG4CrossSectionMessenger.h.

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

◆ fMinKinECmd

G4UIcmdWithADoubleAndUnit* TG4CrossSectionMessenger::fMinKinECmd
private

command: setMinKinE

Definition at line 75 of file TG4CrossSectionMessenger.h.

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

◆ fMaxKinECmd

G4UIcmdWithADoubleAndUnit* TG4CrossSectionMessenger::fMaxKinECmd
private

command: setMaxKinE

Definition at line 76 of file TG4CrossSectionMessenger.h.

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

◆ fKinECmd

G4UIcmdWithADoubleAndUnit* TG4CrossSectionMessenger::fKinECmd
private

command: setMinKinE

Definition at line 77 of file TG4CrossSectionMessenger.h.

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

◆ fMinMomentumCmd

G4UIcmdWithADoubleAndUnit* TG4CrossSectionMessenger::fMinMomentumCmd
private

command: setMinMomentum

Definition at line 78 of file TG4CrossSectionMessenger.h.

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

◆ fMaxMomentumCmd

G4UIcmdWithADoubleAndUnit* TG4CrossSectionMessenger::fMaxMomentumCmd
private

command: setMaxMomentum

Definition at line 79 of file TG4CrossSectionMessenger.h.

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

◆ fMomentumCmd

G4UIcmdWithADoubleAndUnit* TG4CrossSectionMessenger::fMomentumCmd
private

command: setMomentum

Definition at line 80 of file TG4CrossSectionMessenger.h.

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

◆ fLabelCmd

G4UIcmdWithAString* TG4CrossSectionMessenger::fLabelCmd
private

command: setLabel

Definition at line 81 of file TG4CrossSectionMessenger.h.

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

◆ fPrintCmd

G4UIcmdWithAString* TG4CrossSectionMessenger::fPrintCmd
private

command: printCrossSection

Definition at line 82 of file TG4CrossSectionMessenger.h.

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


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