![]() Start COJAC |
|
This is "COJAC" ... a demonstration geometry viewer for CMS DDD XML files. Click on the "Start COJAC" icon to
download and start the application. Overview ======== COJAC is a Java application that uses Java3D to render DDD volumes. To decode the XML data, COJAC uses JAXB from Sun's Web Services Developer Pack. Prerequisites ============= Java J2SE 1.4.2 or above Java3D 1.2 or above
(See the links above for download locations)
The full COJAC source is available.
Execution
=========
COJAC will start up automatically using the WebStart link above.
The DDD files are downloaded and the file "rotations.xml" and "cms.xml" files are read in. Various informational messages appear on the console if you have it enabled.
Here is a screen shot of the GUI, followed by brief instructions:
You can select which detectors to view by checking the appropriate boxes marked "Beam Tube", "Tracker" etc.
Click on the "Display Selected Detectors" button to have COJAC read the XML files and render the chosen detectors.
The "Side View", "End View", "Left" and "Right", "Zoom In" and "Zoom Out" buttons allow you to adjust your viewing position.
The "Lights Off/On" button toggles lighting.
The "Idle" button will start the detector slowly rotating and zooming in and out in random directions.
The "Dump" and "JPEG" buttons are temporarily disabled in this version.
The "Detectors" tree view control shows the hierarchy of currently selected detectors. You can expand or shrink the tree
by clicking on the small icons to the left of the detector names.
You can also toggle the visibility of any detector in the list by clicking on it.
The bottom most control contains some informational text related to the DDD XML parsing.
Let me know if you find bugs or would like to see new features.
Some planned developments:
Integration with Clarens
JPEG save
User-supplied list of DDD names that will be included in the scene if found in the DDD
Julian Bunn
Caltech Center for Advanced Computing Research
julian@cacr.caltech.edu
Showing the HCAL, VCAL and Beam Tube.
Showing the Muon Barrel and Endcaps
Showing the ECAL Barrel and Endcaps
Showing a cutaway of the Muon Barrel, the HCAL Barrel, the ECAL Barrel with the Beam Tube