Skip to content
Snippets Groups Projects
Commit d3450678 authored by Jihee Kim's avatar Jihee Kim
Browse files

Merge branch '43-dawn-view-ci-fix' into 'master'

Resolve "dawn view CI fix"

Closes #43

See merge request reference_detector!34
parents 7e746039 a8795b12
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<readouts> <readouts>
<readout name="MRICHHits"> <readout name="MRICHHits">
<segmentation type="CartesianGridXY" grid_size_x="3*mm" grid_size_y="3*mm" /> <segmentation type="CartesianGridXY" grid_size_x="3*mm" grid_size_y="3*mm" />
<id>system:8,layer:4,piece:4,module:14,x:32:-16,y:-16</id> <id>system:8,sector:8,module:14,x:32:-16,y:-16</id>
</readout> </readout>
</readouts> </readouts>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<readouts> <readouts>
<readout name="ffi_ZDC_Hits"> <readout name="ffi_ZDC_Hits">
<segmentation type="CartesianGridXY" grid_size_x="1.0*mm" grid_size_y="1.0*mm" /> <segmentation type="CartesianGridXY" grid_size_x="1.0*mm" grid_size_y="1.0*mm" />
<id>system:8,sector:6,module:6,x:32:-16,y:-16</id> <id>system:8,sector:8,module:14,x:32:-16,y:-16</id>
</readout> </readout>
</readouts> </readouts>
......
...@@ -70,7 +70,7 @@ static Ref_t createDetector(Detector& desc, xml_h e, SensitiveDetector sens) ...@@ -70,7 +70,7 @@ static Ref_t createDetector(Detector& desc, xml_h e, SensitiveDetector sens)
k++; k++;
string module_name = detName + _toString(k,"_ECAL_Phys_%d"); string module_name = detName + _toString(k,"_ECAL_Phys_%d");
PlacedVolume pv_mod = detVol.placeVolume(modVol, Position(mod_x,mod_y,mod_z)); PlacedVolume pv_mod = detVol.placeVolume(modVol, Position(mod_x,mod_y,mod_z));
pv_mod.addPhysVolID("sector", 1).addPhysVolID("module",k); pv_mod.addPhysVolID("sector", 1).addPhysVolID("module",k+1);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment