Thursday, May 29, 2008

GraXML shows TRT









TRT export from Atlantis to GraXML
Support for TRT has been added to GraXML. Both standalone GraXML and Atlantis3D+GraXML can show TRT straws. Staws can be drawn as lines or cylinders. Unless user modifies TRT representation options (shown below), only straws over threshold are shown and line representation is used when there are more then 50 straws to show.


import net.hep.atlas.graphics.JiveEvent.GeometricModel.Reps.TRT;
TRT.asCylinders(boolen cylinders); // default = false
TRT.asLines(boolean lines); // default = false
TRT.setThresholdCut(boolean thresholdCut); // default = true
TRT.drawBarrel(boolean barrel); // default = true
TRT.drawEndcap(boolean endcap); // default = true

No comments:

Post a Comment