202
209
Position <xsl:value-of select="Position/@x"/><xsl:text> </xsl:text><xsl:value-of select="Position/@y"/><xsl:text> </xsl:text><xsl:value-of select="Position/@z"/><xsl:text> </xsl:text><xsl:value-of select="Position/@units"/>
203
210
Rotation <xsl:value-of select="Rotation/@x"/><xsl:text> </xsl:text><xsl:value-of select="Rotation/@y"/><xsl:text> </xsl:text><xsl:value-of select="Rotation/@z"/><xsl:text> </xsl:text><xsl:value-of select="Rotation/@units"/>
212
<xsl:when test="contains(FieldName/@name, 'D1') and boolean($run_number)">(-1.864e-3 + $D1Polarity*$D1Current*3.83e-3 + 3.04e-6*$D1Polarity*$D1Current*$D1Polarity*$D1Current + 5.69e-10*$D1Polarity*$D1Current*$D1Polarity*$D1Current*$D1Polarity*$D1Current)/(-0.5559)</xsl:when>
213
<xsl:when test="contains(FieldName/@name, 'D2') and boolean($run_number)">(-1.864e-3 + $D1Polarity*$D1Current*3.83e-3 + 3.04e-6*$D1Polarity*$D1Current*$D1Polarity*$D1Current + 5.69e-10*$D1Polarity*$D1Current*$D1Polarity*$D1Current*$D1Polarity*$D1Current)/(-0.5559)</xsl:when>
207
214
<xsl:otherwise><xsl:value-of select="ScaleFactor/@value"/></xsl:otherwise>
209
216
Volume <xsl:value-of select="Volume/@name"/>