diff --git a/DBASE/general.param b/DBASE/general.param index 744fd47ed55fac2e69ca8f93e1cf2d8a5bb2ed61..4132af98959e4b2b59de0af5a1f70eb75b1b01f8 100644 --- a/DBASE/general.param +++ b/DBASE/general.param @@ -1,25 +1,39 @@ #real raddeg raddeg=3.14159265/180 -; -#include "PARAM/hcana.param" -; hmsflags.param include spectrometer offsets and options. -#include "PARAM/genflags.param" -#include "PARAM/hmsflags.param" -#include "PARAM/gdebug.param" -#include "PARAM/hdebug.param" -#include "PARAM/htracking.param" +; General Hall-C parameter files +#include "PARAM/GEN/genflags.param" +#include "PARAM/GEN/gdebug.param" +#include "PARAM/GEN/gtarget.param" +#include "PARAM/GEN/gbeam.param" -#include "PARAM/gtarget.param" -#include "PARAM/gbeam.param" -; -#include "PARAM/hdc_offsets.param" -#include "PARAM/hdc.pos" -#include "PARAM/hhodo.pos" -#include "PARAM/hcal.pos" -#include "PARAM/hhodo.param" -#include "PARAM/haero.param" -#include "PARAM/hdc.param" -#include "PARAM/hdriftmap.param" -#include "PARAM/hcal.param" -#include "PARAM/hcer.param" +; General HMS parameter files +; Note: hmsflags.param includes spectrometer offsets and options. +#include "PARAM/HMS/GEN/hcana.param" +#include "PARAM/HMS/GEN/hdebug.param" +#include "PARAM/HMS/GEN/hmsflags.param" +#include "PARAM/HMS/GEN/htracking.param" + +; HMS detector specific paramter files +#include "PARAM/HMS/AERO/haero.param" +#include "PARAM/HMS/CAL/hcal.pos" +#include "PARAM/HMS/CAL/hcal.param" +#include "PARAM/HMS/CER/hcer.param" +#include "PARAM/HMS/DC/hdc_offsets.param" +#include "PARAM/HMS/DC/hdc.pos" +#include "PARAM/HMS/DC/hdc.param" +#include "PARAM/HMS/DC/hdriftmap.param" +#include "PARAM/HMS/HODO/hhodo.pos" +#include "PARAM/HMS/HODO/hhodo.param" + +; General SHMS parameter files +; Note: shmsflags.param includes spectrometer offsets and options. +#include "PARAM/SHMS/GEN/pcana.param" +#include "PARAM/SHMS/GEN/pdebug.param" +#include "PARAM/SHMS/GEN/shmsflags.param" +#include "PARAM/SHMS/GEN/ptracking.param" + +; SHMS detector specific paramter files +#include "PARAM/SHMS/DC/pdc.pos" +#include "PARAM/SHMS/DC/pdc.param" +#include "PARAM/SHMS/DC/pdriftmap.param" diff --git a/DBASE/standard.database b/DBASE/standard.database index 361040192dbad1dfa9a98f96c860198c85e11ff4..4fd1440e04fe066990f6563268b26cae18f8cca0 100644 --- a/DBASE/standard.database +++ b/DBASE/standard.database @@ -1,4 +1,5 @@ 0-99999 g_ctp_parm_filename ="DBASE/general.param" g_decode_map_filename ="MAPS/HMS/hdc.map" +g_decode_map_filename ="MAPS/SHMS/pdc.map" g_ctp_kinematics_filename ="DBASE/standard.kinematics" diff --git a/DEF-files/hdcana.def b/DEF-files/HMS/DC/hdcana.def similarity index 100% rename from DEF-files/hdcana.def rename to DEF-files/HMS/DC/hdcana.def diff --git a/DEF-files/hdcana_cuts.def b/DEF-files/HMS/DC/hdcana_cuts.def similarity index 100% rename from DEF-files/hdcana_cuts.def rename to DEF-files/HMS/DC/hdcana_cuts.def diff --git a/DEF-files/SHMS/DC/pdcana.def b/DEF-files/SHMS/DC/pdcana.def new file mode 100644 index 0000000000000000000000000000000000000000..e08edbfb4effc82d7fa5b741c49017a1d59d89aa --- /dev/null +++ b/DEF-files/SHMS/DC/pdcana.def @@ -0,0 +1,63 @@ +# See $ANALYZER/examples/output_example.def for examples +# +block P.dc.* + +TH1F pdc1u1_wm 'PDC 1U1 Wiremap' P.dc.1u1.wirenum 107 0.5 107.5 +TH1F pdc1u2_wm 'PDC 1U2 Wiremap' P.dc.1u2.wirenum 107 0.5 107.5 +TH1F pdc1x1_wm 'PDC 1X1 Wiremap' P.dc.1x1.wirenum 79 0.5 79.5 +TH1F pdc1x2_wm 'PDC 1X2 Wiremap' P.dc.1x2.wirenum 79 0.5 79.5 +TH1F pdc1v1_wm 'PDC 1V1 Wiremap' P.dc.1v1.wirenum 107 0.5 107.5 +TH1F pdc1v2_wm 'PDC 1V2 Wiremap' P.dc.1v2.wirenum 107 0.5 107.5 + +TH1F pdc2v2_wm 'PDC 2V2 Wiremap' P.dc.2v2.wirenum 107 0.5 107.5 +TH1F pdc2v1_wm 'PDC 2V1 Wiremap' P.dc.2v1.wirenum 107 0.5 107.5 +TH1F pdc2x2_wm 'PDC 2X2 Wiremap' P.dc.2x2.wirenum 79 0.5 79.5 +TH1F pdc2x1_wm 'PDC 2X1 Wiremap' P.dc.2x1.wirenum 79 0.5 79.5 +TH1F pdc2u2_wm 'PDC 2U2 Wiremap' P.dc.2u2.wirenum 107 0.5 107.5 +TH1F pdc2u2_wm 'PDC 2U1 Wiremap' P.dc.2u1.wirenum 107 0.5 107.5 + +TH2F pdc1u1_wire_num_vs_raw_tdc 'PDC 1U1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.1u1.wirenum P.dc.1u1.rawtdc 107 0.5 107.5 5000 0 50000 +TH2F pdc1u2_wire_num_vs_raw_tdc 'PDC 1U2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.1u2.wirenum P.dc.1u2.rawtdc 107 0.5 107.5 5000 0 50000 +TH2F pdc1x1_wire_num_vs_raw_tdc 'PDC 1X1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.1x1.wirenum P.dc.1x1.rawtdc 79 0.5 79.5 5000 0 50000 +TH2F pdc1x2_wire_num_vs_raw_tdc 'PDC 1X2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.1x2.wirenum P.dc.1x2.rawtdc 79 0.5 79.5 5000 0 50000 +TH2F pdc1v1_wire_num_vs_raw_tdc 'PDC 1V1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.1v1.wirenum P.dc.1v1.rawtdc 107 0.5 107.5 5000 0 50000 +TH2F pdc1v2_wire_num_vs_raw_tdc 'PDC 1V2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.1v2.wirenum P.dc.1v2.rawtdc 107 0.5 107.5 5000 0 50000 + +TH2F pdc2v2_wire_num_vs_raw_tdc 'PDC 2V2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.2v2.wirenum P.dc.2v2.rawtdc 107 0.5 107.5 5000 0 50000 +TH2F pdc2v1_wire_num_vs_raw_tdc 'PDC 2V1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.2v1.wirenum P.dc.2v1.rawtdc 107 0.5 107.5 5000 0 50000 +TH2F pdc2x2_wire_num_vs_raw_tdc 'PDC 2X2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.2x2.wirenum P.dc.2x2.rawtdc 79 0.5 79.5 5000 0 50000 +TH2F pdc2x1_wire_num_vs_raw_tdc 'PDC 2X1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.2x1.wirenum P.dc.2x1.rawtdc 79 0.5 79.5 5000 0 50000 +TH2F pdc2u2_wire_num_vs_raw_tdc 'PDC 2U2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.2u2.wirenum P.dc.2u2.rawtdc 107 0.5 107.5 5000 0 50000 +TH2F pdc2u1_wire_num_vs_raw_tdc 'PDC 2U1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (clicks)' P.dc.2u1.wirenum P.dc.2u1.rawtdc 107 0.5 107.5 5000 0 50000 + +TH2F pdc1u1_wire_num_vs_tdc_time 'PDC 1U1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.1u1.wirenum P.dc.1u1.time 107 0.5 107.5 6000 -1000 5000 +TH2F pdc1u2_wire_num_vs_tdc_time 'PDC 1U2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.1u2.wirenum P.dc.1u2.time 107 0.5 107.5 6000 -1000 5000 +TH2F pdc1x1_wire_num_vs_tdc_time 'PDC 1X1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.1x1.wirenum P.dc.1x1.time 79 0.5 79.5 6000 -1000 5000 +TH2F pdc1x2_wire_num_vs_tdc_time 'PDC 1X2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.1x2.wirenum P.dc.1x2.time 79 0.5 79.5 6000 -1000 5000 +TH2F pdc1v1_wire_num_vs_tdc_time 'PDC 1V1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.1v1.wirenum P.dc.1v1.time 107 0.5 107.5 6000 -1000 5000 +TH2F pdc1v2_wire_num_vs_tdc_time 'PDC 1V2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.1v2.wirenum P.dc.1v2.time 107 0.5 107.5 6000 -1000 5000 + +TH2F pdc2v2_wire_num_vs_tdc_time 'PDC 2V2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.2v2.wirenum P.dc.2v2.time 107 0.5 107.5 6000 -1000 5000 +TH2F pdc2v1_wire_num_vs_tdc_time 'PDC 2V1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.2v1.wirenum P.dc.2v1.time 107 0.5 107.5 6000 -1000 5000 +TH2F pdc2x2_wire_num_vs_tdc_time 'PDC 2X2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.2x2.wirenum P.dc.2x2.time 79 0.5 79.5 6000 -1000 5000 +TH2F pdc2x1_wire_num_vs_tdc_time 'PDC 2X1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.2x1.wirenum P.dc.2x1.time 79 0.5 79.5 6000 -1000 5000 +TH2F pdc2u2_wire_num_vs_tdc_time 'PDC 2U2 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.2u2.wirenum P.dc.2u2.time 107 0.5 107.5 6000 -1000 5000 +TH2F pdc2u1_wire_num_vs_tdc_time 'PDC 2U1 Wiremap vs. Raw TDC; Wire Number; Raw TDC Value (ns)' P.dc.2u1.wirenum P.dc.2u1.time 107 0.5 107.5 6000 -1000 5000 + +TH2F pdc1u1_wire_num_vs_ddist 'PDC 1U1 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.1u1.wirenum P.dc.1u1.dist 107 0.5 107.5 300 -0.1 0.6 +TH2F pdc1u2_wire_num_vs_ddist 'PDC 1U2 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.1u2.wirenum P.dc.1u2.dist 107 0.5 107.5 300 -0.1 0.6 +TH2F pdc1x1_wire_num_vs_ddist 'PDC 1X1 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.1x1.wirenum P.dc.1x1.dist 79 0.5 79.5 300 -0.1 0.6 +TH2F pdc1x2_wire_num_vs_ddist 'PDC 1X2 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.1x2.wirenum P.dc.1x2.dist 79 0.5 79.5 300 -0.1 0.6 +TH2F pdc1v1_wire_num_vs_ddist 'PDC 1V1 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.1v1.wirenum P.dc.1v1.dist 107 0.5 107.5 300 -0.1 0.6 +TH2F pdc1v2_wire_num_vs_ddist 'PDC 1V2 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.1v2.wirenum P.dc.1v2.dist 107 0.5 107.5 300 -0.1 0.6 + +TH2F pdc2u2_wire_num_vs_ddist 'PDC 2U2 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.2u2.wirenum P.dc.2u2.dist 107 0.5 107.5 300 -0.1 0.6 +TH2F pdc2u1_wire_num_vs_ddist 'PDC 2U1 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.2u1.wirenum P.dc.2u1.dist 107 0.5 107.5 300 -0.1 0.6 +TH2F pdc2x2_wire_num_vs_ddist 'PDC 2X2 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.2x2.wirenum P.dc.2x2.dist 79 0.5 79.5 300 -0.1 0.6 +TH2F pdc2x1_wire_num_vs_ddist 'PDC 2X1 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.2x1.wirenum P.dc.2x1.dist 79 0.5 79.5 300 -0.1 0.6 +TH2F pdc2v2_wire_num_vs_ddist 'PDC 2V2 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.2v2.wirenum P.dc.2v2.dist 107 0.5 107.5 300 -0.1 0.6 +TH2F pdc2v1_wire_num_vs_ddist 'PDC 2V1 Wiremap vs. Raw TDC; Wire Number; Drift Distance (cm)' P.dc.2v1.wirenum P.dc.2v1.dist 107 0.5 107.5 300 -0.1 0.6 + + + + diff --git a/DEF-files/SHMS/DC/pdcana_cuts.def b/DEF-files/SHMS/DC/pdcana_cuts.def new file mode 100644 index 0000000000000000000000000000000000000000..5add84a3159e6f172fdc03285b01e56eac648310 --- /dev/null +++ b/DEF-files/SHMS/DC/pdcana_cuts.def @@ -0,0 +1,14 @@ +Block: RawDecode + +Pedestal_event 0 +RawDecode_master 1 + +Block: Decode +Decode_master 1 + +Block: CoarseTracking +CoarseTracking_master 1 + +Block: CoarseReconstruct +CourseReconstruct 0 + diff --git a/MAPS/HMS/db_crate1map.dat b/MAPS/HMS/CRATE/db_crate1map.dat similarity index 100% rename from MAPS/HMS/db_crate1map.dat rename to MAPS/HMS/CRATE/db_crate1map.dat diff --git a/MAPS/HMS/db_crate3map.dat b/MAPS/HMS/CRATE/db_crate3map.dat similarity index 100% rename from MAPS/HMS/db_crate3map.dat rename to MAPS/HMS/CRATE/db_crate3map.dat diff --git a/MAPS/HMS/db_crate5map.dat b/MAPS/HMS/CRATE/db_crate5map.dat similarity index 100% rename from MAPS/HMS/db_crate5map.dat rename to MAPS/HMS/CRATE/db_crate5map.dat diff --git a/MAPS/HMS/haero.map b/MAPS/HMS/DETEC/haero.map similarity index 94% rename from MAPS/HMS/haero.map rename to MAPS/HMS/DETEC/haero.map index 201d97f6fb8732e824d872e9b5873a64f8a17b89..a31708860b2e0195d722ad0d9576b1080f2920f3 100644 --- a/MAPS/HMS/haero.map +++ b/MAPS/HMS/DETEC/haero.map @@ -1,8 +1,8 @@ !HMS: -! HAERO_ID= 7 (TDC),ADC +! HAERO_ID= 12 (TDC),ADC ROC=1 -detector=7 +detector=12 !F250 modules SLOT=16 diff --git a/MAPS/HMS/hcal.map b/MAPS/HMS/DETEC/hcal.map similarity index 98% rename from MAPS/HMS/hcal.map rename to MAPS/HMS/DETEC/hcal.map index 4eb04b8168ac5f02f5f2d10e8296af8a4ae7954d..33d9b104a2aaca60edcdb2d7f7715acb6a95c714 100644 --- a/MAPS/HMS/hcal.map +++ b/MAPS/HMS/DETEC/hcal.map @@ -1,8 +1,8 @@ !HMS: -! HCAL_ID= 4 ADC +! HCAL_ID= 15 ADC ROC=1 -detector=4 +detector=15 !F250 modules SLOT=3 diff --git a/MAPS/HMS/hdc.map b/MAPS/HMS/DETEC/hdc.map similarity index 99% rename from MAPS/HMS/hdc.map rename to MAPS/HMS/DETEC/hdc.map index a5725b008d2fd8981a69535e80a3646a69770423..74b3017e8ec58ea522b46aa225b78490829fdf66 100644 --- a/MAPS/HMS/hdc.map +++ b/MAPS/HMS/DETEC/hdc.map @@ -1,8 +1,8 @@ !HMS: -! HDC_ID= 1 TDC +! HDC_ID= 11 TDC ROC=3 -detector=1 ! HMS chambers >> detector=11 for SOS chambers +detector=11 ! HMS chambers ! Caen 1190 VME Modules >> DC1 SLOT=5 diff --git a/MAPS/HMS/hhodo.map b/MAPS/HMS/DETEC/hhodo.map similarity index 99% rename from MAPS/HMS/hhodo.map rename to MAPS/HMS/DETEC/hhodo.map index 49ec75eee2f7616fe60b0d46bf96087152038160..2a99b3eba24318925084483b6eafc12647ab77b2 100644 --- a/MAPS/HMS/hhodo.map +++ b/MAPS/HMS/DETEC/hhodo.map @@ -1,8 +1,8 @@ !HMS: -! HSCIN_ID= 2 ADC+,ADC-,TDC+,TDC- +! HSCIN_ID= 13 ADC+,ADC-,TDC+,TDC- ROC=1 -detector=2 +detector=13 ! F250 modules SLOT=8 diff --git a/MAPS/HMS/htrig.map b/MAPS/HMS/DETEC/htrig.map similarity index 98% rename from MAPS/HMS/htrig.map rename to MAPS/HMS/DETEC/htrig.map index 17e8ab57469fc69f95ec4ab5c9f913705aa97f12..215b7804d4453f23212ea60324271945a9475dd4 100644 --- a/MAPS/HMS/htrig.map +++ b/MAPS/HMS/DETEC/htrig.map @@ -1,5 +1,5 @@ !HMS: -! THMS_ID=2 ADC,TDC +! THMS_ID=10 ADC,TDC ! Plane = 1 >> ADC Only ! Plane = 2 >> TDC Only diff --git a/MAPS/README b/MAPS/HMS/README similarity index 100% rename from MAPS/README rename to MAPS/HMS/README diff --git a/MAPS/SHMS/db_crate2map.dat b/MAPS/SHMS/CRATE/db_crate2map.dat similarity index 100% rename from MAPS/SHMS/db_crate2map.dat rename to MAPS/SHMS/CRATE/db_crate2map.dat diff --git a/MAPS/SHMS/db_crate4map.dat b/MAPS/SHMS/CRATE/db_crate4map.dat similarity index 100% rename from MAPS/SHMS/db_crate4map.dat rename to MAPS/SHMS/CRATE/db_crate4map.dat diff --git a/MAPS/SHMS/db_crate6map.dat b/MAPS/SHMS/CRATE/db_crate6map.dat similarity index 92% rename from MAPS/SHMS/db_crate6map.dat rename to MAPS/SHMS/CRATE/db_crate6map.dat index d57f731dcb41d8ff5773483e88dc4662d2e07447..8ae0ed88115e757ace8c3744c7d8951b0c5df90d 100644 --- a/MAPS/SHMS/db_crate6map.dat +++ b/MAPS/SHMS/CRATE/db_crate6map.dat @@ -1,6 +1,5 @@ ==== Crate 6 type vme Bank Decoding # slot model bank - 5 1190 1190 6 1190 1190 7 1190 1190 8 1190 1190 @@ -10,3 +9,4 @@ 12 1190 1190 13 1190 1190 14 1190 1190 + 15 1190 1190 diff --git a/MAPS/SHMS/pcal.map b/MAPS/SHMS/DETEC/pcal.map similarity index 99% rename from MAPS/SHMS/pcal.map rename to MAPS/SHMS/DETEC/pcal.map index 434dd58a3fc52bc15ebb267d84827091c533c983..e833bfbaf21766fe6214d536c59de7d6ae451bfc 100644 --- a/MAPS/SHMS/pcal.map +++ b/MAPS/SHMS/DETEC/pcal.map @@ -1,8 +1,8 @@ !SHMS -! SCAL_ID=14 ADC +! SCAL_ID=26 ADC ROC=4 -detector=14 +detector=26 !F250 modules SLOT=3 diff --git a/MAPS/SHMS/DETEC/pdc.map b/MAPS/SHMS/DETEC/pdc.map new file mode 100644 index 0000000000000000000000000000000000000000..1125f423bedc9e5db44d9f5953b0a8e05400c570 --- /dev/null +++ b/MAPS/SHMS/DETEC/pdc.map @@ -0,0 +1,1232 @@ +!SHMS: +! PDC_ID=21 TDC + +ROC=6 +detector=21 ! SHMS chambers + +! Caen 1190 VME Modules >> DC1 +SLOT=9 +77,1,1 ! Plane U, wire 1 +76,1,2 ! Plane U, wire 2 +75,1,3 ! Plane U, wire 3 +74,1,4 ! Plane U, wire 4 +73,1,5 ! Plane U, wire 5 +72,1,6 ! Plane U, wire 6 +71,1,7 ! Plane U, wire 7 +70,1,8 ! Plane U, wire 8 +69,1,9 ! Plane U, wire 9 +68,1,10 ! Plane U, wire 10 +67,1,11 ! Plane U, wire 11 +66,1,12 ! Plane U, wire 12 +65,1,13 ! Plane U, wire 13 +64,1,14 ! Plane U, wire 14 +SLOT=7 +31,1,15 ! Plane U, wire 15 +30,1,16 ! Plane U, wire 16 +29,1,17 ! Plane U, wire 17 +28,1,18 ! Plane U, wire 18 +27,1,19 ! Plane U, wire 19 +26,1,20 ! Plane U, wire 20 +25,1,21 ! Plane U, wire 21 +24,1,22 ! Plane U, wire 22 +23,1,23 ! Plane U, wire 23 +22,1,24 ! Plane U, wire 24 +21,1,25 ! Plane U, wire 25 +20,1,26 ! Plane U, wire 26 +19,1,27 ! Plane U, wire 27 +18,1,28 ! Plane U, wire 28 +17,1,29 ! Plane U, wire 29 +16,1,30 ! Plane U, wire 30 +SLOT=6 +95,1,31 ! Plane U, wire 31 +94,1,32 ! Plane U, wire 32 +93,1,33 ! Plane U, wire 33 +92,1,34 ! Plane U, wire 34 +91,1,35 ! Plane U, wire 35 +90,1,36 ! Plane U, wire 36 +89,1,37 ! Plane U, wire 37 +88,1,38 ! Plane U, wire 38 +87,1,39 ! Plane U, wire 39 +86,1,40 ! Plane U, wire 40 +85,1,41 ! Plane U, wire 41 +84,1,42 ! Plane U, wire 42 +83,1,43 ! Plane U, wire 43 +82,1,44 ! Plane U, wire 44 +81,1,45 ! Plane U, wire 45 +80,1,46 ! Plane U, wire 46 +31,1,47 ! Plane U, wire 47 +30,1,48 ! Plane U, wire 48 +29,1,49 ! Plane U, wire 49 +28,1,50 ! Plane U, wire 50 +27,1,51 ! Plane U, wire 51 +26,1,52 ! Plane U, wire 52 +25,1,53 ! Plane U, wire 53 +24,1,54 ! Plane U, wire 54 +23,1,55 ! Plane U, wire 55 +22,1,56 ! Plane U, wire 56 +21,1,57 ! Plane U, wire 57 +20,1,58 ! Plane U, wire 58 +19,1,59 ! Plane U, wire 59 +18,1,60 ! Plane U, wire 60 +17,1,61 ! Plane U, wire 61 +16,1,62 ! Plane U, wire 62 +SLOT=8 +112,1,63 ! Plane U, wire 63 +113,1,64 ! Plane U, wire 64 +114,1,65 ! Plane U, wire 65 +115,1,66 ! Plane U, wire 66 +116,1,67 ! Plane U, wire 67 +117,1,68 ! Plane U, wire 68 +118,1,69 ! Plane U, wire 69 +119,1,70 ! Plane U, wire 70 +120,1,71 ! Plane U, wire 71 +121,1,72 ! Plane U, wire 72 +122,1,73 ! Plane U, wire 73 +123,1,74 ! Plane U, wire 74 +124,1,75 ! Plane U, wire 75 +125,1,76 ! Plane U, wire 76 +126,1,77 ! Plane U, wire 77 +127,1,78 ! Plane U, wire 78 +48,1,79 ! Plane U, wire 79 +49,1,80 ! Plane U, wire 80 +50,1,81 ! Plane U, wire 81 +51,1,82 ! Plane U, wire 82 +52,1,83 ! Plane U, wire 83 +53,1,84 ! Plane U, wire 84 +54,1,85 ! Plane U, wire 85 +55,1,86 ! Plane U, wire 86 +56,1,87 ! Plane U, wire 87 +57,1,88 ! Plane U, wire 88 +58,1,89 ! Plane U, wire 89 +59,1,90 ! Plane U, wire 90 +60,1,91 ! Plane U, wire 91 +61,1,92 ! Plane U, wire 92 +62,1,93 ! Plane U, wire 93 +SLOT=9 +78,1,94 ! Plane U, wire 94 +112,1,95 ! Plane U, wire 95 +113,1,96 ! Plane U, wire 96 +114,1,97 ! Plane U, wire 97 +115,1,98 ! Plane U, wire 98 +116,1,99 ! Plane U, wire 99 +117,1,100 ! Plane U, wire 100 +118,1,101 ! Plane U, wire 101 +119,1,102 ! Plane U, wire 102 +120,1,103 ! Plane U, wire 103 +121,1,104 ! Plane U, wire 104 +122,1,105 ! Plane U, wire 105 +123,1,106 ! Plane U, wire 106 +SLOT=8 +74,2,1 ! Plane U', wire 1 +73,2,2 ! Plane U', wire 2 +72,2,3 ! Plane U', wire 3 +71,2,4 ! Plane U', wire 4 +70,2,5 ! Plane U', wire 5 +69,2,6 ! Plane U', wire 6 +68,2,7 ! Plane U', wire 7 +67,2,8 ! Plane U', wire 8 +66,2,9 ! Plane U', wire 9 +65,2,10 ! Plane U', wire 10 +64,2,11 ! Plane U', wire 11 +SLOT=6 +127,2,12 ! Plane U', wire 12 +126,2,13 ! Plane U', wire 13 +125,2,14 ! Plane U', wire 14 +124,2,15 ! Plane U', wire 15 +123,2,16 ! Plane U', wire 16 +122,2,17 ! Plane U', wire 17 +121,2,18 ! Plane U', wire 18 +120,2,19 ! Plane U', wire 19 +119,2,20 ! Plane U', wire 20 +118,2,21 ! Plane U', wire 21 +117,2,22 ! Plane U', wire 22 +116,2,23 ! Plane U', wire 23 +115,2,24 ! Plane U', wire 24 +114,2,25 ! Plane U', wire 25 +113,2,26 ! Plane U', wire 26 +112,2,27 ! Plane U', wire 27 +47,2,28 ! Plane U', wire 28 +46,2,29 ! Plane U', wire 29 +45,2,30 ! Plane U', wire 30 +44,2,31 ! Plane U', wire 31 +43,2,32 ! Plane U', wire 32 +42,2,33 ! Plane U', wire 33 +41,2,34 ! Plane U', wire 34 +40,2,35 ! Plane U', wire 35 +39,2,36 ! Plane U', wire 36 +38,2,37 ! Plane U', wire 37 +37,2,38 ! Plane U', wire 38 +36,2,39 ! Plane U', wire 39 +35,2,40 ! Plane U', wire 40 +34,2,41 ! Plane U', wire 41 +33,2,42 ! Plane U', wire 42 +SLOT=8 +75,2,43 ! Plane U', wire 43 +SLOT=9 +0,2,44 ! Plane U', wire 44 +1,2,45 ! Plane U', wire 45 +2,2,46 ! Plane U', wire 46 +3,2,47 ! Plane U', wire 47 +4,2,48 ! Plane U', wire 48 +5,2,49 ! Plane U', wire 49 +6,2,50 ! Plane U', wire 50 +7,2,51 ! Plane U', wire 51 +8,2,52 ! Plane U', wire 52 +9,2,53 ! Plane U', wire 53 +10,2,54 ! Plane U', wire 54 +11,2,55 ! Plane U', wire 55 +12,2,56 ! Plane U', wire 56 +13,2,57 ! Plane U', wire 57 +14,2,58 ! Plane U', wire 58 +15,2,59 ! Plane U', wire 59 +SLOT=8 +96,2,60 ! Plane U', wire 60 +97,2,61 ! Plane U', wire 61 +98,2,62 ! Plane U', wire 62 +99,2,63 ! Plane U', wire 63 +100,2,64 ! Plane U', wire 64 +101,2,65 ! Plane U', wire 65 +102,2,66 ! Plane U', wire 66 +103,2,67 ! Plane U', wire 67 +104,2,68 ! Plane U', wire 68 +105,2,69 ! Plane U', wire 69 +106,2,70 ! Plane U', wire 70 +107,2,71 ! Plane U', wire 71 +108,2,72 ! Plane U', wire 72 +109,2,73 ! Plane U', wire 73 +110,2,74 ! Plane U', wire 74 +111,2,75 ! Plane U', wire 75 +SLOT=10 +80,2,76 ! Plane U', wire 76 +81,2,77 ! Plane U', wire 77 +82,2,78 ! Plane U', wire 78 +83,2,79 ! Plane U', wire 79 +84,2,80 ! Plane U', wire 80 +85,2,81 ! Plane U', wire 81 +86,2,82 ! Plane U', wire 82 +87,2,83 ! Plane U', wire 83 +88,2,84 ! Plane U', wire 84 +89,2,85 ! Plane U', wire 85 +90,2,86 ! Plane U', wire 86 +91,2,87 ! Plane U', wire 87 +92,2,88 ! Plane U', wire 88 +93,2,89 ! Plane U', wire 89 +94,2,90 ! Plane U', wire 90 +95,2,91 ! Plane U', wire 91 +16,2,92 ! Plane U', wire 92 +17,2,93 ! Plane U', wire 93 +18,2,94 ! Plane U', wire 94 +19,2,95 ! Plane U', wire 95 +20,2,96 ! Plane U', wire 96 +21,2,97 ! Plane U', wire 97 +22,2,98 ! Plane U', wire 98 +23,2,99 ! Plane U', wire 99 +24,2,100 ! Plane U', wire 100 +25,2,101 ! Plane U', wire 101 +26,2,102 ! Plane U', wire 102 +27,2,103 ! Plane U', wire 103 +28,2,104 ! Plane U', wire 104 +29,2,105 ! Plane U', wire 105 +30,2,106 ! Plane U', wire 106 +SLOT=9 +45,5,1 ! Plane V, wire 1 +44,5,2 ! Plane V, wire 2 +43,5,3 ! Plane V, wire 3 +42,5,4 ! Plane V, wire 4 +41,5,5 ! Plane V, wire 5 +40,5,6 ! Plane V, wire 6 +39,5,7 ! Plane V, wire 7 +38,5,8 ! Plane V, wire 8 +37,5,9 ! Plane V, wire 9 +36,5,10 ! Plane V, wire 10 +35,5,11 ! Plane V, wire 11 +34,5,12 ! Plane V, wire 12 +33,5,13 ! Plane V, wire 13 +32,5,14 ! Plane V, wire 14 +SLOT=8 +31,5,15 ! Plane V, wire 15 +30,5,16 ! Plane V, wire 16 +29,5,17 ! Plane V, wire 17 +28,5,18 ! Plane V, wire 18 +27,5,19 ! Plane V, wire 19 +26,5,20 ! Plane V, wire 20 +25,5,21 ! Plane V, wire 21 +24,5,22 ! Plane V, wire 22 +23,5,23 ! Plane V, wire 23 +22,5,24 ! Plane V, wire 24 +21,5,25 ! Plane V, wire 25 +20,5,26 ! Plane V, wire 26 +19,5,27 ! Plane V, wire 27 +18,5,28 ! Plane V, wire 28 +17,5,29 ! Plane V, wire 29 +16,5,30 ! Plane V, wire 30 +SLOT=10 +15,5,31 ! Plane V, wire 31 +14,5,32 ! Plane V, wire 32 +13,5,33 ! Plane V, wire 33 +12,5,34 ! Plane V, wire 34 +11,5,35 ! Plane V, wire 35 +10,5,36 ! Plane V, wire 36 +9,5,37 ! Plane V, wire 37 +8,5,38 ! Plane V, wire 38 +7,5,39 ! Plane V, wire 39 +6,5,40 ! Plane V, wire 40 +5,5,41 ! Plane V, wire 41 +4,5,42 ! Plane V, wire 42 +3,5,43 ! Plane V, wire 43 +2,5,44 ! Plane V, wire 44 +1,5,45 ! Plane V, wire 45 +0,5,46 ! Plane V, wire 46 +SLOT=9 +63,5,47 ! Plane V, wire 47 +62,5,48 ! Plane V, wire 48 +61,5,49 ! Plane V, wire 49 +60,5,50 ! Plane V, wire 50 +59,5,51 ! Plane V, wire 51 +58,5,52 ! Plane V, wire 52 +57,5,53 ! Plane V, wire 53 +56,5,54 ! Plane V, wire 54 +55,5,55 ! Plane V, wire 55 +54,5,56 ! Plane V, wire 56 +53,5,57 ! Plane V, wire 57 +52,5,58 ! Plane V, wire 58 +51,5,59 ! Plane V, wire 59 +50,5,60 ! Plane V, wire 60 +49,5,61 ! Plane V, wire 61 +48,5,62 ! Plane V, wire 62 +SLOT=7 +32,5,63 ! Plane V, wire 63 +33,5,64 ! Plane V, wire 64 +34,5,65 ! Plane V, wire 65 +35,5,66 ! Plane V, wire 66 +36,5,67 ! Plane V, wire 67 +37,5,68 ! Plane V, wire 68 +38,5,69 ! Plane V, wire 69 +39,5,70 ! Plane V, wire 70 +40,5,71 ! Plane V, wire 71 +41,5,72 ! Plane V, wire 72 +42,5,73 ! Plane V, wire 73 +43,5,74 ! Plane V, wire 74 +44,5,75 ! Plane V, wire 75 +45,5,76 ! Plane V, wire 76 +46,5,77 ! Plane V, wire 77 +47,5,78 ! Plane V, wire 78 +96,5,79 ! Plane V, wire 79 +97,5,80 ! Plane V, wire 80 +98,5,81 ! Plane V, wire 81 +99,5,82 ! Plane V, wire 82 +100,5,83 ! Plane V, wire 83 +101,5,84 ! Plane V, wire 84 +102,5,85 ! Plane V, wire 85 +103,5,86 ! Plane V, wire 86 +104,5,87 ! Plane V, wire 87 +105,5,88 ! Plane V, wire 88 +106,5,89 ! Plane V, wire 89 +107,5,90 ! Plane V, wire 90 +108,5,91 ! Plane V, wire 91 +109,5,92 ! Plane V, wire 92 +110,5,93 ! Plane V, wire 93 +111,5,94 ! Plane V, wire 94 +64,5,95 ! Plane V, wire 95 +65,5,96 ! Plane V, wire 96 +66,5,97 ! Plane V, wire 97 +67,5,98 ! Plane V, wire 98 +68,5,99 ! Plane V, wire 99 +69,5,100 ! Plane V, wire 100 +70,5,101 ! Plane V, wire 101 +71,5,102 ! Plane V, wire 102 +72,5,103 ! Plane V, wire 103 +73,5,104 ! Plane V, wire 104 +74,5,105 ! Plane V, wire 105 +SLOT=9 +46,5,106 ! Plane V, wire 106 +SLOT=10 +74,6,1 ! Plane V', wire 1 +73,6,2 ! Plane V', wire 2 +72,6,3 ! Plane V', wire 3 +71,6,4 ! Plane V', wire 4 +70,6,5 ! Plane V', wire 5 +69,6,6 ! Plane V', wire 6 +68,6,7 ! Plane V', wire 7 +67,6,8 ! Plane V', wire 8 +66,6,9 ! Plane V', wire 9 +65,6,10 ! Plane V', wire 10 +64,6,11 ! Plane V', wire 11 +47,6,12 ! Plane V', wire 12 +46,6,13 ! Plane V', wire 13 +45,6,14 ! Plane V', wire 14 +44,6,15 ! Plane V', wire 15 +43,6,16 ! Plane V', wire 16 +42,6,17 ! Plane V', wire 17 +41,6,18 ! Plane V', wire 18 +40,6,19 ! Plane V', wire 19 +39,6,20 ! Plane V', wire 20 +38,6,21 ! Plane V', wire 21 +37,6,22 ! Plane V', wire 22 +36,6,23 ! Plane V', wire 23 +35,6,24 ! Plane V', wire 24 +34,6,25 ! Plane V', wire 25 +33,6,26 ! Plane V', wire 26 +32,6,27 ! Plane V', wire 27 +SLOT=9 +111,6,28 ! Plane V', wire 28 +110,6,29 ! Plane V', wire 29 +109,6,30 ! Plane V', wire 30 +108,6,31 ! Plane V', wire 31 +107,6,32 ! Plane V', wire 32 +106,6,33 ! Plane V', wire 33 +105,6,34 ! Plane V', wire 34 +104,6,35 ! Plane V', wire 35 +103,6,36 ! Plane V', wire 36 +102,6,37 ! Plane V', wire 37 +101,6,38 ! Plane V', wire 38 +100,6,39 ! Plane V', wire 39 +99,6,40 ! Plane V', wire 40 +98,6,41 ! Plane V', wire 41 +97,6,42 ! Plane V', wire 42 +96,6,43 ! Plane V', wire 43 +SLOT=8 +80,6,44 ! Plane V', wire 44 +81,6,45 ! Plane V', wire 45 +82,6,46 ! Plane V', wire 46 +83,6,47 ! Plane V', wire 47 +84,6,48 ! Plane V', wire 48 +85,6,49 ! Plane V', wire 49 +86,6,50 ! Plane V', wire 50 +87,6,51 ! Plane V', wire 51 +88,6,52 ! Plane V', wire 52 +89,6,53 ! Plane V', wire 53 +90,6,54 ! Plane V', wire 54 +91,6,55 ! Plane V', wire 55 +92,6,56 ! Plane V', wire 56 +93,6,57 ! Plane V', wire 57 +94,6,58 ! Plane V', wire 58 +95,6,59 ! Plane V', wire 59 +SLOT=7 +112,6,60 ! Plane V', wire 60 +113,6,61 ! Plane V', wire 61 +114,6,62 ! Plane V', wire 62 +115,6,63 ! Plane V', wire 63 +116,6,64 ! Plane V', wire 64 +117,6,65 ! Plane V', wire 65 +118,6,66 ! Plane V', wire 66 +119,6,67 ! Plane V', wire 67 +120,6,68 ! Plane V', wire 68 +121,6,69 ! Plane V', wire 69 +122,6,70 ! Plane V', wire 70 +123,6,71 ! Plane V', wire 71 +124,6,72 ! Plane V', wire 72 +125,6,73 ! Plane V', wire 73 +126,6,74 ! Plane V', wire 74 +127,6,75 ! Plane V', wire 75 +80,6,76 ! Plane V', wire 76 +81,6,77 ! Plane V', wire 77 +82,6,78 ! Plane V', wire 78 +83,6,79 ! Plane V', wire 79 +84,6,80 ! Plane V', wire 80 +85,6,81 ! Plane V', wire 81 +86,6,82 ! Plane V', wire 82 +87,6,83 ! Plane V', wire 83 +88,6,84 ! Plane V', wire 84 +89,6,85 ! Plane V', wire 85 +90,6,86 ! Plane V', wire 86 +91,6,87 ! Plane V', wire 87 +92,6,88 ! Plane V', wire 88 +93,6,89 ! Plane V', wire 89 +94,6,90 ! Plane V', wire 90 +95,6,91 ! Plane V', wire 91 +SLOT=6 +64,6,92 ! Plane V', wire 92 +65,6,93 ! Plane V', wire 93 +66,6,94 ! Plane V', wire 94 +67,6,95 ! Plane V', wire 95 +68,6,96 ! Plane V', wire 96 +69,6,97 ! Plane V', wire 97 +70,6,98 ! Plane V', wire 98 +71,6,99 ! Plane V', wire 99 +72,6,100 ! Plane V', wire 100 +73,6,101 ! Plane V', wire 101 +74,6,102 ! Plane V', wire 102 +75,6,103 ! Plane V', wire 103 +76,6,104 ! Plane V', wire 104 +77,6,105 ! Plane V', wire 105 +SLOT=10 +75,6,106 ! Plane V', wire 106 +SLOT=8 +14,3,1 ! Plane X, wire 1 +13,3,2 ! Plane X, wire 2 +12,3,3 ! Plane X, wire 3 +11,3,4 ! Plane X, wire 4 +10,3,5 ! Plane X, wire 5 +9,3,6 ! Plane X, wire 6 +8,3,7 ! Plane X, wire 7 +7,3,8 ! Plane X, wire 8 +6,3,9 ! Plane X, wire 9 +5,3,10 ! Plane X, wire 10 +4,3,11 ! Plane X, wire 11 +3,3,12 ! Plane X, wire 12 +2,3,13 ! Plane X, wire 13 +1,3,14 ! Plane X, wire 14 +0,3,15 ! Plane X, wire 15 +SLOT=7 +63,3,16 ! Plane X, wire 16 +62,3,17 ! Plane X, wire 17 +61,3,18 ! Plane X, wire 18 +60,3,19 ! Plane X, wire 19 +59,3,20 ! Plane X, wire 20 +58,3,21 ! Plane X, wire 21 +57,3,22 ! Plane X, wire 22 +56,3,23 ! Plane X, wire 23 +55,3,24 ! Plane X, wire 24 +54,3,25 ! Plane X, wire 25 +53,3,26 ! Plane X, wire 26 +52,3,27 ! Plane X, wire 27 +51,3,28 ! Plane X, wire 28 +50,3,29 ! Plane X, wire 29 +49,3,30 ! Plane X, wire 30 +48,3,31 ! Plane X, wire 31 +SLOT=6 +63,3,32 ! Plane X, wire 32 +62,3,33 ! Plane X, wire 33 +61,3,34 ! Plane X, wire 34 +60,3,35 ! Plane X, wire 35 +59,3,36 ! Plane X, wire 36 +58,3,37 ! Plane X, wire 37 +57,3,38 ! Plane X, wire 38 +56,3,39 ! Plane X, wire 39 +55,3,40 ! Plane X, wire 40 +54,3,41 ! Plane X, wire 41 +53,3,42 ! Plane X, wire 42 +52,3,43 ! Plane X, wire 43 +51,3,44 ! Plane X, wire 44 +50,3,45 ! Plane X, wire 45 +49,3,46 ! Plane X, wire 46 +SLOT=8 +15,3,47 ! Plane X, wire 47 +SLOT=10 +48,3,48 ! Plane X, wire 48 +49,3,49 ! Plane X, wire 49 +50,3,50 ! Plane X, wire 50 +51,3,51 ! Plane X, wire 51 +52,3,52 ! Plane X, wire 52 +53,3,53 ! Plane X, wire 53 +54,3,54 ! Plane X, wire 54 +55,3,55 ! Plane X, wire 55 +56,3,56 ! Plane X, wire 56 +57,3,57 ! Plane X, wire 57 +58,3,58 ! Plane X, wire 58 +59,3,59 ! Plane X, wire 59 +60,3,60 ! Plane X, wire 60 +61,3,61 ! Plane X, wire 61 +62,3,62 ! Plane X, wire 62 +63,3,63 ! Plane X, wire 63 +SLOT=9 +80,3,64 ! Plane X, wire 64 +81,3,65 ! Plane X, wire 65 +82,3,66 ! Plane X, wire 66 +83,3,67 ! Plane X, wire 67 +84,3,68 ! Plane X, wire 68 +85,3,69 ! Plane X, wire 69 +86,3,70 ! Plane X, wire 70 +87,3,71 ! Plane X, wire 71 +88,3,72 ! Plane X, wire 72 +89,3,73 ! Plane X, wire 73 +90,3,74 ! Plane X, wire 74 +91,3,75 ! Plane X, wire 75 +92,3,76 ! Plane X, wire 76 +93,3,77 ! Plane X, wire 77 +94,3,78 ! Plane X, wire 78 +29,4,1 ! Plane X', wire 1 +28,4,2 ! Plane X', wire 2 +27,4,3 ! Plane X', wire 3 +26,4,4 ! Plane X', wire 4 +25,4,5 ! Plane X', wire 5 +24,4,6 ! Plane X', wire 6 +23,4,7 ! Plane X', wire 7 +22,4,8 ! Plane X', wire 8 +21,4,9 ! Plane X', wire 9 +20,4,10 ! Plane X', wire 10 +19,4,11 ! Plane X', wire 11 +18,4,12 ! Plane X', wire 12 +17,4,13 ! Plane X', wire 13 +16,4,14 ! Plane X', wire 14 +SLOT=8 +47,4,15 ! Plane X', wire 15 +46,4,16 ! Plane X', wire 16 +45,4,17 ! Plane X', wire 17 +44,4,18 ! Plane X', wire 18 +43,4,19 ! Plane X', wire 19 +42,4,20 ! Plane X', wire 20 +41,4,21 ! Plane X', wire 21 +40,4,22 ! Plane X', wire 22 +39,4,23 ! Plane X', wire 23 +38,4,24 ! Plane X', wire 24 +37,4,25 ! Plane X', wire 25 +36,4,26 ! Plane X', wire 26 +35,4,27 ! Plane X', wire 27 +34,4,28 ! Plane X', wire 28 +33,4,29 ! Plane X', wire 29 +32,4,30 ! Plane X', wire 30 +SLOT=7 +0,4,31 ! Plane X', wire 31 +1,4,32 ! Plane X', wire 32 +2,4,33 ! Plane X', wire 33 +3,4,34 ! Plane X', wire 34 +4,4,35 ! Plane X', wire 35 +5,4,36 ! Plane X', wire 36 +6,4,37 ! Plane X', wire 37 +7,4,38 ! Plane X', wire 38 +8,4,39 ! Plane X', wire 39 +9,4,40 ! Plane X', wire 40 +10,4,41 ! Plane X', wire 41 +11,4,42 ! Plane X', wire 42 +12,4,43 ! Plane X', wire 43 +13,4,44 ! Plane X', wire 44 +14,4,45 ! Plane X', wire 45 +15,4,46 ! Plane X', wire 46 +SLOT=6 +96,4,47 ! Plane X', wire 47 +97,4,48 ! Plane X', wire 48 +98,4,49 ! Plane X', wire 49 +99,4,50 ! Plane X', wire 50 +100,4,51 ! Plane X', wire 51 +101,4,52 ! Plane X', wire 52 +102,4,53 ! Plane X', wire 53 +103,4,54 ! Plane X', wire 54 +104,4,55 ! Plane X', wire 55 +105,4,56 ! Plane X', wire 56 +106,4,57 ! Plane X', wire 57 +107,4,58 ! Plane X', wire 58 +108,4,59 ! Plane X', wire 59 +109,4,60 ! Plane X', wire 60 +110,4,61 ! Plane X', wire 61 +111,4,62 ! Plane X', wire 62 +0,4,63 ! Plane X', wire 63 +1,4,64 ! Plane X', wire 64 +2,4,65 ! Plane X', wire 65 +3,4,66 ! Plane X', wire 66 +4,4,67 ! Plane X', wire 67 +5,4,68 ! Plane X', wire 68 +6,4,69 ! Plane X', wire 69 +7,4,70 ! Plane X', wire 70 +8,4,71 ! Plane X', wire 71 +9,4,72 ! Plane X', wire 72 +10,4,73 ! Plane X', wire 73 +11,4,74 ! Plane X', wire 74 +12,4,75 ! Plane X', wire 75 +13,4,76 ! Plane X', wire 76 +14,4,77 ! Plane X', wire 77 +SLOT=9 +30,4,78 ! Plane X', wire 78 + + +! Caen 1190 VME Modules >> DC2 +SLOT=14 +45,12,1 ! Plane U, wire 1 +44,12,2 ! Plane U, wire 2 +43,12,3 ! Plane U, wire 3 +42,12,4 ! Plane U, wire 4 +41,12,5 ! Plane U, wire 5 +40,12,6 ! Plane U, wire 6 +39,12,7 ! Plane U, wire 7 +38,12,8 ! Plane U, wire 8 +37,12,9 ! Plane U, wire 9 +36,12,10 ! Plane U, wire 10 +35,12,11 ! Plane U, wire 11 +34,12,12 ! Plane U, wire 12 +33,12,13 ! Plane U, wire 13 +32,12,14 ! Plane U, wire 14 +SLOT=11 +127,12,15 ! Plane U, wire 15 +126,12,16 ! Plane U, wire 16 +125,12,17 ! Plane U, wire 17 +124,12,18 ! Plane U, wire 18 +123,12,19 ! Plane U, wire 19 +122,12,20 ! Plane U, wire 20 +121,12,21 ! Plane U, wire 21 +120,12,22 ! Plane U, wire 22 +119,12,23 ! Plane U, wire 23 +118,12,24 ! Plane U, wire 24 +117,12,25 ! Plane U, wire 25 +116,12,26 ! Plane U, wire 26 +115,12,27 ! Plane U, wire 27 +114,12,28 ! Plane U, wire 28 +113,12,29 ! Plane U, wire 29 +112,12,30 ! Plane U, wire 30 +63,12,31 ! Plane U, wire 31 +62,12,32 ! Plane U, wire 32 +61,12,33 ! Plane U, wire 33 +60,12,34 ! Plane U, wire 34 +59,12,35 ! Plane U, wire 35 +58,12,36 ! Plane U, wire 36 +57,12,37 ! Plane U, wire 37 +56,12,38 ! Plane U, wire 38 +55,12,39 ! Plane U, wire 39 +54,12,40 ! Plane U, wire 40 +53,12,41 ! Plane U, wire 41 +52,12,42 ! Plane U, wire 42 +51,12,43 ! Plane U, wire 43 +50,12,44 ! Plane U, wire 44 +49,12,45 ! Plane U, wire 45 +48,12,46 ! Plane U, wire 46 +SLOT=10 +127,12,47 ! Plane U, wire 47 +126,12,48 ! Plane U, wire 48 +125,12,49 ! Plane U, wire 49 +124,12,50 ! Plane U, wire 50 +123,12,51 ! Plane U, wire 51 +122,12,52 ! Plane U, wire 52 +121,12,53 ! Plane U, wire 53 +120,12,54 ! Plane U, wire 54 +119,12,55 ! Plane U, wire 55 +118,12,56 ! Plane U, wire 56 +117,12,57 ! Plane U, wire 57 +116,12,58 ! Plane U, wire 58 +115,12,59 ! Plane U, wire 59 +114,12,60 ! Plane U, wire 60 +113,12,61 ! Plane U, wire 61 +112,12,62 ! Plane U, wire 62 +SLOT=13 +80,12,63 ! Plane U, wire 63 +81,12,64 ! Plane U, wire 64 +82,12,65 ! Plane U, wire 65 +83,12,66 ! Plane U, wire 66 +84,12,67 ! Plane U, wire 67 +85,12,68 ! Plane U, wire 68 +86,12,69 ! Plane U, wire 69 +87,12,70 ! Plane U, wire 70 +88,12,71 ! Plane U, wire 71 +89,12,72 ! Plane U, wire 72 +90,12,73 ! Plane U, wire 73 +91,12,74 ! Plane U, wire 74 +92,12,75 ! Plane U, wire 75 +93,12,76 ! Plane U, wire 76 +94,12,77 ! Plane U, wire 77 +95,12,78 ! Plane U, wire 78 +16,12,79 ! Plane U, wire 79 +17,12,80 ! Plane U, wire 80 +18,12,81 ! Plane U, wire 81 +19,12,82 ! Plane U, wire 82 +20,12,83 ! Plane U, wire 83 +21,12,84 ! Plane U, wire 84 +22,12,85 ! Plane U, wire 85 +23,12,86 ! Plane U, wire 86 +24,12,87 ! Plane U, wire 87 +25,12,88 ! Plane U, wire 88 +26,12,89 ! Plane U, wire 89 +27,12,90 ! Plane U, wire 90 +28,12,91 ! Plane U, wire 91 +29,12,92 ! Plane U, wire 92 +30,12,93 ! Plane U, wire 93 +SLOT=14 +46,12,94 ! Plane U, wire 94 +80,12,95 ! Plane U, wire 95 +81,12,96 ! Plane U, wire 96 +82,12,97 ! Plane U, wire 97 +83,12,98 ! Plane U, wire 98 +84,12,99 ! Plane U, wire 99 +85,12,100 ! Plane U, wire 100 +86,12,101 ! Plane U, wire 101 +87,12,102 ! Plane U, wire 102 +88,12,103 ! Plane U, wire 103 +89,12,104 ! Plane U, wire 104 +90,12,105 ! Plane U, wire 105 +91,12,106 ! Plane U, wire 106 +SLOT=13 +42,11,1 ! Plane U', wire 1 +41,11,2 ! Plane U', wire 2 +40,11,3 ! Plane U', wire 3 +39,11,4 ! Plane U', wire 4 +38,11,5 ! Plane U', wire 5 +37,11,6 ! Plane U', wire 6 +36,11,7 ! Plane U', wire 7 +35,11,8 ! Plane U', wire 8 +34,11,9 ! Plane U', wire 9 +33,11,10 ! Plane U', wire 10 +32,11,11 ! Plane U', wire 11 +SLOT=11 +95,11,12 ! Plane U', wire 12 +94,11,13 ! Plane U', wire 13 +93,11,14 ! Plane U', wire 14 +92,11,15 ! Plane U', wire 15 +91,11,16 ! Plane U', wire 16 +90,11,17 ! Plane U', wire 17 +89,11,18 ! Plane U', wire 18 +88,11,19 ! Plane U', wire 19 +87,11,20 ! Plane U', wire 20 +86,11,21 ! Plane U', wire 21 +85,11,22 ! Plane U', wire 22 +84,11,23 ! Plane U', wire 23 +83,11,24 ! Plane U', wire 24 +82,11,25 ! Plane U', wire 25 +81,11,26 ! Plane U', wire 26 +80,11,27 ! Plane U', wire 27 +15,11,28 ! Plane U', wire 28 +14,11,29 ! Plane U', wire 29 +13,11,30 ! Plane U', wire 30 +12,11,31 ! Plane U', wire 31 +11,11,32 ! Plane U', wire 32 +10,11,33 ! Plane U', wire 33 +9,11,34 ! Plane U', wire 34 +8,11,35 ! Plane U', wire 35 +7,11,36 ! Plane U', wire 36 +6,11,37 ! Plane U', wire 37 +5,11,38 ! Plane U', wire 38 +4,11,39 ! Plane U', wire 39 +3,11,40 ! Plane U', wire 40 +2,11,41 ! Plane U', wire 41 +1,11,42 ! Plane U', wire 42 +SLOT=13 +43,11,43 ! Plane U', wire 43 +96,11,44 ! Plane U', wire 44 +97,11,45 ! Plane U', wire 45 +98,11,46 ! Plane U', wire 46 +99,11,47 ! Plane U', wire 47 +100,11,48 ! Plane U', wire 48 +101,11,49 ! Plane U', wire 49 +102,11,50 ! Plane U', wire 50 +103,11,51 ! Plane U', wire 51 +104,11,52 ! Plane U', wire 52 +105,11,53 ! Plane U', wire 53 +106,11,54 ! Plane U', wire 54 +107,11,55 ! Plane U', wire 55 +108,11,56 ! Plane U', wire 56 +109,11,57 ! Plane U', wire 57 +110,11,58 ! Plane U', wire 58 +111,11,59 ! Plane U', wire 59 +64,11,60 ! Plane U', wire 60 +65,11,61 ! Plane U', wire 61 +66,11,62 ! Plane U', wire 62 +67,11,63 ! Plane U', wire 63 +68,11,64 ! Plane U', wire 64 +69,11,65 ! Plane U', wire 65 +70,11,66 ! Plane U', wire 66 +71,11,67 ! Plane U', wire 67 +72,11,68 ! Plane U', wire 68 +73,11,69 ! Plane U', wire 69 +74,11,70 ! Plane U', wire 70 +75,11,71 ! Plane U', wire 71 +76,11,72 ! Plane U', wire 72 +77,11,73 ! Plane U', wire 73 +78,11,74 ! Plane U', wire 74 +79,11,75 ! Plane U', wire 75 +SLOT=15 +48,11,76 ! Plane U', wire 76 +49,11,77 ! Plane U', wire 77 +50,11,78 ! Plane U', wire 78 +51,11,79 ! Plane U', wire 79 +52,11,80 ! Plane U', wire 80 +53,11,81 ! Plane U', wire 81 +54,11,82 ! Plane U', wire 82 +55,11,83 ! Plane U', wire 83 +56,11,84 ! Plane U', wire 84 +57,11,85 ! Plane U', wire 85 +58,11,86 ! Plane U', wire 86 +59,11,87 ! Plane U', wire 87 +60,11,88 ! Plane U', wire 88 +61,11,89 ! Plane U', wire 89 +62,11,90 ! Plane U', wire 90 +63,11,91 ! Plane U', wire 91 +SLOT=14 +112,11,92 ! Plane U', wire 92 +113,11,93 ! Plane U', wire 93 +114,11,94 ! Plane U', wire 94 +115,11,95 ! Plane U', wire 95 +116,11,96 ! Plane U', wire 96 +117,11,97 ! Plane U', wire 97 +118,11,98 ! Plane U', wire 98 +119,11,99 ! Plane U', wire 99 +120,11,100 ! Plane U', wire 100 +121,11,101 ! Plane U', wire 101 +122,11,102 ! Plane U', wire 102 +123,11,103 ! Plane U', wire 103 +124,11,104 ! Plane U', wire 104 +125,11,105 ! Plane U', wire 105 +126,11,106 ! Plane U', wire 106 +13,8,1 ! Plane V, wire 1 +12,8,2 ! Plane V, wire 2 +11,8,3 ! Plane V, wire 3 +10,8,4 ! Plane V, wire 4 +9,8,5 ! Plane V, wire 5 +8,8,6 ! Plane V, wire 6 +7,8,7 ! Plane V, wire 7 +6,8,8 ! Plane V, wire 8 +5,8,9 ! Plane V, wire 9 +4,8,10 ! Plane V, wire 10 +3,8,11 ! Plane V, wire 11 +2,8,12 ! Plane V, wire 12 +1,8,13 ! Plane V, wire 13 +0,8,14 ! Plane V, wire 14 +SLOT=12 +127,8,15 ! Plane V, wire 15 +126,8,16 ! Plane V, wire 16 +125,8,17 ! Plane V, wire 17 +124,8,18 ! Plane V, wire 18 +123,8,19 ! Plane V, wire 19 +122,8,20 ! Plane V, wire 20 +121,8,21 ! Plane V, wire 21 +120,8,22 ! Plane V, wire 22 +119,8,23 ! Plane V, wire 23 +118,8,24 ! Plane V, wire 24 +117,8,25 ! Plane V, wire 25 +116,8,26 ! Plane V, wire 26 +115,8,27 ! Plane V, wire 27 +114,8,28 ! Plane V, wire 28 +113,8,29 ! Plane V, wire 29 +112,8,30 ! Plane V, wire 30 +SLOT=14 +111,8,31 ! Plane V, wire 31 +110,8,32 ! Plane V, wire 32 +109,8,33 ! Plane V, wire 33 +108,8,34 ! Plane V, wire 34 +107,8,35 ! Plane V, wire 35 +106,8,36 ! Plane V, wire 36 +105,8,37 ! Plane V, wire 37 +104,8,38 ! Plane V, wire 38 +103,8,39 ! Plane V, wire 39 +102,8,40 ! Plane V, wire 40 +101,8,41 ! Plane V, wire 41 +100,8,42 ! Plane V, wire 42 +99,8,43 ! Plane V, wire 43 +98,8,44 ! Plane V, wire 44 +97,8,45 ! Plane V, wire 45 +96,8,46 ! Plane V, wire 46 +31,8,47 ! Plane V, wire 47 +30,8,48 ! Plane V, wire 48 +29,8,49 ! Plane V, wire 49 +28,8,50 ! Plane V, wire 50 +27,8,51 ! Plane V, wire 51 +26,8,52 ! Plane V, wire 52 +25,8,53 ! Plane V, wire 53 +24,8,54 ! Plane V, wire 54 +23,8,55 ! Plane V, wire 55 +22,8,56 ! Plane V, wire 56 +21,8,57 ! Plane V, wire 57 +20,8,58 ! Plane V, wire 58 +19,8,59 ! Plane V, wire 59 +18,8,60 ! Plane V, wire 60 +17,8,61 ! Plane V, wire 61 +16,8,62 ! Plane V, wire 62 +SLOT=12 +0,8,63 ! Plane V, wire 63 +1,8,64 ! Plane V, wire 64 +2,8,65 ! Plane V, wire 65 +3,8,66 ! Plane V, wire 66 +4,8,67 ! Plane V, wire 67 +5,8,68 ! Plane V, wire 68 +6,8,69 ! Plane V, wire 69 +7,8,70 ! Plane V, wire 70 +8,8,71 ! Plane V, wire 71 +9,8,72 ! Plane V, wire 72 +10,8,73 ! Plane V, wire 73 +11,8,74 ! Plane V, wire 74 +12,8,75 ! Plane V, wire 75 +13,8,76 ! Plane V, wire 76 +14,8,77 ! Plane V, wire 77 +15,8,78 ! Plane V, wire 78 +64,8,79 ! Plane V, wire 79 +65,8,80 ! Plane V, wire 80 +66,8,81 ! Plane V, wire 81 +67,8,82 ! Plane V, wire 82 +68,8,83 ! Plane V, wire 83 +69,8,84 ! Plane V, wire 84 +70,8,85 ! Plane V, wire 85 +71,8,86 ! Plane V, wire 86 +72,8,87 ! Plane V, wire 87 +73,8,88 ! Plane V, wire 88 +74,8,89 ! Plane V, wire 89 +75,8,90 ! Plane V, wire 90 +76,8,91 ! Plane V, wire 91 +77,8,92 ! Plane V, wire 92 +78,8,93 ! Plane V, wire 93 +79,8,94 ! Plane V, wire 94 +32,8,95 ! Plane V, wire 95 +33,8,96 ! Plane V, wire 96 +34,8,97 ! Plane V, wire 97 +35,8,98 ! Plane V, wire 98 +36,8,99 ! Plane V, wire 99 +37,8,100 ! Plane V, wire 100 +38,8,101 ! Plane V, wire 101 +39,8,102 ! Plane V, wire 102 +40,8,103 ! Plane V, wire 103 +41,8,104 ! Plane V, wire 104 +42,8,105 ! Plane V, wire 105 +SLOT=14 +14,8,106 ! Plane V, wire 106 +SLOT=15 +42,7,1 ! Plane V', wire 1 +41,7,2 ! Plane V', wire 2 +40,7,3 ! Plane V', wire 3 +39,7,4 ! Plane V', wire 4 +38,7,5 ! Plane V', wire 5 +37,7,6 ! Plane V', wire 6 +36,7,7 ! Plane V', wire 7 +35,7,8 ! Plane V', wire 8 +34,7,9 ! Plane V', wire 9 +33,7,10 ! Plane V', wire 10 +32,7,11 ! Plane V', wire 11 +15,7,12 ! Plane V', wire 12 +14,7,13 ! Plane V', wire 13 +13,7,14 ! Plane V', wire 14 +12,7,15 ! Plane V', wire 15 +11,7,16 ! Plane V', wire 16 +10,7,17 ! Plane V', wire 17 +9,7,18 ! Plane V', wire 18 +8,7,19 ! Plane V', wire 19 +7,7,20 ! Plane V', wire 20 +6,7,21 ! Plane V', wire 21 +5,7,22 ! Plane V', wire 22 +4,7,23 ! Plane V', wire 23 +3,7,24 ! Plane V', wire 24 +2,7,25 ! Plane V', wire 25 +1,7,26 ! Plane V', wire 26 +0,7,27 ! Plane V', wire 27 +SLOT=14 +79,7,28 ! Plane V', wire 28 +78,7,29 ! Plane V', wire 29 +77,7,30 ! Plane V', wire 30 +76,7,31 ! Plane V', wire 31 +75,7,32 ! Plane V', wire 32 +74,7,33 ! Plane V', wire 33 +73,7,34 ! Plane V', wire 34 +72,7,35 ! Plane V', wire 35 +71,7,36 ! Plane V', wire 36 +70,7,37 ! Plane V', wire 37 +69,7,38 ! Plane V', wire 38 +68,7,39 ! Plane V', wire 39 +67,7,40 ! Plane V', wire 40 +66,7,41 ! Plane V', wire 41 +65,7,42 ! Plane V', wire 42 +64,7,43 ! Plane V', wire 43 +SLOT=13 +48,7,44 ! Plane V', wire 44 +49,7,45 ! Plane V', wire 45 +50,7,46 ! Plane V', wire 46 +51,7,47 ! Plane V', wire 47 +52,7,48 ! Plane V', wire 48 +53,7,49 ! Plane V', wire 49 +54,7,50 ! Plane V', wire 50 +55,7,51 ! Plane V', wire 51 +56,7,52 ! Plane V', wire 52 +57,7,53 ! Plane V', wire 53 +58,7,54 ! Plane V', wire 54 +59,7,55 ! Plane V', wire 55 +60,7,56 ! Plane V', wire 56 +61,7,57 ! Plane V', wire 57 +62,7,58 ! Plane V', wire 58 +63,7,59 ! Plane V', wire 59 +SLOT=12 +80,7,60 ! Plane V', wire 60 +81,7,61 ! Plane V', wire 61 +82,7,62 ! Plane V', wire 62 +83,7,63 ! Plane V', wire 63 +84,7,64 ! Plane V', wire 64 +85,7,65 ! Plane V', wire 65 +86,7,66 ! Plane V', wire 66 +87,7,67 ! Plane V', wire 67 +88,7,68 ! Plane V', wire 68 +89,7,69 ! Plane V', wire 69 +90,7,70 ! Plane V', wire 70 +91,7,71 ! Plane V', wire 71 +92,7,72 ! Plane V', wire 72 +93,7,73 ! Plane V', wire 73 +94,7,74 ! Plane V', wire 74 +95,7,75 ! Plane V', wire 75 +48,7,76 ! Plane V', wire 76 +49,7,77 ! Plane V', wire 77 +50,7,78 ! Plane V', wire 78 +51,7,79 ! Plane V', wire 79 +52,7,80 ! Plane V', wire 80 +53,7,81 ! Plane V', wire 81 +54,7,82 ! Plane V', wire 82 +55,7,83 ! Plane V', wire 83 +56,7,84 ! Plane V', wire 84 +57,7,85 ! Plane V', wire 85 +58,7,86 ! Plane V', wire 86 +59,7,87 ! Plane V', wire 87 +60,7,88 ! Plane V', wire 88 +61,7,89 ! Plane V', wire 89 +62,7,90 ! Plane V', wire 90 +63,7,91 ! Plane V', wire 91 +SLOT=11 +32,7,92 ! Plane V', wire 92 +33,7,93 ! Plane V', wire 93 +34,7,94 ! Plane V', wire 94 +35,7,95 ! Plane V', wire 95 +36,7,96 ! Plane V', wire 96 +37,7,97 ! Plane V', wire 97 +38,7,98 ! Plane V', wire 98 +39,7,99 ! Plane V', wire 99 +40,7,100 ! Plane V', wire 100 +41,7,101 ! Plane V', wire 101 +42,7,102 ! Plane V', wire 102 +43,7,103 ! Plane V', wire 103 +44,7,104 ! Plane V', wire 104 +45,7,105 ! Plane V', wire 105 +SLOT=15 +43,7,106 ! Plane V', wire 106 +SLOT=12 +110,10,1 ! Plane X, wire 1 +109,10,2 ! Plane X, wire 2 +108,10,3 ! Plane X, wire 3 +107,10,4 ! Plane X, wire 4 +106,10,5 ! Plane X, wire 5 +105,10,6 ! Plane X, wire 6 +104,10,7 ! Plane X, wire 7 +103,10,8 ! Plane X, wire 8 +102,10,9 ! Plane X, wire 9 +101,10,10 ! Plane X, wire 10 +100,10,11 ! Plane X, wire 11 +99,10,12 ! Plane X, wire 12 +98,10,13 ! Plane X, wire 13 +97,10,14 ! Plane X, wire 14 +96,10,15 ! Plane X, wire 15 +31,10,16 ! Plane X, wire 16 +30,10,17 ! Plane X, wire 17 +29,10,18 ! Plane X, wire 18 +28,10,19 ! Plane X, wire 19 +27,10,20 ! Plane X, wire 20 +26,10,21 ! Plane X, wire 21 +25,10,22 ! Plane X, wire 22 +24,10,23 ! Plane X, wire 23 +23,10,24 ! Plane X, wire 24 +22,10,25 ! Plane X, wire 25 +21,10,26 ! Plane X, wire 26 +20,10,27 ! Plane X, wire 27 +19,10,28 ! Plane X, wire 28 +18,10,29 ! Plane X, wire 29 +17,10,30 ! Plane X, wire 30 +16,10,31 ! Plane X, wire 31 +SLOT=11 +31,10,32 ! Plane X, wire 32 +30,10,33 ! Plane X, wire 33 +29,10,34 ! Plane X, wire 34 +28,10,35 ! Plane X, wire 35 +27,10,36 ! Plane X, wire 36 +26,10,37 ! Plane X, wire 37 +25,10,38 ! Plane X, wire 38 +24,10,39 ! Plane X, wire 39 +23,10,40 ! Plane X, wire 40 +22,10,41 ! Plane X, wire 41 +21,10,42 ! Plane X, wire 42 +20,10,43 ! Plane X, wire 43 +19,10,44 ! Plane X, wire 44 +18,10,45 ! Plane X, wire 45 +17,10,46 ! Plane X, wire 46 +SLOT=12 +111,10,47 ! Plane X, wire 47 +SLOT=15 +16,10,48 ! Plane X, wire 48 +17,10,49 ! Plane X, wire 49 +18,10,50 ! Plane X, wire 50 +19,10,51 ! Plane X, wire 51 +20,10,52 ! Plane X, wire 52 +21,10,53 ! Plane X, wire 53 +22,10,54 ! Plane X, wire 54 +23,10,55 ! Plane X, wire 55 +24,10,56 ! Plane X, wire 56 +25,10,57 ! Plane X, wire 57 +26,10,58 ! Plane X, wire 58 +27,10,59 ! Plane X, wire 59 +28,10,60 ! Plane X, wire 60 +29,10,61 ! Plane X, wire 61 +30,10,62 ! Plane X, wire 62 +31,10,63 ! Plane X, wire 63 +SLOT=14 +48,10,64 ! Plane X, wire 64 +49,10,65 ! Plane X, wire 65 +50,10,66 ! Plane X, wire 66 +51,10,67 ! Plane X, wire 67 +52,10,68 ! Plane X, wire 68 +53,10,69 ! Plane X, wire 69 +54,10,70 ! Plane X, wire 70 +55,10,71 ! Plane X, wire 71 +56,10,72 ! Plane X, wire 72 +57,10,73 ! Plane X, wire 73 +58,10,74 ! Plane X, wire 74 +59,10,75 ! Plane X, wire 75 +60,10,76 ! Plane X, wire 76 +61,10,77 ! Plane X, wire 77 +62,10,78 ! Plane X, wire 78 +SLOT=13 +125,9,1 ! Plane X', wire 1 +124,9,2 ! Plane X', wire 2 +123,9,3 ! Plane X', wire 3 +122,9,4 ! Plane X', wire 4 +121,9,5 ! Plane X', wire 5 +120,9,6 ! Plane X', wire 6 +119,9,7 ! Plane X', wire 7 +118,9,8 ! Plane X', wire 8 +117,9,9 ! Plane X', wire 9 +116,9,10 ! Plane X', wire 10 +115,9,11 ! Plane X', wire 11 +114,9,12 ! Plane X', wire 12 +113,9,13 ! Plane X', wire 13 +112,9,14 ! Plane X', wire 14 +15,9,15 ! Plane X', wire 15 +14,9,16 ! Plane X', wire 16 +13,9,17 ! Plane X', wire 17 +12,9,18 ! Plane X', wire 18 +11,9,19 ! Plane X', wire 19 +10,9,20 ! Plane X', wire 20 +9,9,21 ! Plane X', wire 21 +8,9,22 ! Plane X', wire 22 +7,9,23 ! Plane X', wire 23 +6,9,24 ! Plane X', wire 24 +5,9,25 ! Plane X', wire 25 +4,9,26 ! Plane X', wire 26 +3,9,27 ! Plane X', wire 27 +2,9,28 ! Plane X', wire 28 +1,9,29 ! Plane X', wire 29 +0,9,30 ! Plane X', wire 30 +SLOT=11 +96,9,31 ! Plane X', wire 31 +97,9,32 ! Plane X', wire 32 +98,9,33 ! Plane X', wire 33 +99,9,34 ! Plane X', wire 34 +100,9,35 ! Plane X', wire 35 +101,9,36 ! Plane X', wire 36 +102,9,37 ! Plane X', wire 37 +103,9,38 ! Plane X', wire 38 +104,9,39 ! Plane X', wire 39 +105,9,40 ! Plane X', wire 40 +106,9,41 ! Plane X', wire 41 +107,9,42 ! Plane X', wire 42 +108,9,43 ! Plane X', wire 43 +109,9,44 ! Plane X', wire 44 +110,9,45 ! Plane X', wire 45 +111,9,46 ! Plane X', wire 46 +64,9,47 ! Plane X', wire 47 +65,9,48 ! Plane X', wire 48 +66,9,49 ! Plane X', wire 49 +67,9,50 ! Plane X', wire 50 +68,9,51 ! Plane X', wire 51 +69,9,52 ! Plane X', wire 52 +70,9,53 ! Plane X', wire 53 +71,9,54 ! Plane X', wire 54 +72,9,55 ! Plane X', wire 55 +73,9,56 ! Plane X', wire 56 +74,9,57 ! Plane X', wire 57 +75,9,58 ! Plane X', wire 58 +76,9,59 ! Plane X', wire 59 +77,9,60 ! Plane X', wire 60 +78,9,61 ! Plane X', wire 61 +79,9,62 ! Plane X', wire 62 +SLOT=10 +96,9,63 ! Plane X', wire 63 +97,9,64 ! Plane X', wire 64 +98,9,65 ! Plane X', wire 65 +99,9,66 ! Plane X', wire 66 +100,9,67 ! Plane X', wire 67 +101,9,68 ! Plane X', wire 68 +102,9,69 ! Plane X', wire 69 +103,9,70 ! Plane X', wire 70 +104,9,71 ! Plane X', wire 71 +105,9,72 ! Plane X', wire 72 +106,9,73 ! Plane X', wire 73 +107,9,74 ! Plane X', wire 74 +108,9,75 ! Plane X', wire 75 +109,9,76 ! Plane X', wire 76 +110,9,77 ! Plane X', wire 77 +SLOT=13 +126,9,78 ! Plane X', wire 78 \ No newline at end of file diff --git a/MAPS/SHMS/db_crate7map.dat b/MAPS/SHMS/db_crate7map.dat deleted file mode 100644 index 6924af9cd292c707a1697312822289467fbce1b3..0000000000000000000000000000000000000000 --- a/MAPS/SHMS/db_crate7map.dat +++ /dev/null @@ -1,2 +0,0 @@ -==== Crate 7 type vme Bank Decoding -# slot model bank \ No newline at end of file diff --git a/MAPS/db_crateDCmap.dat b/MAPS/db_crateDCmap.dat deleted file mode 100644 index 583c2b8b9082f2b77421781acdbf86ea93d8828c..0000000000000000000000000000000000000000 --- a/MAPS/db_crateDCmap.dat +++ /dev/null @@ -1,20 +0,0 @@ -==== Crate 2 type vme -# slot model clear header mask nchan ndata - 4 1190 1 0x40000004 0xff00001f 128 4096 - 5 1190 1 0x40000005 0xff00001f 128 4096 - 7 1190 1 0x40000007 0xff00001f 128 4096 - 8 1190 1 0x40000008 0xff00001f 128 4096 - 10 1190 1 0x4000000a 0xff00001f 128 4096 - 13 1190 1 0x4000000d 0xff00001f 128 4096 - 14 1190 1 0x4000000e 0xff00001f 128 4096 - 16 1190 1 0x40000010 0xff00001f 128 4096 - 17 1190 1 0x40000011 0xff00001f 128 4096 -==== Crate 20 type vme -# slot model clear header mask nchan ndata - 6 1190 1 0x40000006 0xff00001f 128 4096 - 7 1190 1 0x40000007 0xff00001f 128 4096 - 8 1190 1 0x40000008 0xff00001f 128 4096 - 9 1190 1 0x40000009 0xff00001f 128 4096 - 10 1190 1 0x4000000a 0xff00001f 128 4096 - 11 1190 1 0x4000000b 0xff00001f 128 4096 - diff --git a/MAPS/db_cratemap.dat b/MAPS/db_cratemap.dat index a4c9ccdca8b4f07f8d4b81132f19990bb4d8984e..054ca6d7bc25491d515099089c71e0fae4baa57e 100644 --- a/MAPS/db_cratemap.dat +++ b/MAPS/db_cratemap.dat @@ -71,7 +71,6 @@ ==== Crate 6 type vme Bank Decoding # slot model bank - 5 1190 1190 6 1190 1190 7 1190 1190 8 1190 1190 @@ -81,8 +80,6 @@ 12 1190 1190 13 1190 1190 14 1190 1190 + 15 1190 1190 -==== Crate 7 type vme Bank Decoding -# slot model bank - diff --git a/MAPS/make_cratemap.pl b/MAPS/make_cratemap.pl deleted file mode 100755 index 7c3fc42dfe06b996d2fc8b691319b9f4859eeab1..0000000000000000000000000000000000000000 --- a/MAPS/make_cratemap.pl +++ /dev/null @@ -1,71 +0,0 @@ -#!/usr/bin/perl - -# Read a Hall C style MAP file and output a -# Hall A style crate map DB file. -# -# 22.03.2012 (saw) -# 11.04.2014 (saw) Perl cleanup - -%crates=(); - -$crate = 0; -$nsubadd = 0; -$bsub = 0; -$modtype = 0; -$slot = 0; -while(<>) { - chomp($line=$_); - if($line=~/^\s*ROC=\s*(\d*)/i) { - $i++; - $crate = $1; - if(not $crates{$crate}) { - $slotlist={}; - $crates{$crate} = $slotlist; - } - $modtype = 0; - $slot = 0; - } elsif ($line=~/^\s*nsubadd=\s*(\d*)/i) { - $nsubadd = $1; - $modtype = 0; - } elsif ($line=~/^\s*bsub=\s*(\d*)/i) { - $bsub = $1; - $modtype = 0; - } elsif ($line=~/^\s*slot=\s*(\d*)/i) { - $slot = $1; - $modtype = 0; - } elsif ($line=~/^\s*(\d*)\s*,\s*(\d*)\s*,\s*(\d*)/) { - if($modtype == 0) { # Slot not yet registered - if($nsubadd == 96) { - $modtype = 1877; - } elsif($nsubadd == 64) { - if($bsub == 16) { - $modtype = 1875; - } elsif($bsub == 17) { - $modtype = 1881; - } - } - if($modtype == 0) { - print "Unknown module Crate $crate, Slot $slot\n"; - } - $crates{$crate}{$slot} = $modtype; - # print "$crate $slot $modtype\n"; - } - } -} -print "# Hall C Crate map\n"; -foreach $crate (sort {$a <=> $b} keys %crates) { - print "==== Crate $crate type fastbus\n"; - print "# slot model clear header mask nchan ndata\n"; - foreach $slot (sort {$a <=> $b} keys %{ $crates{$crate}}) { - $modtype = $crates{$crate}{$slot}; - if($modtype == 1877) { - $ndata = 256; - } else { - $ndata = 64; - } - printf " %2d %d 1 0x0 0x0 %3d %d\n" - ,$slot,$modtype,$nsubadd, $ndata; - } -} - - diff --git a/MAPS/make_cratemap.sh b/MAPS/make_cratemap.sh index 9c86535536a341848e7fc980d95bbf55390a34ed..e6f96ca636a7667d4ba9a24ddbab1f62a3019e09 100755 --- a/MAPS/make_cratemap.sh +++ b/MAPS/make_cratemap.sh @@ -14,10 +14,10 @@ function proceed { done for crate in "${arr[@]}"; do if ((crate%2 == 1)) && ((crate != 7)); then - (cat ${PWD}/HMS/db_crate${crate}map.dat; echo; echo) >> db_cratemap.dat + (cat ${PWD}/HMS/CRATE/db_crate${crate}map.dat; echo; echo) >> db_cratemap.dat echo; echo "HMS Crate ${crate} has been added to db_cratemap.dat" elif ((crate%2 == 0)) || ((crate == 7)); then - (cat ${PWD}/SHMS/db_crate${crate}map.dat; echo; echo) >> db_cratemap.dat + (cat ${PWD}/SHMS/CRATE/db_crate${crate}map.dat; echo; echo) >> db_cratemap.dat echo; echo "SHMS Crate ${crate} has been added to db_cratemap.dat" if ((crate == 7)); then echo; fi fi diff --git a/MAPS/merge_maps.py b/MAPS/merge_maps.py index 95f1c062296d21c53c1157298ee3c4639dbe6d1f..6f0fab767fbc4ee955f3a43c2aaa2729000bc870 100644 --- a/MAPS/merge_maps.py +++ b/MAPS/merge_maps.py @@ -2,34 +2,92 @@ from __future__ import division, print_function +import copy +from pprint import pprint import sys +slotKWs = [ + 'REFCHAN', + 'REFINDEX', +] + +skipKws = [ + 'MASK', + 'NSUBADD', + 'BSUB', +] + + class Detector: def __init__(self): self.ID = -1 - self.slots = [] + self.comment = '' + self.rocs = [Roc()] + + def __str__(self): + string = 'DETECTOR={0.ID}'.format(self) + if self.comment != '': + string += ' ! {0.comment}'.format(self) + + return string + + +class Roc: + def __init__(self): + self.ID = -1 + self.comment = '' + self.slots = [Slot()] + + def __str__(self): + string = 'ROC={0.ID}'.format(self) + if self.comment != '': + string += ' ! {0.comment}'.format(self) + + return string class Slot: def __init__(self): - self.num = -1 - # These go in front of SLOT number. - self.KWs1 = { - 'ROC': -1, - } - # These go after the SLOT number. - self.KWs2 = { - 'REFCHAN': -1, - 'REFINDEX': -1 - } - # These are ignored. - self.SkipKWs = set([ - 'MASK', - 'NSUBADD', - 'BSUB', - ]) - self.entries = [] + self.ID = -1 + self.comment = '' + self.KWs = {kw: -1 for kw in slotKWs} + self.channels = [] + + def __str__(self): + string = 'SLOT={0.ID}'.format(self) + if self.comment != '': + string += ' ! {0.comment}'.format(self) + string += '\n' + for k, v in self.KWs.items(): + if v > -1: + string += '{}={}\n'.format(k, v) + + return string + + +class Channel: + def __init__(self, ID, plane, bar, signal=-1, comment=''): + self.ID = ID + self.plane = plane + self.bar = bar + self.signal = signal + self.comment = comment + + def __str__(self): + string = '{0.ID:>4},{0.plane:>4},{0.bar:>4}'.format(self) + if self.signal >= 0: + string += ',{0.signal:>4}'.format(self) + if self.comment: + string += ' ! {0.comment}'.format(self) + + return string + + +if (sys.argv[1] == '-h' or len(sys.argv) != 3): + print('Call as:') + print(' merge_maps.py merge_list.txt outfile.map') + sys.exit() listName = sys.argv[1] @@ -44,21 +102,19 @@ with open(listName, 'r') as fi: ] -# Header information. -KWs = [] -IDs = [] -signals = [] +header = { + "KWs": [], + "IDs": [], + "signals": [], +} -# Detector information. detectors = [] for fileName in fileNames: - detector = Detector() - slot = Slot() - # Track detector IDs in current file. - IDsCurrent = [] + currentIDs = [] + detectors.append(Detector()) with open(fileName, 'r') as fi: for line in fi: @@ -66,6 +122,8 @@ for fileName in fileNames: if line.isspace(): continue + line = line.strip() + # Check if comment line. if line.startswith('!'): # Check if header line. @@ -73,25 +131,23 @@ for fileName in fileNames: i = line.find('_ID=') if i == -1: continue - else: - KW = line[1:i].strip() - ID = line[i+4:].split()[0].strip() - signal = ','.join(line[i+4:].split()[1:]) - - if KW in KWs: - print('Detector keyword `{}` already present!'.format(KW)) - sys.exit(1) - if ID in IDs: - print('Detector ID `{}` already present!'.format(ID)) - sys.exit(1) - KWs.append(KW) - IDs.append(ID) - IDsCurrent.append(ID) - signals.append(signal) - continue - - line = line.strip() + KW = line[1:i].strip() + ID = line[i+4:].split()[0].strip() + signal = ','.join(line[i+4:].split()[1:]) + + if KW in header['KWs']: + print('Detector keyword `{}` already present!'.format(KW)) + sys.exit(1) + if ID in header['IDs']: + print('Detector ID `{}` already present!'.format(ID)) + sys.exit(1) + + header['KWs'].append(KW) + header['IDs'].append(ID) + header['signals'].append(signal) + currentIDs.append(ID) + continue # Get comments. i = line.find('!') @@ -100,93 +156,102 @@ for fileName in fileNames: line = ''.join(line[:i].split()) else: line = ''.join(line.split()) + comment = '' # Check if there is keyword. i = line.find('=') if i > -1: command = line[:i].upper() - value = line[i+1:] + ID = line[i+1:] - if command in slot.KWs1.keys(): - slot.KWs1[command] = value - elif command in slot.KWs2.keys(): - slot.KWs2[command] = value - elif command in slot.SkipKWs: - continue + if command == 'DETECTOR': + if detectors[-1].ID > 0: + detectors.append(Detector()) + if ID not in currentIDs: + print('Detector ID `{}` not found!'.format(ID)) + sys.exit(1) + detectors[-1].ID = ID + detectors[-1].comment = comment - elif command == 'DETECTOR': - if detector.ID > 0: - detectors.append(detector) - detector = Detector() - if value not in IDsCurrent: - print('Detector ID `{}` not found!'.format(value)) - sys.exit() - detector.ID = value + elif command == 'ROC': + if detectors[-1].rocs[-1].ID > 0: + detectors[-1].rocs.append(Roc()) + detectors[-1].rocs[-1].ID = ID + detectors[-1].rocs[-1].comment = comment elif command == 'SLOT': - if slot.num > 0: - detector.slots.append(slot) - slot = Slot() - slot.num = value + if detectors[-1].rocs[-1].slots[-1].ID > 0: + detectors[-1].rocs[-1].slots.append(Slot()) + detectors[-1].rocs[-1].slots[-1].ID = ID + detectors[-1].rocs[-1].slots[-1].comment = comment + + elif command in slotKWs: + detectors[-1].rocs[-1].slots[-1].KWs[command] = ID + + elif command in skipKWs: + pass else: print('Unknown command `{}` in line:'.format(command)) print(line) + continue + # This must be channel line. values = line.split(',') - values = ','.join(['{:>4}'.format(val) for val in values]) - slot.entries.append('{} ! {}'.format(values, comment)) - - detectors.append(detector) + detectors[-1].rocs[-1].slots[-1].channels.append( + Channel(*values, comment=comment) + ) - -# Check if each detector has at least one slot and ROC defined. -for ID, KW in sorted(zip(IDs, KWs)): +# Check if each detector has defined at least one ROC and slot. +for ID, KW in sorted(zip(header['IDs'], header['KWs'])): found = False for detector in detectors: if detector.ID == ID: found = True - if len(detector.slots) == 0: - print('Detector with ID {} has no slots!'.format(ID)) - sys.exit(1) - if detector.slots[0].KWs1['ROC'] == -1: - print('No crate defined for detector with ID {}!'.format(ID)) + if detector.rocs[0].ID < 0: + print('No crate defined for detector {}!'.format(ID)) sys.exit(1) + for roc in detector.rocs: + if roc.slots[0].ID < 0: + print( + 'No slot defined for crate {} in detector {}!'.format( + roc.ID, detector.ID + ) + ) + sys.exit(1) + if not found: - print('No entry for detector with ID {}!'.format(ID)) + print('No entry for detector {}!'.format(ID)) +# Write merged map file. with open(mergedName, 'w') as fo: # Write header. - for ID, KW, signal in sorted(zip(IDs, KWs, signals)): + for ID, KW, signals in sorted(zip( + header['IDs'], header['KWs'], header['signals'] + )): IDString = '{}_ID={}'.format(KW, ID) fo.write('! {:15} :: {}\n'.format(IDString, signal)) - # Write detectors sorted by their ID. - for ID, KW in sorted(zip(IDs, KWs)): + # Write detector maps sorted by IDs. + for ID, KW in sorted(zip( + header['IDs'], header['KWs'] + )): for detector in detectors: if detector.ID == ID: + fo.write('\n\n{}\n'.format(detector)) - fo.write('\n\n') - fo.write('DETECTOR={0.ID} ! {1}\n'.format(detector, KW)) - - for slot in detector.slots: - fo.write('\n') - - for key, value in sorted(slot.KWs1.items()): - if value > 0: - fo.write('{}={}\n'.format(key, value)) + for roc in detector.rocs: + fo.write('\n{}\n'.format(roc)) - fo.write('SLOT={0.num}\n'.format(slot)) + for slot in roc.slots: + fo.write('\n{}'.format(slot)) - for key, value in sorted(slot.KWs2.items()): - if value > 0: - fo.write('{}={}\n'.format(key, value)) + for channel in slot.channels: + fo.write('{}\n'.format(channel)) - for entry in slot.entries: - fo.write('{}\n'.format(entry)) - break +print('\nDone.') diff --git a/PARAM/gbeam.param b/PARAM/GEN/gbeam.param similarity index 100% rename from PARAM/gbeam.param rename to PARAM/GEN/gbeam.param diff --git a/PARAM/gdebug.param b/PARAM/GEN/gdebug.param similarity index 100% rename from PARAM/gdebug.param rename to PARAM/GEN/gdebug.param diff --git a/PARAM/genflags.param b/PARAM/GEN/genflags.param similarity index 100% rename from PARAM/genflags.param rename to PARAM/GEN/genflags.param diff --git a/PARAM/gtarget.param b/PARAM/GEN/gtarget.param similarity index 100% rename from PARAM/gtarget.param rename to PARAM/GEN/gtarget.param diff --git a/PARAM/haero.param b/PARAM/HMS/AERO/haero.param similarity index 100% rename from PARAM/haero.param rename to PARAM/HMS/AERO/haero.param diff --git a/PARAM/hcal.param b/PARAM/HMS/CAL/hcal.param similarity index 100% rename from PARAM/hcal.param rename to PARAM/HMS/CAL/hcal.param diff --git a/PARAM/hcal.pos b/PARAM/HMS/CAL/hcal.pos similarity index 100% rename from PARAM/hcal.pos rename to PARAM/HMS/CAL/hcal.pos diff --git a/PARAM/hcer.param b/PARAM/HMS/CER/hcer.param similarity index 100% rename from PARAM/hcer.param rename to PARAM/HMS/CER/hcer.param diff --git a/PARAM/hdc.param b/PARAM/HMS/DC/hdc.param similarity index 100% rename from PARAM/hdc.param rename to PARAM/HMS/DC/hdc.param diff --git a/PARAM/hdc.pos b/PARAM/HMS/DC/hdc.pos similarity index 100% rename from PARAM/hdc.pos rename to PARAM/HMS/DC/hdc.pos diff --git a/PARAM/hdc_offsets.param b/PARAM/HMS/DC/hdc_offsets.param similarity index 100% rename from PARAM/hdc_offsets.param rename to PARAM/HMS/DC/hdc_offsets.param diff --git a/PARAM/hdc_test_stand.param b/PARAM/HMS/DC/hdc_test_stand.param similarity index 100% rename from PARAM/hdc_test_stand.param rename to PARAM/HMS/DC/hdc_test_stand.param diff --git a/PARAM/hdeadwires.param b/PARAM/HMS/DC/hdeadwires.param similarity index 100% rename from PARAM/hdeadwires.param rename to PARAM/HMS/DC/hdeadwires.param diff --git a/PARAM/hdriftmap.param b/PARAM/HMS/DC/hdriftmap.param similarity index 100% rename from PARAM/hdriftmap.param rename to PARAM/HMS/DC/hdriftmap.param diff --git a/PARAM/hcana.param b/PARAM/HMS/GEN/hcana.param similarity index 100% rename from PARAM/hcana.param rename to PARAM/HMS/GEN/hcana.param diff --git a/PARAM/hdebug.param b/PARAM/HMS/GEN/hdebug.param similarity index 100% rename from PARAM/hdebug.param rename to PARAM/HMS/GEN/hdebug.param diff --git a/PARAM/hmsflags.param b/PARAM/HMS/GEN/hmsflags.param similarity index 100% rename from PARAM/hmsflags.param rename to PARAM/HMS/GEN/hmsflags.param diff --git a/PARAM/htracking.param b/PARAM/HMS/GEN/htracking.param similarity index 100% rename from PARAM/htracking.param rename to PARAM/HMS/GEN/htracking.param diff --git a/PARAM/hhodo.param b/PARAM/HMS/HODO/hhodo.param similarity index 100% rename from PARAM/hhodo.param rename to PARAM/HMS/HODO/hhodo.param diff --git a/PARAM/hhodo.pos b/PARAM/HMS/HODO/hhodo.pos similarity index 100% rename from PARAM/hhodo.pos rename to PARAM/HMS/HODO/hhodo.pos diff --git a/PARAM/SHMS/DC/pdc.param b/PARAM/SHMS/DC/pdc.param new file mode 100644 index 0000000000000000000000000000000000000000..56517a04741c12d0786e7a3930ef48dc4aa9edd1 --- /dev/null +++ b/PARAM/SHMS/DC/pdc.param @@ -0,0 +1,25 @@ +;--------------------------------------------------------------------- +; SHMS_TRACKING +; CTP parameter file containing all tracking parameters for the HMS +;---------------------------------------------------------------------- + +; sigma of wire chabmer resolution for each plane + pdc_sigma = 0.02, 0.02, 0.02, 0.02, 0.02, 0.02 + 0.02, 0.02, 0.02, 0.02, 0.02, 0.02 + +; tdc window, wide limits for now + pdc_tdc_min_win = -55000,-55000,-55000,-55000,-55000,-55000 + -55000,-55000,-55000,-55000,-55000,-55000 + pdc_tdc_max_win = 55000,55000,55000,55000,55000,55000 + 55000,55000,55000,55000,55000,55000 + +; conversion from tdc lciks to ns + pdc_tdc_time_per_channel = -0.10 ; CAEN1190 TDC step size = 100ps + +; zero time, decreasing moves sdtime plots to lower time + pdc_plane_time_zero = 120.0,120.0,120.0,120.0,120.0,120.0 + 120.0,120.0,120.0,120.0,120.0,120.0 + +; wire velocity + pdc_wire_velocity = 13.0 + pdc_central_time = 1,1,1,1,1,1,1,1,1,1,1,1 diff --git a/PARAM/SHMS/DC/pdc.param.ori b/PARAM/SHMS/DC/pdc.param.ori new file mode 100644 index 0000000000000000000000000000000000000000..7d1d76cf442116fbf659ed66afee7b0571919598 --- /dev/null +++ b/PARAM/SHMS/DC/pdc.param.ori @@ -0,0 +1,14 @@ + +ppartmass = 0.139 +phodo_num_planes = 1 + +; Scintillator parameters +pref_npaddles = 6 +pref_nsperchan = 0.1 +pref_offset = 0.0 + + + + + + diff --git a/PARAM/SHMS/DC/pdc.param.ori.dnd b/PARAM/SHMS/DC/pdc.param.ori.dnd new file mode 100644 index 0000000000000000000000000000000000000000..4ba25d481eb391a28d5bb83bd6d13c5203c456f5 --- /dev/null +++ b/PARAM/SHMS/DC/pdc.param.ori.dnd @@ -0,0 +1,377 @@ + +raddeg=3.14159265/180 + +; Parameters we need to keep THcHallCSpectrometer Happy +p_recon_coeff_filename = "" +ptheta_offset = 0.0 +pphi_offset = 0.0 +pdelta_offset = 0.0 +pthetacentral_offset = 0.0 +p_oopcentral_offset = 0.0 +ppcentral_offset = 0.0 +ppcentral = 0.0 +ptheta_lab = 0.0 +ppartmass = 0.139 +phodo_num_planes = 1 + +; Scintillator parameters +pref_npaddles = 6 +pref_nsperchan = 0.1 +pref_offset = 0.0 +; + +; Number of chambers in test setup + + + pdc_num_chambers = 2 + pdc_num_planes = 12 + pdc_tdc_time_per_channel = -0.10 ; TDC step size 100ps? + pdc_wire_velocity = 13.0 + pdc_central_time = 1,1,1,1,1,1,1,1,1,1,1,1 + pdc_plane_names = "1u1 1u2 1x1 1x2 1v1 1v2 2v2 2v1 2x2 2x1 2u2 2u1 + pdc_xcenter = 0.0, 0.0 + pdc_ycenter = 0.0, 0.0 +; Order in which wires are readout + pdc_wire_counting = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +; If pdc_wire_counting(plane) = 0 +; the wire center is at (wire - pdc_central_wire) * pitch +; If pdc_wire_counting(plane) = 1 +; the wire center is at ( pdc_nrwire + 1 - wire - pdc_central_wire) * pitch + +; The velocity correction is the distance from the center of the wire divided +; by the velocity of propagation times pdc_drifttime_sign(pln). +/-1 +; for disc. card at +/- coord. (i.e. top = -x direction, so top readout is +1) +; +; These are guesses taken from the SOS Chambers +; + pdc_drifttime_sign = 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1 +; +; Wire number of center of wire chamber +; Note the convention : x : low number = -x , u,v : low number = "-x" +; x1 and x2, u1 and u2, v1 and v2 are offset by half a cell length +; assume 1st wire of 1st dc of a set is closest to edge where counting starts +; (These taken from SOS. Will be different for SHMS + pdc_central_wire = 54.25 + 53.75 + 40.25 + 40.75 + 54.25 + 53.75 + 53.75 + 54.25 + 40.75 + 40.25 + 53.75 + 54.25 + +; sigma of wire chabmer resolution for each plane + pdc_sigma = 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02 + +; tdc window. Wide limits for now + pdc_tdc_min_win = -55000,-55000,-55000,-55000,-55000,-55000,-55000,-55000,-55000,-55000,-55000,-55000 + pdc_tdc_max_win = 55000,55000,55000,55000,55000,55000,55000,55000,55000,55000,55000,55000 +; zero time. Decreasing moves sdtime plots to lower time + pdc_plane_time_zero = 120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0 + pdc_chamber_planes = 1,1,1,1,1,1,2,2,2,2,2,2 ; Chamber # for each plane + + +; pdc_1_zpos = -14.5*2.54 + pdc_1_zpos = 0 ; Don't try to project to scintillators + +; Use geometry of SOS chambers for now + pdc_zpos = pdc_1_zpos - 1.5875 + pdc_1_zpos - 0.9525 + pdc_1_zpos - 0.3175 + pdc_1_zpos + 0.3175 + pdc_1_zpos + 0.9525 + pdc_1_zpos + 1.5875 + pdc_1_zpos - 1.5875 + pdc_1_zpos - 0.9525 + pdc_1_zpos - 0.3175 + pdc_1_zpos + 0.3175 + pdc_1_zpos + 0.9525 + pdc_1_zpos + 1.5875 + +; Angle alpha of wires in wire chamber planes + pdc_roll = 0.0 ; SOS chambers had roll as installed + pdc_alpha_angle = (30-pdc_roll)*raddeg + (30-pdc_roll)*raddeg + (90-pdc_roll)*raddeg + (90-pdc_roll)*raddeg + (150-pdc_roll)*raddeg + (150-pdc_roll)*raddeg + (30-pdc_roll)*raddeg + (30-pdc_roll)*raddeg + (90-pdc_roll)*raddeg + (90-pdc_roll)*raddeg + (150-pdc_roll)*raddeg + (150-pdc_roll)*raddeg + pdc_beta = 0.0 + pdc_beta_angle = pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + + pdc_gamma = 0.0 + pdc_gamma_angle = pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_pitch = 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 +; Number of wires per plane + pdc_nrwire = 107 + 107 + 79 + 79 + 107 + 107 + 107 + 107 + 79 + 79 + 107 + 107 + +; Tracking parameters + + pmax_pr_hits = 25, 25 + pmin_hit = 5, 5 + pmin_combos = 6, 6 + pspace_point_criterion = 1.2, 1.2 + +; The following four criteria are applied to the stub fit results at the +; focal plane position to link stubs to tracks + pntracks_max_fp = 10 + pxt_track_criterion = 100.0 + pyt_track_criterion = 2.0 + pxpt_track_criterion = 1.0 + pypt_track_criterion = 1.0 + + psingle_stub = 1 ; make a track of all single stubs + ; normally 0 + pSmallAngleApprox = 0 ; No small angle approximation for + ; cosmic ray tests + +; Compatibility parameters. Should be zero to precisely mimic ENGINE +; behavior, but one for more correct behavior +pdc_fix_lr = 1 ; Let hit have different L/R assignment for different space point +pdc_fix_propcorr = 1 ; do propagation along wire each time hit appeears + ; in a space point + +; Debugging flags - not all these implemented in hcana +pdebuglinkstubs = 0 ; Dump link stub results +pdebugprintrawdc = 0 ; Dump PDC_RAW_DC bank +pdebugprintdecodeddc = 0 ; Dump PDC_DECODED_DC bank +pdebugflagpr = 0 ; Dump intermediate pattern recognition results +pdebugflagstubs= 0 ; Dump stub fit results +pdebugtrackprint = 0 ; Dump focal plane track fit results +pdebugstubchisq = 0; Dump chi2 of left-right fits + +; Drift map parameters +pdriftbins = 138 +; Number of 1st bin in table +pdrift1stbin = -24 +; Bin size in ns +pdriftbinsz = 2 +; Drift maps simply copied from the SOS chambers +pwc1u1fract=0.0002,0.0005,0.0009,0.0011,0.0015,0.0018,0.0022,0.0027 +0.0029,0.0033,0.0038,0.0044,0.0048,0.0051,0.0057,0.0070,0.0090,0.0121 +0.0167,0.0217,0.0282,0.0371,0.0467,0.0582,0.0723,0.0873,0.1038,0.1211 +0.1409,0.1609,0.1826,0.2060,0.2302,0.2542,0.2796,0.3043,0.3294,0.3555 +0.3819,0.4085,0.4343,0.4618,0.4890,0.5140,0.5384,0.5635,0.5880,0.6100 +0.6311,0.6522,0.6722,0.6928,0.7120,0.7316,0.7495,0.7684,0.7853,0.8026 +0.8191,0.8334,0.8491,0.8629,0.8771,0.8888,0.8994,0.9089,0.9170,0.9242 +0.9308,0.9364,0.9411,0.9457,0.9496,0.9538,0.9571,0.9602,0.9630,0.9654 +0.9679,0.9698,0.9718,0.9735,0.9750,0.9765,0.9778,0.9791,0.9804,0.9815 +0.9825,0.9833,0.9844,0.9851,0.9855,0.9862,0.9870,0.9874,0.9877,0.9883 +0.9889,0.9893,0.9895,0.9898,0.9901,0.9904,0.9910,0.9918,0.9923,0.9927 +0.9930,0.9935,0.9937,0.9941,0.9943,0.9947,0.9949,0.9952,0.9957,0.9962 +0.9964,0.9966,0.9970,0.9973,0.9975,0.9977,0.9979,0.9982,0.9986,0.9988 +0.9990,0.9991,0.9994,0.9995,0.9998,0.9999,1.0000,1.0000,1.0000,1.0000 +pwc1x1fract=0.0004,0.0006,0.0008,0.0010,0.0012,0.0015,0.0017,0.0021 +0.0025,0.0028,0.0031,0.0033,0.0036,0.0041,0.0045,0.0051,0.0060,0.0075 +0.0104,0.0138,0.0191,0.0265,0.0356,0.0463,0.0596,0.0743,0.0916,0.1114 +0.1316,0.1533,0.1757,0.1988,0.2209,0.2455,0.2689,0.2945,0.3196,0.3437 +0.3697,0.3950,0.4196,0.4448,0.4702,0.4953,0.5186,0.5416,0.5650,0.5877 +0.6099,0.6316,0.6519,0.6719,0.6909,0.7099,0.7277,0.7463,0.7645,0.7821 +0.7979,0.8154,0.8320,0.8477,0.8612,0.8740,0.8865,0.8973,0.9077,0.9161 +0.9234,0.9301,0.9351,0.9406,0.9454,0.9497,0.9531,0.9570,0.9605,0.9631 +0.9660,0.9690,0.9713,0.9728,0.9748,0.9762,0.9775,0.9786,0.9800,0.9807 +0.9818,0.9827,0.9833,0.9843,0.9849,0.9857,0.9861,0.9866,0.9871,0.9877 +0.9883,0.9887,0.9891,0.9895,0.9898,0.9901,0.9907,0.9913,0.9916,0.9918 +0.9921,0.9925,0.9929,0.9931,0.9935,0.9940,0.9944,0.9946,0.9949,0.9952 +0.9956,0.9960,0.9966,0.9968,0.9970,0.9972,0.9974,0.9976,0.9979,0.9980 +0.9984,0.9985,0.9988,0.9990,0.9991,0.9993,0.9996,0.9998,0.9999,1.0000 +pwc1v1fract=0.0002,0.0006,0.0008,0.0011,0.0013,0.0016,0.0019,0.0020 +0.0022,0.0025,0.0030,0.0035,0.0038,0.0042,0.0049,0.0057,0.0076,0.0103 +0.0149,0.0200,0.0273,0.0353,0.0455,0.0574,0.0719,0.0865,0.1045,0.1224 +0.1416,0.1630,0.1844,0.2074,0.2317,0.2555,0.2807,0.3046,0.3298,0.3553 +0.3826,0.4075,0.4316,0.4563,0.4823,0.5065,0.5315,0.5554,0.5781,0.6014 +0.6235,0.6434,0.6643,0.6853,0.7050,0.7238,0.7415,0.7602,0.7787,0.7975 +0.8152,0.8307,0.8456,0.8595,0.8723,0.8851,0.8957,0.9043,0.9126,0.9205 +0.9276,0.9330,0.9383,0.9437,0.9484,0.9521,0.9553,0.9582,0.9607,0.9634 +0.9657,0.9676,0.9701,0.9722,0.9738,0.9755,0.9767,0.9781,0.9794,0.9804 +0.9814,0.9825,0.9835,0.9842,0.9847,0.9853,0.9861,0.9866,0.9871,0.9878 +0.9882,0.9888,0.9891,0.9897,0.9900,0.9903,0.9909,0.9910,0.9917,0.9919 +0.9924,0.9929,0.9937,0.9939,0.9944,0.9948,0.9954,0.9956,0.9961,0.9966 +0.9968,0.9972,0.9974,0.9978,0.9980,0.9981,0.9984,0.9986,0.9989,0.9991 +0.9995,0.9996,0.9998,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +pwc1u2fract=0.0003,0.0004,0.0008,0.0011,0.0015,0.0018,0.0021,0.0024 +0.0027,0.0030,0.0033,0.0037,0.0039,0.0043,0.0046,0.0049,0.0059,0.0073 +0.0094,0.0129,0.0184,0.0267,0.0352,0.0446,0.0563,0.0707,0.0863,0.1030 +0.1206,0.1411,0.1629,0.1845,0.2087,0.2325,0.2578,0.2837,0.3091,0.3357 +0.3606,0.3867,0.4119,0.4362,0.4608,0.4857,0.5099,0.5349,0.5587,0.5814 +0.6047,0.6260,0.6480,0.6685,0.6892,0.7099,0.7282,0.7456,0.7643,0.7812 +0.7988,0.8141,0.8309,0.8454,0.8616,0.8738,0.8847,0.8955,0.9049,0.9133 +0.9199,0.9274,0.9341,0.9399,0.9445,0.9489,0.9529,0.9561,0.9593,0.9620 +0.9645,0.9667,0.9689,0.9701,0.9720,0.9740,0.9756,0.9771,0.9785,0.9796 +0.9808,0.9816,0.9823,0.9832,0.9839,0.9846,0.9854,0.9860,0.9867,0.9874 +0.9876,0.9881,0.9885,0.9889,0.9895,0.9900,0.9902,0.9907,0.9910,0.9916 +0.9919,0.9923,0.9927,0.9930,0.9934,0.9937,0.9942,0.9945,0.9949,0.9953 +0.9957,0.9962,0.9965,0.9968,0.9971,0.9973,0.9976,0.9979,0.9981,0.9984 +0.9986,0.9988,0.9989,0.9993,0.9995,0.9998,0.9999,0.9999,1.0000,1.0000 +pwc1x2fract=0.0002,0.0005,0.0008,0.0011,0.0014,0.0017,0.0021,0.0025 +0.0027,0.0031,0.0032,0.0034,0.0040,0.0045,0.0052,0.0065,0.0083,0.0112 +0.0150,0.0200,0.0264,0.0341,0.0435,0.0560,0.0701,0.0862,0.1027,0.1210 +0.1417,0.1628,0.1833,0.2069,0.2301,0.2547,0.2799,0.3062,0.3314,0.3582 +0.3860,0.4141,0.4390,0.4656,0.4903,0.5161,0.5410,0.5649,0.5874,0.6090 +0.6298,0.6507,0.6721,0.6923,0.7117,0.7312,0.7510,0.7706,0.7881,0.8052 +0.8204,0.8360,0.8525,0.8666,0.8793,0.8906,0.9019,0.9103,0.9194,0.9274 +0.9340,0.9397,0.9442,0.9483,0.9523,0.9557,0.9596,0.9625,0.9653,0.9678 +0.9698,0.9718,0.9732,0.9751,0.9768,0.9782,0.9793,0.9804,0.9813,0.9821 +0.9828,0.9834,0.9842,0.9848,0.9852,0.9857,0.9861,0.9864,0.9872,0.9877 +0.9880,0.9886,0.9889,0.9894,0.9898,0.9903,0.9908,0.9915,0.9921,0.9924 +0.9927,0.9930,0.9935,0.9939,0.9943,0.9945,0.9949,0.9952,0.9957,0.9960 +0.9963,0.9965,0.9967,0.9972,0.9975,0.9979,0.9980,0.9985,0.9987,0.9988 +0.9990,0.9991,0.9992,0.9995,0.9997,1.0000,1.0000,1.0000,1.0000,1.0000 +pwc1v2fract=0.0004,0.0006,0.0008,0.0012,0.0013,0.0016,0.0018,0.0021 +0.0024,0.0027,0.0029,0.0032,0.0036,0.0039,0.0043,0.0049,0.0063,0.0080 +0.0113,0.0155,0.0218,0.0300,0.0397,0.0508,0.0645,0.0793,0.0949,0.1135 +0.1343,0.1560,0.1786,0.2019,0.2250,0.2498,0.2756,0.3011,0.3270,0.3526 +0.3778,0.4042,0.4299,0.4570,0.4821,0.5077,0.5311,0.5540,0.5784,0.6010 +0.6219,0.6429,0.6633,0.6830,0.7023,0.7214,0.7403,0.7590,0.7786,0.7948 +0.8118,0.8288,0.8444,0.8587,0.8725,0.8842,0.8946,0.9044,0.9136,0.9208 +0.9264,0.9323,0.9377,0.9428,0.9472,0.9506,0.9541,0.9576,0.9602,0.9635 +0.9656,0.9675,0.9695,0.9715,0.9732,0.9751,0.9768,0.9777,0.9789,0.9802 +0.9809,0.9819,0.9828,0.9835,0.9841,0.9850,0.9858,0.9863,0.9866,0.9870 +0.9875,0.9880,0.9884,0.9888,0.9894,0.9899,0.9901,0.9905,0.9909,0.9912 +0.9917,0.9919,0.9922,0.9926,0.9931,0.9936,0.9941,0.9945,0.9951,0.9954 +0.9959,0.9962,0.9964,0.9967,0.9969,0.9971,0.9975,0.9978,0.9980,0.9983 +0.9986,0.9988,0.9991,0.9995,0.9998,0.9999,0.9999,0.9999,1.0000,1.0000 + +pwc2u1fract=0.0002,0.0005,0.0009,0.0011,0.0015,0.0018,0.0022,0.0027 +0.0029,0.0033,0.0038,0.0044,0.0048,0.0051,0.0057,0.0070,0.0090,0.0121 +0.0167,0.0217,0.0282,0.0371,0.0467,0.0582,0.0723,0.0873,0.1038,0.1211 +0.1409,0.1609,0.1826,0.2060,0.2302,0.2542,0.2796,0.3043,0.3294,0.3555 +0.3819,0.4085,0.4343,0.4618,0.4890,0.5140,0.5384,0.5635,0.5880,0.6100 +0.6311,0.6522,0.6722,0.6928,0.7120,0.7316,0.7495,0.7684,0.7853,0.8026 +0.8191,0.8334,0.8491,0.8629,0.8771,0.8888,0.8994,0.9089,0.9170,0.9242 +0.9308,0.9364,0.9411,0.9457,0.9496,0.9538,0.9571,0.9602,0.9630,0.9654 +0.9679,0.9698,0.9718,0.9735,0.9750,0.9765,0.9778,0.9791,0.9804,0.9815 +0.9825,0.9833,0.9844,0.9851,0.9855,0.9862,0.9870,0.9874,0.9877,0.9883 +0.9889,0.9893,0.9895,0.9898,0.9901,0.9904,0.9910,0.9918,0.9923,0.9927 +0.9930,0.9935,0.9937,0.9941,0.9943,0.9947,0.9949,0.9952,0.9957,0.9962 +0.9964,0.9966,0.9970,0.9973,0.9975,0.9977,0.9979,0.9982,0.9986,0.9988 +0.9990,0.9991,0.9994,0.9995,0.9998,0.9999,1.0000,1.0000,1.0000,1.0000 +pwc2x1fract=0.0004,0.0006,0.0008,0.0010,0.0012,0.0015,0.0017,0.0021 +0.0025,0.0028,0.0031,0.0033,0.0036,0.0041,0.0045,0.0051,0.0060,0.0075 +0.0104,0.0138,0.0191,0.0265,0.0356,0.0463,0.0596,0.0743,0.0916,0.1114 +0.1316,0.1533,0.1757,0.1988,0.2209,0.2455,0.2689,0.2945,0.3196,0.3437 +0.3697,0.3950,0.4196,0.4448,0.4702,0.4953,0.5186,0.5416,0.5650,0.5877 +0.6099,0.6316,0.6519,0.6719,0.6909,0.7099,0.7277,0.7463,0.7645,0.7821 +0.7979,0.8154,0.8320,0.8477,0.8612,0.8740,0.8865,0.8973,0.9077,0.9161 +0.9234,0.9301,0.9351,0.9406,0.9454,0.9497,0.9531,0.9570,0.9605,0.9631 +0.9660,0.9690,0.9713,0.9728,0.9748,0.9762,0.9775,0.9786,0.9800,0.9807 +0.9818,0.9827,0.9833,0.9843,0.9849,0.9857,0.9861,0.9866,0.9871,0.9877 +0.9883,0.9887,0.9891,0.9895,0.9898,0.9901,0.9907,0.9913,0.9916,0.9918 +0.9921,0.9925,0.9929,0.9931,0.9935,0.9940,0.9944,0.9946,0.9949,0.9952 +0.9956,0.9960,0.9966,0.9968,0.9970,0.9972,0.9974,0.9976,0.9979,0.9980 +0.9984,0.9985,0.9988,0.9990,0.9991,0.9993,0.9996,0.9998,0.9999,1.0000 +pwc2v1fract=0.0002,0.0006,0.0008,0.0011,0.0013,0.0016,0.0019,0.0020 +0.0022,0.0025,0.0030,0.0035,0.0038,0.0042,0.0049,0.0057,0.0076,0.0103 +0.0149,0.0200,0.0273,0.0353,0.0455,0.0574,0.0719,0.0865,0.1045,0.1224 +0.1416,0.1630,0.1844,0.2074,0.2317,0.2555,0.2807,0.3046,0.3298,0.3553 +0.3826,0.4075,0.4316,0.4563,0.4823,0.5065,0.5315,0.5554,0.5781,0.6014 +0.6235,0.6434,0.6643,0.6853,0.7050,0.7238,0.7415,0.7602,0.7787,0.7975 +0.8152,0.8307,0.8456,0.8595,0.8723,0.8851,0.8957,0.9043,0.9126,0.9205 +0.9276,0.9330,0.9383,0.9437,0.9484,0.9521,0.9553,0.9582,0.9607,0.9634 +0.9657,0.9676,0.9701,0.9722,0.9738,0.9755,0.9767,0.9781,0.9794,0.9804 +0.9814,0.9825,0.9835,0.9842,0.9847,0.9853,0.9861,0.9866,0.9871,0.9878 +0.9882,0.9888,0.9891,0.9897,0.9900,0.9903,0.9909,0.9910,0.9917,0.9919 +0.9924,0.9929,0.9937,0.9939,0.9944,0.9948,0.9954,0.9956,0.9961,0.9966 +0.9968,0.9972,0.9974,0.9978,0.9980,0.9981,0.9984,0.9986,0.9989,0.9991 +0.9995,0.9996,0.9998,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +pwc2u2fract=0.0003,0.0004,0.0008,0.0011,0.0015,0.0018,0.0021,0.0024 +0.0027,0.0030,0.0033,0.0037,0.0039,0.0043,0.0046,0.0049,0.0059,0.0073 +0.0094,0.0129,0.0184,0.0267,0.0352,0.0446,0.0563,0.0707,0.0863,0.1030 +0.1206,0.1411,0.1629,0.1845,0.2087,0.2325,0.2578,0.2837,0.3091,0.3357 +0.3606,0.3867,0.4119,0.4362,0.4608,0.4857,0.5099,0.5349,0.5587,0.5814 +0.6047,0.6260,0.6480,0.6685,0.6892,0.7099,0.7282,0.7456,0.7643,0.7812 +0.7988,0.8141,0.8309,0.8454,0.8616,0.8738,0.8847,0.8955,0.9049,0.9133 +0.9199,0.9274,0.9341,0.9399,0.9445,0.9489,0.9529,0.9561,0.9593,0.9620 +0.9645,0.9667,0.9689,0.9701,0.9720,0.9740,0.9756,0.9771,0.9785,0.9796 +0.9808,0.9816,0.9823,0.9832,0.9839,0.9846,0.9854,0.9860,0.9867,0.9874 +0.9876,0.9881,0.9885,0.9889,0.9895,0.9900,0.9902,0.9907,0.9910,0.9916 +0.9919,0.9923,0.9927,0.9930,0.9934,0.9937,0.9942,0.9945,0.9949,0.9953 +0.9957,0.9962,0.9965,0.9968,0.9971,0.9973,0.9976,0.9979,0.9981,0.9984 +0.9986,0.9988,0.9989,0.9993,0.9995,0.9998,0.9999,0.9999,1.0000,1.0000 +pwc2x2fract=0.0002,0.0005,0.0008,0.0011,0.0014,0.0017,0.0021,0.0025 +0.0027,0.0031,0.0032,0.0034,0.0040,0.0045,0.0052,0.0065,0.0083,0.0112 +0.0150,0.0200,0.0264,0.0341,0.0435,0.0560,0.0701,0.0862,0.1027,0.1210 +0.1417,0.1628,0.1833,0.2069,0.2301,0.2547,0.2799,0.3062,0.3314,0.3582 +0.3860,0.4141,0.4390,0.4656,0.4903,0.5161,0.5410,0.5649,0.5874,0.6090 +0.6298,0.6507,0.6721,0.6923,0.7117,0.7312,0.7510,0.7706,0.7881,0.8052 +0.8204,0.8360,0.8525,0.8666,0.8793,0.8906,0.9019,0.9103,0.9194,0.9274 +0.9340,0.9397,0.9442,0.9483,0.9523,0.9557,0.9596,0.9625,0.9653,0.9678 +0.9698,0.9718,0.9732,0.9751,0.9768,0.9782,0.9793,0.9804,0.9813,0.9821 +0.9828,0.9834,0.9842,0.9848,0.9852,0.9857,0.9861,0.9864,0.9872,0.9877 +0.9880,0.9886,0.9889,0.9894,0.9898,0.9903,0.9908,0.9915,0.9921,0.9924 +0.9927,0.9930,0.9935,0.9939,0.9943,0.9945,0.9949,0.9952,0.9957,0.9960 +0.9963,0.9965,0.9967,0.9972,0.9975,0.9979,0.9980,0.9985,0.9987,0.9988 +0.9990,0.9991,0.9992,0.9995,0.9997,1.0000,1.0000,1.0000,1.0000,1.0000 +pwc2v2fract=0.0004,0.0006,0.0008,0.0012,0.0013,0.0016,0.0018,0.0021 +0.0024,0.0027,0.0029,0.0032,0.0036,0.0039,0.0043,0.0049,0.0063,0.0080 +0.0113,0.0155,0.0218,0.0300,0.0397,0.0508,0.0645,0.0793,0.0949,0.1135 +0.1343,0.1560,0.1786,0.2019,0.2250,0.2498,0.2756,0.3011,0.3270,0.3526 +0.3778,0.4042,0.4299,0.4570,0.4821,0.5077,0.5311,0.5540,0.5784,0.6010 +0.6219,0.6429,0.6633,0.6830,0.7023,0.7214,0.7403,0.7590,0.7786,0.7948 +0.8118,0.8288,0.8444,0.8587,0.8725,0.8842,0.8946,0.9044,0.9136,0.9208 +0.9264,0.9323,0.9377,0.9428,0.9472,0.9506,0.9541,0.9576,0.9602,0.9635 +0.9656,0.9675,0.9695,0.9715,0.9732,0.9751,0.9768,0.9777,0.9789,0.9802 +0.9809,0.9819,0.9828,0.9835,0.9841,0.9850,0.9858,0.9863,0.9866,0.9870 +0.9875,0.9880,0.9884,0.9888,0.9894,0.9899,0.9901,0.9905,0.9909,0.9912 +0.9917,0.9919,0.9922,0.9926,0.9931,0.9936,0.9941,0.9945,0.9951,0.9954 +0.9959,0.9962,0.9964,0.9967,0.9969,0.9971,0.9975,0.9978,0.9980,0.9983 +0.9986,0.9988,0.9991,0.9995,0.9998,0.9999,0.9999,0.9999,1.0000,1.0000 + +; +; Not sure why this is here +; Makes the analyzer happy +pdc_2_zpos = 0, 0 \ No newline at end of file diff --git a/PARAM/SHMS/DC/pdc.pos b/PARAM/SHMS/DC/pdc.pos new file mode 100644 index 0000000000000000000000000000000000000000..99e5299a1203afc50cf2bfca703981bda56d8fda --- /dev/null +++ b/PARAM/SHMS/DC/pdc.pos @@ -0,0 +1,134 @@ +; Number of planes installed in SHMS detector setup + pdc_num_planes = 12 +; Number of chambers installed in SHMS detector setup + pdc_num_chambers = 2 + + +; Z positions of various planes in SHMS chambers +; Use geometry of previous SOS chambers for now + +; pdc_1_zpos = -14.5*2.54 + pdc_1_zpos = 0 ; Chamber 1, do not try to project to scintillators + pdc_2_zpos = 0, 0 ; Chamber 2 + +; Use geometry of SOS chambers for now + pdc_zpos = pdc_1_zpos - 1.5875 + pdc_1_zpos - 0.9525 + pdc_1_zpos - 0.3175 + pdc_1_zpos + 0.3175 + pdc_1_zpos + 0.9525 + pdc_1_zpos + 1.5875 + pdc_1_zpos - 1.5875 + pdc_1_zpos - 0.9525 + pdc_1_zpos - 0.3175 + pdc_1_zpos + 0.3175 + pdc_1_zpos + 0.9525 + pdc_1_zpos + 1.5875 + +; Angle alpha of wires in wire chamber planes + pdc_roll = 0.0 ; SOS chambers had roll as installed + pdc_alpha_angle = (30-pdc_roll)*raddeg + (30-pdc_roll)*raddeg + (90-pdc_roll)*raddeg + (90-pdc_roll)*raddeg + (150-pdc_roll)*raddeg + (150-pdc_roll)*raddeg + (30-pdc_roll)*raddeg + (30-pdc_roll)*raddeg + (90-pdc_roll)*raddeg + (90-pdc_roll)*raddeg + (150-pdc_roll)*raddeg + (150-pdc_roll)*raddeg + + pdc_beta = 0.0 + pdc_beta_angle = pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + pdc_beta + + pdc_gamma = 0.0 + pdc_gamma_angle = pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_gamma + pdc_pitch = 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 + 1.0000 +; Number of wires per plane + pdc_nrwire = 107 + 107 + 79 + 79 + 107 + 107 + 107 + 107 + 79 + 79 + 107 + 107 + +; X,Y position of center of wire chamber + pdc_xcenter = 0.0, 0.0 + pdc_ycenter = 0.0, 0.0 + +; Wire number of center of wire chamber +; Note the convention : x : low number = -x , u,v : low number = "-x" +; x1 and x2, u1 and u2, v1 and v2 are offset by half a cell length +; assume 1st wire of 1st dc of a set is closest to edge where counting starts +; (These taken from SOS. Will be different for SHMS + pdc_central_wire = 54.25 + 53.75 + 40.25 + 40.75 + 54.25 + 53.75 + 53.75 + 54.25 + 40.75 + 40.25 + 53.75 + 54.25 + +; Chamber # for each plane +pdc_chamber_planes = 1,1,1,1,1,1,2,2,2,2,2,2 + +; Order in which wires are readout + pdc_wire_counting = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +; If pdc_wire_counting(plane) = 0 +; the wire center is at (wire - pdc_central_wire) * pitch +; If pdc_wire_counting(plane) = 1 +; the wire center is at ( pdc_nrwire + 1 - wire - pdc_central_wire) * pitch + +; The velocity correction is the distance from the center of the wire divided +; by the velocity of propagation times pdc_drifttime_sign(pln). +/-1 +; for disc. card at +/- coord. (i.e. top = -x direction, so top readout is +1) +; +; These are guesses taken from the SOS Chambers +; + pdc_drifttime_sign = 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1 \ No newline at end of file diff --git a/PARAM/SHMS/DC/pdriftmap.param b/PARAM/SHMS/DC/pdriftmap.param new file mode 100644 index 0000000000000000000000000000000000000000..d6a16be8bd737052d94cec9f861441a79ae2307c --- /dev/null +++ b/PARAM/SHMS/DC/pdriftmap.param @@ -0,0 +1,177 @@ +; Lookup table +; Drift map parameters +pdriftbins = 138 +; Number of 1st bin in table +pdrift1stbin = -24 +; Bin size in ns +pdriftbinsz = 2 +; Drift maps simply copied from the SOS chambers +pwc1u1fract=0.0002,0.0005,0.0009,0.0011,0.0015,0.0018,0.0022,0.0027 +0.0029,0.0033,0.0038,0.0044,0.0048,0.0051,0.0057,0.0070,0.0090,0.0121 +0.0167,0.0217,0.0282,0.0371,0.0467,0.0582,0.0723,0.0873,0.1038,0.1211 +0.1409,0.1609,0.1826,0.2060,0.2302,0.2542,0.2796,0.3043,0.3294,0.3555 +0.3819,0.4085,0.4343,0.4618,0.4890,0.5140,0.5384,0.5635,0.5880,0.6100 +0.6311,0.6522,0.6722,0.6928,0.7120,0.7316,0.7495,0.7684,0.7853,0.8026 +0.8191,0.8334,0.8491,0.8629,0.8771,0.8888,0.8994,0.9089,0.9170,0.9242 +0.9308,0.9364,0.9411,0.9457,0.9496,0.9538,0.9571,0.9602,0.9630,0.9654 +0.9679,0.9698,0.9718,0.9735,0.9750,0.9765,0.9778,0.9791,0.9804,0.9815 +0.9825,0.9833,0.9844,0.9851,0.9855,0.9862,0.9870,0.9874,0.9877,0.9883 +0.9889,0.9893,0.9895,0.9898,0.9901,0.9904,0.9910,0.9918,0.9923,0.9927 +0.9930,0.9935,0.9937,0.9941,0.9943,0.9947,0.9949,0.9952,0.9957,0.9962 +0.9964,0.9966,0.9970,0.9973,0.9975,0.9977,0.9979,0.9982,0.9986,0.9988 +0.9990,0.9991,0.9994,0.9995,0.9998,0.9999,1.0000,1.0000,1.0000,1.0000 +pwc1x1fract=0.0004,0.0006,0.0008,0.0010,0.0012,0.0015,0.0017,0.0021 +0.0025,0.0028,0.0031,0.0033,0.0036,0.0041,0.0045,0.0051,0.0060,0.0075 +0.0104,0.0138,0.0191,0.0265,0.0356,0.0463,0.0596,0.0743,0.0916,0.1114 +0.1316,0.1533,0.1757,0.1988,0.2209,0.2455,0.2689,0.2945,0.3196,0.3437 +0.3697,0.3950,0.4196,0.4448,0.4702,0.4953,0.5186,0.5416,0.5650,0.5877 +0.6099,0.6316,0.6519,0.6719,0.6909,0.7099,0.7277,0.7463,0.7645,0.7821 +0.7979,0.8154,0.8320,0.8477,0.8612,0.8740,0.8865,0.8973,0.9077,0.9161 +0.9234,0.9301,0.9351,0.9406,0.9454,0.9497,0.9531,0.9570,0.9605,0.9631 +0.9660,0.9690,0.9713,0.9728,0.9748,0.9762,0.9775,0.9786,0.9800,0.9807 +0.9818,0.9827,0.9833,0.9843,0.9849,0.9857,0.9861,0.9866,0.9871,0.9877 +0.9883,0.9887,0.9891,0.9895,0.9898,0.9901,0.9907,0.9913,0.9916,0.9918 +0.9921,0.9925,0.9929,0.9931,0.9935,0.9940,0.9944,0.9946,0.9949,0.9952 +0.9956,0.9960,0.9966,0.9968,0.9970,0.9972,0.9974,0.9976,0.9979,0.9980 +0.9984,0.9985,0.9988,0.9990,0.9991,0.9993,0.9996,0.9998,0.9999,1.0000 +pwc1v1fract=0.0002,0.0006,0.0008,0.0011,0.0013,0.0016,0.0019,0.0020 +0.0022,0.0025,0.0030,0.0035,0.0038,0.0042,0.0049,0.0057,0.0076,0.0103 +0.0149,0.0200,0.0273,0.0353,0.0455,0.0574,0.0719,0.0865,0.1045,0.1224 +0.1416,0.1630,0.1844,0.2074,0.2317,0.2555,0.2807,0.3046,0.3298,0.3553 +0.3826,0.4075,0.4316,0.4563,0.4823,0.5065,0.5315,0.5554,0.5781,0.6014 +0.6235,0.6434,0.6643,0.6853,0.7050,0.7238,0.7415,0.7602,0.7787,0.7975 +0.8152,0.8307,0.8456,0.8595,0.8723,0.8851,0.8957,0.9043,0.9126,0.9205 +0.9276,0.9330,0.9383,0.9437,0.9484,0.9521,0.9553,0.9582,0.9607,0.9634 +0.9657,0.9676,0.9701,0.9722,0.9738,0.9755,0.9767,0.9781,0.9794,0.9804 +0.9814,0.9825,0.9835,0.9842,0.9847,0.9853,0.9861,0.9866,0.9871,0.9878 +0.9882,0.9888,0.9891,0.9897,0.9900,0.9903,0.9909,0.9910,0.9917,0.9919 +0.9924,0.9929,0.9937,0.9939,0.9944,0.9948,0.9954,0.9956,0.9961,0.9966 +0.9968,0.9972,0.9974,0.9978,0.9980,0.9981,0.9984,0.9986,0.9989,0.9991 +0.9995,0.9996,0.9998,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +pwc1u2fract=0.0003,0.0004,0.0008,0.0011,0.0015,0.0018,0.0021,0.0024 +0.0027,0.0030,0.0033,0.0037,0.0039,0.0043,0.0046,0.0049,0.0059,0.0073 +0.0094,0.0129,0.0184,0.0267,0.0352,0.0446,0.0563,0.0707,0.0863,0.1030 +0.1206,0.1411,0.1629,0.1845,0.2087,0.2325,0.2578,0.2837,0.3091,0.3357 +0.3606,0.3867,0.4119,0.4362,0.4608,0.4857,0.5099,0.5349,0.5587,0.5814 +0.6047,0.6260,0.6480,0.6685,0.6892,0.7099,0.7282,0.7456,0.7643,0.7812 +0.7988,0.8141,0.8309,0.8454,0.8616,0.8738,0.8847,0.8955,0.9049,0.9133 +0.9199,0.9274,0.9341,0.9399,0.9445,0.9489,0.9529,0.9561,0.9593,0.9620 +0.9645,0.9667,0.9689,0.9701,0.9720,0.9740,0.9756,0.9771,0.9785,0.9796 +0.9808,0.9816,0.9823,0.9832,0.9839,0.9846,0.9854,0.9860,0.9867,0.9874 +0.9876,0.9881,0.9885,0.9889,0.9895,0.9900,0.9902,0.9907,0.9910,0.9916 +0.9919,0.9923,0.9927,0.9930,0.9934,0.9937,0.9942,0.9945,0.9949,0.9953 +0.9957,0.9962,0.9965,0.9968,0.9971,0.9973,0.9976,0.9979,0.9981,0.9984 +0.9986,0.9988,0.9989,0.9993,0.9995,0.9998,0.9999,0.9999,1.0000,1.0000 +pwc1x2fract=0.0002,0.0005,0.0008,0.0011,0.0014,0.0017,0.0021,0.0025 +0.0027,0.0031,0.0032,0.0034,0.0040,0.0045,0.0052,0.0065,0.0083,0.0112 +0.0150,0.0200,0.0264,0.0341,0.0435,0.0560,0.0701,0.0862,0.1027,0.1210 +0.1417,0.1628,0.1833,0.2069,0.2301,0.2547,0.2799,0.3062,0.3314,0.3582 +0.3860,0.4141,0.4390,0.4656,0.4903,0.5161,0.5410,0.5649,0.5874,0.6090 +0.6298,0.6507,0.6721,0.6923,0.7117,0.7312,0.7510,0.7706,0.7881,0.8052 +0.8204,0.8360,0.8525,0.8666,0.8793,0.8906,0.9019,0.9103,0.9194,0.9274 +0.9340,0.9397,0.9442,0.9483,0.9523,0.9557,0.9596,0.9625,0.9653,0.9678 +0.9698,0.9718,0.9732,0.9751,0.9768,0.9782,0.9793,0.9804,0.9813,0.9821 +0.9828,0.9834,0.9842,0.9848,0.9852,0.9857,0.9861,0.9864,0.9872,0.9877 +0.9880,0.9886,0.9889,0.9894,0.9898,0.9903,0.9908,0.9915,0.9921,0.9924 +0.9927,0.9930,0.9935,0.9939,0.9943,0.9945,0.9949,0.9952,0.9957,0.9960 +0.9963,0.9965,0.9967,0.9972,0.9975,0.9979,0.9980,0.9985,0.9987,0.9988 +0.9990,0.9991,0.9992,0.9995,0.9997,1.0000,1.0000,1.0000,1.0000,1.0000 +pwc1v2fract=0.0004,0.0006,0.0008,0.0012,0.0013,0.0016,0.0018,0.0021 +0.0024,0.0027,0.0029,0.0032,0.0036,0.0039,0.0043,0.0049,0.0063,0.0080 +0.0113,0.0155,0.0218,0.0300,0.0397,0.0508,0.0645,0.0793,0.0949,0.1135 +0.1343,0.1560,0.1786,0.2019,0.2250,0.2498,0.2756,0.3011,0.3270,0.3526 +0.3778,0.4042,0.4299,0.4570,0.4821,0.5077,0.5311,0.5540,0.5784,0.6010 +0.6219,0.6429,0.6633,0.6830,0.7023,0.7214,0.7403,0.7590,0.7786,0.7948 +0.8118,0.8288,0.8444,0.8587,0.8725,0.8842,0.8946,0.9044,0.9136,0.9208 +0.9264,0.9323,0.9377,0.9428,0.9472,0.9506,0.9541,0.9576,0.9602,0.9635 +0.9656,0.9675,0.9695,0.9715,0.9732,0.9751,0.9768,0.9777,0.9789,0.9802 +0.9809,0.9819,0.9828,0.9835,0.9841,0.9850,0.9858,0.9863,0.9866,0.9870 +0.9875,0.9880,0.9884,0.9888,0.9894,0.9899,0.9901,0.9905,0.9909,0.9912 +0.9917,0.9919,0.9922,0.9926,0.9931,0.9936,0.9941,0.9945,0.9951,0.9954 +0.9959,0.9962,0.9964,0.9967,0.9969,0.9971,0.9975,0.9978,0.9980,0.9983 +0.9986,0.9988,0.9991,0.9995,0.9998,0.9999,0.9999,0.9999,1.0000,1.0000 + +pwc2u1fract=0.0002,0.0005,0.0009,0.0011,0.0015,0.0018,0.0022,0.0027 +0.0029,0.0033,0.0038,0.0044,0.0048,0.0051,0.0057,0.0070,0.0090,0.0121 +0.0167,0.0217,0.0282,0.0371,0.0467,0.0582,0.0723,0.0873,0.1038,0.1211 +0.1409,0.1609,0.1826,0.2060,0.2302,0.2542,0.2796,0.3043,0.3294,0.3555 +0.3819,0.4085,0.4343,0.4618,0.4890,0.5140,0.5384,0.5635,0.5880,0.6100 +0.6311,0.6522,0.6722,0.6928,0.7120,0.7316,0.7495,0.7684,0.7853,0.8026 +0.8191,0.8334,0.8491,0.8629,0.8771,0.8888,0.8994,0.9089,0.9170,0.9242 +0.9308,0.9364,0.9411,0.9457,0.9496,0.9538,0.9571,0.9602,0.9630,0.9654 +0.9679,0.9698,0.9718,0.9735,0.9750,0.9765,0.9778,0.9791,0.9804,0.9815 +0.9825,0.9833,0.9844,0.9851,0.9855,0.9862,0.9870,0.9874,0.9877,0.9883 +0.9889,0.9893,0.9895,0.9898,0.9901,0.9904,0.9910,0.9918,0.9923,0.9927 +0.9930,0.9935,0.9937,0.9941,0.9943,0.9947,0.9949,0.9952,0.9957,0.9962 +0.9964,0.9966,0.9970,0.9973,0.9975,0.9977,0.9979,0.9982,0.9986,0.9988 +0.9990,0.9991,0.9994,0.9995,0.9998,0.9999,1.0000,1.0000,1.0000,1.0000 +pwc2x1fract=0.0004,0.0006,0.0008,0.0010,0.0012,0.0015,0.0017,0.0021 +0.0025,0.0028,0.0031,0.0033,0.0036,0.0041,0.0045,0.0051,0.0060,0.0075 +0.0104,0.0138,0.0191,0.0265,0.0356,0.0463,0.0596,0.0743,0.0916,0.1114 +0.1316,0.1533,0.1757,0.1988,0.2209,0.2455,0.2689,0.2945,0.3196,0.3437 +0.3697,0.3950,0.4196,0.4448,0.4702,0.4953,0.5186,0.5416,0.5650,0.5877 +0.6099,0.6316,0.6519,0.6719,0.6909,0.7099,0.7277,0.7463,0.7645,0.7821 +0.7979,0.8154,0.8320,0.8477,0.8612,0.8740,0.8865,0.8973,0.9077,0.9161 +0.9234,0.9301,0.9351,0.9406,0.9454,0.9497,0.9531,0.9570,0.9605,0.9631 +0.9660,0.9690,0.9713,0.9728,0.9748,0.9762,0.9775,0.9786,0.9800,0.9807 +0.9818,0.9827,0.9833,0.9843,0.9849,0.9857,0.9861,0.9866,0.9871,0.9877 +0.9883,0.9887,0.9891,0.9895,0.9898,0.9901,0.9907,0.9913,0.9916,0.9918 +0.9921,0.9925,0.9929,0.9931,0.9935,0.9940,0.9944,0.9946,0.9949,0.9952 +0.9956,0.9960,0.9966,0.9968,0.9970,0.9972,0.9974,0.9976,0.9979,0.9980 +0.9984,0.9985,0.9988,0.9990,0.9991,0.9993,0.9996,0.9998,0.9999,1.0000 +pwc2v1fract=0.0002,0.0006,0.0008,0.0011,0.0013,0.0016,0.0019,0.0020 +0.0022,0.0025,0.0030,0.0035,0.0038,0.0042,0.0049,0.0057,0.0076,0.0103 +0.0149,0.0200,0.0273,0.0353,0.0455,0.0574,0.0719,0.0865,0.1045,0.1224 +0.1416,0.1630,0.1844,0.2074,0.2317,0.2555,0.2807,0.3046,0.3298,0.3553 +0.3826,0.4075,0.4316,0.4563,0.4823,0.5065,0.5315,0.5554,0.5781,0.6014 +0.6235,0.6434,0.6643,0.6853,0.7050,0.7238,0.7415,0.7602,0.7787,0.7975 +0.8152,0.8307,0.8456,0.8595,0.8723,0.8851,0.8957,0.9043,0.9126,0.9205 +0.9276,0.9330,0.9383,0.9437,0.9484,0.9521,0.9553,0.9582,0.9607,0.9634 +0.9657,0.9676,0.9701,0.9722,0.9738,0.9755,0.9767,0.9781,0.9794,0.9804 +0.9814,0.9825,0.9835,0.9842,0.9847,0.9853,0.9861,0.9866,0.9871,0.9878 +0.9882,0.9888,0.9891,0.9897,0.9900,0.9903,0.9909,0.9910,0.9917,0.9919 +0.9924,0.9929,0.9937,0.9939,0.9944,0.9948,0.9954,0.9956,0.9961,0.9966 +0.9968,0.9972,0.9974,0.9978,0.9980,0.9981,0.9984,0.9986,0.9989,0.9991 +0.9995,0.9996,0.9998,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +pwc2u2fract=0.0003,0.0004,0.0008,0.0011,0.0015,0.0018,0.0021,0.0024 +0.0027,0.0030,0.0033,0.0037,0.0039,0.0043,0.0046,0.0049,0.0059,0.0073 +0.0094,0.0129,0.0184,0.0267,0.0352,0.0446,0.0563,0.0707,0.0863,0.1030 +0.1206,0.1411,0.1629,0.1845,0.2087,0.2325,0.2578,0.2837,0.3091,0.3357 +0.3606,0.3867,0.4119,0.4362,0.4608,0.4857,0.5099,0.5349,0.5587,0.5814 +0.6047,0.6260,0.6480,0.6685,0.6892,0.7099,0.7282,0.7456,0.7643,0.7812 +0.7988,0.8141,0.8309,0.8454,0.8616,0.8738,0.8847,0.8955,0.9049,0.9133 +0.9199,0.9274,0.9341,0.9399,0.9445,0.9489,0.9529,0.9561,0.9593,0.9620 +0.9645,0.9667,0.9689,0.9701,0.9720,0.9740,0.9756,0.9771,0.9785,0.9796 +0.9808,0.9816,0.9823,0.9832,0.9839,0.9846,0.9854,0.9860,0.9867,0.9874 +0.9876,0.9881,0.9885,0.9889,0.9895,0.9900,0.9902,0.9907,0.9910,0.9916 +0.9919,0.9923,0.9927,0.9930,0.9934,0.9937,0.9942,0.9945,0.9949,0.9953 +0.9957,0.9962,0.9965,0.9968,0.9971,0.9973,0.9976,0.9979,0.9981,0.9984 +0.9986,0.9988,0.9989,0.9993,0.9995,0.9998,0.9999,0.9999,1.0000,1.0000 +pwc2x2fract=0.0002,0.0005,0.0008,0.0011,0.0014,0.0017,0.0021,0.0025 +0.0027,0.0031,0.0032,0.0034,0.0040,0.0045,0.0052,0.0065,0.0083,0.0112 +0.0150,0.0200,0.0264,0.0341,0.0435,0.0560,0.0701,0.0862,0.1027,0.1210 +0.1417,0.1628,0.1833,0.2069,0.2301,0.2547,0.2799,0.3062,0.3314,0.3582 +0.3860,0.4141,0.4390,0.4656,0.4903,0.5161,0.5410,0.5649,0.5874,0.6090 +0.6298,0.6507,0.6721,0.6923,0.7117,0.7312,0.7510,0.7706,0.7881,0.8052 +0.8204,0.8360,0.8525,0.8666,0.8793,0.8906,0.9019,0.9103,0.9194,0.9274 +0.9340,0.9397,0.9442,0.9483,0.9523,0.9557,0.9596,0.9625,0.9653,0.9678 +0.9698,0.9718,0.9732,0.9751,0.9768,0.9782,0.9793,0.9804,0.9813,0.9821 +0.9828,0.9834,0.9842,0.9848,0.9852,0.9857,0.9861,0.9864,0.9872,0.9877 +0.9880,0.9886,0.9889,0.9894,0.9898,0.9903,0.9908,0.9915,0.9921,0.9924 +0.9927,0.9930,0.9935,0.9939,0.9943,0.9945,0.9949,0.9952,0.9957,0.9960 +0.9963,0.9965,0.9967,0.9972,0.9975,0.9979,0.9980,0.9985,0.9987,0.9988 +0.9990,0.9991,0.9992,0.9995,0.9997,1.0000,1.0000,1.0000,1.0000,1.0000 +pwc2v2fract=0.0004,0.0006,0.0008,0.0012,0.0013,0.0016,0.0018,0.0021 +0.0024,0.0027,0.0029,0.0032,0.0036,0.0039,0.0043,0.0049,0.0063,0.0080 +0.0113,0.0155,0.0218,0.0300,0.0397,0.0508,0.0645,0.0793,0.0949,0.1135 +0.1343,0.1560,0.1786,0.2019,0.2250,0.2498,0.2756,0.3011,0.3270,0.3526 +0.3778,0.4042,0.4299,0.4570,0.4821,0.5077,0.5311,0.5540,0.5784,0.6010 +0.6219,0.6429,0.6633,0.6830,0.7023,0.7214,0.7403,0.7590,0.7786,0.7948 +0.8118,0.8288,0.8444,0.8587,0.8725,0.8842,0.8946,0.9044,0.9136,0.9208 +0.9264,0.9323,0.9377,0.9428,0.9472,0.9506,0.9541,0.9576,0.9602,0.9635 +0.9656,0.9675,0.9695,0.9715,0.9732,0.9751,0.9768,0.9777,0.9789,0.9802 +0.9809,0.9819,0.9828,0.9835,0.9841,0.9850,0.9858,0.9863,0.9866,0.9870 +0.9875,0.9880,0.9884,0.9888,0.9894,0.9899,0.9901,0.9905,0.9909,0.9912 +0.9917,0.9919,0.9922,0.9926,0.9931,0.9936,0.9941,0.9945,0.9951,0.9954 +0.9959,0.9962,0.9964,0.9967,0.9969,0.9971,0.9975,0.9978,0.9980,0.9983 +0.9986,0.9988,0.9991,0.9995,0.9998,0.9999,0.9999,0.9999,1.0000,1.0000 \ No newline at end of file diff --git a/PARAM/SHMS/GEN/pcana.param b/PARAM/SHMS/GEN/pcana.param new file mode 100644 index 0000000000000000000000000000000000000000..d58c0f932043f7bf4a6d48f35a01bb2de71af29b --- /dev/null +++ b/PARAM/SHMS/GEN/pcana.param @@ -0,0 +1,19 @@ +; Parameters we need to keep THcHallCSpectrometer Happy +p_recon_coeff_filename = "" + +ppartmass = 0.139 +phodo_num_planes = 1 + +; Scintillator parameters +pref_npaddles = 6 +pref_nsperchan = 0.1 +pref_offset = 0.0 + +; Names of planes so that parameter names can be constructed +pdc_plane_names = "1u1 1u2 1x1 1x2 1v1 1v2 2v2 2v1 2x2 2x1 2u2 2u1" + +; Compatibility parameters. Should be zero to precisely mimic ENGINE +; behavior, but one for more correct behavior +pdc_fix_lr = 1 ; Let hit have different L/R assignment for different space point +pdc_fix_propcorr = 1 ; do propagation along wire each time hit appeears + ; in a space point \ No newline at end of file diff --git a/PARAM/SHMS/GEN/pdebug.param b/PARAM/SHMS/GEN/pdebug.param new file mode 100644 index 0000000000000000000000000000000000000000..3e1149e0bdeff19cd00e8f9cdea9e79354095dd1 --- /dev/null +++ b/PARAM/SHMS/GEN/pdebug.param @@ -0,0 +1,8 @@ +; Debugging flags - not all these implemented in hcana +pdebuglinkstubs = 0 ; Dump link stub results +pdebugprintrawdc = 0 ; Dump PDC_RAW_DC bank +pdebugprintdecodeddc = 0 ; Dump PDC_DECODED_DC bank +pdebugflagpr = 0 ; Dump intermediate pattern recognition results +pdebugflagstubs= 0 ; Dump stub fit results +pdebugtrackprint = 0 ; Dump focal plane track fit results +pdebugstubchisq = 0; Dump chi2 of left-right fits \ No newline at end of file diff --git a/PARAM/SHMS/GEN/ptracking.param b/PARAM/SHMS/GEN/ptracking.param new file mode 100644 index 0000000000000000000000000000000000000000..1de167cf8c21af3d7c14a30534d43370bf8c5c6f --- /dev/null +++ b/PARAM/SHMS/GEN/ptracking.param @@ -0,0 +1,36 @@ +; shms pattern recognition and tracking code parameters +; pmax_pr_hits is the maximum number of decoded hits allowed in a chamber for +; pattern recognition to proceed. This protexts against unusual +; kami kaze events which hang the analyzer to a long time. + +; Tracking parameters + pmax_pr_hits = 25, 25 + +; pminhit(i) minimum number of hits in each space point (one for each chamber) +pmin_hit = 5, 5 +; hmin_combos(i) minimum number of pairs in each space point ( one per chamber) +; should be 3/3 for 4/6 tracking, and 4/4 for 5/6 tracking (JRA) +pmin_combos = 6, 6 +; hspace_point_criterion(i) minimum separation of distinct space points +; recommended value for hspace_point_criterion ( based on meeting +; Feb 2003) + pspace_point_criterion = 1.2, 1.2 + +; The following four criteria are applied to the stub fit results at the +; focal plane position to link stubs to tracks +; maximum number of possible focal plane tracks, must be <= 20 +pntracks_max_fp = 10 + +; The following four criteria are applied to the stub fit results at the +; focal plane position to link stubs to tracks + pntracks_max_fp = 10 + pxt_track_criterion = 100.0 + pyt_track_criterion = 2.0 + pxpt_track_criterion = 1.0 + pypt_track_criterion = 1.0 + +; Make a track of all single stubs normally 0 + psingle_stub = 1 + +; No small angle approximation for cosmic ray tests + pSmallAngleApprox = 0 \ No newline at end of file diff --git a/PARAM/SHMS/GEN/shmsflags.param b/PARAM/SHMS/GEN/shmsflags.param new file mode 100644 index 0000000000000000000000000000000000000000..56ef41f56f18c84b9ac9aefaf73bbe94dd0fd773 --- /dev/null +++ b/PARAM/SHMS/GEN/shmsflags.param @@ -0,0 +1,28 @@ + +; The hdelta_offset,htheta_offset,hphi_offset effect the +; reconstructed target quantities. Used in h_targ_trans.f +; For transport x is in the dispersive direction with + down +; y is in the horizontal + towards small angles. +; z is along the central optics axis. +; In transport coordinates phi = hyptar = dy/dz and theta = hxptar = dx/dz +; but for unknown reasons the yp offset is named htheta_offset +; and the xp offset is named hphi_offset +; Do not to change these values, since these are the zero order +; CMOP matrix elements. If you do change then your hms sieve +; plots will be screwed up. + +pdelta_offset = 0.0 +ptheta_offset = 0.0 +pphi_offset = 0.0 + +; The following offsets are applied to the central kinematic variables +; in h_apply_offsets.f . These might be modified by an experiment +; after doing calibration with elastic ep. + +pthetacentral_offset = 0.0 +p_oopcentral_offset = 0.0 +ppcentral_offset = 0.0 +ppcentral = 0.0 +ptheta_lab = 0.0 + + diff --git a/PARAM/thms.param b/PARAM/TRIG/thms.param similarity index 100% rename from PARAM/thms.param rename to PARAM/TRIG/thms.param diff --git a/SCRIPTS/replay_hms.C b/SCRIPTS/HMS/replay_hdc_test_stand.C similarity index 86% rename from SCRIPTS/replay_hms.C rename to SCRIPTS/HMS/replay_hdc_test_stand.C index 194d7fd1a0c4f0e78ef980ce3599e5a21204bd6a..a8bfad8a019642ecc8ff89c740251f41175c3615 100644 --- a/SCRIPTS/replay_hms.C +++ b/SCRIPTS/HMS/replay_hdc_test_stand.C @@ -1,4 +1,4 @@ -void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) { +void replay_hdc_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) { // Get RunNumber and MaxEvent if not provided. if(RunNumber == 0) { @@ -30,25 +30,17 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) { gHcParms->Load(gHcParms->GetString("g_ctp_parm_filename")); // Load params for HMS DC test stand configuration - gHcParms->Load("PARAM/hdc_test_stand.param"); + gHcParms->Load("PARAM/HMS/DC/hdc_test_stand.param"); - // Generate db_cratemap to correspond to map file contents via Pearl script. - //char command[100]; - //sprintf( - // command, - // "MAPS/make_cratemap.pl < %s > MAPS/db_cratemap.dat", - // gHcParms->GetString("g_decode_map_filename") - //); - //system(command); // Load the Hall C style detector map gHcDetectorMap = new THcDetectorMap(); - gHcDetectorMap->Load(gHcParms->GetString("g_decode_map_filename")); - + //gHcDetectorMap->Load(gHcParms->GetString("g_decode_map_filename")); + gHcDetectorMap->Load("MAPS/HMS/DETEC/hdc.map"); // Set up the equipment to be analyzed. THaApparatus* HMS = new THcHallCSpectrometer("H", "HMS"); gHaApps->Add(HMS); - + // Add HMS drift chambers HMS->AddDetector(new THcDC("dc", "Drift Chambers")); // Additional detectors: @@ -64,7 +56,6 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) { //hscaler->SetDebugFile("HScaler.txt"); //gHaEvtHandlers->Add(hscaler); - // Set up the analyzer - we use the standard one, // but this could be an experiment-specific one as well. // The Analyzer controls the reading of the data, executes @@ -99,8 +90,9 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) { analyzer->SetEvent(event); analyzer->SetCrateMapFileName("MAPS/db_cratemap.dat"); analyzer->SetOutFile(ROOTFileName.Data()); - analyzer->SetOdefFile("DEF-files/hdcana.def"); - analyzer->SetCutFile("DEF-files/hdcana_cuts.def"); // optional + analyzer->SetOdefFile("DEF-files/HMS/DC/hdcana.def"); + analyzer->SetCutFile("DEF-files/HMS/DC/hdcana_cuts.def"); // optional + // File to record cuts accounting information //analyzer->SetSummaryFile("summary_example.log"); // optional diff --git a/SCRIPTS/SHMS/replay_pdc_test_stand.C b/SCRIPTS/SHMS/replay_pdc_test_stand.C new file mode 100644 index 0000000000000000000000000000000000000000..1cb393425eb347c0739dc288c9136ae66a120909 --- /dev/null +++ b/SCRIPTS/SHMS/replay_pdc_test_stand.C @@ -0,0 +1,103 @@ +void replay_pdc_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) { + + // Get RunNumber and MaxEvent if not provided. + if(RunNumber == 0) { + cout << "Enter a Run Number (-1 to exit): "; + cin >> RunNumber; + if( RunNumber<=0 ) return; + } + if(MaxEvent == 0) { + cout << "\nNumber of Events to analyze: "; + cin >> MaxEvent; + if(MaxEvent == 0) { + cerr << "...Invalid entry\n"; + exit; + } + } + + // Create file name patterns. + const char* RunFileNamePattern = "raw/shms_dc_00%d.dat"; + const char* ROOTFileNamePattern = "ROOTfiles/shms_dc_00%d.root"; + // Add variables to global list. + gHcParms->Define("gen_run_number", "Run Number", RunNumber); + gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database"); + + // Load varibles from files to global list. + gHcParms->Load(gHcParms->GetString("g_ctp_database_filename"), RunNumber); + + // g_ctp_parm_filename and g_decode_map_filename should now be defined. + gHcParms->Load(gHcParms->GetString("g_ctp_kinematics_filename"), RunNumber); + gHcParms->Load(gHcParms->GetString("g_ctp_parm_filename")); + + gHcDetectorMap = new THcDetectorMap(); + //gHcDetectorMap->Load(gHcParms->GetString("g_decode_map_filename")); + gHcDetectorMap->Load("MAPS/SHMS/DETEC/pdc.map"); + + // Set up the equipment to be analyzed. + THaApparatus* SHMS = new THcHallCSpectrometer("P", "SHMS"); + gHaApps->Add(SHMS); + + // Add SHMS drift chambers + SHMS->AddDetector(new THcDC("dc", "Drift Chambers")); + + // Additional detectors: + //HMS->AddDetector(new THcHodoscope("hod", "Hodoscope")); + //HMS->AddDetector(new THcShower("cal", "Shower")); + // + //THcCherenkov* cherenkov = new THcCherenkov("cher", "Gas Cerenkov"); + //HMS->AddDetector(cherenkov); + //THcAerogel* aerogel = new THcAerogel("aero", "Aerogel Cerenkov"); + //HMS->AddDetector(aerogel); + // + //THcScalerEvtHandler *hscaler = new THcScalerEvtHandler("HS", "HC scaler event type 0"); + //hscaler->SetDebugFile("HScaler.txt"); + //gHaEvtHandlers->Add(hscaler); + + // Set up the analyzer - we use the standard one, + // but this could be an experiment-specific one as well. + // The Analyzer controls the reading of the data, executes + // tests/cuts, loops over Acpparatus's and PhysicsModules, + // and executes the output routines. + THcAnalyzer* analyzer = new THcAnalyzer; + + // A simple event class to be output to the resulting tree. + // Creating your own descendant of THaEvent is one way of + // defining and controlling the output. + THaEvent* event = new THaEvent; + + // Define the run(s) that we want to analyze. + // We just set up one, but this could be many. + char RunFileName[100]; + sprintf(RunFileName, RunFileNamePattern, RunNumber); + THaRun* run = new THaRun(RunFileName); + + // Eventually need to learn to skip over, or properly analyze + // the pedestal events + run->SetEventRange(1, MaxEvent); // Physics Event number, does not + // include scaler or control events. + run->SetNscan(1); + run->SetDataRequired(0x7); + run->Print(); + + // Define the analysis parameters + TString ROOTFileName = Form(ROOTFileNamePattern, RunNumber); + analyzer->SetCountMode(2); // 0 = counter is # of physics triggers + // 1 = counter is # of all decode reads + // 2 = counter is event number + analyzer->SetEvent(event); + analyzer->SetCrateMapFileName("MAPS/db_cratemap.dat"); + analyzer->SetOutFile(ROOTFileName.Data()); + analyzer->SetOdefFile("DEF-files/SHMS/DC/pdcana.def"); + analyzer->SetCutFile("DEF-files/SHMS/DC/pdcana_cuts.def"); // optional + + // File to record cuts accounting information + //analyzer->SetSummaryFile("summary_example.log"); // optional + + // Start the actual analysis. + analyzer->Process(run); + // Create report file from template. + //analyzer->PrintReport( // optional + // "TEMPLATES/dcana.template", + // Form("REPORT_OUTPUT/replay_hms_%05d.report", RunNumber) + //); +} diff --git a/SCRIPTS/hms.C b/SCRIPTS/hms.C deleted file mode 100644 index 8ea818d21a6fdae7cd84983c6863ef6d12533464..0000000000000000000000000000000000000000 --- a/SCRIPTS/hms.C +++ /dev/null @@ -1,104 +0,0 @@ -void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) { - - // - // - if(RunNumber == 0) { - cout << "Enter a Run Number (-1 to exit): "; - cin >> RunNumber; - if( RunNumber<=0 ) return; - } - if(MaxEvent == 0) { - cout << "\nNumber of Events to analyze: "; - cin >> MaxEvent; - if(MaxEvent == 0) { - cerr << "...Invalid entry\n"; - exit; - } - } - - const char* RunFileNamePattern="raw/test_%d.log.0"; - const char* ROOTFileNamePattern = "ROOTfiles/hms1190_%d.root"; - // - gHcParms->Define("gen_run_number", "Run Number", RunNumber); - gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database"); - - gHcParms->Load(gHcParms->GetString("g_ctp_database_filename"), RunNumber); - - // g_ctp_parm_filename and g_decode_map_filename should now be defined - - gHcParms->Load(gHcParms->GetString("g_ctp_kinematics_filename"), RunNumber); - gHcParms->Load(gHcParms->GetString("g_ctp_parm_filename")); - - - - // Generate db_cratemap to correspond to map file contents - char command[100]; - sprintf(command,"MAPS/make_cratemap.pl < %s > MAPS/db_cratemap.dat",gHcParms->GetString("g_decode_map_filename")); - system(command); - - // Load the Hall C style detector map - gHcDetectorMap=new THcDetectorMap(); - gHcDetectorMap->Load(gHcParms->GetString("g_decode_map_filename")); - - // Set up the equipment to be analyzed. - - THaApparatus* HMS = new THcHallCSpectrometer("H","HMS"); - gHaApps->Add( HMS ); - - // HMS->AddDetector( new THcHodoscope("hod", "Hodoscope" )); - //HMS->AddDetector( new THcShower("cal", "Shower" )); - //THcCherenkov* cherenkov = new THcCherenkov("cher", "Gas Cerenkov" ); - // HMS->AddDetector( cherenkov ); - HMS->AddDetector( new THcDC("dc", "Drift Chambers" )); - //THcAerogel* aerogel = new THcAerogel("aero", "Aerogel Cerenkov" ); - //HMS->AddDetector( aerogel ); - // - //THcScalerEvtHandler *hscaler = new THcScalerEvtHandler("HS","HC scaler event type 0"); - // hscaler->SetDebugFile("HScaler.txt"); - //gHaEvtHandlers->Add (hscaler); - // - // - - - // Set up the analyzer - we use the standard one, - // but this could be an experiment-specific one as well. - // The Analyzer controls the reading of the data, executes - // tests/cuts, loops over Acpparatus's and PhysicsModules, - // and executes the output routines. - THcAnalyzer* analyzer = new THcAnalyzer; - - - // A simple event class to be output to the resulting tree. - // Creating your own descendant of THaEvent is one way of - // defining and controlling the output. - THaEvent* event = new THaEvent; - - // Define the run(s) that we want to analyze. - // We just set up one, but this could be many. - char RunFileName[100]; - sprintf(RunFileName,RunFileNamePattern,RunNumber); - THaRun* run = new THaRun(RunFileName); - - // Eventually need to learn to skip over, or properly analyze - // the pedestal events - run->SetEventRange(1,MaxEvent);// Physics Event number, does not - // include scaler or control events - run->SetNscan(1); - run->SetDataRequired(0x7); - run->Print(); - - // Define the analysis parameters - analyzer->SetCountMode( 2 ); // 0 = counter is # of physics triggers - //1 = counter is # of all decode reads - //2= counter is event number - analyzer->SetEvent( event ); - analyzer->SetOutFile( ROOTFileName.Data() ); - analyzer->SetOdefFile("Def-files/hdana.def"); - analyzer->SetCutFile("Def-files/hdana_cuts.def"); // optional - - // File to record cuts accounting information - // analyzer->SetSummaryFile("summary_example.log"); // optional - - analyzer->Process(run); // start the actual analysis - analyzer->PrintReport("TEMPLATES/report.template",Form("REPORT_OUTPUT/replay_both_%05d.report",RunNumber)); -}