diff --git a/Geometry/HGCalCommonData/data/TB181/Oct181/ahcal.xml b/Geometry/HGCalCommonData/data/TB181/Oct181/ahcal.xml
new file mode 100644
index 0000000000000..d1057e7f5e7cf
--- /dev/null
+++ b/Geometry/HGCalCommonData/data/TB181/Oct181/ahcal.xml
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ahcal:Steel235, materials:Air, ahcal:Steel235, ahcal:CFM, ahcal:PCB,
+ ahcal:Polystyrole, ahcal:Polystyrene, ahcal:Steel235, ahcal:Steel235
+
+ AHcalRadiator, AHcalAirGap, AHcalCassette, AHcalCable, AHcalPCB,
+ AHcalFoil, AHcalActive, AHcalAbsorber, AHcalAbsorberLastCover
+
+ [ahcal:radiatorThick], [ahcal:airgapThick], [ahcal:cassetteThick],
+ [ahcal:cableThick], [ahcal:pcbThick], [ahcal:foilThick],
+ [ahcal:scintThick], [ahcal:absorberThick], 5.0*mm
+
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11
+
+ 19.6*mm, 81.5*mm, 81.5*mm, 81.5*mm, 81.5*mm, 81.5*mm, 81.5*mm, 81.5*mm,
+ 81.5*mm, 81.5*mm, 81.5*mm, 86.5*mm
+
+ 7, 1, 2, 3, 4, 5, 6, 5, 2, 1, 0, 1, 2, 3, 4, 5, 6, 5, 2, 1,
+ 0, 1, 2, 3, 4, 5, 6, 5, 2, 1, 0, 1, 2, 3, 4, 5, 6, 5, 2, 1,
+ 0, 1, 2, 3, 4, 5, 6, 5, 2, 1, 0, 1, 2, 3, 4, 5, 6, 5, 2, 1,
+ 0, 1, 2, 3, 4, 5, 6, 5, 2, 1, 0, 1, 2, 3, 4, 5, 6, 5, 2, 1,
+ 0, 1, 2, 3, 4, 5, 6, 5, 2, 1, 0, 1, 2, 3, 4, 5, 6, 5, 2, 1,
+ 0, 1, 2, 3, 4, 5, 6, 5, 2, 1, 0, 1, 2, 3, 4, 5, 6, 5, 2, 1, 8
+
+
+ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0
+
+
+ [ahcal:passiveWidth], [ahcal:activeWidth]
+
+ [ahcal:passiveHeight], [ahcal:activeHeight]
+
+ 12, 12
+
+ [ahcal:tileGap], [ahcal:tileGap]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Geometry/HGCalCommonData/data/TB181/Oct181/hgcal.xml b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcal.xml
new file mode 100644
index 0000000000000..061f4b042ddf6
--- /dev/null
+++ b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcal.xml
@@ -0,0 +1,223 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalBeam.xml b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalBeam.xml
new file mode 100644
index 0000000000000..b2f6738453afd
--- /dev/null
+++ b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalBeam.xml
@@ -0,0 +1,430 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalCons.xml b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalCons.xml
new file mode 100644
index 0000000000000..f11800f6de7f7
--- /dev/null
+++ b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalCons.xml
@@ -0,0 +1,399 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalEE.xml b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalEE.xml
new file mode 100644
index 0000000000000..272bd1fe25e2f
--- /dev/null
+++ b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalEE.xml
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ hgcalwafer:HGCalEEWaferFine, hgcalwafer:HGCalEEWaferCoarse
+
+ hgcal:HGCalEEPCB, hgcal:HGCalEEKapton, hgcal:HGCalEEAbsorber,
+ hgcal:HGCalEECuAbsorber, hgcal:HGCalEEAbsorber48To63,
+ hgcal:HGCalEEAbsorber52To70, hgcal:HGCalEEAbsorber59To62,
+ hgcal:HGCalEEAbsorber68To74, hgcal:HGCalEECuKapton,
+ hgcal:HGCalEECuPCB
+
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:StainlessSteel,
+ materials:Lead,materials:Copper, materials:Air,
+ materials:Aluminium, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:Air,
+ materials:Iron, materials:Air, materials:Air,
+ materials:Air
+
+ EEPCB, EEKapton, EECuWShield,
+ EECuShield, EECuWShield48To63, EECuWShield52To70,
+ EECuWShield59To62, EECuWShield68To74, EEFeAbsorber,
+ EEPbAbsorber, EECuHeatShield,EESensitive,
+ EEAlcase, EEgap1, EEgap2,
+ EEgap3, EEgap4, EEgap5,
+ EEgap6, EEgap7, EEgap8,
+ EEgap9, EEgap10, EEgap11,
+ EEFHAbs, EECuKapton, EECuPCB,
+ EEgap12
+
+ [hgcal:thPCB], [hgcal:thKapton], [hgcal:thAbsEE],
+ [hgcal:thAbsCuEE], [hgcal:thAbsEE48To63], [hgcal:thAbsEE52To70],
+ [hgcal:thAbsEE59To62], [hgcal:thAbsEE68To74], 0.3*mm,
+ 4.9*mm, 6.0*mm, 0.10*mm,
+ 2.1*mm, 3.095*mm, 3.145*mm,
+ 3.7*mm, 4.7*mm, 5.5*mm,
+ 6.7*mm, 7.7*mm, 8.7*mm,
+ 9.5*mm, 10.09*mm, 119.7*mm,
+ 40*mm, [hgcal:thCuKapton], [hgcal:thCuPCB],
+ 44*mm
+
+ 23, 22, 22, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 3
+
+ 144.15*mm, 29.05*mm, 29.05*mm,
+ 30.05*mm, 30.05*mm, 30.05*mm,
+ 28.05*mm, 28.05*mm, 28.05*mm,
+ 28.05*mm, 32.25*mm, 35.05*mm,
+ 31.455*mm, 32.155*mm, 86.1*mm
+
+
+ 12, 23, 8, 9, 8, 16, 0, 26, 11, 11, 11, 25, 1, 2, 10, 2, 1, 25, 11, 11, 11, 26, 0,
+ 19, 8, 9, 8, 15, 0, 26, 11, 11, 11, 25, 1, 2, 10, 2, 1, 25, 11, 11, 11, 26, 0,
+ 19, 8, 9, 8, 15, 0, 26, 11, 11, 11, 25, 1, 2, 10, 2, 1, 25, 11, 11, 11, 26, 0,
+ 20, 8, 9, 8, 15, 0, 26, 11, 11, 11, 25, 1, 2, 10, 2, 1, 25, 11, 11, 11, 26, 0,
+ 20, 8, 9, 8, 15, 0, 26, 11, 11, 11, 25, 1, 2, 10, 2, 1, 25, 11, 11, 11, 26, 0,
+ 20, 8, 9, 8, 15, 0, 26, 11, 11, 11, 25, 1, 2, 10, 2, 1, 25, 11, 11, 11, 26, 0,
+ 18, 8, 9, 8, 15, 0, 26, 11, 11, 11, 25, 1, 2, 10, 2, 1, 25, 11, 11, 11, 26, 0,
+ 18, 8, 9, 8, 15, 0, 26, 11, 11, 11, 25, 1, 2, 10, 2, 1, 25, 11, 11, 11, 26, 0,
+ 18, 8, 9, 8, 15, 0, 26, 11, 11, 11, 25, 1, 2, 10, 2, 1, 25, 11, 11, 11, 26, 0,
+ 18, 8, 9, 8, 15, 0, 26, 11, 11, 11, 25, 1, 2, 10, 2, 1, 25, 11, 11, 11, 26, 0,
+ 18, 8, 9, 8, 17, 0, 26, 11, 11, 11, 25, 1, 3, 2, 10, 2, 3, 1, 25, 11, 11, 11, 26, 0,
+ 21, 8, 9, 8, 17, 0, 26, 11, 11, 11, 25, 1, 3, 2, 10, 2, 3, 1, 25, 11, 11, 11, 26, 0,
+ 21, 8, 9, 8, 14, 0, 26, 11, 11, 11, 25, 1, 2, 4, 10, 5, 2, 1, 25, 11, 11, 11, 26, 0,
+ 22, 8, 9, 8, 13, 0, 26, 11, 11, 11, 25, 1, 2, 6, 10, 7, 2, 1, 25, 11, 11, 11, 26, 0,
+ 24, 27, 12
+
+
+ 0, 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 0, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 0, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 0, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 0, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 0, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 0, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 0, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 0, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 0, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 0, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 5, 4, 0, 4, 5, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 5, 4, 0, 4, 5, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 6, 0, 7, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0, 0, 0, 2, 11, 1, 1, 1, 10, 3, 4, 8, 0, 9, 4, 3, 10, 1, 1, 1, 11, 2,
+ 0, 0, 0
+
+
+
+
+
+
+
+
+
+ 0.0, 0.0
+
+ 0, 0
+
+ [hgcal:zminEE], [hgcal:zmaxEE]
+
+ [hgcal:rmaxEE], [hgcal:rmaxEE]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalHE.xml b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalHE.xml
new file mode 100644
index 0000000000000..b24e2aa74429e
--- /dev/null
+++ b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalHE.xml
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ hgcalwafer:HGCalHEWaferFine, hgcalwafer:HGCalHEWaferCoarse
+
+ hgcal:HGCalHEPCB, hgcal:HGCalHEKapton, hgcal:HGCalHEAbsorber,
+ hgcal:HGCalHECuAbsorber, hgcal:HGCalHEPCBAbsorber, hgcal:HGCalHECuKapton,
+ hgcal:HGCalHECuPCB
+
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:StainlessSteel,
+ materials:Copper, materials:Air, materials:StainlessSteel,
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air, materials:Air,
+ materials:Air, materials:Air
+
+
+ HEPCB, HEKapton, HECuWShield,
+ HECuShield, HEPCBShield, HEFeAbsorber,
+ HECuHeatShield, HESiliconSensitive, HEFeBox,
+ HEAirGap1, HEAirGap2, HEAirGap3,
+ HEAirGap4, HEAirGap5, HEAirGap6,
+ HEAirGap7, HEAirGap8, HEAirGap9,
+ HEAirGap10, HEAirGap11, HEAirGap12,
+ HEAirGap13, HEAirGap14, HEAirGap15,
+ HEAirGap16, HEAirGap17, HEAirGap18,
+ HECuKapton, HECuPCB
+
+
+ [hgcal:thPCB], [hgcal:thKapton], [hgcal:thAbsHE],
+ [hgcal:thAbsCuHE], [hgcal:thAbsPCBHE], 41*mm,
+ 6.0*mm, 0.1*mm, 9*mm,
+ 0.7*mm, 2.8*mm, 3.8*mm,
+ 4.8*mm, 6.8*mm, 7.0*mm,
+ 8.0*mm, 13*mm, 14.0*mm,
+ 15.0*mm, 16*mm, 17*mm,
+ 18*mm, 19*mm, 20*mm,
+ 36*mm, 52*mm, 190*mm,
+ [hgcal:thCuKapton], [hgcal:thCuPCB]
+
+
+ 11, 12, 13, 13, 10, 15, 12, 13, 13, 12, 12, 14
+
+ 19.275*mm, 69.275*mm, 68.075*mm,
+ 69.075*mm, 68.175*mm, 68.075*mm,
+ 33.275*mm, 75.075*mm, 75.075*mm,
+ 78.075*mm, 75.075*mm, 273.075*mm
+
+
+ 8, 0, 28, 7, 7, 7, 27, 1, 3, 3, 6,
+ 21, 5, 0, 28, 7, 7, 7, 27, 1, 3, 3, 6,
+ 16, 5, 11, 0, 28, 7, 7, 7, 27, 1, 3, 3, 6,
+ 18, 5, 10, 0, 28, 7, 7, 7, 27, 1, 3, 3, 6,
+ 20, 5, 0, 28, 7, 7, 7, 4, 3, 6,
+ 19, 5, 9, 0, 28, 7, 7, 7, 27, 1, 27, 1, 3, 3, 6,
+ 17, 8, 0, 28, 7, 7, 7, 27, 1, 3, 3, 6,
+ 20, 5, 13, 0, 28, 7, 7, 7, 27, 1, 3, 3, 6,
+ 22, 5, 12, 0, 28, 7, 7, 7, 27, 1, 2, 3, 6,
+ 23, 5, 15, 0, 28, 7, 7, 7, 27, 1, 2, 6,
+ 21, 5, 14, 0, 28, 7, 7, 7, 27, 1, 3, 6,
+ 20, 5, 14, 0, 28, 7, 7, 7, 27, 1, 3, 6, 26, 8
+
+
+ 0, 2, 8, 1, 1, 1, 7, 3, 5, 5, 0,
+ 0, 0, 2, 8, 1, 1, 1, 7, 3, 5, 5, 0,
+ 0, 0, 0, 2, 8, 1, 1, 1, 7, 3, 5, 5, 0,
+ 0, 0, 0, 2, 8, 1, 1, 1, 7, 3, 5, 5, 0,
+ 0, 0, 2, 8, 1, 1, 1, 6, 5, 0,
+ 0, 0, 0, 2, 8, 1, 1, 1, 7, 3, 7, 3, 5, 5, 0,
+ 0, 0, 2, 8, 1, 1, 1, 7, 3, 5, 5, 0,
+ 0, 0, 0, 2, 8, 1, 1, 1, 7, 3, 5, 5, 0,
+ 0, 0, 0, 2, 8, 1, 1, 1, 7, 3, 4, 5, 0,
+ 0, 0, 0, 2, 8, 1, 1, 1, 7, 3, 4, 0,
+ 0, 0, 0, 2, 8, 1, 1, 1, 7, 3, 5, 0,
+ 0, 0, 0, 2, 8, 1, 1, 1, 7, 3, 5, 0, 0, 0
+
+
+
+
+
+
+
+
+
+ 0.0, 0.0
+
+ 0, 0
+
+ [hgcal:zminHE], [hgcal:zmaxHE]
+
+ [hgcal:rmaxHE], [hgcal:rmaxHE]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalsense.xml b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalsense.xml
new file mode 100644
index 0000000000000..81888d5e3a8cb
--- /dev/null
+++ b/Geometry/HGCalCommonData/data/TB181/Oct181/hgcalsense.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Geometry/HGCalCommonData/data/TB181/cms.xml b/Geometry/HGCalCommonData/data/TB181/cms.xml
index 6fa29ac43cfa8..e56671bbae601 100644
--- a/Geometry/HGCalCommonData/data/TB181/cms.xml
+++ b/Geometry/HGCalCommonData/data/TB181/cms.xml
@@ -6,8 +6,8 @@
-
-
+
+
diff --git a/Geometry/HGCalCommonData/data/TB181/hgcProdCuts.xml b/Geometry/HGCalCommonData/data/TB181/hgcProdCuts.xml
new file mode 100644
index 0000000000000..a2c44f8c8fa0c
--- /dev/null
+++ b/Geometry/HGCalCommonData/data/TB181/hgcProdCuts.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SimG4CMS/HGCalTestBeam/python/HGCalTB181Oct1XML_cfi.py b/SimG4CMS/HGCalTestBeam/python/HGCalTB181Oct1XML_cfi.py
new file mode 100644
index 0000000000000..7d2a60e52591e
--- /dev/null
+++ b/SimG4CMS/HGCalTestBeam/python/HGCalTB181Oct1XML_cfi.py
@@ -0,0 +1,21 @@
+import FWCore.ParameterSet.Config as cms
+
+XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
+ geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/materials.xml',
+ 'Geometry/CMSCommonData/data/rotations.xml',
+ 'Geometry/HGCalCommonData/data/hgcalMaterial/v1/hgcalMaterial.xml',
+ 'Geometry/HGCalCommonData/data/TB181/cms.xml',
+ 'Geometry/HGCalCommonData/data/TB181/Oct181/hgcal.xml',
+ 'Geometry/HGCalCommonData/data/TB181/Oct181/hgcalEE.xml',
+ 'Geometry/HGCalCommonData/data/TB181/Oct181/hgcalHE.xml',
+ 'Geometry/HGCalCommonData/data/TB181/Oct181/ahcal.xml',
+ 'Geometry/HGCalCommonData/data/TB181/Oct181/hgcalBeam.xml',
+ 'Geometry/HGCalCommonData/data/hgcalwafer/v7/hgcalwafer.xml',
+ 'Geometry/HGCalCommonData/data/TB181/Oct181/hgcalsense.xml',
+ 'Geometry/HGCalCommonData/data/TB181/hgcProdCuts.xml',
+ 'Geometry/HGCalCommonData/data/TB181/Oct181/hgcalCons.xml'
+ ),
+ rootNodeName = cms.string('cms:OCMS')
+)
+
+
diff --git a/SimG4CMS/HGCalTestBeam/test/HGCalTBCERN181Oct_cfg.py b/SimG4CMS/HGCalTestBeam/test/HGCalTBCERN181Oct_cfg.py
new file mode 100644
index 0000000000000..dfe6617db91c7
--- /dev/null
+++ b/SimG4CMS/HGCalTestBeam/test/HGCalTBCERN181Oct_cfg.py
@@ -0,0 +1,97 @@
+import FWCore.ParameterSet.Config as cms
+
+process = cms.Process('SIM')
+
+# import of standard configurations
+process.load("FWCore.MessageService.MessageLogger_cfi")
+process.load('Configuration.StandardSequences.Services_cff')
+process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
+process.load('Configuration.EventContent.EventContent_cff')
+process.load('SimGeneral.MixingModule.mixNoPU_cfi')
+process.load('SimG4CMS.HGCalTestBeam.HGCalTB181Oct1XML_cfi')
+process.load('Geometry.HGCalCommonData.hgcalNumberingInitialization_cfi')
+process.load('Geometry.HGCalCommonData.hgcalParametersInitialization_cfi')
+process.load('Configuration.StandardSequences.MagneticField_0T_cff')
+process.load('Configuration.StandardSequences.Generator_cff')
+process.load('IOMC.EventVertexGenerators.VtxSmearedFlat_cfi')
+process.load('GeneratorInterface.Core.genFilterSummary_cff')
+process.load('Configuration.StandardSequences.SimIdeal_cff')
+process.load('Configuration.StandardSequences.EndOfProcess_cff')
+process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
+process.load('SimG4CMS.HGCalTestBeam.HGCalTBCheckGunPosition_cfi')
+
+process.maxEvents = cms.untracked.PSet(
+ input = cms.untracked.int32(10)
+)
+
+if 'MessageLogger' in process.__dict__:
+ process.MessageLogger.categories.append('HGCSim')
+ process.MessageLogger.categories.append('HcalSim')
+ process.MessageLogger.categories.append('HcalTB06BeamSD')
+
+# Input source
+process.source = cms.Source("EmptySource")
+
+process.options = cms.untracked.PSet(
+)
+
+# Production Info
+process.configurationMetadata = cms.untracked.PSet(
+ annotation = cms.untracked.string('SingleMuonE200_cfi nevts:10'),
+ name = cms.untracked.string('Applications'),
+ version = cms.untracked.string('$Revision: 1.19 $')
+)
+
+# Additional output definition
+process.TFileService = cms.Service("TFileService",
+ fileName = cms.string('TBGenSim.root')
+ )
+
+# Other statements
+process.genstepfilter.triggerConditions=cms.vstring("generation_step")
+from Configuration.AlCa.GlobalTag import GlobalTag
+process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
+
+process.generator = cms.EDProducer("FlatRandomEThetaGunProducer",
+ AddAntiParticle = cms.bool(False),
+ PGunParameters = cms.PSet(
+ MinE = cms.double(99.99),
+ MaxE = cms.double(100.01),
+ MinTheta = cms.double(0.0),
+ MaxTheta = cms.double(0.0),
+ MinPhi = cms.double(-3.14159265359),
+ MaxPhi = cms.double(3.14159265359),
+ PartID = cms.vint32(11)
+ ),
+ Verbosity = cms.untracked.int32(0),
+ firstRun = cms.untracked.uint32(1),
+ psethack = cms.string('single muon E 100')
+)
+process.VtxSmeared.MinZ = -800.0
+process.VtxSmeared.MaxZ = -800.0
+process.VtxSmeared.MinX = -7.5
+process.VtxSmeared.MaxX = 7.5
+process.VtxSmeared.MinY = -7.5
+process.VtxSmeared.MaxY = 7.5
+process.g4SimHits.HGCSD.RejectMouseBite = True
+process.g4SimHits.HGCSD.RotatedWafer = True
+
+# Path and EndPath definitions
+process.generation_step = cms.Path(process.pgen)
+process.gunfilter_step = cms.Path(process.HGCalTBCheckGunPostion)
+process.simulation_step = cms.Path(process.psim)
+process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
+process.endjob_step = cms.EndPath(process.endOfProcess)
+
+# Schedule definition
+process.schedule = cms.Schedule(process.generation_step,
+ process.genfiltersummary_step,
+ process.simulation_step,
+ process.gunfilter_step,
+ process.endjob_step,
+ )
+# filter all path with the production filter sequence
+for path in process.paths:
+ getattr(process,path)._seq = process.generator * getattr(process,path)._seq
+
+