~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_py/geometry/xsltScripts/MMTranslation.xsl

  • Committer: Durga Rajaram
  • Date: 2013-11-19 02:09:06 UTC
  • mfrom: (659.1.77 rc)
  • Revision ID: durga@fnal.gov-20131119020906-t2vxx4h2yr0f09tj
Tags: MAUS-v0.7.4
MAUS-v0.7.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
                <text>
22
22
                {</text>
23
23
                Volume TessellatedSolid
24
 
                PropertyString Material <xsl:choose><xsl:when test="contains(structure/volume/materialref/@ref, '9314') or contains(structure/volume/materialref/@ref, '9315') or contains(structure/volume/materialref/@ref, '9320') or contains(structure/volume/materialref/@ref, '9321') or contains(structure/volume/materialref/@ref, '9328') or contains(structure/volume/materialref/@ref, '9348')">STEEL304</xsl:when><xsl:when test="contains(structure/volume/materialref/@ref, '9318') or contains(structure/volume/materialref/@ref, '9325') or contains(structure/volume/materialref/@ref, '9347')">Cu</xsl:when><xsl:when test="contains(structure/volume/materialref/@ref, '9327') or contains(structure/volume/materialref/@ref, '9346')">Fe</xsl:when><xsl:when test="contains(structure/volume/materialref/@ref, '9323')">Al</xsl:when><xsl:otherwise>Galactic</xsl:otherwise></xsl:choose>
 
24
                PropertyString Material <xsl:choose><xsl:when test="contains(structure/volume/materialref/@ref, 'STEEL') or contains(structure/volume/materialref/@ref, '9314') or contains(structure/volume/materialref/@ref, '9315') or contains(structure/volume/materialref/@ref, '9320') or contains(structure/volume/materialref/@ref, '9321') or contains(structure/volume/materialref/@ref, '9328') or contains(structure/volume/materialref/@ref, '9348')">STEEL304</xsl:when><xsl:when test="contains(structure/volume/materialref/@ref, '9318') or contains(structure/volume/materialref/@ref, '9325') or contains(structure/volume/materialref/@ref, '9347') or contains(structure/volume/materialref/@ref, 'COPPER')  or contains(structure/volume/materialref/@ref, 'BRASS')">Cu</xsl:when><xsl:when test="contains(structure/volume/materialref/@ref, '9327') or contains(structure/volume/materialref/@ref, '9346') or contains(structure/volume/materialref/@ref, 'IRON')">Fe</xsl:when><xsl:when test="contains(structure/volume/materialref/@ref, '9323') or contains(structure/volume/materialref/@ref, 'ALUMINUM')">Al</xsl:when><xsl:when test="contains(structure/volume/materialref/@ref, 'G10')">PLEXIGLASS</xsl:when><xsl:when test="contains(structure/volume/materialref/@ref, 'POLYCARBONATE')">POLYCARBONATE</xsl:when><xsl:when test="contains(structure/volume/materialref/@ref, 'POLYSTYRENE')">POLYSTYRENE</xsl:when><xsl:otherwise>Galactic</xsl:otherwise></xsl:choose>
25
25
                <!--PropertyString SensitiveDetector EMR-->
26
26
                PropertyDouble BlueColour 0.75
27
27
                PropertyDouble GreenColour 0.3