45 :
46 fpASCIITree(ASCIITree) {
47
49
51 fpDirectory -> SetGuidance ("Commands for ASCIITree control.");
52
54 fpDirectorySet -> SetGuidance ("Settings for ASCIITree control.");
55
58 (" < 10: - does not print daughters of repeated placements,"
59 " does not repeat replicas.");
61 (" >= 10: prints all physical volumes.");
63 ("The level of detail is given by verbosity%10:");
65 ("for each volume:");
67 (" >= 0: physical volume name.");
69 (" >= 1: logical volume name (and names of sensitive detector"
70 " and readout geometry, if any).");
72 (" >= 2: solid name and type.");
74 (" >= 3: volume and density.");
76 (" >= 5: daughter-subtracted volume and mass.");
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 to a"
87 " particular depth:");
89 (" /vis/open ATree");
91 (" /vis/ASCIITree/verbose 14");
93 (" /vis/scene/create");
95 (" /vis/scene/add/volume <subtree-physical-volume> ! <depth>");
97 (" /vis/sceneHandler/attach");
99 (" /vis/viewer/flush");
102 }
103 fpCommandVerbose -> SetParameterName ("verbosity",omitable = true);
104 fpCommandVerbose -> SetDefaultValue(0);
105
107);
108 fpCommandSetOutFile -> SetGuidance ("Set name of output file.");
109 fpCommandSetOutFile -> SetParameterName ("out-filename",
110 omitable = true);
111 fpCommandSetOutFile -> SetDefaultValue ("G4cout");
112}
static std::vector< G4String > fVerbosityGuidance