HowTo play with geometry/look at the specific subdetector |
First I had a look at the script evd, which we usually run as
evd [file name]
The part concerning Geometry manager is:
mod talk GeometryManager
DetectorMenu
enableAll set true
exit
exit
So, we try to enable _all_ detector components for the Event Display.
Let us try to run evd.exe manually
evd.exe
AC++> mod talk GeometryManager
GeometryManager> show
Current value of item(s) in the "GeometryManager" module:
Value of parmSetName for module GeometryManager is UNKN
Value of verbose for module GeometryManager is false
Value of production for module GeometryManager is false
Current value of items on the "DetectorMenu" menu:
Value of enableB4 for module GeometryManager is false
Value of enableBeamBox for module GeometryManager is false
Value of enableSimpleSvx for module GeometryManager is false
Value of enableSvx for module GeometryManager is true
Value of enableCot for module GeometryManager is true
Value of enableMuon for module GeometryManager is true
Value of enableCalor for module GeometryManager is true
Value of enableClc for module GeometryManager is false
Value of enableTof for module GeometryManager is false
Value of enableStripChamber for module GeometryManager is true
Value of enablePassive for module GeometryManager is false
Value of enableBeampipeC for module GeometryManager is false
Value of enableBeampipe for module GeometryManager is false
Value of enableCPR for module GeometryManager is true
Value of enableAll for module GeometryManager is false
Current value of items on the "SiliconGeometryMenu" menu:
Value of AlignmentSource for module GeometryManager is none
Value of BuildPassive for module GeometryManager is false
Current value of items on the "Cot" menu:
Value of run1CTCGeometry for module GeometryManager is false
Value of run1CTCData for module GeometryManager is true
Current value of items on the "MuonGeometryMenu" menu:
Value of CMPGeometry for module GeometryManager is true
Value of CMUGeometry for module GeometryManager is true
Value of CMXGeometry for module GeometryManager is true
Value of IMUGeometry for module GeometryManager is false
Current value of items on the "PrintMenu" menu:
Value of printSvx for module GeometryManager is false
Value of printCot for module GeometryManager is false
Value of printMuon for module GeometryManager is false
Value of printCalor for module GeometryManager is false
Value of printStripChamber for module GeometryManager is false
Value of printCPR for module GeometryManager is false
Value of printAll for module GeometryManager is false
Value of printTree for module GeometryManager is false
Value of uniformField for module GeometryManager is false
Value of Bfield for module GeometryManager is 14.116
GeometryManager>
then
GeometryManager> DetectorMenu
GeometryManager/DetectorMenu> enableAll set true
GeometryManager/DetectorMenu> exit
I set true for showing all detector subsystems, but some of them have
internal structure(subdetectors) with their own flags. So I did:
GeometryManager> MuonGeometryMenu
GeometryManager/MuonGeometryMenu> CMPGeometry set false
GeometryManager/MuonGeometryMenu> CMUGeometry set false
GeometryManager/MuonGeometryMenu> CMXGeometry set false
GeometryManager/MuonGeometryMenu> IMUGeometry set true
GeometryManager/MuonGeometryMenu> exit
GeometryManager> exit
AC++>
to see IMU geometry.
Ok, then I talked to DHInput:
AC++> talk DHInput
DHInput> input file /cdf/scratch/loginov/data/ab01bb64.005bphys
DHInput> exit
then I run EventDisplay
root
begin(1)
I decided to look only at the muon geometry(see help pages for further
explanations)
so I issued the following command:
root [1] TCdfDisplay* d = new TCdfDisplay("MUON",TEdGeometry::MUON);
Here is a sample picture of the IMU geometry
(click here to enlarge) Experts' section If you want to changes visibilities of some detector components, choose "Inspect" menu, then go to "Start Browser", click "root", then click "Geometries", "cdf"(or any Geometry you've created - SVX, MUON, CLC, CLC_SVX), "Nodes", "cdfDetector". You will see a list of nodes. When clicking with the RIGHT mouse button, you'll get pop-up menu, choose SetVisibility option to set visibility for the detector component. *-*-*-*-*-*-*Set visibility for this node and its sons *-*-*-*-*--*-*-*-* *-* ========================================= *-* visibility = 3 node is drawn and its sons are drawn *-* visibility = 2 node is not drawn but its sons are drawn *-* visibility = 1 (default) node is drawn *-* visibility = 0 node is not drawn *-* visibility = -1 node is not drawn. Its sons are not drawn *-* visibility = -2 node is drawn. Its sons are not drawn *-* visibility = -3 Only node leaves are drawn *-* visibility = -4 Node is not drawn. Its immediate sons are drawn *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* For example, if you want to see only CMU muon detector, 1.set visibility for cdfDetector -1, 2.set visibility for cdfDetector 0, 3.set visibility for Muon Container -3. Make the picture to be updated - for example, click "Next". Run evd and have a look at the help CDF ED Manager -> Help -> CDF 3D for run-time information how to play with geometry. |