Geant4  10.02.p02
G4AnalysisMessengerHelper Class Reference

#include <G4AnalysisMessengerHelper.hh>

+ Collaboration diagram for G4AnalysisMessengerHelper:

Classes

struct  BinData
 
struct  ValueData
 

Public Member Functions

 G4AnalysisMessengerHelper (const G4String &hnType)
 
 ~G4AnalysisMessengerHelper ()
 
std::unique_ptr< G4UIdirectoryCreateHnDirectory () const
 
std::unique_ptr< G4UIcommandCreateSetTitleCommand (G4UImessenger *messenger) const
 
std::unique_ptr< G4UIcommandCreateSetBinsCommand (const G4String &axis, G4UImessenger *messenger) const
 
std::unique_ptr< G4UIcommandCreateSetValuesCommand (const G4String &axis, G4UImessenger *messenger) const
 
std::unique_ptr< G4UIcommandCreateSetAxisCommand (const G4String &axis, G4UImessenger *messenger) const
 
void GetBinData (BinData &data, std::vector< G4String > &parameters, G4int &counter) const
 
void GetValueData (ValueData &data, std::vector< G4String > &parameters, G4int &counter) const
 
void WarnAboutParameters (G4UIcommand *command, G4int nofParameters) const
 
void WarnAboutSetCommands () const
 

Private Member Functions

G4String Update (const G4String &str, const G4String &axis="") const
 

Private Attributes

G4String fHnType
 

Friends

class G4HnMessenger
 

Detailed Description

Definition at line 45 of file G4AnalysisMessengerHelper.hh.

Constructor & Destructor Documentation

G4AnalysisMessengerHelper::G4AnalysisMessengerHelper ( const G4String hnType)
explicit

Definition at line 79 of file G4AnalysisMessengerHelper.cc.

G4AnalysisMessengerHelper::~G4AnalysisMessengerHelper ( )

Definition at line 84 of file G4AnalysisMessengerHelper.cc.

Member Function Documentation

std::unique_ptr< G4UIdirectory > G4AnalysisMessengerHelper::CreateHnDirectory ( ) const

Definition at line 134 of file G4AnalysisMessengerHelper.cc.

References Update().

+ Here is the call graph for this function:

std::unique_ptr< G4UIcommand > G4AnalysisMessengerHelper::CreateSetAxisCommand ( const G4String axis,
G4UImessenger messenger 
) const

Definition at line 259 of file G4AnalysisMessengerHelper.cc.

References G4State_Idle, G4State_PreInit, and Update().

+ Here is the call graph for this function:

std::unique_ptr< G4UIcommand > G4AnalysisMessengerHelper::CreateSetBinsCommand ( const G4String axis,
G4UImessenger messenger 
) const

Definition at line 166 of file G4AnalysisMessengerHelper.cc.

References G4State_Idle, G4State_PreInit, and Update().

+ Here is the call graph for this function:

std::unique_ptr< G4UIcommand > G4AnalysisMessengerHelper::CreateSetTitleCommand ( G4UImessenger messenger) const

Definition at line 143 of file G4AnalysisMessengerHelper.cc.

References G4State_Idle, G4State_PreInit, and Update().

+ Here is the call graph for this function:

std::unique_ptr< G4UIcommand > G4AnalysisMessengerHelper::CreateSetValuesCommand ( const G4String axis,
G4UImessenger messenger 
) const

Definition at line 222 of file G4AnalysisMessengerHelper.cc.

References G4State_Idle, G4State_PreInit, and Update().

+ Here is the call graph for this function:

void G4AnalysisMessengerHelper::GetBinData ( BinData data,
std::vector< G4String > &  parameters,
G4int counter 
) const
void G4AnalysisMessengerHelper::GetValueData ( ValueData data,
std::vector< G4String > &  parameters,
G4int counter 
) const

Definition at line 294 of file G4AnalysisMessengerHelper.cc.

References G4UIcommand::ConvertToDouble(), G4AnalysisMessengerHelper::ValueData::fSfcn, G4AnalysisMessengerHelper::ValueData::fSunit, G4AnalysisMessengerHelper::ValueData::fVmax, and G4AnalysisMessengerHelper::ValueData::fVmin.

+ Here is the call graph for this function:

G4String G4AnalysisMessengerHelper::Update ( const G4String str,
const G4String axis = "" 
) const
private

Definition at line 92 of file G4AnalysisMessengerHelper.cc.

References fHnType, second, G4String::toLower(), and G4String::toUpper().

Referenced by CreateHnDirectory(), CreateSetAxisCommand(), CreateSetBinsCommand(), CreateSetTitleCommand(), CreateSetValuesCommand(), WarnAboutParameters(), and WarnAboutSetCommands().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4AnalysisMessengerHelper::WarnAboutParameters ( G4UIcommand command,
G4int  nofParameters 
) const

Definition at line 305 of file G4AnalysisMessengerHelper.cc.

References G4endl, G4Exception(), G4UIcommand::GetCommandName(), G4UIcommand::GetParameterEntries(), JustWarning, and Update().

+ Here is the call graph for this function:

void G4AnalysisMessengerHelper::WarnAboutSetCommands ( ) const

Definition at line 320 of file G4AnalysisMessengerHelper.cc.

References G4endl, G4Exception(), JustWarning, and Update().

+ Here is the call graph for this function:

Friends And Related Function Documentation

friend class G4HnMessenger
friend

Definition at line 79 of file G4AnalysisMessengerHelper.hh.

Member Data Documentation

G4String G4AnalysisMessengerHelper::fHnType
private

Definition at line 112 of file G4AnalysisMessengerHelper.hh.

Referenced by Update().


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