Skip to content
Snippets Groups Projects
Commit 7a3a7870 authored by Maria Zurek's avatar Maria Zurek
Browse files

Set max number of layers to 20

parent c209fecd
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@
n_beams="3" grid_size="25.0*cm" >
</support>
</staves>
<layer repeat="EcalBarrel_ReadoutLayerNumber" vis="AnlBlue">
<layer repeat="min(EcalBarrel_ReadoutLayerNumber, EcalBarrelLayers_nMax)" vis="AnlBlue">
<slice material="Silicon" thickness="EcalBarrel_SiliconThickness" sensitive="yes" limits="cal_limits" vis="AnlGray"/>
<slice material="Silicon" thickness="EcalBarrel_ElectronicsThickness" vis="AnlGold"/>
<slice material="Copper" thickness="EcalBarrel_CopperThickness" vis="AnlGray"/>
......
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