ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CexmcProductionModelMessenger Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/ChargeExchangeMC/include/CexmcProductionModelMessenger.hh>

+ Inheritance diagram for CexmcProductionModelMessenger:
+ Collaboration diagram for CexmcProductionModelMessenger:

Public Member Functions

 CexmcProductionModelMessenger (CexmcProductionModel *productionModel)
 
 ~CexmcProductionModelMessenger ()
 
void SetNewValue (G4UIcommand *cmd, G4String value)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Attributes

CexmcProductionModelproductionModel
 
G4UIcmdWithABoolapplyFermiMotion
 
G4UIcmdWith3VectorsetAngularRange
 
G4UIcmdWith3VectoraddAngularRange
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4long StoL (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 >
TCreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 55 of file CexmcProductionModelMessenger.hh.

View newest version in sPHENIX GitHub at line 55 of file CexmcProductionModelMessenger.hh

Constructor & Destructor Documentation

CexmcProductionModelMessenger::CexmcProductionModelMessenger ( CexmcProductionModel productionModel)
explicit

Definition at line 51 of file CexmcProductionModelMessenger.cc.

View newest version in sPHENIX GitHub at line 51 of file CexmcProductionModelMessenger.cc

References addAngularRange, applyFermiMotion, G4UIcommand::AvailableForStates(), G4State_Idle, G4State_PreInit, CexmcMessenger::physicsDirName, setAngularRange, G4UIcmdWithABool::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcmdWith3Vector::SetParameterName(), G4UIcmdWithABool::SetParameterName(), and G4UIcommand::SetRange().

+ Here is the call graph for this function:

CexmcProductionModelMessenger::~CexmcProductionModelMessenger ( )

Definition at line 97 of file CexmcProductionModelMessenger.cc.

View newest version in sPHENIX GitHub at line 97 of file CexmcProductionModelMessenger.cc

References addAngularRange, applyFermiMotion, and setAngularRange.

Member Function Documentation

void CexmcProductionModelMessenger::SetNewValue ( G4UIcommand cmd,
G4String  value 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 105 of file CexmcProductionModelMessenger.cc.

View newest version in sPHENIX GitHub at line 105 of file CexmcProductionModelMessenger.cc

References addAngularRange, CexmcProductionModel::AddAngularRange(), CexmcProductionModel::ApplyFermiMotion(), applyFermiMotion, G4UIcmdWith3Vector::GetNew3VectorValue(), G4UIcmdWithABool::GetNewBoolValue(), max, min, productionModel, setAngularRange, CexmcProductionModel::SetAngularRange(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWith3Vector* CexmcProductionModelMessenger::addAngularRange
private

Definition at line 73 of file CexmcProductionModelMessenger.hh.

View newest version in sPHENIX GitHub at line 73 of file CexmcProductionModelMessenger.hh

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

G4UIcmdWithABool* CexmcProductionModelMessenger::applyFermiMotion
private

Definition at line 69 of file CexmcProductionModelMessenger.hh.

View newest version in sPHENIX GitHub at line 69 of file CexmcProductionModelMessenger.hh

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

CexmcProductionModel* CexmcProductionModelMessenger::productionModel
private

Definition at line 67 of file CexmcProductionModelMessenger.hh.

View newest version in sPHENIX GitHub at line 67 of file CexmcProductionModelMessenger.hh

Referenced by SetNewValue().

G4UIcmdWith3Vector* CexmcProductionModelMessenger::setAngularRange
private

Definition at line 71 of file CexmcProductionModelMessenger.hh.

View newest version in sPHENIX GitHub at line 71 of file CexmcProductionModelMessenger.hh

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


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