Skip to content
Snippets Groups Projects
Commit 0d32e8e5 authored by fangwx@ihep.ac.cn's avatar fangwx@ihep.ac.cn
Browse files

update CEPCv4 ECAL and HCAL xml

parent 6bc9d2d2
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<readouts> <readouts>
<readout name="EcalEndcapRingCollection"> <readout name="EcalEndcapRingCollection">
<segmentation type="CartesianGridXY" grid_size_x="Ecal_cells_size" grid_size_y="Ecal_cells_size"/> <segmentation type="CartesianGridXY" grid_size_x="Ecal_cells_size" grid_size_y="Ecal_cells_size" offset_x= "-5.104248046875*mm" offset_y= "5.104248046875*mm"/>
<id>system:5,module:3,stave:4,tower:3,layer:6,x:32:-16,y:-16</id> <id>system:5,module:3,stave:4,tower:3,layer:6,x:32:-16,y:-16</id>
</readout> </readout>
</readouts> </readouts>
......
...@@ -80,8 +80,8 @@ ...@@ -80,8 +80,8 @@
<readouts> <readouts>
<readout name="EcalEndcapsCollection"> <readout name="EcalEndcapsCollection">
<segmentation type="MegatileLayerGridXY" grid_size_x="10.1667*mm" grid_size_y="10.1667*mm"/> <segmentation type="WaferGridXY" grid_size_x="10.1667*mm" grid_size_y="10.1667*mm" offset_x="2*mm" offset_y="-1.0999755859375*mm"/>
<id>system:5,module:3,stave:4,tower:5,layer:6,wafer:6,cellX:32:-16,cellY:-16</id> <id>system:5,module:3,stave:4,tower:5,layer:6,wafer:6,x:32:-16,y:-16</id>
</readout> </readout>
</readouts> </readouts>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<readouts> <readouts>
<readout name="HcalBarrelCollection"> <readout name="HcalBarrelCollection">
<segmentation type="CartesianGridYZ" grid_size_y="Hcal_cells_size" grid_size_z="Hcal_cells_size"/> <segmentation type="CartesianGridYZ" grid_size_y="Hcal_cells_size" grid_size_z="Hcal_cells_size" offset_y="-3.20001220703125*mm"/>
<id>system:5,module:3,stave:3,tower:5,layer:6,slice:4,y:32:-16,z:-16</id> <id>system:5,module:3,stave:3,tower:5,layer:6,slice:4,y:32:-16,z:-16</id>
</readout> </readout>
</readouts> </readouts>
......
...@@ -226,21 +226,23 @@ static Ref_t create_detector(Detector& theDetector, xml_h element, SensitiveDete ...@@ -226,21 +226,23 @@ static Ref_t create_detector(Detector& theDetector, xml_h element, SensitiveDete
cout << "Hcal_Endcap: inner_thickness= " << inner_thickness << endl; cout << "Hcal_Endcap: inner_thickness= " << inner_thickness << endl;
cout << "Hcal_Endcap: outer_thickness= " << thickness_sum << endl; cout << "Hcal_Endcap: outer_thickness= " << thickness_sum << endl;
} }
LayeredCalorimeterData::Layer caloLayer ; if(stave_id==1){// only for one stave is good.
caloLayer.cellSize0 = cell_sizeX; LayeredCalorimeterData::Layer caloLayer ;
caloLayer.cellSize1 = cell_sizeY; caloLayer.cellSize0 = cell_sizeX;
caloLayer.inner_nRadiationLengths = nRadiationLengthsInside; caloLayer.cellSize1 = cell_sizeY;
caloLayer.inner_nInteractionLengths = nInteractionLengthsInside; caloLayer.inner_nRadiationLengths = nRadiationLengthsInside;
caloLayer.inner_thickness = inner_thickness; caloLayer.inner_nInteractionLengths = nInteractionLengthsInside;
caloLayer.sensitive_thickness = sensitive_thickness; caloLayer.inner_thickness = inner_thickness;
caloLayer.outer_nRadiationLengths = nRadiationLengths; caloLayer.sensitive_thickness = sensitive_thickness;
caloLayer.outer_nInteractionLengths = nInteractionLengths; caloLayer.outer_nRadiationLengths = nRadiationLengths;
caloLayer.outer_thickness = thickness_sum; caloLayer.outer_nInteractionLengths = nInteractionLengths;
caloLayer.outer_thickness = thickness_sum;
caloLayer.distance = Hcal_start_z + (layer_id-1)*layerThickness;
caloLayer.absorberThickness = Hcal_radiator_thickness ; caloLayer.distance = Hcal_start_z + (layer_id-1)*layerThickness;
caloLayer.absorberThickness = Hcal_radiator_thickness ;
caloData->layers.push_back( caloLayer ) ;
caloData->layers.push_back( caloLayer ) ;
}
} }
} }
......
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