336 if(command==listCmd) {
338 }
else if(command==dumpCmd) {
340 }
else if(command==drawCmd) {
346 fSMan->
DrawMesh(meshName,psName,colorMapName,axflg);
347 }
else if(command==drawColumnCmd) {
354 fSMan->
DrawMesh(meshName,psName,iPlane,iColumn,colorMapName);
363 }
else if(command==dumpQtyToFileCmd) {
370 }
else if(command==dumpAllQtsToFileCmd) {
376 }
else if(command==verboseCmd) {
378 }
else if(command==meshBoxCreateCmd) {
383 <<
"> is still open. Close it first. Command ignored." <<
G4endl;
392 <<
"] : Scoring mesh <" << newVal
393 <<
"> already exists. Command ignored." <<
G4endl;
396 }
else if(command==meshCylinderCreateCmd) {
401 <<
"> is still open. Close it first. Command ignored." <<
G4endl;
410 <<
"] : Scoring mesh <" << newVal
411 <<
"> already exists. Command ignored." <<
G4endl;
414 }
else if(command==listColorMapCmd) {
416 }
else if(command==floatMinMaxCmd) {
422 <<
"] : color map <" << newVal <<
"> is not defined. Command ignored."
425 }
else if(command==colorMapMinMaxCmd) {
436 <<
"] : color map <" << newVal <<
"> is not defined. Command ignored."
439 }
else if(command==meshOpnCmd) {
443 <<
"] : Mesh <" << currentmesh->
GetWorldName() <<
"> is still open. Close it first. Command ignored." <<
G4endl;
448 <<
"] : Scoring mesh <" << newVal <<
"> does not exist. Command ignored." <<
G4endl;
453 }
else if(command==meshClsCmd) {
472 if(command==mBoxSizeCmd) {
483 <<
"] : This mesh is not Box. Command ignored." <<
G4endl;
485 }
else if(command==mCylinderSizeCmd) {
489 vsize[0] =
StoD(token[0]);
490 vsize[1] =
StoD(token[1]);
498 <<
"] : This mesh is not Box. Command ignored." <<
G4endl;
500 }
else if(command==mBinCmd) {
502 }
else if(command==mTResetCmd) {
503 G4double centerPosition[3] ={ 0., 0., 0.};
505 }
else if(command==mTXyzCmd) {
508 centerPosition[0] = xyz.
x();
509 centerPosition[1] = xyz.
y();
510 centerPosition[2] = xyz.
z();
512 }
else if(command==mRResetCmd) {
513 }
else if(command==mRotXCmd) {
516 }
else if(command==mRotYCmd) {
519 }
else if(command==mRotZCmd) {
524 G4cerr <<
"ERROR: No mesh is currently open. Open/create a mesh first. Command ignored." <<
G4endl;
const G4String & GetWorldName() const
std::vector< G4String > G4TokenVec
void RotateY(G4double delta)
static G4int GetNewIntValue(const char *paramString)
void SetSize(G4double size[3])
static G4ThreeVector GetNew3VectorValue(const char *paramString)
void RotateX(G4double delta)
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
void ListScoreColorMaps()
static G4double GetNewDoubleValue(const char *paramString)
void DumpAllQuantitiesToFile(const G4String &meshName, const G4String &fileName, const G4String &option="")
void SetMinMax(G4double minVal, G4double maxVal)
const XML_Char int const XML_Char * value
MeshShape GetShape() const
G4VScoreColorMap * GetScoreColorMap(const G4String &mapName)
const G4String & GetCommandPath() const
void RotateZ(G4double delta)
void DrawMesh(const G4String &meshName, const G4String &psName, const G4String &colorMapName, G4int axflg=111)
G4VScoringMesh * GetCurrentMesh() const
void SetCenterPosition(G4double centerPosition[3])
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 MeshBinCommand(G4VScoringMesh *mesh, G4TokenVec &token)
void SetFloatingMinMax(G4bool vl=true)
void FillTokenVec(G4String newValues, G4TokenVec &token)
void SetVerboseLevel(G4int vl)
void RegisterScoringMesh(G4VScoringMesh *scm)
G4GLOB_DLL std::ostream G4cerr