forked from AIDASoft/DD4hep
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to load CAD files with relative path w/r to declaring xml file …
…(Issue 1166)
- Loading branch information
1 parent
1962f7d
commit 2ce75be
Showing
3 changed files
with
59 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<lccdd> | ||
<!-- #========================================================================== | ||
# AIDA Detector description implementation | ||
#========================================================================== | ||
# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) | ||
# All rights reserved. | ||
# | ||
# For the licensing terms see $DD4hepINSTALL/LICENSE. | ||
# For the list of contributors see $DD4hepINSTALL/doc/CREDITS. | ||
# | ||
#========================================================================== | ||
Test to verify functionality of loading CAD files with pathes relative | ||
to the declaring xml file. [See Issue 1166: Allow to give CAD files with | ||
relative paths similar to importing xml files (DDCAD) ] | ||
--> | ||
|
||
<includes> | ||
<gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/> | ||
</includes> | ||
|
||
<detectors> | ||
<detector id="1" name="Shape_MS3D" type="DD4hep_TestShape_Creator"> | ||
<check vis="Shape1_vis"> | ||
<shape type="CAD_MultiVolume" ref="../models/MS3D/jeep1.ms3d" unit="cm"/> | ||
</check> | ||
</detector> | ||
</detectors> | ||
</lccdd> |