Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
maxt@ihep.ac.cn
CEPCSW
Commits
64ecaf7a
Commit
64ecaf7a
authored
8 months ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
Test the geometry convert from DD4hep to TGeo
parent
89be6ef0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
Detector/DetCRD/CMakeLists.txt
+20
-10
20 additions, 10 deletions
Detector/DetCRD/CMakeLists.txt
Detector/DetCRD/compact/TDR_o1_v02/TDR_Dimensions_v01_02.xml
+3
-0
3 additions, 0 deletions
Detector/DetCRD/compact/TDR_o1_v02/TDR_Dimensions_v01_02.xml
with
25 additions
and
10 deletions
.gitlab-ci.yml
+
2
−
0
View file @
64ecaf7a
...
@@ -58,5 +58,7 @@ build:lcg:el7:
...
@@ -58,5 +58,7 @@ build:lcg:el7:
artifacts
:
artifacts
:
paths
:
paths
:
-
InstallArea
-
InstallArea
-
TDR_o1_v01.tgeo.root
-
TDR_o1_v02.tgeo.root
reports
:
reports
:
junit
:
build.${CEPCSW_LCG_VERSION}.${CEPCSW_LCG_PLATFORM}/cepcsw-ctest-result.xml
junit
:
build.${CEPCSW_LCG_VERSION}.${CEPCSW_LCG_PLATFORM}/cepcsw-ctest-result.xml
This diff is collapsed.
Click to expand it.
Detector/DetCRD/CMakeLists.txt
+
20
−
10
View file @
64ecaf7a
...
@@ -35,14 +35,24 @@ install(TARGETS DetCRD
...
@@ -35,14 +35,24 @@ install(TARGETS DetCRD
# Add tests
# Add tests
################################################################################
################################################################################
add_test
(
foreach
(
detoption TDR_o1_v01 TDR_o1_v02
)
NAME Test_TDR_o1_v01_Sim
add_test
(
COMMAND gaudirun.py Detector/DetCRD/scripts/TDR_o1_v01/sim.py
NAME Test_
${
detoption
}
_Sim
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
COMMAND gaudirun.py Detector/DetCRD/scripts/
${
detoption
}
/sim.py
)
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
)
add_test
(
add_test
(
NAME Test_TDR_o1_v01_Rec
NAME Test_
${
detoption
}
_Rec
COMMAND gaudirun.py Detector/DetCRD/scripts/TDR_o1_v01/tracking.py
COMMAND gaudirun.py Detector/DetCRD/scripts/
${
detoption
}
/tracking.py
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
)
)
add_test
(
NAME Test_
${
detoption
}
_DD4hep2TGeo
COMMAND geoConverter -compact2tgeo
-input Detector/DetCRD/compact/
${
detoption
}
/
${
detoption
}
.xml
-output
${
detoption
}
.tgeo.root
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
)
endforeach
()
This diff is collapsed.
Click to expand it.
Detector/DetCRD/compact/TDR_o1_v02/TDR_Dimensions_v01_02.xml
+
3
−
0
View file @
64ecaf7a
...
@@ -185,6 +185,9 @@
...
@@ -185,6 +185,9 @@
<limitset
name=
"cal_limits"
>
<limitset
name=
"cal_limits"
>
<limit
name=
"step_length_max"
particles=
"*"
value=
"5.0"
unit=
"mm"
/>
<limit
name=
"step_length_max"
particles=
"*"
value=
"5.0"
unit=
"mm"
/>
</limitset>
</limitset>
<limitset
name=
"tpc_limits"
>
<limit
name=
"step_length_max"
particles=
"*"
value=
"10.0"
unit=
"mm"
/>
</limitset>
<limitset
name=
"dc_limits"
>
<limitset
name=
"dc_limits"
>
<limit
name=
"step_length_max"
particles=
"*"
value=
"10.0"
unit=
"mm"
/>
<limit
name=
"step_length_max"
particles=
"*"
value=
"10.0"
unit=
"mm"
/>
</limitset>
</limitset>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment