Import Geant4 4.1.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIaliasList.hh,v 1.3 2001/10/16 08:14:31 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIaliasList.hh,v 1.4 2002/04/26 22:03:34 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
|
||||
#ifndef G4UIaliasList_h
|
||||
@@ -49,14 +49,14 @@ class G4UIaliasList
|
||||
G4int operator!=(const G4UIaliasList &right) const;
|
||||
|
||||
public:
|
||||
void RemoveAlias(G4String aliasName);
|
||||
void ChangeAlias(G4String aliasName, G4String aliasValue);
|
||||
G4String* FindAlias(G4String aliasName);
|
||||
void RemoveAlias(const char* aliasName);
|
||||
void ChangeAlias(const char* aliasName, const char* aliasValue);
|
||||
G4String* FindAlias(const char* aliasName);
|
||||
void List();
|
||||
|
||||
private:
|
||||
void AddNewAlias(G4String aliasName, G4String aliasValue);
|
||||
G4int FindAliasID(G4String aliasName);
|
||||
void AddNewAlias(const char* aliasName, const char* aliasValue);
|
||||
G4int FindAliasID(const char* aliasName);
|
||||
|
||||
private:
|
||||
G4std::vector<G4String*> alias;
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIbatch.hh,v 1.4 2001/07/11 10:01:11 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIbatch.hh,v 1.6 2002/06/07 17:37:44 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
// $id$
|
||||
|
||||
@@ -48,7 +48,7 @@ class G4UImanager;
|
||||
class G4UIbatch : public G4UIsession
|
||||
{
|
||||
public: // with description
|
||||
G4UIbatch(G4String fileName,G4UIsession* prevSession=NULL);
|
||||
G4UIbatch(const char* fileName,G4UIsession* prevSession=NULL);
|
||||
// Constructor.
|
||||
// "prevSession" must be NULL if this class is constructed
|
||||
// from main().
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWith3Vector.hh,v 1.4 2001/07/11 10:01:12 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIcmdWith3Vector.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -44,7 +44,7 @@ class G4UIcmdWith3Vector : public G4UIcommand
|
||||
(const char * theCommandPath,G4UImessenger * theMessenger);
|
||||
// Constructor. The command string with full path directory
|
||||
// and the pointer to the messenger must be given.
|
||||
G4ThreeVector GetNew3VectorValue(G4String paramString);
|
||||
G4ThreeVector GetNew3VectorValue(const char* paramString);
|
||||
// Convert string which represents three double values to
|
||||
// G4ThreeVector.
|
||||
G4String ConvertToString(G4ThreeVector vec);
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWith3VectorAndUnit.hh,v 1.4 2001/07/11 10:01:12 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIcmdWith3VectorAndUnit.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -44,14 +44,14 @@ class G4UIcmdWith3VectorAndUnit : public G4UIcommand
|
||||
(const char * theCommandPath,G4UImessenger * theMessenger);
|
||||
// Constructor. The command string with full path directory
|
||||
// and the pointer to the messenger must be given.
|
||||
G4ThreeVector GetNew3VectorValue(G4String paramString);
|
||||
G4ThreeVector GetNew3VectorValue(const char* paramString);
|
||||
// Convert string which represents three double values and a unit to
|
||||
// G4ThreeVector. Values are converted to the Geant4 internal unit.
|
||||
G4ThreeVector GetNew3VectorRawValue(G4String paramString);
|
||||
G4ThreeVector GetNew3VectorRawValue(const char* paramString);
|
||||
// Convert string which represents three double values and a unit to
|
||||
// G4ThreeVector. Values are NOT converted to the Geant4 internal unit
|
||||
// but just as the given string.
|
||||
G4double GetNewUnitValue(G4String paramString);
|
||||
G4double GetNewUnitValue(const char* paramString);
|
||||
// Convert the unit string to the value of the unit. "paramString"
|
||||
// must contain three double values AND a unit string.
|
||||
G4String ConvertToString(G4ThreeVector vec,const char * unitName);
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithABool.hh,v 1.4 2001/07/11 10:01:12 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIcmdWithABool.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ class G4UIcmdWithABool : public G4UIcommand
|
||||
(const char * theCommandPath,G4UImessenger * theMessenger);
|
||||
// Constructor. The command string with full path directory
|
||||
// and the pointer to the messenger must be given.
|
||||
G4bool GetNewBoolValue(G4String paramString);
|
||||
G4bool GetNewBoolValue(const char* paramString);
|
||||
// Convert string which represents a boolean value to G4bool.
|
||||
G4String ConvertToString(G4bool intValue);
|
||||
// Convert a boolean value to a string. This method must be used by
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithADouble.hh,v 1.4 2001/07/11 10:01:12 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIcmdWithADouble.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -43,7 +43,7 @@ class G4UIcmdWithADouble : public G4UIcommand
|
||||
(const char * theCommandPath,G4UImessenger * theMessenger);
|
||||
// Constructor. The command string with full path directory
|
||||
// and the pointer to the messenger must be given.
|
||||
G4double GetNewDoubleValue(G4String paramString);
|
||||
G4double GetNewDoubleValue(const char* paramString);
|
||||
// Convert string which represents a double value to a double.
|
||||
G4String ConvertToString(G4double dblValue);
|
||||
// Convert a double value to a string. This method must be used by
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithADoubleAndUnit.hh,v 1.4 2001/07/11 10:01:12 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIcmdWithADoubleAndUnit.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -43,14 +43,14 @@ class G4UIcmdWithADoubleAndUnit : public G4UIcommand
|
||||
(const char * theCommandPath,G4UImessenger * theMessenger);
|
||||
// Constructor. The command string with full path directory
|
||||
// and the pointer to the messenger must be given.
|
||||
G4double GetNewDoubleValue(G4String paramString);
|
||||
G4double GetNewDoubleValue(const char* paramString);
|
||||
// Convert string which represents a double value and a unit to
|
||||
// double. Value is converted to the Geant4 internal unit.
|
||||
G4double GetNewDoubleRawValue(G4String paramString);
|
||||
G4double GetNewDoubleRawValue(const char* paramString);
|
||||
// Convert string which represents a double value and a unit to
|
||||
// double. Value is NOT converted to the Geant4 internal unit
|
||||
// but just as the given string.
|
||||
G4double GetNewUnitValue(G4String paramString);
|
||||
G4double GetNewUnitValue(const char* paramString);
|
||||
// Convert the unit string to the value of the unit. "paramString"
|
||||
// must contain a double value AND a unit string.
|
||||
G4String ConvertToString(G4double dblValue,const char * unitName);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithAString.hh,v 1.4 2001/07/11 10:01:12 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithAnInteger.hh,v 1.4 2001/07/11 10:01:12 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIcmdWithAnInteger.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -43,7 +43,7 @@ class G4UIcmdWithAnInteger : public G4UIcommand
|
||||
(const char * theCommandPath,G4UImessenger * theMessenger);
|
||||
// Constructor. The command string with full path directory
|
||||
// and the pointer to the messenger must be given.
|
||||
G4int GetNewIntValue(G4String paramString);
|
||||
G4int GetNewIntValue(const char* paramString);
|
||||
// Convert string which represents an integer to an integer.
|
||||
G4String ConvertToString(G4int intValue);
|
||||
// Convert an integer value to a string. This method must be used by
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithoutParameter.hh,v 1.4 2001/07/11 10:01:13 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcommand.hh,v 1.10 2001/10/16 08:14:31 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIcommand.hh,v 1.11 2002/04/26 22:03:35 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -79,9 +79,9 @@ class G4UIcommand
|
||||
virtual void List();
|
||||
|
||||
public:
|
||||
static G4double ValueOf(G4String unitName);
|
||||
static G4String CategoryOf(G4String unitName);
|
||||
static G4String UnitsList(G4String unitCategory);
|
||||
static G4double ValueOf(const char* unitName);
|
||||
static G4String CategoryOf(const char* unitName);
|
||||
static G4String UnitsList(const char* unitCategory);
|
||||
|
||||
private:
|
||||
void G4UIcommandCommonConstructorCode (const char * theCommandPath);
|
||||
@@ -102,15 +102,15 @@ class G4UIcommand
|
||||
// All the C++ syntax of relational operators are allowed for the
|
||||
// range expression.
|
||||
public:
|
||||
inline const G4String GetRange() const
|
||||
inline const G4String & GetRange() const
|
||||
{ return rangeString; };
|
||||
inline G4int GetGuidanceEntries() const
|
||||
{ return commandGuidance.size(); }
|
||||
inline const G4String GetGuidanceLine(G4int i) const
|
||||
inline const G4String & GetGuidanceLine(G4int i) const
|
||||
{ return commandGuidance[i]; }
|
||||
inline const G4String GetCommandPath() const
|
||||
inline const G4String & GetCommandPath() const
|
||||
{ return commandPath; }
|
||||
inline const G4String GetCommandName() const
|
||||
inline const G4String & GetCommandName() const
|
||||
{ return commandName; }
|
||||
inline G4int GetParameterEntries() const
|
||||
{ return parameter.size(); }
|
||||
@@ -147,12 +147,12 @@ class G4UIcommand
|
||||
}
|
||||
|
||||
protected:
|
||||
G4int CheckNewValue(G4String newValue);
|
||||
G4int CheckNewValue(const char* newValue);
|
||||
|
||||
// --- the following is used by CheckNewValue() --------
|
||||
private:
|
||||
G4int TypeCheck(G4String newValue);
|
||||
G4int RangeCheck(G4String newValue);
|
||||
G4int TypeCheck(const char* t);
|
||||
G4int RangeCheck(const char* t);
|
||||
G4int IsInt(const char* str, short maxLength);
|
||||
G4int IsDouble(const char* str);
|
||||
G4int ExpectExponent(const char* str);
|
||||
@@ -172,8 +172,8 @@ class G4UIcommand
|
||||
G4int CompareDouble( G4double arg1, G4int op, G4double arg2);
|
||||
// utility
|
||||
tokenNum Yylex( void ); // returns next token
|
||||
unsigned IndexOf( G4String ); // returns the index of the var name
|
||||
unsigned IsParameter( G4String ); // returns 1 or 0
|
||||
unsigned IndexOf( const char* ); // returns the index of the var name
|
||||
unsigned IsParameter( const char* ); // returns 1 or 0
|
||||
G4int G4UIpGetc( void ); // read one char from rangeBuf
|
||||
G4int G4UIpUngetc( G4int c ); // put back
|
||||
G4int Backslash( G4int c );
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcommandStatus.hh,v 1.4 2001/10/04 23:15:27 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
|
||||
#ifndef G4UIcommandStatus_h
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcommandTree.hh,v 1.12 2001/10/16 08:14:31 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIcommandTree.hh,v 1.13 2002/04/26 22:03:35 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
|
||||
#ifndef G4UIcommandTree_h
|
||||
@@ -43,7 +43,6 @@ class G4UIcommandTree
|
||||
{
|
||||
public:
|
||||
G4UIcommandTree();
|
||||
G4UIcommandTree(G4String thePathName);
|
||||
G4UIcommandTree(const char * thePathName);
|
||||
~G4UIcommandTree();
|
||||
G4int operator==(const G4UIcommandTree &right) const;
|
||||
@@ -52,15 +51,15 @@ class G4UIcommandTree
|
||||
public:
|
||||
void AddNewCommand(G4UIcommand * newCommand);
|
||||
void RemoveCommand(G4UIcommand * aCommand);
|
||||
G4UIcommand * FindPath(G4String commandPath);
|
||||
G4UIcommand * FindPath(const char* commandPath);
|
||||
void List();
|
||||
void ListCurrent();
|
||||
void ListCurrentWithNum();
|
||||
void CreateHTML();
|
||||
|
||||
private:
|
||||
G4String CreateFileName(G4String pName);
|
||||
G4String ModStr(G4String str);
|
||||
G4String CreateFileName(const char* pName);
|
||||
G4String ModStr(const char* strS);
|
||||
|
||||
G4std::vector<G4UIcommand*> command;
|
||||
G4std::vector<G4UIcommandTree*> tree;
|
||||
@@ -78,8 +77,9 @@ class G4UIcommandTree
|
||||
{ return command.size(); };
|
||||
inline G4UIcommandTree * GetTree(G4int i)
|
||||
{ return tree[i-1]; };
|
||||
inline G4UIcommandTree * GetTree(G4String comName)
|
||||
inline G4UIcommandTree * GetTree(const char* comNameC)
|
||||
{
|
||||
G4String comName = comNameC;
|
||||
for( size_t i=0; i < tree.size(); i++)
|
||||
{
|
||||
if( comName == tree[i]->GetPathName() )
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcontrolMessenger.hh,v 1.9 2001/10/11 01:37:58 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIcontrolMessenger.hh,v 1.10 2002/05/15 06:51:31 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
|
||||
#ifndef G4UIcontrolMessenger_h
|
||||
@@ -54,6 +54,7 @@ class G4UIcommand;
|
||||
// /control/shell
|
||||
// /control/manual
|
||||
// /control/createHTML
|
||||
// /control/maximumStoredHistory
|
||||
|
||||
class G4UIcontrolMessenger : public G4UImessenger
|
||||
{
|
||||
@@ -78,6 +79,7 @@ class G4UIcontrolMessenger : public G4UImessenger
|
||||
G4UIcommand * foreachCommand;
|
||||
G4UIcmdWithAString * ManualCommand;
|
||||
G4UIcmdWithAString * HTMLCommand;
|
||||
G4UIcmdWithAnInteger * maxStoredHistCommand;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UIdirectory.hh,v 1.4 2001/07/11 10:01:14 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UImanager.hh,v 1.16 2001/10/16 08:14:31 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UImanager.hh,v 1.19 2002/05/14 01:40:10 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
|
||||
#ifndef G4UImanager_h
|
||||
@@ -77,20 +77,17 @@ class G4UImanager : public G4VStateDependent
|
||||
// This command remove the registered command. After invokation of this
|
||||
// command, that particular command cannot be applied.
|
||||
void ExecuteMacroFile(const char * fileName);
|
||||
void ExecuteMacroFile(G4String fileName);
|
||||
// A macro file defined by the argument will be read by G4UIbatch object.
|
||||
void Loop(const char * macroFile,const char * variableName,
|
||||
G4double initialValue,G4double finalValue,G4double stepSize=1.0);
|
||||
void Loop(G4String macroFile,G4String variableName,
|
||||
G4double initialValue,G4double finalValue,G4double stepSize=1.0);
|
||||
// Execute a macro file more than once with a loop counter.
|
||||
void Foreach(const char * macroFile,const char * variableName,const char * candidates);
|
||||
void Foreach(G4String macroFile,G4String variableName,G4String candidates);
|
||||
void Foreach(const char * macroFile,const char * variableName,
|
||||
const char * candidates);
|
||||
// Execute a macro file more than once with an aliased variable which takes
|
||||
// a value in the candidate list.
|
||||
G4int ApplyCommand(const char * aCommand);
|
||||
G4int ApplyCommand(G4String aCommand);
|
||||
// These two methods are identical. A command (and parameter(s)) given
|
||||
// A command (and parameter(s)) given
|
||||
// by the method's argument will be applied. Zero will be returned in
|
||||
// case the command is successfully executed. Positive non-zero value
|
||||
// will be returned if the command couldn't be executed. The meaning of
|
||||
@@ -98,48 +95,45 @@ class G4UImanager : public G4VStateDependent
|
||||
// The returned number : xyy
|
||||
// x00 : G4CommandStatus.hh enumeration
|
||||
// yy : the problematic parameter (first found)
|
||||
void StoreHistory(G4String fileName="G4history.macro");
|
||||
void StoreHistory(const char* fileName = "G4history.macro");
|
||||
void StoreHistory(G4bool historySwitch,
|
||||
G4String fileName="G4history.macro");
|
||||
const char* fileName = "G4history.macro");
|
||||
// The executed commands will be stored in the defined file. If
|
||||
// "historySwitch" is false, saving will be suspended.
|
||||
void ListCommands(G4String direc);
|
||||
void ListCommands(const char* direc);
|
||||
// All commands registored under the given directory will be listed to
|
||||
// G4cout.
|
||||
void SetAlias(const char * aliasLine);
|
||||
void SetAlias(G4String aliasLine);
|
||||
// Define an alias. The first word of "aliasLine" string is the
|
||||
// alias name and the remaining word(s) is(are) string value
|
||||
// to be aliased.
|
||||
void RemoveAlias(const char * aliasName);
|
||||
void RemoveAlias(G4String aliasName);
|
||||
// Remove the defined alias.
|
||||
void ListAlias();
|
||||
// Print all aliases.
|
||||
G4String SolveAlias(G4String aCmd);
|
||||
G4String SolveAlias(const char* aCmd);
|
||||
// Convert a command string which contains alias(es).
|
||||
void CreateHTML(const char* dir = "/");
|
||||
// Generate HTML files for defined UI commands
|
||||
|
||||
|
||||
public:
|
||||
void LoopS(G4String valueList);
|
||||
void ForeachS(G4String valueList);
|
||||
void LoopS(const char* valueList);
|
||||
void ForeachS(const char* valueList);
|
||||
// These methods are used by G4UIcontrolMessenger to use Loop() and Foreach() methods.
|
||||
virtual G4bool Notify(G4ApplicationState requestedState);
|
||||
// This method is exclusively invoked by G4StateManager and the user
|
||||
// must not use this method.
|
||||
|
||||
private:
|
||||
void PauseSession(G4String msg);
|
||||
void PauseSession(const char* msg);
|
||||
void CreateMessenger();
|
||||
G4UIcommandTree* FindDirectory(const char* dirName);
|
||||
|
||||
public:
|
||||
//public:
|
||||
// following three methods will be removed quite soon.
|
||||
void Interact();
|
||||
void Interact(const char * promptCharacters);
|
||||
void Interact(G4String promptCharacters);
|
||||
// void Interact();
|
||||
// void Interact(const char * promptCharacters);
|
||||
|
||||
private:
|
||||
static G4UImanager * fUImanager;
|
||||
@@ -155,7 +149,7 @@ class G4UImanager : public G4VStateDependent
|
||||
G4bool saveHistory;
|
||||
G4std::vector<G4String> histVec;
|
||||
G4UIaliasList* aliasList;
|
||||
|
||||
G4int maxHistSize;
|
||||
G4bool pauseAtBeginOfEvent;
|
||||
G4bool pauseAtEndOfEvent;
|
||||
|
||||
@@ -224,6 +218,10 @@ class G4UImanager : public G4VStateDependent
|
||||
{ st = histVec[i]; }
|
||||
return st;
|
||||
}
|
||||
inline void SetMaxHistSize(G4int mx)
|
||||
{ maxHistSize = mx; }
|
||||
inline G4int GetMaxHistSize() const
|
||||
{ return maxHistSize; }
|
||||
|
||||
// Old methods kept for backward compatibility
|
||||
// inline G4UIcommandTree * GetTree() const
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UImessenger.hh,v 1.6 2001/10/11 13:29:16 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
|
||||
#ifndef G4UImessenger_h
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIparameter.hh,v 1.5 2001/10/16 08:14:31 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIparameter.hh,v 1.6 2002/04/26 22:03:35 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
// ---------------------------------------------------------------------
|
||||
@@ -66,7 +66,7 @@ class G4UIparameter
|
||||
G4int operator==(const G4UIparameter &right) const;
|
||||
G4int operator!=(const G4UIparameter &right) const;
|
||||
|
||||
G4int CheckNewValue(G4String newValue);
|
||||
G4int CheckNewValue(const char* newValue);
|
||||
void List();
|
||||
|
||||
private:
|
||||
@@ -141,9 +141,9 @@ class G4UIparameter
|
||||
|
||||
private:
|
||||
// --- the following is used by CheckNewValue() -------
|
||||
G4int TypeCheck(G4String newValue );
|
||||
G4int RangeCheck(G4String newValue );
|
||||
G4int CandidateCheck(G4String newValue );
|
||||
G4int TypeCheck(const char* newValue );
|
||||
G4int RangeCheck(const char* newValue );
|
||||
G4int CandidateCheck(const char* newValue );
|
||||
G4int IsInt(const char* str, short maxDigit);
|
||||
G4int IsDouble(const char* str);
|
||||
G4int ExpectExponent(const char* str);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UIsession.hh,v 1.4 2001/07/11 10:01:14 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
// $id$
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UItokenNum.hh,v 1.4 2001/10/16 08:14:31 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
// G4UItokenNum.hh
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UnitsMessenger.hh,v 1.4 2001/07/11 10:01:15 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
// class description
|
||||
//
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VFlavoredParallelWorld.hh,v 1.3 2001/07/11 10:01:15 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
// Abstract interface for GEANT4 Flavored Parallel World.
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VGlobalFastSimulationManager.hh,v 1.3 2001/07/11 10:01:15 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
// Abstract interface for GEANT4 Global Fast Simulation Manager.
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VGraphicsScene.hh,v 1.8 2001/08/14 18:19:14 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// John Allison 19th July 1996
|
||||
//
|
||||
// Class Description:
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VVisManager.hh,v 1.6 2001/08/17 22:49:26 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// John Allison 19/Oct/1996.
|
||||
//
|
||||
// Class Description:
|
||||
|
||||
Reference in New Issue
Block a user