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);
384 <<
"> is still open. Close it first. Command ignored.";
395 <<
"] : Scoring mesh <" << newVal
396 <<
"> already exists. Command ignored.";
406 <<
"> is still open. Close it first. Command ignored.";
417 <<
"] : Scoring mesh <" << newVal
418 <<
"> already exists. Command ignored.";
432 <<
"] : color map <" << newVal <<
"> is not defined. Command ignored." ;
448 <<
"] : color map <" << newVal <<
"> is not defined. Command ignored."
458 <<
"> is still open. Close it first. Command ignored.";
465 <<
"] : Scoring mesh <" << newVal <<
"> does not exist. Command ignored.";
502 <<
"] : This mesh is not Box. Command ignored.";
509 vsize[0] =
StoD(token[0]);
510 vsize[1] =
StoD(token[1]);
519 <<
"] : This mesh is not Box. Command ignored.";
525 G4double centerPosition[3] ={ 0., 0., 0.};
530 centerPosition[0] = xyz.
x();
531 centerPosition[1] = xyz.
y();
532 centerPosition[2] = xyz.
z();
547 ed <<
"ERROR: No mesh is currently open. Open/create a mesh first. Command ignored.";
566 while ( !(val = next()).isNull() ) {
567 token.push_back(val);
578 if(dynamic_cast<G4ScoringBox*>(mesh)) {
579 G4cout <<
".... G4ScoringMessenger::MeshBinCommand - G4ScoringBox" <<
G4endl;
583 }
else if(dynamic_cast<G4ScoringCylinder*>(mesh)) {
584 G4cout <<
".... G4ScoringMessenger::MeshBinCommand - G4ScoringCylinder" <<
G4endl;
static G4double ValueOf(const char *unitName)
G4UIcommand * drawColumnCmd
void SetGuidance(const char *aGuidance)
G4UIcmdWithADoubleAndUnit * mRotZCmd
void SetCurrentMesh(G4VScoringMesh *scm)
G4UIcommand * mCylinderSizeCmd
void CommandFailed(G4int errCode, G4ExceptionDescription &ed)
std::ostringstream G4ExceptionDescription
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetNumberOfSegments(G4int nSegment[3])
G4UIcmdWithADoubleAndUnit * mRotYCmd
G4UIcmdWithoutParameter * dumpCmd
const G4String & GetWorldName() const
G4UIcmdWithAString * meshBoxCreateCmd
G4VScoreColorMap * GetScoreColorMap(const G4String &mapName)
void SetVerboseLevel(G4int vl)
std::vector< G4String > G4TokenVec
void ListScoreColorMaps()
void RotateY(G4double delta)
G4String GetCurrentValue(G4UIcommand *command)
void SetRange(const char *rs)
void SetDefaultValue(const char *defVal)
MeshShape GetShape() const
G4UIcmdWithAString * meshOpnCmd
void SetParameterRange(const char *theRange)
G4int GetVerboseLevel() const
void SetParameter(G4UIparameter *const newParameter)
void DrawMesh(const G4String &meshName, const G4String &psName, const G4String &colorMapName, G4int axflg=111)
void RotateZ(G4double delta)
G4VScoringMesh * GetCurrentMesh() const
G4UIdirectory * meshCreateDir
void SetDefaultValue(const char *theDefaultValue)
static G4double GetNewDoubleValue(const char *paramString)
void DumpAllQuantitiesToFile(const G4String &meshName, const G4String &fileName, const G4String &option="")
G4UIcommand * dumpQtyToFileCmd
const XML_Char int const XML_Char * value
G4UIcmdWithoutParameter * mTResetCmd
G4UIcmdWithAnInteger * verboseCmd
void MeshBinCommand(G4VScoringMesh *mesh, G4TokenVec &token)
G4UIcommand * colorMapMinMaxCmd
G4UIcmdWithAString * floatMinMaxCmd
const G4String & GetCommandPath() const
G4UIdirectory * mTransDir
G4UIcmdWithADoubleAndUnit * mRotXCmd
G4UIcmdWith3VectorAndUnit * mBoxSizeCmd
G4UIcmdWithoutParameter * meshClsCmd
static G4String ConvertToString(G4bool boolVal)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void SetSize(G4double size[3])
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIdirectory * colorMapDir
static G4int GetNewIntValue(const char *paramString)
G4double StoD(G4String s)
G4UIcmdWithoutParameter * mRResetCmd
G4GLOB_DLL std::ostream G4cout
G4UIcmdWithoutParameter * listCmd
void DumpQuantityToFile(const G4String &meshName, const G4String &psName, const G4String &fileName, const G4String &option="")
G4ScoringMessenger(G4ScoringManager *SManager)
G4UIcmdWith3VectorAndUnit * mTXyzCmd
void SetCenterPosition(G4double centerPosition[3])
void FillTokenVec(G4String newValues, G4TokenVec &token)
void SetDefaultUnit(const char *defUnit)
G4UIcmdWithoutParameter * listColorMapCmd
static G4ThreeVector GetNew3VectorValue(const char *paramString)
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
void SetNewValue(G4UIcommand *command, G4String newValues)
G4UIcmdWithAString * meshCylinderCreateCmd
void RotateX(G4double delta)
G4UIcommand * dumpAllQtsToFileCmd
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void SetFloatingMinMax(G4bool vl=true)
void SetToBeBroadcasted(G4bool val)
void RegisterScoringMesh(G4VScoringMesh *scm)
void SetMinMax(G4double minVal, G4double maxVal)
void SetDefaultUnit(const char *defUnit)