Skip to content

Commit

Permalink
adding config files (#792)
Browse files Browse the repository at this point in the history
This PR adds a config file for the digitization (smearing first) and updates the binning of the ProtoMaterial at construction.
  • Loading branch information
asalzburger committed May 4, 2021
1 parent 45e5289 commit 8ce0f88
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 18 deletions.
87 changes: 87 additions & 0 deletions thirdparty/OpenDataDetector/config/odd-digi-smearing-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"acts-geometry-hierarchy-map" : {
"format-version" : 0,
"value-identifier" : "digitization-configuration"
},
"entries"
: [
{
"volume" : 12,
"value" : {
"smearing" : [
{"index" : 0, "mean" : 0.0, "stddev" : 0.015, "type" : "Gauss"},
{"index" : 1, "mean" : 0.0, "stddev" : 0.015, "type" : "Gauss"}
]
}
},
{
"volume" : 13,
"value" : {
"smearing" : [
{"index" : 0, "mean" : 0.0, "stddev" : 0.015, "type" : "Gauss"},
{"index" : 1, "mean" : 0.0, "stddev" : 0.015, "type" : "Gauss"}
]
}
},
{
"volume" : 14,
"value" : {
"smearing" : [
{"index" : 0, "mean" : 0.0, "stddev" : 0.015, "type" : "Gauss"},
{"index" : 1, "mean" : 0.0, "stddev" : 0.015, "type" : "Gauss"}
]
}
},
{
"volume" : 17,
"value" : {
"smearing" : [
{"index" : 0, "mean" : 0.0, "stddev" : 0.043, "type" : "Gauss"},
{"index" : 1, "mean" : 0.0, "stddev" : 1.2, "type" : "Gauss"}
]
}
},
{
"volume" : 18,
"value" : {
"smearing" : [
{"index" : 0, "mean" : 0.0, "stddev" : 0.043, "type" : "Gauss"},
{"index" : 1, "mean" : 0.0, "stddev" : 1.2, "type" : "Gauss"}
]
}
},
{
"volume" : 19,
"value" : {
"smearing" : [
{"index" : 0, "mean" : 0.0, "stddev" : 0.043, "type" : "Gauss"},
{"index" : 1, "mean" : 0.0, "stddev" : 1.2, "type" : "Gauss"}
]
}
},
{
"volume" : 22,
"value" : {
"smearing" : [
{"index" : 0, "mean" : 0.0, "stddev" : 0.072, "type" : "Gauss"}
]
}
},
{
"volume" : 23,
"value" : {
"smearing" : [
{"index" : 0, "mean" : 0.0, "stddev" : 0.072, "type" : "Gauss"}
]
}
},
{
"volume" : 24,
"value" : {
"smearing" : [
{"index" : 0, "mean" : 0.0, "stddev" : 0.072, "type" : "Gauss"}
]
}
}
]
}
36 changes: 18 additions & 18 deletions thirdparty/OpenDataDetector/xml/OpenDataDetector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,32 +63,32 @@
<constant name="mat_bp_bPhi" value="1"/>
<constant name="mat_bp_bZ" value="10"/>
<!-- pixel section -->
<constant name="mat_pix_barrel_bPhi" value="1"/>
<constant name="mat_pix_barrel_bPhi" value="72"/>
<constant name="mat_pix_barrel_bZ" value="200"/>
<constant name="mat_pix_endcap_bPhi" value="1"/>
<constant name="mat_pix_endcap_bR" value="25"/>
<constant name="mat_pix_outer_bPhi" value="1"/>
<constant name="mat_pix_endcap_bPhi" value="72"/>
<constant name="mat_pix_endcap_bR" value="150"/>
<constant name="mat_pix_outer_bPhi" value="72"/>
<constant name="mat_pix_outer_bZ" value="250"/>
<constant name="mat_pix_inter_bR" value="25"/>
<constant name="mat_pix_inter_bPhi" value="1"/>
<constant name="mat_pix_inter_bR" value="50"/>
<constant name="mat_pix_inter_bPhi" value="72"/>
<!-- short strip section -->
<constant name="mat_sst_barrel_bPhi" value="1"/>
<constant name="mat_sst_barrel_bPhi" value="72"/>
<constant name="mat_sst_barrel_bZ" value="150"/>
<constant name="mat_sst_endcap_bPhi" value="1"/>
<constant name="mat_sst_endcap_bR" value="25"/>
<constant name="mat_sst_endcap_bPhi" value="72"/>
<constant name="mat_sst_endcap_bR" value="150"/>
<constant name="mat_sst_outer_bZ" value="150"/>
<constant name="mat_sst_outer_bPhi" value="1"/>
<constant name="mat_sst_outer_bPhi" value="72"/>
<constant name="mat_sst_inter_bR" value="25"/>
<constant name="mat_sst_inter_bPhi" value="1"/>
<constant name="mat_sst_inter_bPhi" value="72"/>
<!-- long strip section -->
<constant name="mat_lst_barrel_bPhi" value="1"/>
<constant name="mat_lst_barrel_bZ" value="100"/>
<constant name="mat_lst_endcap_bPhi" value="1"/>
<constant name="mat_lst_endcap_bR" value="25"/>
<constant name="mat_lst_barrel_bPhi" value="72"/>
<constant name="mat_lst_barrel_bZ" value="250"/>
<constant name="mat_lst_endcap_bPhi" value="72"/>
<constant name="mat_lst_endcap_bR" value="100"/>
<constant name="mat_lst_outer_bZ" value="75"/>
<constant name="mat_lst_outer_bPhi" value="1"/>
<constant name="mat_lst_inter_bR" value="25"/>
<constant name="mat_lst_inter_bPhi" value="1"/>
<constant name="mat_lst_outer_bPhi" value="72"/>
<constant name="mat_lst_inter_bR" value="100"/>
<constant name="mat_lst_inter_bPhi" value="72"/>
</define>

<display>
Expand Down

0 comments on commit 8ce0f88

Please sign in to comment.