186 drawCmd->
SetGuidance(
" 100 : xy-plane, 010 : yz-plane, 001 : zx-plane -- default 111");
187 drawCmd->
SetGuidance(
" 100 : N/A, 010 : z_phi-plane, 001 : r_phi-plane -- default 111");
354 fSMan->
DrawMesh(meshName,psName,iPlane,iColumn,colorMapName);
383 <<
"> is still open. Close it first. Command ignored." <<
G4endl;
392 <<
"] : Scoring mesh <" << newVal
393 <<
"> already exists. Command ignored." <<
G4endl;
401 <<
"> is still open. Close it first. Command ignored." <<
G4endl;
410 <<
"] : Scoring mesh <" << newVal
411 <<
"> already exists. Command ignored." <<
G4endl;
422 <<
"] : color map <" << newVal <<
"> is not defined. Command ignored." 436 <<
"] : color map <" << newVal <<
"> is not defined. Command ignored." 443 <<
"] : Mesh <" << currentmesh->
GetWorldName() <<
"> is still open. Close it first. Command ignored." <<
G4endl;
448 <<
"] : Scoring mesh <" << newVal <<
"> does not exist. Command ignored." <<
G4endl;
483 <<
"] : This mesh is not Box. Command ignored." <<
G4endl;
489 vsize[0] =
StoD(token[0]);
490 vsize[1] =
StoD(token[1]);
498 <<
"] : This mesh is not Box. Command ignored." <<
G4endl;
503 G4double centerPosition[3] ={ 0., 0., 0.};
508 centerPosition[0] = xyz.
x();
509 centerPosition[1] = xyz.
y();
510 centerPosition[2] = xyz.
z();
524 G4cerr <<
"ERROR: No mesh is currently open. Open/create a mesh first. Command ignored." <<
G4endl;
542 while ( !(val = next()).isNull() ) {
543 token.push_back(val);
554 if(dynamic_cast<G4ScoringBox*>(mesh)) {
555 G4cout <<
".... G4ScoringMessenger::MeshBinCommand - G4ScoringBox" <<
G4endl;
559 }
else if(dynamic_cast<G4ScoringCylinder*>(mesh)) {
560 G4cout <<
".... G4ScoringMessenger::MeshBinCommand - G4ScoringCylinder" <<
G4endl;
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameter(G4UIparameter *const newParameter)
G4UIcommand * colorMapMinMaxCmd
G4UIdirectory * mTransDir
G4VScoringMesh * GetCurrentMesh() const
std::vector< G4String > G4TokenVec
G4UIcommand * mCylinderSizeCmd
void RotateY(G4double delta)
static G4int GetNewIntValue(const char *paramString)
void SetParameterRange(const char *theRange)
void SetDefaultUnit(const char *defUnit)
void SetSize(G4double size[3])
void SetToBeBroadcasted(G4bool val)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
void SetDefaultValue(const char *theDefaultValue)
static G4String ConvertToString(G4bool boolVal)
G4UIcmdWithADoubleAndUnit * mRotZCmd
void RotateX(G4double delta)
G4UIdirectory * meshCreateDir
G4UIcommand * drawColumnCmd
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
void ListScoreColorMaps()
static G4double GetNewDoubleValue(const char *paramString)
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void DumpAllQuantitiesToFile(const G4String &meshName, const G4String &fileName, const G4String &option="")
G4UIcmdWithoutParameter * mRResetCmd
void SetMinMax(G4double minVal, G4double maxVal)
const G4String & GetWorldName() const
G4GLOB_DLL std::ostream G4cout
G4UIcmdWithAString * meshOpnCmd
void SetNewValue(G4UIcommand *command, G4String newValues)
G4int GetVerboseLevel() const
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
G4VScoreColorMap * GetScoreColorMap(const G4String &mapName)
G4UIcmdWithAString * meshBoxCreateCmd
G4UIcmdWithoutParameter * mTResetCmd
G4UIcmdWithoutParameter * listCmd
G4String GetCurrentValue(G4UIcommand *command)
G4UIcmdWithoutParameter * meshClsCmd
void RotateZ(G4double delta)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void DrawMesh(const G4String &meshName, const G4String &psName, const G4String &colorMapName, G4int axflg=111)
G4UIcmdWithoutParameter * listColorMapCmd
void SetCenterPosition(G4double centerPosition[3])
void SetDefaultValue(const char *defVal)
G4double StoD(G4String s)
void SetCurrentMesh(G4VScoringMesh *scm)
void DumpQuantityToFile(const G4String &meshName, const G4String &psName, const G4String &fileName, const G4String &option="")
static G4double ValueOf(const char *unitName)
void SetDefaultUnit(const char *defUnit)
G4UIcmdWith3VectorAndUnit * mTXyzCmd
void MeshBinCommand(G4VScoringMesh *mesh, G4TokenVec &token)
const G4String & GetCommandPath() const
G4UIcommand * dumpQtyToFileCmd
G4UIcmdWithADoubleAndUnit * mRotYCmd
void SetFloatingMinMax(G4bool vl=true)
G4UIcommand * dumpAllQtsToFileCmd
G4UIcmdWithAnInteger * verboseCmd
void FillTokenVec(G4String newValues, G4TokenVec &token)
G4ScoringMessenger(G4ScoringManager *SManager)
void SetVerboseLevel(G4int vl)
void RegisterScoringMesh(G4VScoringMesh *scm)
G4UIcmdWithoutParameter * dumpCmd
G4UIcmdWithAString * floatMinMaxCmd
MeshShape GetShape() const
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIcmdWith3VectorAndUnit * mBoxSizeCmd
G4UIcmdWithAString * meshCylinderCreateCmd
void SetNumberOfSegments(G4int nSegment[3])
G4UIcmdWithADoubleAndUnit * mRotXCmd
G4GLOB_DLL std::ostream G4cerr
G4UIdirectory * colorMapDir