Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
LXeSteppingMessenger Class Reference

#include <Doxymodules_optical.h>

Inheritance diagram for LXeSteppingMessenger:
G4UImessenger

Public Member Functions

 LXeSteppingMessenger (LXeSteppingAction *)
 
 ~LXeSteppingMessenger () override
 
void SetNewValue (G4UIcommand *, G4String) override
 

Private Attributes

LXeSteppingActionfStepping = nullptr
 
G4UIcmdWithABoolfOneStepPrimariesCmd = nullptr
 

Detailed Description

Definition at line 66 of file Doxymodules_optical.h.

Constructor & Destructor Documentation

◆ LXeSteppingMessenger()

LXeSteppingMessenger::LXeSteppingMessenger ( LXeSteppingAction step)

Definition at line 40 of file LXeSteppingMessenger.cc.

41 : fStepping(step)
42{
43 fOneStepPrimariesCmd = new G4UIcmdWithABool("/LXe/oneStepPrimaries", this);
44 fOneStepPrimariesCmd->SetGuidance(
45 "Only allows primaries to go one step before being killed.");
46}
G4UIcmdWithABool * fOneStepPrimariesCmd
LXeSteppingAction * fStepping

◆ ~LXeSteppingMessenger()

LXeSteppingMessenger::~LXeSteppingMessenger ( )
override

Definition at line 50 of file LXeSteppingMessenger.cc.

50{ delete fOneStepPrimariesCmd; }

Member Function Documentation

◆ SetNewValue()

void LXeSteppingMessenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
override

Definition at line 54 of file LXeSteppingMessenger.cc.

55{
56 if(command == fOneStepPrimariesCmd)
57 {
59 fOneStepPrimariesCmd->GetNewBoolValue(newValue));
60 }
61}
void SetOneStepPrimaries(G4bool b)

Member Data Documentation

◆ fStepping

LXeSteppingAction* LXeSteppingMessenger::fStepping = nullptr
private

Definition at line 49 of file LXeSteppingMessenger.hh.

◆ fOneStepPrimariesCmd

G4UIcmdWithABool* LXeSteppingMessenger::fOneStepPrimariesCmd = nullptr
private

Definition at line 50 of file LXeSteppingMessenger.hh.


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

Applications | User Support | Publications | Collaboration