~durga/maus/1439-debug

« back to all changes in this revision

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

  • Committer: Durga Rajaram
  • Date: 2015-07-31 22:22:19 UTC
  • mfrom: (880.2.10 1439)
  • Revision ID: durga@fnal.gov-20150731222219-fg1k2eewtqwmoxbl
debugging merged from ryan-bayes/maus/1439

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
                </xsl:for-each>
191
191
                
192
192
                
193
 
                                    Module Virtuals
194
 
                            {
195
 
                               Volume None
196
 
                               Position 0.0 0.0 0.0+0.1*@RepeatNumber m
197
 
                               PropertyString SensitiveDetector Virtual
198
 
                               PropertyBool RepeatModule2 True
199
 
                               PropertyInt NumberOfRepeats 240
200
 
                            }
 
193
                // Module Virtuals
 
194
                //         {
 
195
                // Volume None
 
196
                // Position 0.0 0.0 0.0+0.1*@RepeatNumber m
 
197
                //                PropertyString SensitiveDetector Virtual
 
198
                //               PropertyBool RepeatModule2 True
 
199
                //               PropertyInt NumberOfRepeats 240
 
200
                //            }
201
201
                            
202
202
                            // Detectors
203
203
                            <xsl:for-each select="MICE_Information/Detector_Information/*/*/physvol">
222
222
                <xsl:for-each select="MICE_Information/G4Field_Information/Dipole">
223
223
                            Module <xsl:value-of select="FieldName/@name"/>
224
224
                            {
 
225
                            PropertyString FieldName <xsl:value-of select="FieldName/@name"/>
225
226
                            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"/> 
226
227
                            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"/>
227
228
                            ScaleFactor <xsl:choose>
241
242
                            <xsl:variable name="QuadName" select="FieldName/@name"/>
242
243
                            Module <xsl:value-of select="$QuadName"/>
243
244
                            {
 
245
                            PropertyString FieldName <xsl:value-of select="$QuadName"/>
244
246
                            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"/> 
245
247
                            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"/>
246
248
                            ScaleFactor <xsl:value-of select="ScaleFactor/@value"/>
271
273
                <xsl:for-each select="MICE_Information/G4Field_Information/Solenoid">
272
274
                            Module <xsl:value-of select="FieldName/@name"/>
273
275
                            {
 
276
                            PropertyString FieldName <xsl:value-of select="FieldName/@name"/>
274
277
                            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"/>
275
278
                            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"/>
276
279
                            Volume <xsl:value-of select="Volume/@name"/>
301
304
            </body>
302
305
        </html>
303
306
    </xsl:template>
304
 
</xsl:stylesheet>
 
 
b'\\ No newline at end of file'
 
307
</xsl:stylesheet>