44 :
45fpASCIITree(ASCIITree) {
46
48
50 fpDirectory -> SetGuidance ("Commands for ASCIITree control.");
51
53 fpDirectorySet -> SetGuidance ("Settings for ASCIITree control.");
54
57 (" < 10: notifies but does not print details of repeated volumes.");
59 (" >= 10: prints all physical volumes (touchables).");
61 ("The level of detail is given by verbosity%10:");
63 (" >= 0: physical volume name.");
65 (" >= 1: logical volume name (and names of sensitive detector"
66 " and readout geometry, if any).");
68 (" >= 2: solid name and type.");
70 (" >= 3: volume and density.");
72 (" >= 5: daughter-subtracted volume and mass.");
74 (" >= 6: physical volume dump.");
76 (" >= 7: polyhedron dump.");
78 ("and in the summary at the end of printing:");
80 (" >= 4: daughter-included mass of top physical volume(s) in scene"
81 " to depth specified.");
83 ("Note: by default, culling is switched off so all volumes are seen.");
85 ("Note: the mass calculation takes into account daughters, which can be"
86 " time consuming. If you want the mass of a particular subtree try:");
88 (" /vis/drawTree <subtree-physical-volume-name>");
90 ("Or if you want more control, for example:");
92 (" /vis/open ATree");
94 (" /vis/ASCIITree/verbose 14");
96 (" /vis/scene/create");
98 (" /vis/scene/add/volume <subtree-physical-volume-name> ! <depth>");
100 (" /vis/sceneHandler/attach");
102 (" /vis/viewer/flush");
104 ("Note: dumping the physical volumes produces a lot of output. It is"
105 " advisable to select the volume of interest, as for a sub-tree above.");
108 }
109 fpCommandVerbose -> SetParameterName ("verbosity",omitable = true);
110 fpCommandVerbose -> SetDefaultValue(1);
111
113);
114 fpCommandSetOutFile -> SetGuidance ("Set name of output file.");
115 fpCommandSetOutFile -> SetParameterName ("out-filename",
116 omitable = true);
117 fpCommandSetOutFile -> SetDefaultValue ("G4cout");
118}
static std::vector< G4String > fVerbosityGuidance