From a0a8b1935ccb5ee0550d994768c99005487b3dc9 Mon Sep 17 00:00:00 2001 From: Eric Pooser <pooser@jlab.org> Date: Fri, 9 Dec 2016 12:13:09 -0500 Subject: [PATCH] Commit the revised directory structure --- DEF-files/HMS/DC/hdcana.def | 60 ++ DEF-files/HMS/DC/hdcana_cuts.def | 14 + DEF-files/SHMS/DC/pdcana.def | 63 ++ DEF-files/SHMS/DC/pdcana_cuts.def | 14 + MAPS/HMS/CRATE/db_crate1map.dat | 19 + MAPS/HMS/CRATE/db_crate3map.dat | 11 + MAPS/HMS/CRATE/db_crate5map.dat | 2 + MAPS/HMS/DETEC/haero.map | 27 + MAPS/HMS/DETEC/hcal.map | 95 ++ MAPS/HMS/DETEC/hdc.map | 1141 ++++++++++++++++++++++++ MAPS/HMS/DETEC/hhodo.map | 272 ++++++ MAPS/HMS/DETEC/htrig.map | 48 + MAPS/HMS/README | 219 +++++ MAPS/SHMS/CRATE/db_crate2map.dat | 15 + MAPS/SHMS/CRATE/db_crate4map.dat | 18 + MAPS/SHMS/CRATE/db_crate6map.dat | 12 + MAPS/SHMS/DETEC/pcal.map | 291 ++++++ MAPS/SHMS/DETEC/pdc.map | 1232 ++++++++++++++++++++++++++ PARAM/GEN/gbeam.param | 96 ++ PARAM/GEN/gdebug.param | 3 + PARAM/GEN/genflags.param | 12 + PARAM/GEN/gtarget.param | 170 ++++ PARAM/HMS/AERO/haero.param | 11 + PARAM/HMS/CAL/hcal.param | 56 ++ PARAM/HMS/CAL/hcal.pos | 81 ++ PARAM/HMS/CER/hcer.param | 24 + PARAM/HMS/DC/hdc.param | 33 + PARAM/HMS/DC/hdc.pos | 183 ++++ PARAM/HMS/DC/hdc_offsets.param | 125 +++ PARAM/HMS/DC/hdc_test_stand.param | 17 + PARAM/HMS/DC/hdeadwires.param | 10 + PARAM/HMS/DC/hdriftmap.param | 175 ++++ PARAM/HMS/GEN/hcana.param | 48 + PARAM/HMS/GEN/hdebug.param | 117 +++ PARAM/HMS/GEN/hmsflags.param | 52 ++ PARAM/HMS/GEN/htracking.param | 94 ++ PARAM/HMS/HODO/hhodo.param | 179 ++++ PARAM/HMS/HODO/hhodo.pos | 88 ++ PARAM/SHMS/DC/pdc.param | 25 + PARAM/SHMS/DC/pdc.param.ori | 14 + PARAM/SHMS/DC/pdc.param.ori.dnd | 377 ++++++++ PARAM/SHMS/DC/pdc.pos | 134 +++ PARAM/SHMS/DC/pdriftmap.param | 177 ++++ PARAM/SHMS/GEN/pcana.param | 19 + PARAM/SHMS/GEN/pdebug.param | 8 + PARAM/SHMS/GEN/ptracking.param | 36 + PARAM/SHMS/GEN/shmsflags.param | 28 + PARAM/TRIG/thms.param | 8 + SCRIPTS/HMS/replay_hdc_test_stand.C | 106 +++ SCRIPTS/SHMS/replay_pdc_test_stand.C | 103 +++ 50 files changed, 6162 insertions(+) create mode 100644 DEF-files/HMS/DC/hdcana.def create mode 100644 DEF-files/HMS/DC/hdcana_cuts.def create mode 100644 DEF-files/SHMS/DC/pdcana.def create mode 100644 DEF-files/SHMS/DC/pdcana_cuts.def create mode 100644 MAPS/HMS/CRATE/db_crate1map.dat create mode 100644 MAPS/HMS/CRATE/db_crate3map.dat create mode 100644 MAPS/HMS/CRATE/db_crate5map.dat create mode 100644 MAPS/HMS/DETEC/haero.map create mode 100644 MAPS/HMS/DETEC/hcal.map create mode 100644 MAPS/HMS/DETEC/hdc.map create mode 100644 MAPS/HMS/DETEC/hhodo.map create mode 100644 MAPS/HMS/DETEC/htrig.map create mode 100644 MAPS/HMS/README create mode 100644 MAPS/SHMS/CRATE/db_crate2map.dat create mode 100644 MAPS/SHMS/CRATE/db_crate4map.dat create mode 100644 MAPS/SHMS/CRATE/db_crate6map.dat create mode 100644 MAPS/SHMS/DETEC/pcal.map create mode 100644 MAPS/SHMS/DETEC/pdc.map create mode 100644 PARAM/GEN/gbeam.param create mode 100644 PARAM/GEN/gdebug.param create mode 100644 PARAM/GEN/genflags.param create mode 100644 PARAM/GEN/gtarget.param create mode 100644 PARAM/HMS/AERO/haero.param create mode 100644 PARAM/HMS/CAL/hcal.param create mode 100644 PARAM/HMS/CAL/hcal.pos create mode 100644 PARAM/HMS/CER/hcer.param create mode 100644 PARAM/HMS/DC/hdc.param create mode 100644 PARAM/HMS/DC/hdc.pos create mode 100644 PARAM/HMS/DC/hdc_offsets.param create mode 100644 PARAM/HMS/DC/hdc_test_stand.param create mode 100644 PARAM/HMS/DC/hdeadwires.param create mode 100644 PARAM/HMS/DC/hdriftmap.param create mode 100644 PARAM/HMS/GEN/hcana.param create mode 100644 PARAM/HMS/GEN/hdebug.param create mode 100644 PARAM/HMS/GEN/hmsflags.param create mode 100644 PARAM/HMS/GEN/htracking.param create mode 100644 PARAM/HMS/HODO/hhodo.param create mode 100644 PARAM/HMS/HODO/hhodo.pos create mode 100644 PARAM/SHMS/DC/pdc.param create mode 100644 PARAM/SHMS/DC/pdc.param.ori create mode 100644 PARAM/SHMS/DC/pdc.param.ori.dnd create mode 100644 PARAM/SHMS/DC/pdc.pos create mode 100644 PARAM/SHMS/DC/pdriftmap.param create mode 100644 PARAM/SHMS/GEN/pcana.param create mode 100644 PARAM/SHMS/GEN/pdebug.param create mode 100644 PARAM/SHMS/GEN/ptracking.param create mode 100644 PARAM/SHMS/GEN/shmsflags.param create mode 100644 PARAM/TRIG/thms.param create mode 100644 SCRIPTS/HMS/replay_hdc_test_stand.C create mode 100644 SCRIPTS/SHMS/replay_pdc_test_stand.C diff --git a/DEF-files/HMS/DC/hdcana.def b/DEF-files/HMS/DC/hdcana.def new file mode 100644 index 00000000..3d3045e5 --- /dev/null +++ b/DEF-files/HMS/DC/hdcana.def @@ -0,0 +1,60 @@ +# See $ANALYZER/examples/output_example.def for examples +# +block H.dc.* +#block H.scin.* + +TH1F hdc1x1_wm 'HDC 1X1 Wiremap' H.dc.1x1.wirenum 113 0.5 113.5 +TH1F hdc1y1_wm 'HDC 1Y1 Wiremap' H.dc.1y1.wirenum 52 0.5 52.5 +TH1F hdc1u1_wm 'HDC 1U1 Wiremap' H.dc.1u1.wirenum 107 0.5 107.5 +TH1F hdc1v1_wm 'HDC 1V1 Wiremap' H.dc.1v1.wirenum 107 0.5 107.5 +TH1F hdc1y2_wm 'HDC 1Y2 Wiremap' H.dc.1y2.wirenum 52 0.5 52.5 +TH1F hdc1x2_wm 'HDC 1X2 Wiremap' H.dc.1x2.wirenum 113 0.5 113.5 + +TH1F hdc2x1_wm 'HDC 2X1 Wiremap' H.dc.2x1.wirenum 113 0.5 113.5 +TH1F hdc2y1_wm 'HDC 2Y1 Wiremap' H.dc.2y1.wirenum 52 0.5 52.5 +TH1F hdc2u1_wm 'HDC 2U1 Wiremap' H.dc.2u1.wirenum 107 0.5 107.5 +TH1F hdc2v1_wm 'HDC 2V1 Wiremap' H.dc.2v1.wirenum 107 0.5 107.5 +TH1F hdc2y2_wm 'HDC 2Y2 Wiremap' H.dc.2y2.wirenum 52 0.5 52.5 +TH1F hdc2x2_wm 'HDC 2X2 Wiremap' H.dc.2x2.wirenum 113 0.5 113.5 + +TH2F hdc1x1_wire_num_vs_raw_tdc 'HDC 1X1 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.1x1.wirenum H.dc.1x1.rawtdc 113 0.5 113.5 5000 0 50000 +TH2F hdc1y1_wire_num_vs_raw_tdc 'HDC 1Y1 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.1y1.wirenum H.dc.1y1.rawtdc 52 0.5 52.5 5000 0 50000 +TH2F hdc1u1_wire_num_vs_raw_tdc 'HDC 1U1 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.1u1.wirenum H.dc.1u1.rawtdc 107 0.5 107.5 5000 0 50000 +TH2F hdc1v1_wire_num_vs_raw_tdc 'HDC 1V1 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.1v1.wirenum H.dc.1v1.rawtdc 107 0.5 107.5 5000 0 50000 +TH2F hdc1y2_wire_num_vs_raw_tdc 'HDC 1Y2 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.1y2.wirenum H.dc.1y2.rawtdc 52 0.5 52.5 5000 0 50000 +TH2F hdc1x2_wire_num_vs_raw_tdc 'HDC 1X2 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.1x2.wirenum H.dc.1x2.rawtdc 113 0.5 113.5 5000 0 50000 + +TH2F hdc2x1_wire_num_vs_raw_tdc 'HDC 2X1 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.2x1.wirenum H.dc.2x1.rawtdc 113 0.5 113.5 5000 0 50000 +TH2F hdc2y1_wire_num_vs_raw_tdc 'HDC 2Y1 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.2y1.wirenum H.dc.2y1.rawtdc 52 0.5 52.5 5000 0 50000 +TH2F hdc2u1_wire_num_vs_raw_tdc 'HDC 2U1 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.2u1.wirenum H.dc.2u1.rawtdc 107 0.5 107.5 5000 0 50000 +TH2F hdc2v1_wire_num_vs_raw_tdc 'HDC 2V1 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.2v1.wirenum H.dc.2v1.rawtdc 107 0.5 107.5 5000 0 50000 +TH2F hdc2y2_wire_num_vs_raw_tdc 'HDC 2Y2 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.2y2.wirenum H.dc.2y2.rawtdc 52 0.5 52.5 5000 0 50000 +TH2F hdc2x2_wire_num_vs_raw_tdc 'HDC 2X2 Wiremap; Wire Number; Raw TDC Value (clicks)' H.dc.2x2.wirenum H.dc.2x2.rawtdc 113 0.5 113.5 5000 0 50000 + +TH2F hdc1x1_wire_num_vs_tdc_time 'HDC 1X1 Wiremap; Wire Number; TDC Time (ns)' H.dc.1x1.wirenum H.dc.1x1.time 113 0.5 113.5 6000 -1000 5000 +TH2F hdc1y1_wire_num_vs_tdc_time 'HDC 1Y1 Wiremap; Wire Number; TDC Time (ns)' H.dc.1y1.wirenum H.dc.1y1.time 52 0.5 52.5 6000 -1000 5000 +TH2F hdc1u1_wire_num_vs_tdc_time 'HDC 1U1 Wiremap; Wire Number; TDC Time (ns)' H.dc.1u1.wirenum H.dc.1u1.time 107 0.5 107.5 6000 -1000 5000 +TH2F hdc1v1_wire_num_vs_tdc_time 'HDC 1V1 Wiremap; Wire Number; TDC Time (ns)' H.dc.1v1.wirenum H.dc.1v1.time 107 0.5 107.5 6000 -1000 5000 +TH2F hdc1y2_wire_num_vs_tdc_time 'HDC 1Y2 Wiremap; Wire Number; TDC Time (ns)' H.dc.1y2.wirenum H.dc.1y2.time 52 0.5 52.5 6000 -1000 5000 +TH2F hdc1x2_wire_num_vs_tdc_time 'HDC 1X2 Wiremap; Wire Number; TDC Time (ns)' H.dc.1x2.wirenum H.dc.1x2.time 113 0.5 113.5 6000 -1000 5000 + +TH2F hdc2x1_wire_num_vs_tdc_time 'HDC 2X1 Wiremap; Wire Number; TDC Time (ns)' H.dc.2x1.wirenum H.dc.2x1.time 113 0.5 113.5 6000 -1000 5000 +TH2F hdc2y1_wire_num_vs_tdc_time 'HDC 2Y1 Wiremap; Wire Number; TDC Time (ns)' H.dc.2y1.wirenum H.dc.2y1.time 52 0.5 52.5 6000 -1000 5000 +TH2F hdc2u1_wire_num_vs_tdc_time 'HDC 2U1 Wiremap; Wire Number; TDC Time (ns)' H.dc.2u1.wirenum H.dc.2u1.time 107 0.5 107.5 6000 -1000 5000 +TH2F hdc2v1_wire_num_vs_tdc_time 'HDC 2V1 Wiremap; Wire Number; TDC Time (ns)' H.dc.2v1.wirenum H.dc.2v1.time 107 0.5 107.5 6000 -1000 5000 +TH2F hdc2y2_wire_num_vs_tdc_time 'HDC 2Y2 Wiremap; Wire Number; TDC Time (ns)' H.dc.2y2.wirenum H.dc.2y2.time 52 0.5 52.5 6000 -1000 5000 +TH2F hdc2x2_wire_num_vs_tdc_time 'HDC 2X2 Wiremap; Wire Number; TDC Time (ns)' H.dc.2x2.wirenum H.dc.2x2.time 113 0.5 113.5 6000 -1000 5000 + +TH2F hdc1x1_wire_num_vs_ddist 'HDC 1X1 Wiremap; Wire Number; Drift Distance (cm)' H.dc.1x1.wirenum H.dc.1x1.dist 113 0.5 113.5 300 -0.1 0.6 +TH2F hdc1y1_wire_num_vs_ddist 'HDC 1Y1 Wiremap; Wire Number; Drift Distance (cm)' H.dc.1y1.wirenum H.dc.1y1.dist 52 0.5 52.5 300 -0.1 0.6 +TH2F hdc1u1_wire_num_vs_ddist 'HDC 1U1 Wiremap; Wire Number; Drift Distance (cm)' H.dc.1u1.wirenum H.dc.1u1.dist 107 0.5 107.5 300 -0.1 0.6 +TH2F hdc1v1_wire_num_vs_ddist 'HDC 1V1 Wiremap; Wire Number; Drift Distance (cm)' H.dc.1v1.wirenum H.dc.1v1.dist 107 0.5 107.5 300 -0.1 0.6 +TH2F hdc1y2_wire_num_vs_ddist 'HDC 1Y2 Wiremap; Wire Number; Drift Distance (cm)' H.dc.1y2.wirenum H.dc.1y2.dist 52 0.5 52.5 300 -0.1 0.6 +TH2F hdc1x2_wire_num_vs_ddist 'HDC 1X2 Wiremap; Wire Number; Drift Distance (cm)' H.dc.1x2.wirenum H.dc.1x2.dist 113 0.5 113.5 300 -0.1 0.6 + +TH2F hdc2x1_wire_num_vs_ddist 'HDC 2X1 Wiremap; Wire Number; Drift Distance (cm)' H.dc.2x1.wirenum H.dc.2x1.dist 113 0.5 113.5 300 -0.1 0.6 +TH2F hdc2y1_wire_num_vs_ddist 'HDC 2Y1 Wiremap; Wire Number; Drift Distance (cm)' H.dc.2y1.wirenum H.dc.2y1.dist 52 0.5 52.5 300 -0.1 0.6 +TH2F hdc2u1_wire_num_vs_ddist 'HDC 2U1 Wiremap; Wire Number; Drift Distance (cm)' H.dc.2u1.wirenum H.dc.2u1.dist 107 0.5 107.5 300 -0.1 0.6 +TH2F hdc2v1_wire_num_vs_ddist 'HDC 2V1 Wiremap; Wire Number; Drift Distance (cm)' H.dc.2v1.wirenum H.dc.2v1.dist 107 0.5 107.5 300 -0.1 0.6 +TH2F hdc2y2_wire_num_vs_ddist 'HDC 2Y2 Wiremap; Wire Number; Drift Distance (cm)' H.dc.2y2.wirenum H.dc.2y2.dist 52 0.5 52.5 300 -0.1 0.6 +TH2F hdc2x2_wire_num_vs_ddist 'HDC 2X2 Wiremap; Wire Number; Drift Distance (cm)' H.dc.2x2.wirenum H.dc.2x2.dist 113 0.5 113.5 300 -0.1 0.6 diff --git a/DEF-files/HMS/DC/hdcana_cuts.def b/DEF-files/HMS/DC/hdcana_cuts.def new file mode 100644 index 00000000..5add84a3 --- /dev/null +++ b/DEF-files/HMS/DC/hdcana_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/DEF-files/SHMS/DC/pdcana.def b/DEF-files/SHMS/DC/pdcana.def new file mode 100644 index 00000000..e08edbfb --- /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 00000000..5add84a3 --- /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/CRATE/db_crate1map.dat b/MAPS/HMS/CRATE/db_crate1map.dat new file mode 100644 index 00000000..1716cb80 --- /dev/null +++ b/MAPS/HMS/CRATE/db_crate1map.dat @@ -0,0 +1,19 @@ +==== Crate 1 type vme Bank Decoding +# slot model bank + 2 1190 1190 + 3 250 250 + 4 250 250 + 5 250 250 + 6 250 250 + 7 250 250 + 8 250 250 + 9 250 250 + 10 250 250 + 13 250 250 + 14 250 250 + 15 250 250 + 16 250 250 + 17 250 250 + 18 250 250 + 19 250 250 + 20 1190 1190 \ No newline at end of file diff --git a/MAPS/HMS/CRATE/db_crate3map.dat b/MAPS/HMS/CRATE/db_crate3map.dat new file mode 100644 index 00000000..df7cd109 --- /dev/null +++ b/MAPS/HMS/CRATE/db_crate3map.dat @@ -0,0 +1,11 @@ +==== Crate 3 type vme Bank Decoding +# slot model bank + 4 1190 1190 + 5 1190 1190 + 7 1190 1190 + 8 1190 1190 + 10 1190 1190 + 13 1190 1190 + 14 1190 1190 + 16 1190 1190 + 17 1190 1190 diff --git a/MAPS/HMS/CRATE/db_crate5map.dat b/MAPS/HMS/CRATE/db_crate5map.dat new file mode 100644 index 00000000..b3946f75 --- /dev/null +++ b/MAPS/HMS/CRATE/db_crate5map.dat @@ -0,0 +1,2 @@ +==== Crate 5 type vme Bank Decoding +# slot model bank \ No newline at end of file diff --git a/MAPS/HMS/DETEC/haero.map b/MAPS/HMS/DETEC/haero.map new file mode 100644 index 00000000..a3170886 --- /dev/null +++ b/MAPS/HMS/DETEC/haero.map @@ -0,0 +1,27 @@ +!HMS: +! HAERO_ID= 12 (TDC),ADC + +ROC=1 +detector=12 + +!F250 modules +SLOT=16 +! chan plane tube sig + 8, 1, 1, 1! hAER01- + 9, 1, 2, 1! hAER02- + 10, 1, 3, 1! hAER03- + 11, 1, 4, 1! hAER04- + 12, 1, 5, 1! hAER05- + 13, 1, 6, 1! hAER06- + 14, 1, 7, 1! hAER07- + 15, 1, 8, 1! hAER08- +SLOT=17 +! chan plane tube sig + 0, 1, 1, 0! hAER01+ + 1, 1, 2, 0! hAER02+ + 2, 1, 3, 0! hAER03+ + 3, 1, 4, 0! hAER04+ + 4, 1, 5, 0! hAER05+ + 5, 1, 6, 0! hAER06+ + 6, 1, 7, 0! hAER07+ + 7, 1, 8, 0! hAER08+ \ No newline at end of file diff --git a/MAPS/HMS/DETEC/hcal.map b/MAPS/HMS/DETEC/hcal.map new file mode 100644 index 00000000..33d9b104 --- /dev/null +++ b/MAPS/HMS/DETEC/hcal.map @@ -0,0 +1,95 @@ +!HMS: +! HCAL_ID= 15 ADC + +ROC=1 +detector=15 + +!F250 modules +SLOT=3 +! chan plane row sig + 0, 1, 1, 0! hA01+ + 1, 1, 2, 0! hA02+ + 2, 1, 3, 0! hA03+ + 3, 1, 4, 0! hA04+ + 4, 1, 5, 0! hA05+ + 5, 1, 6, 0! hA06+ + 6, 1, 7, 0! hA07+ + 7, 1, 8, 0! hA08+ + 8, 1, 9, 0! hA09+ + 9, 1, 10, 0! hA10+ + 10, 1, 11, 0! hA11+ + 11, 1, 12, 0! hA12+ + 12, 1, 13, 0! hA13+ + 13, 1, 1, 1! hA01- + 14, 1, 2, 1! hA02- + 15, 1, 3, 1! hA03- +SLOT=4 +! chan plane row sig + 0, 1, 4, 1! hA04- + 1, 1, 5, 1! hA05- + 2, 1, 6, 1! hA06- + 3, 1, 7, 1! hA07- + 4, 1, 8, 1! hA08- + 5, 1, 9, 1! hA09- + 6, 1, 10, 1! hA10- + 7, 1, 11, 1! hA11- + 8, 1, 12, 1! hA12- + 9, 1, 13, 1! hA13- + 10, 2, 1, 0! hB01+ + 11, 2, 2, 0! hB02+ + 12, 2, 3, 0! hB03+ + 13, 2, 4, 0! hB04+ + 14, 2, 5, 0! hB05+ + 15, 2, 6, 0! hB06+ +SLOT=5 +! chan plane row sig + 0, 2, 7, 0! hB07+ + 1, 2, 8, 0! hB08+ + 2, 2, 9, 0! hB09+ + 3, 2, 10, 0! hB10+ + 4, 2, 11, 0! hB11+ + 5, 2, 12, 0! hB12+ + 6, 2, 13, 0! hB13+ + 7, 2, 1, 1! hB01- + 8, 2, 2, 1! hB02- + 9, 2, 3, 1! hB03- + 10, 2, 4, 1! hB04- + 11, 2, 5, 1! hB05- + 12, 2, 6, 1! hB06- + 13, 2, 7, 1! hB07- + 14, 2, 8, 1! hB08- + 15, 2, 9, 1! hB09- +SLOT=6 +! chan plane row sig + 0, 2, 10, 1! hB10- + 1, 2, 11, 1! hB11- + 2, 2, 12, 1! hB12- + 3, 2, 13, 1! hB13- + 4, 3, 1, 0! hC01+ + 5, 3, 2, 0! hC02+ + 6, 3, 3, 0! hC03+ + 7, 3, 4, 0! hC04+ + 8, 3, 5, 0! hC05+ + 9, 3, 6, 0! hC06+ + 10, 3, 7, 0! hC07+ + 11, 3, 8, 0! hC08+ + 12, 3, 9, 0! hC09+ + 13, 3, 10, 0! hC10+ + 14, 3, 11, 0! hC11+ + 15, 3, 12, 0! hC12+ +SLOT=7 +! chan plane row sig + 0, 3, 13, 0! hC13+ + 1, 4, 1, 0! hD01+ + 2, 4, 2, 0! hD02+ + 3, 4, 3, 0! hD03+ + 4, 4, 4, 0! hD04+ + 5, 4, 5, 0! hD05+ + 6, 4, 6, 0! hD06+ + 7, 4, 7, 0! hD07+ + 8, 4, 8, 0! hD08+ + 9, 4, 9, 0! hD09+ + 10, 4, 10, 0! hD10+ + 11, 4, 11, 0! hD11+ + 12, 4, 12, 0! hD12+ + 13, 4, 13, 0! hD13+ \ No newline at end of file diff --git a/MAPS/HMS/DETEC/hdc.map b/MAPS/HMS/DETEC/hdc.map new file mode 100644 index 00000000..74b3017e --- /dev/null +++ b/MAPS/HMS/DETEC/hdc.map @@ -0,0 +1,1141 @@ +!HMS: +! HDC_ID= 11 TDC + +ROC=3 +detector=11 ! HMS chambers + +! Caen 1190 VME Modules >> DC1 +SLOT=5 +! channel,plane,wire +96,3,1 ! Plane U, wire 1 +97,3,2 ! Plane U, wire 2 +98,3,3 ! Plane U, wire 3 +99,3,4 ! Plane U, wire 4 +100,3,5 ! Plane U, wire 5 +101,3,6 ! Plane U, wire 6 +102,3,7 ! Plane U, wire 7 +103,3,8 ! Plane U, wire 8 +104,3,9 ! Plane U, wire 9 +105,3,10 ! Plane U, wire 10 +106,3,11 ! Plane U, wire 11 +107,3,12 ! Plane U, wire 12 +108,3,13 ! Plane U, wire 13 +109,3,14 ! Plane U, wire 14 +110,1,113 ! Plane X, wire 113 +80,3,15 ! Plane U, wire 15 +81,3,16 ! Plane U, wire 16 +82,3,17 ! Plane U, wire 17 +83,3,18 ! Plane U, wire 18 +84,3,19 ! Plane U, wire 19 +85,3,20 ! Plane U, wire 20 +86,3,21 ! Plane U, wire 21 +87,3,22 ! Plane U, wire 22 +88,3,23 ! Plane U, wire 23 +89,3,24 ! Plane U, wire 24 +90,3,25 ! Plane U, wire 25 +91,3,26 ! Plane U, wire 26 +92,3,27 ! Plane U, wire 27 +93,3,28 ! Plane U, wire 28 +94,3,29 ! Plane U, wire 29 +64,3,30 ! Plane U, wire 30 +65,3,31 ! Plane U, wire 31 +66,3,32 ! Plane U, wire 32 +67,3,33 ! Plane U, wire 33 +68,3,34 ! Plane U, wire 34 +69,3,35 ! Plane U, wire 35 +70,3,36 ! Plane U, wire 36 +71,3,37 ! Plane U, wire 37 +72,3,38 ! Plane U, wire 38 +73,3,39 ! Plane U, wire 39 +74,3,40 ! Plane U, wire 40 +75,3,41 ! Plane U, wire 41 +76,3,42 ! Plane U, wire 42 +77,3,43 ! Plane U, wire 43 +78,3,44 ! Plane U, wire 44 +79,3,45 ! Plane U, wire 45 +48,3,46 ! Plane U, wire 46 +49,3,47 ! Plane U, wire 47 +50,3,48 ! Plane U, wire 48 +51,3,49 ! Plane U, wire 49 +52,3,50 ! Plane U, wire 50 +53,3,51 ! Plane U, wire 51 +54,3,52 ! Plane U, wire 52 +55,3,53 ! Plane U, wire 53 +56,3,54 ! Plane U, wire 54 +57,3,55 ! Plane U, wire 55 +58,3,56 ! Plane U, wire 56 +59,3,57 ! Plane U, wire 57 +60,3,58 ! Plane U, wire 58 +61,3,59 ! Plane U, wire 59 +62,3,60 ! Plane U, wire 60 +32,3,61 ! Plane U, wire 61 +33,3,62 ! Plane U, wire 62 +34,3,63 ! Plane U, wire 63 +35,3,64 ! Plane U, wire 64 +36,3,65 ! Plane U, wire 65 +37,3,66 ! Plane U, wire 66 +38,3,67 ! Plane U, wire 67 +39,3,68 ! Plane U, wire 68 +40,3,69 ! Plane U, wire 69 +41,3,70 ! Plane U, wire 70 +42,3,71 ! Plane U, wire 71 +43,3,72 ! Plane U, wire 72 +44,3,73 ! Plane U, wire 73 +45,3,74 ! Plane U, wire 74 +46,3,75 ! Plane U, wire 75 +47,3,76 ! Plane U, wire 76 +16,3,77 ! Plane U, wire 77 +17,3,78 ! Plane U, wire 78 +18,3,79 ! Plane U, wire 79 +19,3,80 ! Plane U, wire 80 +20,3,81 ! Plane U, wire 81 +21,3,82 ! Plane U, wire 82 +22,3,83 ! Plane U, wire 83 +23,3,84 ! Plane U, wire 84 +24,3,85 ! Plane U, wire 85 +25,3,86 ! Plane U, wire 86 +26,3,87 ! Plane U, wire 87 +27,3,88 ! Plane U, wire 88 +28,3,89 ! Plane U, wire 89 +29,3,90 ! Plane U, wire 90 +30,3,91 ! Plane U, wire 91 +0,3,92 ! Plane U, wire 92 +1,3,93 ! Plane U, wire 93 +2,3,94 ! Plane U, wire 94 +3,3,95 ! Plane U, wire 95 +4,3,96 ! Plane U, wire 96 +5,3,97 ! Plane U, wire 97 +6,3,98 ! Plane U, wire 98 +7,3,99 ! Plane U, wire 99 +8,3,100 ! Plane U, wire 100 +9,3,101 ! Plane U, wire 101 +10,3,102 ! Plane U, wire 102 +11,3,103 ! Plane U, wire 103 +12,3,104 ! Plane U, wire 104 +13,3,105 ! Plane U, wire 105 +14,3,106 ! Plane U, wire 106 +15,3,107 ! Plane U, wire 107 +SLOT=7 +! channel,plane,wire +96,4,1 ! Plane V, wire 1 +97,4,2 ! Plane V, wire 2 +98,4,3 ! Plane V, wire 3 +99,4,4 ! Plane V, wire 4 +100,4,5 ! Plane V, wire 5 +101,4,6 ! Plane V, wire 6 +102,4,7 ! Plane V, wire 7 +103,4,8 ! Plane V, wire 8 +104,4,9 ! Plane V, wire 9 +105,4,10 ! Plane V, wire 10 +106,4,11 ! Plane V, wire 11 +107,4,12 ! Plane V, wire 12 +108,4,13 ! Plane V, wire 13 +109,4,14 ! Plane V, wire 14 +110,6,113 ! Plane X', wire 113 +112,4,15 ! Plane V, wire 15 +113,4,16 ! Plane V, wire 16 +114,4,17 ! Plane V, wire 17 +115,4,18 ! Plane V, wire 18 +116,4,19 ! Plane V, wire 19 +117,4,20 ! Plane V, wire 20 +118,4,21 ! Plane V, wire 21 +119,4,22 ! Plane V, wire 22 +120,4,23 ! Plane V, wire 23 +121,4,24 ! Plane V, wire 24 +122,4,25 ! Plane V, wire 25 +123,4,26 ! Plane V, wire 26 +124,4,27 ! Plane V, wire 27 +125,4,28 ! Plane V, wire 28 +126,4,29 ! Plane V, wire 29 +SLOT=8 +! channel,plane,wire +0,4,30 ! Plane V, wire 30 +1,4,31 ! Plane V, wire 31 +2,4,32 ! Plane V, wire 32 +3,4,33 ! Plane V, wire 33 +4,4,34 ! Plane V, wire 34 +5,4,35 ! Plane V, wire 35 +6,4,36 ! Plane V, wire 36 +7,4,37 ! Plane V, wire 37 +8,4,38 ! Plane V, wire 38 +9,4,39 ! Plane V, wire 39 +10,4,40 ! Plane V, wire 40 +11,4,41 ! Plane V, wire 41 +12,4,42 ! Plane V, wire 42 +13,4,43 ! Plane V, wire 43 +14,4,44 ! Plane V, wire 44 +15,4,45 ! Plane V, wire 45 +16,4,46 ! Plane V, wire 46 +17,4,47 ! Plane V, wire 47 +18,4,48 ! Plane V, wire 48 +19,4,49 ! Plane V, wire 49 +20,4,50 ! Plane V, wire 50 +21,4,51 ! Plane V, wire 51 +22,4,52 ! Plane V, wire 52 +23,4,53 ! Plane V, wire 53 +24,4,54 ! Plane V, wire 54 +25,4,55 ! Plane V, wire 55 +26,4,56 ! Plane V, wire 56 +27,4,57 ! Plane V, wire 57 +28,4,58 ! Plane V, wire 58 +29,4,59 ! Plane V, wire 59 +30,4,60 ! Plane V, wire 60 +32,4,61 ! Plane V, wire 61 +33,4,62 ! Plane V, wire 62 +34,4,63 ! Plane V, wire 63 +35,4,64 ! Plane V, wire 64 +36,4,65 ! Plane V, wire 65 +37,4,66 ! Plane V, wire 66 +38,4,67 ! Plane V, wire 67 +39,4,68 ! Plane V, wire 68 +40,4,69 ! Plane V, wire 69 +41,4,70 ! Plane V, wire 70 +42,4,71 ! Plane V, wire 71 +43,4,72 ! Plane V, wire 72 +44,4,73 ! Plane V, wire 73 +45,4,74 ! Plane V, wire 74 +46,4,75 ! Plane V, wire 75 +47,4,76 ! Plane V, wire 76 +48,4,77 ! Plane V, wire 77 +49,4,78 ! Plane V, wire 78 +50,4,79 ! Plane V, wire 79 +51,4,80 ! Plane V, wire 80 +52,4,81 ! Plane V, wire 81 +53,4,82 ! Plane V, wire 82 +54,4,83 ! Plane V, wire 83 +55,4,84 ! Plane V, wire 84 +56,4,85 ! Plane V, wire 85 +57,4,86 ! Plane V, wire 86 +58,4,87 ! Plane V, wire 87 +59,4,88 ! Plane V, wire 88 +60,4,89 ! Plane V, wire 89 +61,4,90 ! Plane V, wire 90 +62,4,91 ! Plane V, wire 91 +SLOT=4 +! channel,plane,wire +96,4,92 ! Plane V, wire 92 +97,4,93 ! Plane V, wire 93 +98,4,94 ! Plane V, wire 94 +99,4,95 ! Plane V, wire 95 +100,4,96 ! Plane V, wire 96 +101,4,97 ! Plane V, wire 97 +102,4,98 ! Plane V, wire 98 +103,4,99 ! Plane V, wire 99 +104,4,100 ! Plane V, wire 100 +105,4,101 ! Plane V, wire 101 +106,4,102 ! Plane V, wire 102 +107,4,103 ! Plane V, wire 103 +108,4,104 ! Plane V, wire 104 +109,4,105 ! Plane V, wire 105 +110,4,106 ! Plane V, wire 106 +111,4,107 ! Plane V, wire 107 +80,1,1 ! Plane X, wire 1 +81,1,2 ! Plane X, wire 2 +82,1,3 ! Plane X, wire 3 +83,1,4 ! Plane X, wire 4 +84,1,5 ! Plane X, wire 5 +85,1,6 ! Plane X, wire 6 +86,1,7 ! Plane X, wire 7 +87,1,8 ! Plane X, wire 8 +88,1,9 ! Plane X, wire 9 +89,1,10 ! Plane X, wire 10 +90,1,11 ! Plane X, wire 11 +91,1,12 ! Plane X, wire 12 +92,1,13 ! Plane X, wire 13 +93,1,14 ! Plane X, wire 14 +94,1,15 ! Plane X, wire 15 +95,1,16 ! Plane X, wire 16 +64,1,17 ! Plane X, wire 17 +65,1,18 ! Plane X, wire 18 +66,1,19 ! Plane X, wire 19 +67,1,20 ! Plane X, wire 20 +68,1,21 ! Plane X, wire 21 +69,1,22 ! Plane X, wire 22 +70,1,23 ! Plane X, wire 23 +71,1,24 ! Plane X, wire 24 +72,1,25 ! Plane X, wire 25 +73,1,26 ! Plane X, wire 26 +74,1,27 ! Plane X, wire 27 +75,1,28 ! Plane X, wire 28 +76,1,29 ! Plane X, wire 29 +77,1,30 ! Plane X, wire 30 +78,1,31 ! Plane X, wire 31 +79,1,32 ! Plane X, wire 32 +48,1,33 ! Plane X, wire 33 +49,1,34 ! Plane X, wire 34 +50,1,35 ! Plane X, wire 35 +51,1,36 ! Plane X, wire 36 +52,1,37 ! Plane X, wire 37 +53,1,38 ! Plane X, wire 38 +54,1,39 ! Plane X, wire 39 +55,1,40 ! Plane X, wire 40 +56,1,41 ! Plane X, wire 41 +57,1,42 ! Plane X, wire 42 +58,1,43 ! Plane X, wire 43 +59,1,44 ! Plane X, wire 44 +60,1,45 ! Plane X, wire 45 +61,1,46 ! Plane X, wire 46 +62,1,47 ! Plane X, wire 47 +63,1,48 ! Plane X, wire 48 +32,1,49 ! Plane X, wire 49 +33,1,50 ! Plane X, wire 50 +34,1,51 ! Plane X, wire 51 +35,1,52 ! Plane X, wire 52 +36,1,53 ! Plane X, wire 53 +37,1,54 ! Plane X, wire 54 +38,1,55 ! Plane X, wire 55 +39,1,56 ! Plane X, wire 56 +40,1,57 ! Plane X, wire 57 +41,1,58 ! Plane X, wire 58 +42,1,59 ! Plane X, wire 59 +43,1,60 ! Plane X, wire 60 +44,1,61 ! Plane X, wire 61 +45,1,62 ! Plane X, wire 62 +46,1,63 ! Plane X, wire 63 +47,1,64 ! Plane X, wire 64 +16,1,65 ! Plane X, wire 65 +17,1,66 ! Plane X, wire 66 +18,1,67 ! Plane X, wire 67 +19,1,68 ! Plane X, wire 68 +20,1,69 ! Plane X, wire 69 +21,1,70 ! Plane X, wire 70 +22,1,71 ! Plane X, wire 71 +23,1,72 ! Plane X, wire 72 +24,1,73 ! Plane X, wire 73 +25,1,74 ! Plane X, wire 74 +26,1,75 ! Plane X, wire 75 +27,1,76 ! Plane X, wire 76 +28,1,77 ! Plane X, wire 77 +29,1,78 ! Plane X, wire 78 +30,1,79 ! Plane X, wire 79 +31,1,80 ! Plane X, wire 80 +0,1,81 ! Plane X, wire 81 +1,1,82 ! Plane X, wire 82 +2,1,83 ! Plane X, wire 83 +3,1,84 ! Plane X, wire 84 +4,1,85 ! Plane X, wire 85 +5,1,86 ! Plane X, wire 86 +6,1,87 ! Plane X, wire 87 +7,1,88 ! Plane X, wire 88 +8,1,89 ! Plane X, wire 89 +9,1,90 ! Plane X, wire 90 +10,1,91 ! Plane X, wire 91 +11,1,92 ! Plane X, wire 92 +12,1,93 ! Plane X, wire 93 +13,1,94 ! Plane X, wire 94 +14,1,95 ! Plane X, wire 95 +15,1,96 ! Plane X, wire 96 +SLOT=7 +! channel,plane,wire +80,1,97 ! Plane X, wire 97 +81,1,98 ! Plane X, wire 98 +82,1,99 ! Plane X, wire 99 +83,1,100 ! Plane X, wire 100 +84,1,101 ! Plane X, wire 101 +85,1,102 ! Plane X, wire 102 +86,1,103 ! Plane X, wire 103 +87,1,104 ! Plane X, wire 104 +88,1,105 ! Plane X, wire 105 +89,1,106 ! Plane X, wire 106 +90,1,107 ! Plane X, wire 107 +91,1,108 ! Plane X, wire 108 +92,1,109 ! Plane X, wire 109 +93,1,110 ! Plane X, wire 110 +94,1,111 ! Plane X, wire 111 +95,1,112 ! Plane X, wire 112 +SLOT=4 +! channel,plane,wire +112,6,1 ! Plane X', wire 1 +113,6,2 ! Plane X', wire 2 +114,6,3 ! Plane X', wire 3 +115,6,4 ! Plane X', wire 4 +116,6,5 ! Plane X', wire 5 +117,6,6 ! Plane X', wire 6 +118,6,7 ! Plane X', wire 7 +119,6,8 ! Plane X', wire 8 +120,6,9 ! Plane X', wire 9 +121,6,10 ! Plane X', wire 10 +122,6,11 ! Plane X', wire 11 +123,6,12 ! Plane X', wire 12 +124,6,13 ! Plane X', wire 13 +125,6,14 ! Plane X', wire 14 +126,6,15 ! Plane X', wire 15 +127,6,16 ! Plane X', wire 16 +SLOT=5 +! channel,plane,wire +112,6,17 ! Plane X', wire 17 +113,6,18 ! Plane X', wire 18 +114,6,19 ! Plane X', wire 19 +115,6,20 ! Plane X', wire 20 +116,6,21 ! Plane X', wire 21 +117,6,22 ! Plane X', wire 22 +118,6,23 ! Plane X', wire 23 +119,6,24 ! Plane X', wire 24 +120,6,25 ! Plane X', wire 25 +121,6,26 ! Plane X', wire 26 +122,6,27 ! Plane X', wire 27 +123,6,28 ! Plane X', wire 28 +124,6,29 ! Plane X', wire 29 +125,6,30 ! Plane X', wire 30 +126,6,31 ! Plane X', wire 31 +127,6,32 ! Plane X', wire 32 +SLOT=7 +! channel,plane,wire +0,6,33 ! Plane X', wire 33 +1,6,34 ! Plane X', wire 34 +2,6,35 ! Plane X', wire 35 +3,6,36 ! Plane X', wire 36 +4,6,37 ! Plane X', wire 37 +5,6,38 ! Plane X', wire 38 +6,6,39 ! Plane X', wire 39 +7,6,40 ! Plane X', wire 40 +8,6,41 ! Plane X', wire 41 +9,6,42 ! Plane X', wire 42 +10,6,43 ! Plane X', wire 43 +11,6,44 ! Plane X', wire 44 +12,6,45 ! Plane X', wire 45 +13,6,46 ! Plane X', wire 46 +14,6,47 ! Plane X', wire 47 +15,6,48 ! Plane X', wire 48 +16,6,49 ! Plane X', wire 49 +17,6,50 ! Plane X', wire 50 +18,6,51 ! Plane X', wire 51 +19,6,52 ! Plane X', wire 52 +20,6,53 ! Plane X', wire 53 +21,6,54 ! Plane X', wire 54 +22,6,55 ! Plane X', wire 55 +23,6,56 ! Plane X', wire 56 +24,6,57 ! Plane X', wire 57 +25,6,58 ! Plane X', wire 58 +26,6,59 ! Plane X', wire 59 +27,6,60 ! Plane X', wire 60 +28,6,61 ! Plane X', wire 61 +29,6,62 ! Plane X', wire 62 +30,6,63 ! Plane X', wire 63 +31,6,64 ! Plane X', wire 64 +32,6,65 ! Plane X', wire 65 +33,6,66 ! Plane X', wire 66 +34,6,67 ! Plane X', wire 67 +35,6,68 ! Plane X', wire 68 +36,6,69 ! Plane X', wire 69 +37,6,70 ! Plane X', wire 70 +38,6,71 ! Plane X', wire 71 +39,6,72 ! Plane X', wire 72 +40,6,73 ! Plane X', wire 73 +41,6,74 ! Plane X', wire 74 +42,6,75 ! Plane X', wire 75 +43,6,76 ! Plane X', wire 76 +44,6,77 ! Plane X', wire 77 +45,6,78 ! Plane X', wire 78 +46,6,79 ! Plane X', wire 79 +47,6,80 ! Plane X', wire 80 +48,6,81 ! Plane X', wire 81 +49,6,82 ! Plane X', wire 82 +50,6,83 ! Plane X', wire 83 +51,6,84 ! Plane X', wire 84 +52,6,85 ! Plane X', wire 85 +53,6,86 ! Plane X', wire 86 +54,6,87 ! Plane X', wire 87 +55,6,88 ! Plane X', wire 88 +56,6,89 ! Plane X', wire 89 +57,6,90 ! Plane X', wire 90 +58,6,91 ! Plane X', wire 91 +59,6,92 ! Plane X', wire 92 +60,6,93 ! Plane X', wire 93 +61,6,94 ! Plane X', wire 94 +62,6,95 ! Plane X', wire 95 +63,6,96 ! Plane X', wire 96 +64,6,97 ! Plane X', wire 97 +65,6,98 ! Plane X', wire 98 +66,6,99 ! Plane X', wire 99 +67,6,100 ! Plane X', wire 100 +68,6,101 ! Plane X', wire 101 +69,6,102 ! Plane X', wire 102 +70,6,103 ! Plane X', wire 103 +71,6,104 ! Plane X', wire 104 +72,6,105 ! Plane X', wire 105 +73,6,106 ! Plane X', wire 106 +74,6,107 ! Plane X', wire 107 +75,6,108 ! Plane X', wire 108 +76,6,109 ! Plane X', wire 109 +77,6,110 ! Plane X', wire 110 +78,6,111 ! Plane X', wire 111 +79,6,112 ! Plane X', wire 112 +SLOT=8 +! channel,plane,wire +64,2,1 ! Plane Y, wire 1 +65,2,2 ! Plane Y, wire 2 +66,2,3 ! Plane Y, wire 3 +67,2,4 ! Plane Y, wire 4 +68,2,5 ! Plane Y, wire 5 +69,2,6 ! Plane Y, wire 6 +70,2,7 ! Plane Y, wire 7 +71,2,8 ! Plane Y, wire 8 +72,2,9 ! Plane Y, wire 9 +73,2,10 ! Plane Y, wire 10 +74,2,11 ! Plane Y, wire 11 +75,2,12 ! Plane Y, wire 12 +76,2,13 ! Plane Y, wire 13 +80,2,14 ! Plane Y, wire 14 +81,2,15 ! Plane Y, wire 15 +82,2,16 ! Plane Y, wire 16 +83,2,17 ! Plane Y, wire 17 +84,2,18 ! Plane Y, wire 18 +85,2,19 ! Plane Y, wire 19 +86,2,20 ! Plane Y, wire 20 +87,2,21 ! Plane Y, wire 21 +88,2,22 ! Plane Y, wire 22 +89,2,23 ! Plane Y, wire 23 +90,2,24 ! Plane Y, wire 24 +91,2,25 ! Plane Y, wire 25 +92,2,26 ! Plane Y, wire 26 +96,2,27 ! Plane Y, wire 27 +97,2,28 ! Plane Y, wire 28 +98,2,29 ! Plane Y, wire 29 +99,2,30 ! Plane Y, wire 30 +100,2,31 ! Plane Y, wire 31 +101,2,32 ! Plane Y, wire 32 +102,2,33 ! Plane Y, wire 33 +103,2,34 ! Plane Y, wire 34 +104,2,35 ! Plane Y, wire 35 +105,2,36 ! Plane Y, wire 36 +106,2,37 ! Plane Y, wire 37 +107,2,38 ! Plane Y, wire 38 +108,2,39 ! Plane Y, wire 39 +112,2,40 ! Plane Y, wire 40 +113,2,41 ! Plane Y, wire 41 +114,2,42 ! Plane Y, wire 42 +115,2,43 ! Plane Y, wire 43 +116,2,44 ! Plane Y, wire 44 +117,2,45 ! Plane Y, wire 45 +118,2,46 ! Plane Y, wire 46 +119,2,47 ! Plane Y, wire 47 +120,2,48 ! Plane Y, wire 48 +121,2,49 ! Plane Y, wire 49 +122,2,50 ! Plane Y, wire 50 +123,2,51 ! Plane Y, wire 51 +124,2,52 ! Plane Y, wire 52 +SLOT=10 +! channel,plane,wire +0,5,1 ! Plane Y', wire 1 +1,5,2 ! Plane Y', wire 2 +2,5,3 ! Plane Y', wire 3 +3,5,4 ! Plane Y', wire 4 +4,5,5 ! Plane Y', wire 5 +5,5,6 ! Plane Y', wire 6 +6,5,7 ! Plane Y', wire 7 +7,5,8 ! Plane Y', wire 8 +8,5,9 ! Plane Y', wire 9 +9,5,10 ! Plane Y', wire 10 +10,5,11 ! Plane Y', wire 11 +11,5,12 ! Plane Y', wire 12 +12,5,13 ! Plane Y', wire 13 +16,5,14 ! Plane Y', wire 14 +17,5,15 ! Plane Y', wire 15 +18,5,16 ! Plane Y', wire 16 +19,5,17 ! Plane Y', wire 17 +20,5,18 ! Plane Y', wire 18 +21,5,19 ! Plane Y', wire 19 +22,5,20 ! Plane Y', wire 20 +23,5,21 ! Plane Y', wire 21 +24,5,22 ! Plane Y', wire 22 +25,5,23 ! Plane Y', wire 23 +26,5,24 ! Plane Y', wire 24 +27,5,25 ! Plane Y', wire 25 +28,5,26 ! Plane Y', wire 26 +32,5,27 ! Plane Y', wire 27 +33,5,28 ! Plane Y', wire 28 +34,5,29 ! Plane Y', wire 29 +35,5,30 ! Plane Y', wire 30 +36,5,31 ! Plane Y', wire 31 +37,5,32 ! Plane Y', wire 32 +38,5,33 ! Plane Y', wire 33 +39,5,34 ! Plane Y', wire 34 +40,5,35 ! Plane Y', wire 35 +41,5,36 ! Plane Y', wire 36 +42,5,37 ! Plane Y', wire 37 +43,5,38 ! Plane Y', wire 38 +44,5,39 ! Plane Y', wire 39 +48,5,40 ! Plane Y', wire 40 +49,5,41 ! Plane Y', wire 41 +50,5,42 ! Plane Y', wire 42 +51,5,43 ! Plane Y', wire 43 +52,5,44 ! Plane Y', wire 44 +53,5,45 ! Plane Y', wire 45 +54,5,46 ! Plane Y', wire 46 +55,5,47 ! Plane Y', wire 47 +56,5,48 ! Plane Y', wire 48 +57,5,49 ! Plane Y', wire 49 +58,5,50 ! Plane Y', wire 50 +59,5,51 ! Plane Y', wire 51 +60,5,52 ! Plane Y', wire 52 + +! Caen 1190 VME Modules >> DC2 +SLOT=16 +! channel,plane,wire +96,9,1 ! Plane U, wire 1 +97,9,2 ! Plane U, wire 2 +98,9,3 ! Plane U, wire 3 +99,9,4 ! Plane U, wire 4 +100,9,5 ! Plane U, wire 5 +101,9,6 ! Plane U, wire 6 +102,9,7 ! Plane U, wire 7 +103,9,8 ! Plane U, wire 8 +104,9,9 ! Plane U, wire 9 +105,9,10 ! Plane U, wire 10 +106,9,11 ! Plane U, wire 11 +107,9,12 ! Plane U, wire 12 +108,9,13 ! Plane U, wire 13 +109,9,14 ! Plane U, wire 14 +110,7,113 ! Plane X, wire 113 +112,9,15 ! Plane U, wire 15 +113,9,16 ! Plane U, wire 16 +114,9,17 ! Plane U, wire 17 +115,9,18 ! Plane U, wire 18 +116,9,19 ! Plane U, wire 19 +117,9,20 ! Plane U, wire 20 +118,9,21 ! Plane U, wire 21 +119,9,22 ! Plane U, wire 22 +120,9,23 ! Plane U, wire 23 +121,9,24 ! Plane U, wire 24 +122,9,25 ! Plane U, wire 25 +123,9,26 ! Plane U, wire 26 +124,9,27 ! Plane U, wire 27 +125,9,28 ! Plane U, wire 28 +126,9,29 ! Plane U, wire 29 +SLOT=14 +! channel,plane,wire +0,9,30 ! Plane U, wire 30 +1,9,31 ! Plane U, wire 31 +2,9,32 ! Plane U, wire 32 +3,9,33 ! Plane U, wire 33 +4,9,34 ! Plane U, wire 34 +5,9,35 ! Plane U, wire 35 +6,9,36 ! Plane U, wire 36 +7,9,37 ! Plane U, wire 37 +8,9,38 ! Plane U, wire 38 +9,9,39 ! Plane U, wire 39 +10,9,40 ! Plane U, wire 40 +11,9,41 ! Plane U, wire 41 +12,9,42 ! Plane U, wire 42 +13,9,43 ! Plane U, wire 43 +14,9,44 ! Plane U, wire 44 +15,9,45 ! Plane U, wire 45 +32,9,46 ! Plane U, wire 46 +33,9,47 ! Plane U, wire 47 +34,9,48 ! Plane U, wire 48 +35,9,49 ! Plane U, wire 49 +36,9,50 ! Plane U, wire 50 +37,9,51 ! Plane U, wire 51 +38,9,52 ! Plane U, wire 52 +39,9,53 ! Plane U, wire 53 +40,9,54 ! Plane U, wire 54 +41,9,55 ! Plane U, wire 55 +42,9,56 ! Plane U, wire 56 +43,9,57 ! Plane U, wire 57 +44,9,58 ! Plane U, wire 58 +45,9,59 ! Plane U, wire 59 +46,9,60 ! Plane U, wire 60 +48,9,61 ! Plane U, wire 61 +49,9,62 ! Plane U, wire 62 +50,9,63 ! Plane U, wire 63 +51,9,64 ! Plane U, wire 64 +52,9,65 ! Plane U, wire 65 +53,9,66 ! Plane U, wire 66 +54,9,67 ! Plane U, wire 67 +55,9,68 ! Plane U, wire 68 +56,9,69 ! Plane U, wire 69 +57,9,70 ! Plane U, wire 70 +58,9,71 ! Plane U, wire 71 +59,9,72 ! Plane U, wire 72 +60,9,73 ! Plane U, wire 73 +61,9,74 ! Plane U, wire 74 +62,9,75 ! Plane U, wire 75 +63,9,76 ! Plane U, wire 76 +64,9,77 ! Plane U, wire 77 +65,9,78 ! Plane U, wire 78 +66,9,79 ! Plane U, wire 79 +67,9,80 ! Plane U, wire 80 +68,9,81 ! Plane U, wire 81 +69,9,82 ! Plane U, wire 82 +70,9,83 ! Plane U, wire 83 +71,9,84 ! Plane U, wire 84 +72,9,85 ! Plane U, wire 85 +73,9,86 ! Plane U, wire 86 +74,9,87 ! Plane U, wire 87 +75,9,88 ! Plane U, wire 88 +76,9,89 ! Plane U, wire 89 +77,9,90 ! Plane U, wire 90 +78,9,91 ! Plane U, wire 91 +80,9,92 ! Plane U, wire 92 +81,9,93 ! Plane U, wire 93 +82,9,94 ! Plane U, wire 94 +83,9,95 ! Plane U, wire 95 +84,9,96 ! Plane U, wire 96 +85,9,97 ! Plane U, wire 97 +86,9,98 ! Plane U, wire 98 +87,9,99 ! Plane U, wire 99 +88,9,100 ! Plane U, wire 100 +89,9,101 ! Plane U, wire 101 +90,9,102 ! Plane U, wire 102 +91,9,103 ! Plane U, wire 103 +92,9,104 ! Plane U, wire 104 +93,9,105 ! Plane U, wire 105 +94,9,106 ! Plane U, wire 106 +95,9,107 ! Plane U, wire 107 +SLOT=16 +! channel,plane,wire +80,10,1 ! Plane V, wire 1 +81,10,2 ! Plane V, wire 2 +82,10,3 ! Plane V, wire 3 +83,10,4 ! Plane V, wire 4 +84,10,5 ! Plane V, wire 5 +85,10,6 ! Plane V, wire 6 +86,10,7 ! Plane V, wire 7 +87,10,8 ! Plane V, wire 8 +88,10,9 ! Plane V, wire 9 +89,10,10 ! Plane V, wire 10 +90,10,11 ! Plane V, wire 11 +91,10,12 ! Plane V, wire 12 +92,10,13 ! Plane V, wire 13 +93,10,14 ! Plane V, wire 14 +94,12,113 ! Plane X', wire 113 +SLOT=14 +! channel,plane,wire +96,10,15 ! Plane V, wire 15 +97,10,16 ! Plane V, wire 16 +98,10,17 ! Plane V, wire 17 +99,10,18 ! Plane V, wire 18 +100,10,19 ! Plane V, wire 19 +101,10,20 ! Plane V, wire 20 +102,10,21 ! Plane V, wire 21 +103,10,22 ! Plane V, wire 22 +104,10,23 ! Plane V, wire 23 +105,10,24 ! Plane V, wire 24 +106,10,25 ! Plane V, wire 25 +107,10,26 ! Plane V, wire 26 +108,10,27 ! Plane V, wire 27 +109,10,28 ! Plane V, wire 28 +110,10,29 ! Plane V, wire 29 +112,10,30 ! Plane V, wire 30 +113,10,31 ! Plane V, wire 31 +114,10,32 ! Plane V, wire 32 +115,10,33 ! Plane V, wire 33 +116,10,34 ! Plane V, wire 34 +117,10,35 ! Plane V, wire 35 +118,10,36 ! Plane V, wire 36 +119,10,37 ! Plane V, wire 37 +120,10,38 ! Plane V, wire 38 +121,10,39 ! Plane V, wire 39 +122,10,40 ! Plane V, wire 40 +123,10,41 ! Plane V, wire 41 +124,10,42 ! Plane V, wire 42 +125,10,43 ! Plane V, wire 43 +126,10,44 ! Plane V, wire 44 +127,10,45 ! Plane V, wire 45 +SLOT=17 +! channel,plane,wire +0,10,46 ! Plane V, wire 46 +1,10,47 ! Plane V, wire 47 +2,10,48 ! Plane V, wire 48 +3,10,49 ! Plane V, wire 49 +4,10,50 ! Plane V, wire 50 +5,10,51 ! Plane V, wire 51 +6,10,52 ! Plane V, wire 52 +7,10,53 ! Plane V, wire 53 +8,10,54 ! Plane V, wire 54 +9,10,55 ! Plane V, wire 55 +10,10,56 ! Plane V, wire 56 +11,10,57 ! Plane V, wire 57 +12,10,58 ! Plane V, wire 58 +13,10,59 ! Plane V, wire 59 +14,10,60 ! Plane V, wire 60 +16,10,61 ! Plane V, wire 61 +17,10,62 ! Plane V, wire 62 +18,10,63 ! Plane V, wire 63 +19,10,64 ! Plane V, wire 64 +20,10,65 ! Plane V, wire 65 +21,10,66 ! Plane V, wire 66 +22,10,67 ! Plane V, wire 67 +23,10,68 ! Plane V, wire 68 +24,10,69 ! Plane V, wire 69 +25,10,70 ! Plane V, wire 70 +26,10,71 ! Plane V, wire 71 +27,10,72 ! Plane V, wire 72 +28,10,73 ! Plane V, wire 73 +29,10,74 ! Plane V, wire 74 +30,10,75 ! Plane V, wire 75 +31,10,76 ! Plane V, wire 76 +32,10,77 ! Plane V, wire 77 +33,10,78 ! Plane V, wire 78 +34,10,79 ! Plane V, wire 79 +35,10,80 ! Plane V, wire 80 +36,10,81 ! Plane V, wire 81 +37,10,82 ! Plane V, wire 82 +38,10,83 ! Plane V, wire 83 +39,10,84 ! Plane V, wire 84 +40,10,85 ! Plane V, wire 85 +41,10,86 ! Plane V, wire 86 +42,10,87 ! Plane V, wire 87 +43,10,88 ! Plane V, wire 88 +44,10,89 ! Plane V, wire 89 +45,10,90 ! Plane V, wire 90 +46,10,91 ! Plane V, wire 91 +48,10,92 ! Plane V, wire 92 +49,10,93 ! Plane V, wire 93 +50,10,94 ! Plane V, wire 94 +51,10,95 ! Plane V, wire 95 +52,10,96 ! Plane V, wire 96 +53,10,97 ! Plane V, wire 97 +54,10,98 ! Plane V, wire 98 +55,10,99 ! Plane V, wire 99 +56,10,100 ! Plane V, wire 100 +57,10,101 ! Plane V, wire 101 +58,10,102 ! Plane V, wire 102 +59,10,103 ! Plane V, wire 103 +60,10,104 ! Plane V, wire 104 +61,10,105 ! Plane V, wire 105 +62,10,106 ! Plane V, wire 106 +63,10,107 ! Plane V, wire 107 +SLOT=13 +! channel,plane,wire +0,7,1 ! Plane X, wire 1 +1,7,2 ! Plane X, wire 2 +2,7,3 ! Plane X, wire 3 +3,7,4 ! Plane X, wire 4 +4,7,5 ! Plane X, wire 5 +5,7,6 ! Plane X, wire 6 +6,7,7 ! Plane X, wire 7 +7,7,8 ! Plane X, wire 8 +8,7,9 ! Plane X, wire 9 +9,7,10 ! Plane X, wire 10 +10,7,11 ! Plane X, wire 11 +11,7,12 ! Plane X, wire 12 +12,7,13 ! Plane X, wire 13 +13,7,14 ! Plane X, wire 14 +14,7,15 ! Plane X, wire 15 +15,7,16 ! Plane X, wire 16 +16,7,17 ! Plane X, wire 17 +17,7,18 ! Plane X, wire 18 +18,7,19 ! Plane X, wire 19 +19,7,20 ! Plane X, wire 20 +20,7,21 ! Plane X, wire 21 +21,7,22 ! Plane X, wire 22 +22,7,23 ! Plane X, wire 23 +23,7,24 ! Plane X, wire 24 +24,7,25 ! Plane X, wire 25 +25,7,26 ! Plane X, wire 26 +26,7,27 ! Plane X, wire 27 +27,7,28 ! Plane X, wire 28 +28,7,29 ! Plane X, wire 29 +29,7,30 ! Plane X, wire 30 +30,7,31 ! Plane X, wire 31 +31,7,32 ! Plane X, wire 32 +32,7,33 ! Plane X, wire 33 +33,7,34 ! Plane X, wire 34 +34,7,35 ! Plane X, wire 35 +35,7,36 ! Plane X, wire 36 +36,7,37 ! Plane X, wire 37 +37,7,38 ! Plane X, wire 38 +38,7,39 ! Plane X, wire 39 +39,7,40 ! Plane X, wire 40 +40,7,41 ! Plane X, wire 41 +41,7,42 ! Plane X, wire 42 +42,7,43 ! Plane X, wire 43 +43,7,44 ! Plane X, wire 44 +44,7,45 ! Plane X, wire 45 +45,7,46 ! Plane X, wire 46 +46,7,47 ! Plane X, wire 47 +47,7,48 ! Plane X, wire 48 +48,7,49 ! Plane X, wire 49 +49,7,50 ! Plane X, wire 50 +50,7,51 ! Plane X, wire 51 +51,7,52 ! Plane X, wire 52 +52,7,53 ! Plane X, wire 53 +53,7,54 ! Plane X, wire 54 +54,7,55 ! Plane X, wire 55 +55,7,56 ! Plane X, wire 56 +56,7,57 ! Plane X, wire 57 +57,7,58 ! Plane X, wire 58 +58,7,59 ! Plane X, wire 59 +59,7,60 ! Plane X, wire 60 +60,7,61 ! Plane X, wire 61 +61,7,62 ! Plane X, wire 62 +62,7,63 ! Plane X, wire 63 +63,7,64 ! Plane X, wire 64 +64,7,65 ! Plane X, wire 65 +65,7,66 ! Plane X, wire 66 +66,7,67 ! Plane X, wire 67 +67,7,68 ! Plane X, wire 68 +68,7,69 ! Plane X, wire 69 +69,7,70 ! Plane X, wire 70 +70,7,71 ! Plane X, wire 71 +71,7,72 ! Plane X, wire 72 +72,7,73 ! Plane X, wire 73 +73,7,74 ! Plane X, wire 74 +74,7,75 ! Plane X, wire 75 +75,7,76 ! Plane X, wire 76 +76,7,77 ! Plane X, wire 77 +77,7,78 ! Plane X, wire 78 +78,7,79 ! Plane X, wire 79 +79,7,80 ! Plane X, wire 80 +80,7,81 ! Plane X, wire 81 +81,7,82 ! Plane X, wire 82 +82,7,83 ! Plane X, wire 83 +83,7,84 ! Plane X, wire 84 +84,7,85 ! Plane X, wire 85 +85,7,86 ! Plane X, wire 86 +86,7,87 ! Plane X, wire 87 +87,7,88 ! Plane X, wire 88 +88,7,89 ! Plane X, wire 89 +89,7,90 ! Plane X, wire 90 +90,7,91 ! Plane X, wire 91 +91,7,92 ! Plane X, wire 92 +92,7,93 ! Plane X, wire 93 +93,7,94 ! Plane X, wire 94 +94,7,95 ! Plane X, wire 95 +95,7,96 ! Plane X, wire 96 +96,7,97 ! Plane X, wire 97 +97,7,98 ! Plane X, wire 98 +98,7,99 ! Plane X, wire 99 +99,7,100 ! Plane X, wire 100 +100,7,101 ! Plane X, wire 101 +101,7,102 ! Plane X, wire 102 +102,7,103 ! Plane X, wire 103 +103,7,104 ! Plane X, wire 104 +104,7,105 ! Plane X, wire 105 +105,7,106 ! Plane X, wire 106 +106,7,107 ! Plane X, wire 107 +107,7,108 ! Plane X, wire 108 +108,7,109 ! Plane X, wire 109 +109,7,110 ! Plane X, wire 110 +110,7,111 ! Plane X, wire 111 +111,7,112 ! Plane X, wire 112 +112,12,1 ! Plane X', wire 1 +113,12,2 ! Plane X', wire 2 +114,12,3 ! Plane X', wire 3 +115,12,4 ! Plane X', wire 4 +116,12,5 ! Plane X', wire 5 +117,12,6 ! Plane X', wire 6 +118,12,7 ! Plane X', wire 7 +119,12,8 ! Plane X', wire 8 +120,12,9 ! Plane X', wire 9 +121,12,10 ! Plane X', wire 10 +122,12,11 ! Plane X', wire 11 +123,12,12 ! Plane X', wire 12 +124,12,13 ! Plane X', wire 13 +125,12,14 ! Plane X', wire 14 +126,12,15 ! Plane X', wire 15 +127,12,16 ! Plane X', wire 16 +SLOT=14 +! channel,plane,wire +16,12,17 ! Plane X', wire 17 +17,12,18 ! Plane X', wire 18 +18,12,19 ! Plane X', wire 19 +19,12,20 ! Plane X', wire 20 +20,12,21 ! Plane X', wire 21 +21,12,22 ! Plane X', wire 22 +22,12,23 ! Plane X', wire 23 +23,12,24 ! Plane X', wire 24 +24,12,25 ! Plane X', wire 25 +25,12,26 ! Plane X', wire 26 +26,12,27 ! Plane X', wire 27 +27,12,28 ! Plane X', wire 28 +28,12,29 ! Plane X', wire 29 +29,12,30 ! Plane X', wire 30 +30,12,31 ! Plane X', wire 31 +31,12,32 ! Plane X', wire 32 +SLOT=16 +! channel,plane,wire +0,12,33 ! Plane X', wire 33 +1,12,34 ! Plane X', wire 34 +2,12,35 ! Plane X', wire 35 +3,12,36 ! Plane X', wire 36 +4,12,37 ! Plane X', wire 37 +5,12,38 ! Plane X', wire 38 +6,12,39 ! Plane X', wire 39 +7,12,40 ! Plane X', wire 40 +8,12,41 ! Plane X', wire 41 +9,12,42 ! Plane X', wire 42 +10,12,43 ! Plane X', wire 43 +11,12,44 ! Plane X', wire 44 +12,12,45 ! Plane X', wire 45 +13,12,46 ! Plane X', wire 46 +14,12,47 ! Plane X', wire 47 +15,12,48 ! Plane X', wire 48 +16,12,49 ! Plane X', wire 49 +17,12,50 ! Plane X', wire 50 +18,12,51 ! Plane X', wire 51 +19,12,52 ! Plane X', wire 52 +20,12,53 ! Plane X', wire 53 +21,12,54 ! Plane X', wire 54 +22,12,55 ! Plane X', wire 55 +23,12,56 ! Plane X', wire 56 +24,12,57 ! Plane X', wire 57 +25,12,58 ! Plane X', wire 58 +26,12,59 ! Plane X', wire 59 +27,12,60 ! Plane X', wire 60 +28,12,61 ! Plane X', wire 61 +29,12,62 ! Plane X', wire 62 +30,12,63 ! Plane X', wire 63 +31,12,64 ! Plane X', wire 64 +32,12,65 ! Plane X', wire 65 +33,12,66 ! Plane X', wire 66 +34,12,67 ! Plane X', wire 67 +35,12,68 ! Plane X', wire 68 +36,12,69 ! Plane X', wire 69 +37,12,70 ! Plane X', wire 70 +38,12,71 ! Plane X', wire 71 +39,12,72 ! Plane X', wire 72 +40,12,73 ! Plane X', wire 73 +41,12,74 ! Plane X', wire 74 +42,12,75 ! Plane X', wire 75 +43,12,76 ! Plane X', wire 76 +44,12,77 ! Plane X', wire 77 +45,12,78 ! Plane X', wire 78 +46,12,79 ! Plane X', wire 79 +47,12,80 ! Plane X', wire 80 +48,12,81 ! Plane X', wire 81 +49,12,82 ! Plane X', wire 82 +50,12,83 ! Plane X', wire 83 +51,12,84 ! Plane X', wire 84 +52,12,85 ! Plane X', wire 85 +53,12,86 ! Plane X', wire 86 +54,12,87 ! Plane X', wire 87 +55,12,88 ! Plane X', wire 88 +56,12,89 ! Plane X', wire 89 +57,12,90 ! Plane X', wire 90 +58,12,91 ! Plane X', wire 91 +59,12,92 ! Plane X', wire 92 +60,12,93 ! Plane X', wire 93 +61,12,94 ! Plane X', wire 94 +62,12,95 ! Plane X', wire 95 +63,12,96 ! Plane X', wire 96 +64,12,97 ! Plane X', wire 97 +65,12,98 ! Plane X', wire 98 +66,12,99 ! Plane X', wire 99 +67,12,100 ! Plane X', wire 100 +68,12,101 ! Plane X', wire 101 +69,12,102 ! Plane X', wire 102 +70,12,103 ! Plane X', wire 103 +71,12,104 ! Plane X', wire 104 +72,12,105 ! Plane X', wire 105 +73,12,106 ! Plane X', wire 106 +74,12,107 ! Plane X', wire 107 +75,12,108 ! Plane X', wire 108 +76,12,109 ! Plane X', wire 109 +77,12,110 ! Plane X', wire 110 +78,12,111 ! Plane X', wire 111 +79,12,112 ! Plane X', wire 112 +SLOT=17 +! channel,plane,wire +64,8,1 ! Plane Y, wire 1 +65,8,2 ! Plane Y, wire 2 +66,8,3 ! Plane Y, wire 3 +67,8,4 ! Plane Y, wire 4 +68,8,5 ! Plane Y, wire 5 +69,8,6 ! Plane Y, wire 6 +70,8,7 ! Plane Y, wire 7 +71,8,8 ! Plane Y, wire 8 +72,8,9 ! Plane Y, wire 9 +73,8,10 ! Plane Y, wire 10 +74,8,11 ! Plane Y, wire 11 +75,8,12 ! Plane Y, wire 12 +76,8,13 ! Plane Y, wire 13 +80,8,14 ! Plane Y, wire 14 +81,8,15 ! Plane Y, wire 15 +82,8,16 ! Plane Y, wire 16 +83,8,17 ! Plane Y, wire 17 +84,8,18 ! Plane Y, wire 18 +85,8,19 ! Plane Y, wire 19 +86,8,20 ! Plane Y, wire 20 +87,8,21 ! Plane Y, wire 21 +88,8,22 ! Plane Y, wire 22 +89,8,23 ! Plane Y, wire 23 +90,8,24 ! Plane Y, wire 24 +91,8,25 ! Plane Y, wire 25 +92,8,26 ! Plane Y, wire 26 +96,8,27 ! Plane Y, wire 27 +97,8,28 ! Plane Y, wire 28 +98,8,29 ! Plane Y, wire 29 +99,8,30 ! Plane Y, wire 30 +100,8,31 ! Plane Y, wire 31 +101,8,32 ! Plane Y, wire 32 +102,8,33 ! Plane Y, wire 33 +103,8,34 ! Plane Y, wire 34 +104,8,35 ! Plane Y, wire 35 +105,8,36 ! Plane Y, wire 36 +106,8,37 ! Plane Y, wire 37 +107,8,38 ! Plane Y, wire 38 +108,8,39 ! Plane Y, wire 39 +112,8,40 ! Plane Y, wire 40 +113,8,41 ! Plane Y, wire 41 +114,8,42 ! Plane Y, wire 42 +115,8,43 ! Plane Y, wire 43 +116,8,44 ! Plane Y, wire 44 +117,8,45 ! Plane Y, wire 45 +118,8,46 ! Plane Y, wire 46 +119,8,47 ! Plane Y, wire 47 +120,8,48 ! Plane Y, wire 48 +121,8,49 ! Plane Y, wire 49 +122,8,50 ! Plane Y, wire 50 +123,8,51 ! Plane Y, wire 51 +124,8,52 ! Plane Y, wire 52 +SLOT=10 +! channel,plane,wire +64,11,1 ! Plane Y', wire 1 +65,11,2 ! Plane Y', wire 2 +66,11,3 ! Plane Y', wire 3 +67,11,4 ! Plane Y', wire 4 +68,11,5 ! Plane Y', wire 5 +69,11,6 ! Plane Y', wire 6 +70,11,7 ! Plane Y', wire 7 +71,11,8 ! Plane Y', wire 8 +72,11,9 ! Plane Y', wire 9 +73,11,10 ! Plane Y', wire 10 +74,11,11 ! Plane Y', wire 11 +75,11,12 ! Plane Y', wire 12 +76,11,13 ! Plane Y', wire 13 +80,11,14 ! Plane Y', wire 14 +81,11,15 ! Plane Y', wire 15 +82,11,16 ! Plane Y', wire 16 +83,11,17 ! Plane Y', wire 17 +84,11,18 ! Plane Y', wire 18 +85,11,19 ! Plane Y', wire 19 +86,11,20 ! Plane Y', wire 20 +87,11,21 ! Plane Y', wire 21 +88,11,22 ! Plane Y', wire 22 +89,11,23 ! Plane Y', wire 23 +90,11,24 ! Plane Y', wire 24 +91,11,25 ! Plane Y', wire 25 +92,11,26 ! Plane Y', wire 26 +96,11,27 ! Plane Y', wire 27 +97,11,28 ! Plane Y', wire 28 +98,11,29 ! Plane Y', wire 29 +99,11,30 ! Plane Y', wire 30 +100,11,31 ! Plane Y', wire 31 +101,11,32 ! Plane Y', wire 32 +102,11,33 ! Plane Y', wire 33 +103,11,34 ! Plane Y', wire 34 +104,11,35 ! Plane Y', wire 35 +105,11,36 ! Plane Y', wire 36 +106,11,37 ! Plane Y', wire 37 +107,11,38 ! Plane Y', wire 38 +108,11,39 ! Plane Y', wire 39 +112,11,40 ! Plane Y', wire 40 +113,11,41 ! Plane Y', wire 41 +114,11,42 ! Plane Y', wire 42 +115,11,43 ! Plane Y', wire 43 +116,11,44 ! Plane Y', wire 44 +117,11,45 ! Plane Y', wire 45 +118,11,46 ! Plane Y', wire 46 +119,11,47 ! Plane Y', wire 47 +120,11,48 ! Plane Y', wire 48 +121,11,49 ! Plane Y', wire 49 +122,11,50 ! Plane Y', wire 50 +123,11,51 ! Plane Y', wire 51 +124,11,52 ! Plane Y', wire 52 + + + + diff --git a/MAPS/HMS/DETEC/hhodo.map b/MAPS/HMS/DETEC/hhodo.map new file mode 100644 index 00000000..2a99b3eb --- /dev/null +++ b/MAPS/HMS/DETEC/hhodo.map @@ -0,0 +1,272 @@ +!HMS: +! HSCIN_ID= 13 ADC+,ADC-,TDC+,TDC- + +ROC=1 +detector=13 + +! F250 modules +SLOT=8 +! chan plane bar sig + 0, 1, 1, 0! h1x01A+ + 1, 1, 2, 0! h1x02A+ + 2, 1, 3, 0! h1x03A+ + 3, 1, 4, 0! h1x04A+ + 4, 1, 5, 0! h1x05A+ + 5, 1, 6, 0! h1x06A+ + 6, 1, 7, 0! h1x07A+ + 7, 1, 8, 0! h1x08A+ + 8, 1, 9, 0! h1x09A+ + 9, 1, 10, 0! h1x10A+ + 10, 1, 11, 0! h1x11A+ + 11, 1, 12, 0! h1x12A+ + 12, 1, 13, 0! h1x13A+ + 13, 1, 14, 0! h1x14A+ + 14, 1, 15, 0! h1x15A+ + 15, 1, 16, 0! h1x16A+ +SLOT=9 +! chan plane bar sig + 0, 1, 1, 1! h1x01A- + 1, 1, 2, 1! h1x02A- + 2, 1, 3, 1! h1x03A- + 3, 1, 4, 1! h1x04A- + 4, 1, 5, 1! h1x05A- + 5, 1, 6, 1! h1x06A- + 6, 1, 7, 1! h1x07A- + 7, 1, 8, 1! h1x08A- + 8, 1, 9, 1! h1x09A- + 9, 1, 10, 1! h1x10A- + 10, 1, 11, 1! h1x11A- + 11, 1, 12, 1! h1x12A- + 12, 1, 13, 1! h1x13A- + 13, 1, 14, 1! h1x14A- + 14, 1, 15, 1! h1x15A- + 15, 1, 16, 1! h1x16A- +SLOT=10 +! chan plane bar sig + 0, 2, 1, 0! h1y01A+ + 1, 2, 2, 0! h1y02A+ + 2, 2, 3, 0! h1y03A+ + 3, 2, 4, 0! h1y04A+ + 4, 2, 5, 0! h1y05A+ + 5, 2, 6, 0! h1y06A+ + 6, 2, 7, 0! h1y07A+ + 7, 2, 8, 0! h1y08A+ + 8, 2, 9, 0! h1y09A+ + 9, 2, 10, 0! h1y10A+ + 10, 2, 1, 1! h1y01A- + 11, 2, 2, 1! h1y02A- + 12, 2, 3, 1! h1y03A- + 13, 2, 4, 1! h1y04A- + 14, 2, 5, 1! h1y05A- + 15, 2, 6, 1! h1y06A- +SLOT=13 +! chan plane bar sig + 0, 2, 7, 1! h1y07A- + 1, 2, 8, 1! h1y08A- + 2, 2, 9, 1! h1y09A- + 3, 2, 10, 1! h1y10A- + 4, 3, 1, 0! h2x01A+ + 5, 3, 2, 0! h2x02A+ + 6, 3, 3, 0! h2x03A+ + 7, 3, 4, 0! h2x04A+ + 8, 3, 5, 0! h2x05A+ + 9, 3, 6, 0! h2x06A+ + 10, 3, 7, 0! h2x07A+ + 11, 3, 8, 0! h2x08A+ + 12, 3, 9, 0! h2x09A+ + 13, 3, 10, 0! h2x10A+ + 14, 3, 11, 0! h2x11A+ + 15, 3, 12, 0! h2x12A+ +SLOT=14 +! chan plane bar sig + 0, 3, 13, 0! h2x13A+ + 1, 3, 14, 0! h2x14A+ + 2, 3, 15, 0! h2x15A+ + 3, 3, 16, 0! h2x16A+ + 4, 3, 1, 1! h2x01A- + 5, 3, 2, 1! h2x02A- + 6, 3, 3, 1! h2x03A- + 7, 3, 4, 1! h2x04A- + 8, 3, 5, 1! h2x05A- + 9, 3, 6, 1! h2x06A- + 10, 3, 7, 1! h2x07A- + 11, 3, 8, 1! h2x08A- + 12, 3, 9, 1! h2x09A- + 13, 3, 10, 1! h2x10A- + 14, 3, 11, 1! h2x11A- + 15, 3, 12, 1! h2x12A- +SLOT=15 +! chan plane bar sig + 0, 3, 13, 1! h2x13A- + 1, 3, 14, 1! h2x14A- + 2, 3, 15, 1! h2x15A- + 3, 3, 16, 1! h2x16A- + 4, 4, 1, 0! h2y01A+ + 5, 4, 2, 0! h2y02A+ + 6, 4, 3, 0! h2y03A+ + 7, 4, 4, 0! h2y04A+ + 8, 4, 5, 0! h2y05A+ + 9, 4, 6, 0! h2y06A+ + 10, 4, 7, 0! h2y07A+ + 11, 4, 8, 0! h2y08A+ + 12, 4, 9, 0! h2y09A+ + 13, 4, 10, 0! h2y10A+ + 14, 4, 1, 1! h2y01A- + 15, 4, 2, 1! h2y02A- +SLOT=16 +! chan plane bar sig + 0, 4, 10, 1! h2y10A- + 1, 4, 9, 1! h2y09A- + 2, 4, 8, 1! h2y08A- + 3, 4, 7, 1! h2y07A- + 4, 4, 6, 1! h2y06A- + 5, 4, 5, 1! h2y05A- + 6, 4, 4, 1! h2y04A- + 7, 4, 3, 1! h2y03A- + +! Caen 1190 module +SLOT=20 +! A0 +! chan plane bar sig + 0, 1, 1, 2! h1x01T+ + 1, 1, 3, 2! h1x03T+ + 2, 1, 5, 2! h1x05T+ + 3, 1, 7, 2! h1x07T+ + 4, 1, 2, 2! h1x02T+ + 5, 1, 4, 2! h1x04T+ + 6, 1, 6, 2! h1x06T+ + 7, 1, 8, 2! h1x08T+ + 8, 1, 9, 2! h1x09T+ + 9, 1, 11, 2! h1x11T+ + 10, 1, 13, 2! h1x13T+ + 11, 1, 15, 2! h1x15T+ + 12, 1, 10, 2! h1x10T+ + 13, 1, 12, 2! h1x12T+ + 14, 1, 14, 2! h1x14T+ + 15, 1, 16, 2! h1x16T+ +! A1 +! chan plane bar sig + 16, 1, 1, 3! h1x01T- + 17, 1, 3, 3! h1x03T- + 18, 1, 5, 3! h1x05T- + 19, 1, 7, 3! h1x07T- + 20, 1, 2, 3! h1x02T- + 21, 1, 4, 3! h1x04T- + 22, 1, 6, 3! h1x06T- + 23, 1, 8, 3! h1x08T- + 24, 1, 9, 3! h1x09T- + 25, 1, 11, 3! h1x11T- + 26, 1, 13, 3! h1x13T- + 27, 1, 15, 3! h1x15T- + 28, 1, 10, 3! h1x10T- + 29, 1, 12, 3! h1x12T- + 30, 1, 14, 3! h1x14T- + 31, 1, 16, 3! h1x16T- +! B0 +! chan plane bar sig + 32, 2, 1, 2! h1y01T+ + 33, 2, 3, 2! h1y03T+ + 34, 2, 5, 2! h1y05T+ + 35, 2, 7, 2! h1y07T+ + 36, 2, 2, 2! h1y02T+ + 37, 2, 4, 2! h1y04T+ + 38, 2, 6, 2! h1y06T+ + 39, 2, 8, 2! h1y08T+ + 40, 2, 9, 2! h1y09T+ +! 41, , , ! +! 42, , , ! +! 43, , , ! + 44, 2, 10, 2! h1y10T+ +! 45, , , ! +! 46, , , ! +! 47, , , ! +! B1 +! chan plane bar sig + 48, 2, 1, 3! h1y01T- + 49, 2, 3, 3! h1y03T- + 50, 2, 5, 3! h1y05T- + 51, 2, 7, 3! h1y07T- + 52, 2, 2, 3! h1y02T- + 53, 2, 4, 3! h1y04T- + 54, 2, 6, 3! h1y06T- + 55, 2, 8, 3! h1y08T- + 56, 2, 9, 3! h1y09T- +! 57, , , ! +! 58, , , ! +! 59, , , ! + 60, 2, 10, 3! h1y10T- +! 61, , , ! +! 62, , , ! +! 63, , , ! +! C0 +! chan plane bar sig + 64, 3, 1, 2! h2x01T+ + 65, 3, 3, 2! h2x03T+ + 66, 3, 5, 2! h2x05T+ + 67, 3, 7, 2! h2x07T+ + 68, 3, 2, 2! h2x02T+ + 69, 3, 4, 2! h2x04T+ + 70, 3, 6, 2! h2x06T+ + 71, 3, 8, 2! h2x08T+ + 72, 3, 9, 2! h2x09T+ + 73, 3, 11, 2! h2x11T+ + 74, 3, 13, 2! h2x13T+ + 75, 3, 15, 2! h2x15T+ + 76, 3, 10, 2! h2x10T+ + 77, 3, 12, 2! h2x12T+ + 78, 3, 14, 2! h2x14T+ + 79, 3, 16, 2! h2x16T+ +! C1 +! chan plane bar sig + 80, 3, 1, 3! h2x01T- + 81, 3, 3, 3! h2x03T- + 82, 3, 5, 3! h2x05T- + 83, 3, 7, 3! h2x07T- + 84, 3, 2, 3! h2x02T- + 85, 3, 4, 3! h2x04T- + 86, 3, 6, 3! h2x06T- + 87, 3, 8, 3! h2x08T- + 88, 3, 9, 3! h2x09T- + 89, 3, 11, 3! h2x11T- + 90, 3, 13, 3! h2x13T- + 91, 3, 15, 3! h2x15T- + 92, 3, 10, 3! h2x10T- + 93, 3, 12, 3! h2x12T- + 94, 3, 14, 3! h2x14T- + 95, 3, 16, 3! h2x16T- +! D0 +! chan plane bar sig + 96, 4, 1, 2! h2y01T+ + 97, 4, 3, 2! h2y03T+ + 98, 4, 5, 2! h2y05T+ + 99, 4, 7, 2! h2y07T+ + 100, 4, 2, 2! h2y02T+ + 101, 4, 4, 2! h2y04T+ + 102, 4, 6, 2! h2y06T+ + 103, 4, 8, 2! h2y08T+ + 104, 4, 9, 2! h2y09T+ +! 105, , , ! +! 106, , , ! +! 107, , , ! + 108, 4, 10, 2! h2y10T+ +! 109, , , ! +! 110, , , ! +! 111, , , ! +! D1 +! chan plane bar sig + 112, 4, 1, 3! h2y01T- + 113, 4, 3, 3! h2y03T- + 114, 4, 5, 3! h2y05T- + 115, 4, 7, 3! h2y07T- + 116, 4, 2, 3! h2y02T- + 117, 4, 4, 3! h2y04T- + 118, 4, 6, 3! h2y06T- + 119, 4, 8, 3! h2y08T- + 120, 4, 9, 3! h2y09T- +! 121, , , ! +! 122, , , ! +! 123, , , ! + 124, 4, 10, 3! h2y10T- +! 125, , , ! +! 126, , , ! +! 127, , , ! diff --git a/MAPS/HMS/DETEC/htrig.map b/MAPS/HMS/DETEC/htrig.map new file mode 100644 index 00000000..215b7804 --- /dev/null +++ b/MAPS/HMS/DETEC/htrig.map @@ -0,0 +1,48 @@ +!HMS: +! THMS_ID=10 ADC,TDC + +! Plane = 1 >> ADC Only +! Plane = 2 >> TDC Only + + +detector=5 + +ROC=1 + +!F250 module +SLOT=17 +! chan plane bar sig + 8, 1, 1, 0! hASUM + 9, 1, 2, 0! hBSUM + 10, 1, 3, 0! hCSUM + 11, 1, 4, 0! hDSUM + 12, 1, 5, 0! hPSHWR + 13, 1, 6, 0! hSHWR + 14, 1, 7, 0! hAERSUM + 15, 1, 8, 0! hCERSUM + +!CAEN1190 module +SLOT=2 +! A0 +! chan plane bar sig + 0, 2, 1, 1! h1X + 1, 2, 2, 1! h1Y + 2, 2, 3, 1! h2X + 3, 2, 4, 1! h2Y + 4, 2, 5, 1! h1T + 5, 2, 6, 1! h2T + 6, 2, 7, 1! hT1 + 7, 2, 8, 1! hASUM + 8, 2, 9, 1! hBSUM + 9, 2, 10, 1! hCSUM + 10, 2, 11, 1! hDSUM + 11, 2, 12, 1! hPSHWRLO + 12, 2, 13, 1! hPSHWRHI + 13, 2, 14, 1! hSHWR + 14, 2, 15, 1! hAERSUM + 15, 2, 16, 1! hCERSUM +!CAEN1190 module +SLOT=20 +! D1 +! chan plane bar sig + 127, 2, 17 1! hT2 diff --git a/MAPS/HMS/README b/MAPS/HMS/README new file mode 100644 index 00000000..2365044b --- /dev/null +++ b/MAPS/HMS/README @@ -0,0 +1,219 @@ +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + +!Author: Eric Pooser, pooser@jlab.org, 11/16/2016 + +!This README defines the locations of detector channels as they are fed into their +!respective readout modules residing in their respective crates. The channel numbers +!correspond to the channels as defined via the module front panel and not the detector. + +!The following lists the various HMS crates read out in Hall C + +!Crate 1 >> Hodoscope (ADC,TDC), Calorimeter (ADC), Aerogel (ADC), Cherenkov (ADC) >> Trigger (ADC,TDC) + +!Crate 3 >> Drift Chambers (TDC) + +!Crate 5 >> Hardware Scalers + +!The shell script "make_cratemap.sh" exists so that the user can create a singular crate map +!db_cratemap.dat which contains the necessary information from various crates in both the +!HMS & SHMS spectrometer arms to run the analyzer. The script prompts the user to enter +!the crate number(s), separated by spaces, in which they would like a crate map to be +!generated for. The file "db_cratemap.dat" id created in the current working directory. It +!is useful to note that one could do this by hand simply by cat-ing the desired crate maps +! in both the HMS & SHMS MAPS directories. + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + +!Crate 1 >> HMS >> HCCRATE01.JLAB.ORG >> ROC1 >> db_crate1map.dat + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + +Detector: HMS Hodoscope >> Decetor ID: HSCIN_ID= 2 >> Detector Map: hhod.map + +FADC:h1X[1-16]+ >> Slot 8 >> Chan 0 - 15 +FADC:h1X[1-16]- >> Slot 9 >> Chan 0 - 15 +FADC:h1Y[1-10]+ >> Slot 10 >> Chan 0 - 9 +FADC:h1Y[1-10]- >> Slot 10 >> Chan 10 - 15 >> & >> Slot 13 >> Chan 0 - 3 +FADC:h2X[1-16]+ >> Slot 13 >> Chan 4 - 15 >> & >> Slot 14 >> Chan 0 - 3 +FADC:h2X[1-16]- >> Slot 14 >> Chan 4 - 15 >> & >> Slot 15 >> Chan 0 - 3 +FADC:h2Y[1-10]+ >> Slot 15 >> Chan 4 - 13 +FADC:h2Y[1-10]- >> Slot 15 >> Chan 14 - 15 >> & >> Slot 16 >> Chan 0 - 7 + +TDC:h1X[1-16]+ >> Slot 20 >> Sub-Slot A0 >> Chan 0 - 15 +TDC:h1X[1-16]- >> Slot 20 >> Sub-Slot A1 >> Chan 16 - 31 +TDC:h1Y[1-10]+ >> Slot 20 >> Sub-Slot B0 >> Chan 32 - 40 >> & Chan 44 +TDC:h1Y[1-10]- >> Slot 20 >> Sub-Slot B1 >> Chan 48 - 56 >> & Chan 60 +TDC:h2X[1-16]+ >> Slot 20 >> Sub-Slot C0 >> Chan 64 - 79 +TDC:h2X[1-16]- >> Slot 20 >> Sub-Slot C1 >> Chan 80 - 95 +TDC:h1Y[1-10]+ >> Slot 20 >> Sub-Slot D0 >> Chan 96 - 104 >> & Chan 108 +TDC:h1Y[1-10]- >> Slot 20 >> Sub-Slot D1 >> Chan 112 - 120 >> & Chan 124 + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + +Detector: HMS Aerogel >> Decetor ID: HAERO_ID= 7 >> Detector Map: haero.map + +FADC:hAero[1-8]+ >> Slot 17 >> Chan 0 - 7 +FADC:hAero[1-8]- >> Slot 16 >> Chan 8 - 15 + +!NOTE: As of 11/16/2016 all 16 chanels in the aerogel are noisy and not fit for production +!running. This detector will not be used in the Srping 2017 commissioning runs + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + +Detector: Cherenkov >> Detector ID: HCER_ID= 3 >> Detector Map: hcer.map + +FADC:hCer[1-2] >> Slot 7 >> Chan 14 - 15 + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + +Detector: Calorimeter >> Dectector ID: HCAL_ID= 4 >> Detector Map: hcal.map + +FADC:hA[1-13]+ >> Slot 3 >> Chan 0 - 12 +FADC:hA[1-13]- >> Slot 3 >> Chan 12 - 15 >> & >> Slot 4 >> Chan 0 - 9 +FADC:hB[1-13]+ >> Slot 4 >> Chan 10 - 15 >> & >> Slot 5 >> Chan 0 - 6 +FADC:hB[1-13]- >> Slot 5 >> Chan 7 - 15 >> & >> Slot 6 >> Chan 0 - 3 +FADC:hC[1-13]+ >> Slot 6 >> Chan 4 - 15 >> & >> Slot 7 >> Chan 0 +FADC:hD[1-13]+ >> Slot 7 >> Chan 1 - 13 + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + +Detector: Trigger >> Dectector ID: HTRIG_ID= 8 >> Detector Map: htrig.map + +! Calorimeter Trigger FADC Channels +FADC:hASUM >> Slot 17 >> Chan 8 ! Sum of A+ & A- +FADC:hBSUM >> Slot 17 >> Chan 9 ! Sum of B+ & B- +FADC:hCSUM >> Slot 17 >> Chan 10 ! Sum of C+ & C- +FADC:hDSUM >> Slot 17 >> Chan 11 ! Sum of D+ & D- +FADC:hPSHWR >> Slot 17 >> Chan 12 ! Sum of A & B +FADC:hSHWR >> Slot 17 >> Chan 13 ! Sum of A, B, C, & D + +! Hodoscope Trigger TDC Channels +TDC:h1X >> Slot 2 >> Sub-Slot A0 >> Chan 0 ! (OR of +) AND (OR of -) +TDC:h1Y >> Slot 2 >> Sub-Slot A0 >> Chan 1 ! (OR of +) AND (OR of -) +TDC:h2X >> Slot 2 >> Sub-Slot A0 >> Chan 2 ! (OR of +) AND (OR of -) +TDC:h2Y >> Slot 2 >> Sub-Slot A0 >> Chan 3 ! (OR of +) AND (OR of -) +TDC:h1T >> Slot 2 >> Sub-Slot A0 >> Chan 4 ! h1x AND h1Y +TDC:h2T >> Slot 2 >> Sub-Slot A0 >> Chan 5 ! h2x AND h2y +TDC:hT >> Slot 2 >> Sub-Slot A0 >> Chan 6 ! h1T AND h2T +TDC:hT >> Slot 20 >> Sub-Slot D1 >> Chan 127 ! h1T AND h2T + +! Calorimeter Trigger TDC Channels +TDC:hASUM >> Slot 2 >> Sub-Slot A0 >> Chan 7 ! Sum of A+ & A- +TDC:hBSUM >> Slot 2 >> Sub-Slot A0 >> Chan 8 ! Sum of B+ & B- +TDC:hCSUM >> Slot 2 >> Sub-Slot A0 >> Chan 9 ! Sum of C+ & C- +TDC:hDSUM >> Slot 2 >> Sub-Slot A0 >> Chan 10 ! Sum of D+ & D- +TDC:hPSHWRLO >> Slot 2 >> Sub-Slot A0 >> Chan 11 ! Sum of A & B, low threshold +TDC:hPSHWRHI >> Slot 2 >> Sub-Slot A0 >> Chan 12 ! Sum of A & B, high threshold +TDC:hSHWR >> Slot 2 >> Sub-Slot A0 >> Chan 13 ! Sum of A, B, C, & D + +! Aerogel Trigger Channel +FADC:hAERSUM >> Slot 17 >> Chan 14 ! Sum of channels [1-8]+ & [1-8]- +TDC:hAERSUM >> Slot 2 >> Sub-Slot A0 >> Chan 14 ! Sum of channels [1-8]+ & [1-8]- + +! Cherenkov Trigger Channel +FADC:hCERSUM >> Slot 17 >> Chan 15 ! Sum of channels [1-2] +TDC:hCERSUM >> Slot 2 >> Sub-Slot A0 >> Chan 15 ! Sum of channels [1-2] + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + + +!=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=| + + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + +!Crate 3 >> HMS >> HCCRATE03.JLAB.ORG >> ROC3 >> db_crate3map.dat + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + +Detector: Drift Chamber 1 >> Detector ID: HDC_ID= 1 >> Detector Map: hdc.map + +TDC:X81-96 >> SN01 >> Slot 4 >> Sub-Slot A0 >> Chan 0 - 15 +TDC:X65-80 >> SN02 >> Slot 4 >> Sub-Slot A1 >> Chan 16 - 31 +TDC:X49-64 >> SN03 >> Slot 4 >> Sub-Slot B0 >> Chan 32 - 47 +TDC:X33-48 >> SN04 >> Slot 4 >> Sub-Slot B1 >> Chan 48 - 63 +TDC:X17-32 >> SN05 >> Slot 4 >> Sub-Slot C0 >> Chan 64 - 79 +TDC:X1-16 >> SN06 >> Slot 4 >> Sub-Slot C1 >> Chan 80 - 95 +TDC:V92-107 >> SN07 >> Slot 4 >> Sub-Slot D0 >> Chan 96 - 111 +TDC:X'1-16 >> SN08 >> Slot 4 >> Sub-Slot D1 >> Chan 112 - 127 + +TDC:U92-107 >> SN09 >> Slot 5 >> Sub-Slot A0 >> Chan 0 - 15 +TDC:U77-91 >> SN10 >> Slot 5 >> Sub-Slot A1 >> Chan 16 - 30 +TDC:U61-76 >> SN11 >> Slot 5 >> Sub-Slot B0 >> Chan 32 - 47 +TDC:U46-60 >> SN12 >> Slot 5 >> Sub-Slot B1 >> Chan 48 - 62 +TDC:U30-45 >> SN13 >> Slot 5 >> Sub-Slot C0 >> Chan 64 - 79 +TDC:U15-29 >> SN14 >> Slot 5 >> Sub-Slot C1 >> Chan 80 - 94 +TDC:U1-14 >> SN15 >> Slot 5 >> Sub-Slot D0 >> Chan 96 - 109 +TDC:X'17-32 >> SN16 >> Slot 5 >> Sub-Slot D1 >> Chan 112 - 127 + +TDC:X'33-48 >> SN17 >> Slot 7 >> Sub-Slot A0 >> Chan 0 - 15 +TDC:X'49-64 >> SN18 >> Slot 7 >> Sub-Slot A1 >> Chan 16 - 31 +TDC:X'65-80 >> SN19 >> Slot 7 >> Sub-Slot B0 >> Chan 32 - 47 +TDC:X'81-96 >> SN20 >> Slot 7 >> Sub-Slot B1 >> Chan 48 - 63 +TDC:X'97-112 >> SN21 >> Slot 7 >> Sub-Slot C0 >> Chan 64 - 79 +TDC:X97-112 >> SN22 >> Slot 7 >> Sub-Slot C1 >> Chan 80 - 95 +TDC:V1-14 >> SN23 >> Slot 7 >> Sub-Slot D0 >> Chan 96 - 109 +TDC:V15-29 >> SN24 >> Slot 7 >> Sub-Slot D1 >> Chan 112 - 127 + +TDC:V30-45 >> SN25 >> Slot 8 >> Sub-Slot A0 >> Chan 0 - 15 +TDC:V46-60 >> SN26 >> Slot 8 >> Sub-Slot A1 >> Chan 16 - 30 +TDC:V61-76 >> SN27 >> Slot 8 >> Sub-Slot B0 >> Chan 32 - 47 +TDC:V77-91 >> SN28 >> Slot 8 >> Sub-Slot B1 >> Chan 48 - 62 +TDC:Y1-13 >> SN29 >> Slot 8 >> Sub-Slot C0 >> Chan 64 - 78 +TDC:Y14-26 >> SN30 >> Slot 8 >> Sub-Slot C1 >> Chan 80 - 92 +TDC:Y27-39 >> SN31 >> Slot 8 >> Sub-Slot D0 >> Chan 96 - 108 +TDC:Y40-52 >> SN32 >> Slot 8 >> Sub-Slot D1 >> Chan 112 - 124 + +TDC:Y'1-13 >> SN33 >> Slot 10 >> Sub-Slot A0 >> Chan 0 - 11 +TDC:Y'14-26 >> SN34 >> Slot 10 >> Sub-Slot A1 >> Chan 16 - 28 +TDC:Y'27-39 >> SN35 >> Slot 10 >> Sub-Slot B0 >> Chan 32 - 43 +TDC:Y'40-52 >> SN36 >> Slot 10 >> Sub-Slot B1 >> Chan 48 - 59 + +Detector: Drift Chamber 2 >> Detector ID: HDC_ID= 1 >> Detector Map: hdc.map + +TDC:Y'1-13 >> SN08 >> Slot 10 >> Sub-Slot C0 >> Chan 64 - 75 +TDC:Y'14-26 >> SN10 >> Slot 10 >> Sub-Slot C1 >> Chan 80 - 91 +TDC:Y'27-39 >> SN31 >> Slot 10 >> Sub-Slot D0 >> Chan 96 - 107 +TDC:Y'40-52 >> SN29 >> Slot 10 >> Sub-Slot D1 >> Chan 112 - 123 + +TDC:X1-16 >> SN36 >> Slot 13 >> Sub-Slot A0 >> Chan 0 - 15 +TDC:X17-32 >> SN35 >> Slot 13 >> Sub-Slot A1 >> Chan 16 - 31 +TDC:X33-48 >> SN34 >> Slot 13 >> Sub-Slot B0 >> Chan 32 - 47 +TDC:X49-64 >> SN21 >> Slot 13 >> Sub-Slot B1 >> Chan 48 - 63 +TDC:X65-80 >> SN20 >> Slot 13 >> Sub-Slot C0 >> Chan 64 - 79 +TDC:X81-96 >> SN19 >> Slot 13 >> Sub-Slot C1 >> Chan 80 - 95 +TDC:X97-112 >> SN18 >> Slot 13 >> Sub-Slot D0 >> Chan 96 - 111 +TDC:X'1-16 >> SN07 >> Slot 13 >> Sub-Slot D1 >> Chan 112 - 127 + +TDC:U30-45 >> SN05 >> Slot 14 >> Sub-Slot A0 >> Chan 0 - 15 +TDC:X'17-32 >> SN06 >> Slot 14 >> Sub-Slot A1 >> Chan 16 - 31 +TDC:U46-60 >> SN04 >> Slot 14 >> Sub-Slot B0 >> Chan 32 - 47 +TDC:U61-76 >> SN03 >> Slot 14 >> Sub-Slot B1 >> Chan 48 - 62 +TDC:U77-91 >> SN02 >> Slot 14 >> Sub-Slot C0 >> Chan 64 - 78 +TDC:U97-107 >> SN01 >> Slot 14 >> Sub-Slot C1 >> Chan 80 - 90 +TDC:V15-29 >> SN23 >> Slot 14 >> Sub-Slot D0 >> Chan 96 - 110 +TDC:V30-45 >> SN24 >> Slot 14 >> Sub-Slot D1 >> Chan 112 - 127 + +TDC:X'33-48 >> SN14 >> Slot 16 >> Sub-Slot A0 >> Chan 0 - 15 +TDC:X'49-64 >> SN13 >> Slot 16 >> Sub-Slot A1 >> Chan 16 - 31 +TDC:X'65-80 >> SN12 >> Slot 16 >> Sub-Slot B0 >> Chan 32 - 47 +TDC:X'81-96 >> SN11 >> Slot 16 >> Sub-Slot B1 >> Chan 48 - 63 +TDC:X'97-112 >> SN22 >> Slot 16 >> Sub-Slot C0 >> Chan 64 - 79 +TDC:V1-14 >> SN17 >> Slot 16 >> Sub-Slot C1 >> Chan 80 - 93 +TDC:U1-14 >> SN16 >> Slot 16 >> Sub-Slot D0 >> Chan 96 - 109 +TDC:U15-29 >> SN15 >> Slot 16 >> Sub-Slot D1 >> Chan 112 - 126 + +TDC:V46-60 >> SN25 >> Slot 17 >> Sub-Slot A0 >> Chan 0 - 14 +TDC:V61-76 >> SN26 >> Slot 17 >> Sub-Slot A1 >> Chan 16 - 31 +TDC:V77-91 >> SN27 >> Slot 17 >> Sub-Slot B0 >> Chan 32 - 46 +TDC:V92-107 >> SN28 >> Slot 17 >> Sub-Slot B1 >> Chan 48 - 63 +TDC:Y1-13 >> SN33 >> Slot 17 >> Sub-Slot C0 >> Chan 64 - 76 +TDC:Y14-26 >> SN32 >> Slot 17 >> Sub-Slot C1 >> Chan 80 - 92 +TDC:Y27-39 >> SN30 >> Slot 17 >> Sub-Slot D0 >> Chan 96 - 108 +TDC:Y40-52 >> SN09 >> Slot 17 >> Sub-Slot D1 >> Chan 112 - 124 + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= + +!Crate 5 >> HMS >> HCCRATE05.JLAB.ORG >> ROC5 >> db_crate5map.dat + +!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= \ No newline at end of file diff --git a/MAPS/SHMS/CRATE/db_crate2map.dat b/MAPS/SHMS/CRATE/db_crate2map.dat new file mode 100644 index 00000000..e600e384 --- /dev/null +++ b/MAPS/SHMS/CRATE/db_crate2map.dat @@ -0,0 +1,15 @@ +==== Crate 2 type vme Bank Decoding +# slot model bank + 3 250 250 + 4 250 250 + 5 250 250 + 6 250 250 + 7 250 250 + 8 250 250 + 9 250 250 + 10 250 250 + 13 250 250 + 14 250 250 + 18 1190 1190 + 19 1190 1190 + 20 1190 1190 \ No newline at end of file diff --git a/MAPS/SHMS/CRATE/db_crate4map.dat b/MAPS/SHMS/CRATE/db_crate4map.dat new file mode 100644 index 00000000..db7691ac --- /dev/null +++ b/MAPS/SHMS/CRATE/db_crate4map.dat @@ -0,0 +1,18 @@ +==== Crate 4 type vme Bank Decoding +# slot model bank + 3 250 250 + 4 250 250 + 5 250 250 + 6 250 250 + 7 250 250 + 8 250 250 + 9 250 250 + 10 250 250 + 13 250 250 + 14 250 250 + 15 250 250 + 16 250 250 + 17 250 250 + 18 250 250 + 19 250 250 + 20 250 250 \ No newline at end of file diff --git a/MAPS/SHMS/CRATE/db_crate6map.dat b/MAPS/SHMS/CRATE/db_crate6map.dat new file mode 100644 index 00000000..8ae0ed88 --- /dev/null +++ b/MAPS/SHMS/CRATE/db_crate6map.dat @@ -0,0 +1,12 @@ +==== Crate 6 type vme Bank Decoding +# slot model bank + 6 1190 1190 + 7 1190 1190 + 8 1190 1190 + 9 1190 1190 + 10 1190 1190 + 11 1190 1190 + 12 1190 1190 + 13 1190 1190 + 14 1190 1190 + 15 1190 1190 diff --git a/MAPS/SHMS/DETEC/pcal.map b/MAPS/SHMS/DETEC/pcal.map new file mode 100644 index 00000000..e833bfba --- /dev/null +++ b/MAPS/SHMS/DETEC/pcal.map @@ -0,0 +1,291 @@ +!SHMS +! SCAL_ID=26 ADC + +ROC=4 +detector=26 + +!F250 modules +SLOT=3 +! chan plane row sig +0, 1, 1, 0 +1, 1, 2, 0 +2, 1, 3, 0 +3, 1, 4, 0 +4, 1, 5, 0 +5, 1, 6, 0 +6, 1, 7, 0 +7, 1, 8, 0 +8, 1, 9, 0 +9, 1, 10, 0 +10, 1, 11, 0 +11, 1, 12, 0 +12, 1, 13, 0 +13, 1, 14, 0 +SLOT=4 +! chan plane row sig +0, 1, 1, 1 +1, 1, 2, 1 +2, 1, 3, 1 +3, 1, 4, 1 +4, 1, 5, 1 +5, 1, 6, 1 +6, 1, 7, 1 +7, 1, 8, 1 +8, 1, 9, 1 +9, 1, 10, 1 +10, 1, 11, 1 +11, 1, 12, 1 +12, 1, 13, 1 +13, 1, 14, 1 +SLOT=5 +! chan plane row sig +0, 2, 1, 0 ! Row 1, Column 1 +1, 2, 2, 0 ! Row 2, Column 1 +2, 2, 3, 0 ! Row 3, Column 1 +3, 2, 4, 0 ! Row 4, Column 1 +4, 2, 5, 0 ! Row 5, Column 1 +5, 2, 6, 0 ! Row 6, Column 1 +6, 2, 7, 0 ! Row 7, Column 1 +7, 2, 8, 0 ! Row 8, Column 1 +8, 2, 9, 0 ! Row 9, Column 1 +9, 2, 10, 0 ! Row 10, Column 1 +10, 2, 11, 0 ! Row 11, Column 1 +11, 2, 12, 0 ! Row 12, Column 1 +12, 2, 13, 0 ! Row 13, Column 1 +13, 2, 14, 0 ! Row 14, Column 1 +14, 2, 15, 0 ! Row 15, Column 1 +15, 2, 16, 0 ! Row 16, Column 1 +SLOT=6 +! chan plane row sig +0, 2, 17, 0 ! Row 1, Column 2 +1, 2, 18, 0 ! Row 2, Column 2 +2, 2, 19, 0 ! Row 3, Column 2 +3, 2, 20, 0 ! Row 4, Column 2 +4, 2, 21, 0 ! Row 5, Column 2 +5, 2, 22, 0 ! Row 6, Column 2 +6, 2, 23, 0 ! Row 7, Column 2 +7, 2, 24, 0 ! Row 8, Column 2 +8, 2, 25, 0 ! Row 9, Column 2 +9, 2, 26, 0 ! Row 10, Column 2 +10, 2, 27, 0 ! Row 11, Column 2 +11, 2, 28, 0 ! Row 12, Column 2 +12, 2, 29, 0 ! Row 13, Column 2 +13, 2, 30, 0 ! Row 14, Column 2 +14, 2, 31, 0 ! Row 15, Column 2 +15, 2, 32, 0 ! Row 16, Column 2 +SLOT=7 +! chan plane row sig +0, 2, 33, 0 ! Row 1, Column 3 +1, 2, 34, 0 ! Row 2, Column 3 +2, 2, 35, 0 ! Row 3, Column 3 +3, 2, 36, 0 ! Row 4, Column 3 +4, 2, 37, 0 ! Row 5, Column 3 +5, 2, 38, 0 ! Row 6, Column 3 +6, 2, 39, 0 ! Row 7, Column 3 +7, 2, 40, 0 ! Row 8, Column 3 +8, 2, 41, 0 ! Row 9, Column 3 +9, 2, 42, 0 ! Row 10, Column 3 +10, 2, 43, 0 ! Row 11, Column 3 +11, 2, 44, 0 ! Row 12, Column 3 +12, 2, 45, 0 ! Row 13, Column 3 +13, 2, 46, 0 ! Row 14, Column 3 +14, 2, 47, 0 ! Row 15, Column 3 +15, 2, 48, 0 ! Row 16, Column 3 +SLOT=8 +! chan plane row sig +0, 2, 49, 0 ! Row 1, Column 4 +1, 2, 50, 0 ! Row 2, Column 4 +2, 2, 51, 0 ! Row 3, Column 4 +3, 2, 52, 0 ! Row 4, Column 4 +4, 2, 53, 0 ! Row 5, Column 4 +5, 2, 54, 0 ! Row 6, Column 4 +6, 2, 55, 0 ! Row 7, Column 4 +7, 2, 56, 0 ! Row 8, Column 4 +8, 2, 57, 0 ! Row 9, Column 4 +9, 2, 58, 0 ! Row 10, Column 4 +10, 2, 59, 0 ! Row 11, Column 4 +11, 2, 60, 0 ! Row 12, Column 4 +12, 2, 61, 0 ! Row 13, Column 4 +13, 2, 62, 0 ! Row 14, Column 4 +14, 2, 63, 0 ! Row 15, Column 4 +15, 2, 64, 0 ! Row 16, Column 4 +SLOT=9 +! chan plane row sig +0, 2, 65, 0 ! Row 1, Column 5 +1, 2, 66, 0 ! Row 2, Column 5 +2, 2, 67, 0 ! Row 3, Column 5 +3, 2, 68, 0 ! Row 4, Column 5 +4, 2, 69, 0 ! Row 5, Column 5 +5, 2, 70, 0 ! Row 6, Column 5 +6, 2, 71, 0 ! Row 7, Column 5 +7, 2, 72, 0 ! Row 8, Column 5 +8, 2, 73, 0 ! Row 9, Column 5 +9, 2, 74, 0 ! Row 10, Column 5 +10, 2, 75, 0 ! Row 11, Column 5 +11, 2, 76, 0 ! Row 12, Column 5 +12, 2, 77, 0 ! Row 13, Column 5 +13, 2, 78, 0 ! Row 14, Column 5 +14, 2, 79, 0 ! Row 15, Column 5 +15, 2, 80, 0 ! Row 16, Column 5 +SLOT=10 +! chan plane row sig +0, 2, 81, 0 ! Row 1, Column 6 +1, 2, 82, 0 ! Row 2, Column 6 +2, 2, 83, 0 ! Row 3, Column 6 +3, 2, 84, 0 ! Row 4, Column 6 +4, 2, 85, 0 ! Row 5, Column 6 +5, 2, 86, 0 ! Row 6, Column 6 +6, 2, 87, 0 ! Row 7, Column 6 +7, 2, 88, 0 ! Row 8, Column 6 +8, 2, 89, 0 ! Row 9, Column 6 +9, 2, 90, 0 ! Row 10, Column 6 +10, 2, 91, 0 ! Row 11, Column 6 +11, 2, 92, 0 ! Row 12, Column 6 +12, 2, 93, 0 ! Row 13, Column 6 +13, 2, 94, 0 ! Row 14, Column 6 +14, 2, 95, 0 ! Row 15, Column 6 +15, 2, 96, 0 ! Row 16, Column 6 +SLOT=13 +! chan plane row sig +0, 2, 97, 0 ! Row 1, Column 7 +1, 2, 98, 0 ! Row 2, Column 7 +2, 2, 99, 0 ! Row 3, Column 7 +3, 2, 100, 0 ! Row 4, Column 7 +4, 2, 101, 0 ! Row 5, Column 7 +5, 2, 102, 0 ! Row 6, Column 7 +6, 2, 103, 0 ! Row 7, Column 7 +7, 2, 104, 0 ! Row 8, Column 7 +8, 2, 105, 0 ! Row 9, Column 7 +9, 2, 106, 0 ! Row 10, Column 7 +10, 2, 107, 0 ! Row 11, Column 7 +11, 2, 108, 0 ! Row 12, Column 7 +12, 2, 109, 0 ! Row 13, Column 7 +13, 2, 110, 0 ! Row 14, Column 7 +14, 2, 111, 0 ! Row 15, Column 7 +15, 2, 112, 0 ! Row 16, Column 7 +SLOT=14 +! chan plane row sig +0, 2, 113, 0 ! Row 1, Column 8 +1, 2, 114, 0 ! Row 2, Column 8 +2, 2, 115, 0 ! Row 3, Column 8 +3, 2, 116, 0 ! Row 4, Column 8 +4, 2, 117, 0 ! Row 5, Column 8 +5, 2, 118, 0 ! Row 6, Column 8 +6, 2, 119, 0 ! Row 7, Column 8 +7, 2, 120, 0 ! Row 8, Column 8 +8, 2, 121, 0 ! Row 9, Column 8 +9, 2, 122, 0 ! Row 10, Column 8 +10, 2, 123, 0 ! Row 11, Column 8 +11, 2, 124, 0 ! Row 12, Column 8 +12, 2, 125, 0 ! Row 13, Column 8 +13, 2, 126, 0 ! Row 14, Column 8 +14, 2, 127, 0 ! Row 15, Column 8 +15, 2, 128, 0 ! Row 16, Column 8 +SLOT=15 +! chan plane row sig +0, 2, 129, 0 ! Row 1, Column 9 +1, 2, 130, 0 ! Row 2, Column 9 +2, 2, 131, 0 ! Row 3, Column 9 +3, 2, 132, 0 ! Row 4, Column 9 +4, 2, 133, 0 ! Row 5, Column 9 +5, 2, 134, 0 ! Row 6, Column 9 +6, 2, 135, 0 ! Row 7, Column 9 +7, 2, 136, 0 ! Row 8, Column 9 +8, 2, 137, 0 ! Row 9, Column 9 +9, 2, 138, 0 ! Row 10, Column 9 +10, 2, 139, 0 ! Row 11, Column 9 +11, 2, 140, 0 ! Row 12, Column 9 +12, 2, 141, 0 ! Row 13, Column 9 +13, 2, 142, 0 ! Row 14, Column 9 +14, 2, 143, 0 ! Row 15, Column 9 +15, 2, 144, 0 ! Row 16, Column 9 +SLOT=16 +! chan plane row sig +0, 2, 145, 0 ! Row 1, Column 10 +1, 2, 146, 0 ! Row 2, Column 10 +2, 2, 147, 0 ! Row 3, Column 10 +3, 2, 148, 0 ! Row 4, Column 10 +4, 2, 149, 0 ! Row 5, Column 10 +5, 2, 150, 0 ! Row 6, Column 10 +6, 2, 151, 0 ! Row 7, Column 10 +7, 2, 152, 0 ! Row 8, Column 10 +8, 2, 153, 0 ! Row 9, Column 10 +9, 2, 154, 0 ! Row 10, Column 10 +10, 2, 155, 0 ! Row 11, Column 10 +11, 2, 156, 0 ! Row 12, Column 10 +12, 2, 157, 0 ! Row 13, Column 10 +13, 2, 158, 0 ! Row 14, Column 10 +14, 2, 159, 0 ! Row 15, Column 10 +15, 2, 160, 0 ! Row 16, Column 10 +SLOT=17 +! chan plane row sig +0, 2, 161, 0 ! Row 1, Column 11 +1, 2, 162, 0 ! Row 2, Column 11 +2, 2, 163, 0 ! Row 3, Column 11 +3, 2, 164, 0 ! Row 4, Column 11 +4, 2, 165, 0 ! Row 5, Column 11 +5, 2, 166, 0 ! Row 6, Column 11 +6, 2, 167, 0 ! Row 7, Column 11 +7, 2, 168, 0 ! Row 8, Column 11 +8, 2, 169, 0 ! Row 9, Column 11 +9, 2, 170, 0 ! Row 10, Column 11 +10, 2, 171, 0 ! Row 11, Column 11 +11, 2, 172, 0 ! Row 12, Column 11 +12, 2, 173, 0 ! Row 13, Column 11 +13, 2, 174, 0 ! Row 14, Column 11 +14, 2, 175, 0 ! Row 15, Column 11 +15, 2, 176, 0 ! Row 16, Column 11 +SLOT=18 +! chan plane row sig +0, 2, 177, 0 ! Row 1, Column 12 +1, 2, 178, 0 ! Row 2, Column 12 +2, 2, 179, 0 ! Row 3, Column 12 +3, 2, 180, 0 ! Row 4, Column 12 +4, 2, 181, 0 ! Row 5, Column 12 +5, 2, 182, 0 ! Row 6, Column 12 +6, 2, 183, 0 ! Row 7, Column 12 +7, 2, 184, 0 ! Row 8, Column 12 +8, 2, 185, 0 ! Row 9, Column 12 +9, 2, 186, 0 ! Row 10, Column 12 +10, 2, 187, 0 ! Row 11, Column 12 +11, 2, 188, 0 ! Row 12, Column 12 +12, 2, 189, 0 ! Row 13, Column 12 +13, 2, 190, 0 ! Row 14, Column 12 +14, 2, 191, 0 ! Row 15, Column 12 +15, 2, 192, 0 ! Row 16, Column 12 +SLOT=19 +! chan plane row sig +0, 2, 193, 0 ! Row 1, Column 13 +1, 2, 194, 0 ! Row 2, Column 13 +2, 2, 195, 0 ! Row 3, Column 13 +3, 2, 196, 0 ! Row 4, Column 13 +4, 2, 197, 0 ! Row 5, Column 13 +5, 2, 198, 0 ! Row 6, Column 13 +6, 2, 199, 0 ! Row 7, Column 13 +7, 2, 200, 0 ! Row 8, Column 13 +8, 2, 201, 0 ! Row 9, Column 13 +9, 2, 202, 0 ! Row 10, Column 13 +10, 2, 203, 0 ! Row 11, Column 13 +11, 2, 204, 0 ! Row 12, Column 13 +12, 2, 205, 0 ! Row 13, Column 13 +13, 2, 206, 0 ! Row 14, Column 13 +14, 2, 207, 0 ! Row 15, Column 13 +15, 2, 208, 0 ! Row 16, Column 13 +SLOT=20 +! chan plane row sig +0, 2, 209, 0 ! Row 1, Column 14 +1, 2, 210, 0 ! Row 2, Column 14 +2, 2, 211, 0 ! Row 3, Column 14 +3, 2, 212, 0 ! Row 4, Column 14 +4, 2, 213, 0 ! Row 5, Column 14 +5, 2, 214, 0 ! Row 6, Column 14 +6, 2, 215, 0 ! Row 7, Column 14 +7, 2, 216, 0 ! Row 8, Column 14 +8, 2, 217, 0 ! Row 9, Column 14 +9, 2, 218, 0 ! Row 10, Column 14 +10, 2, 219, 0 ! Row 11, Column 14 +11, 2, 220, 0 ! Row 12, Column 14 +12, 2, 221, 0 ! Row 13, Column 14 +13, 2, 222, 0 ! Row 14, Column 14 +14, 2, 223, 0 ! Row 15, Column 14 +15, 2, 224, 0 ! Row 16, Column 14 \ No newline at end of file diff --git a/MAPS/SHMS/DETEC/pdc.map b/MAPS/SHMS/DETEC/pdc.map new file mode 100644 index 00000000..1125f423 --- /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/PARAM/GEN/gbeam.param b/PARAM/GEN/gbeam.param new file mode 100644 index 00000000..fb15048b --- /dev/null +++ b/PARAM/GEN/gbeam.param @@ -0,0 +1,96 @@ +; BPM calibration constants +; ========================= + guse_bpm_in_recon = 0 ; if 1 use bpm information for reconstruction + guse_bpmc = 1 ; if 1 use all 3 bpm info, if 0 use bpm A and B + gbpm_sample = 500 ; number of events, which are used for average + ; beam position ( <5000 ). Optimal value dep. on rate + +; the names are based on Paul Gueye's 'Status of the actual Beam Position +; Monitors in the Hall C Beamline', December 1, 1995. +; (mkj) apr-4-03 kappa,alpha and off for 3rd bpm are guesses, +; need to find right values. +; +; gbpm_kappa = 1.85 ,1.85,1.85 ; sensitivity in cm +gbpm_kappa = 2.00 ,1.95,1.85 ; modified mkj 4/9/03 + gbpm_alpha_x = 1.8192,0.7330 ,0.7 ; calibration gain: we may get them from the + gbpm_alpha_y = 1.0063,0.8935 ,0.7 ; EPICS events, right now that's according to Paul's note + +; the following offsets get added to the calculated positions +; gbpm_x_off = -0.011,-0.004,0. ; in cm: survey according to Paul's note +; gbpm_y_off = +0.052,+0.056,0. +; From Dahlberg survey DT_C853 Apr 7, 2003 +gbpm_x_off = 0.017+.412,0.061-.353,0.037 +gbpm_y_off = 0.037+.381,-0.04-.211,0.028 + +; average beam positions: only used if 'guse_bpm_in_recon=0' +; gbeam_xoff = +0.18 + gbeam_xoff = +0.00 + gbeam_xpoff = +0.00 + gbeam_yoff = +0.00 + gbeam_ypoff = +0.00 + +; spectrometers would like to see this positions (from optics studies) +; we treat SOS and HMS the same, however, we may change this if necessary +; gspec_xoff = +0.18 + gspec_xoff = +0.00 + gspec_xpoff = +0.00 + gspec_yoff = +0.00 + gspec_ypoff = +0.00 + +; Pedestals for BPM ADCs: from cosmic run #10933, 10/3/96, book XI-137 + gbpm_xp_ped = 431.9,331.0,0. ; these pedestals have to be determined + gbpm_xm_ped = 514.7,350.6,0. ; from runs with no beam in the cavities, + gbpm_yp_ped = 406.9,358.8,0. ; e.g. cosmic runs. + gbpm_ym_ped = 499.7,292.7,0. ; + +; positions of BPMs relative to target (from Paul's note) + gbpm_zpos = 345.5,166.3,0. ; cm + + +; Fast Raster calibration constants +; ================================= + +; Various fast raster quantities: gUse* are flags + + gusefr = 1 ; if 1 correct for FRY in reconstruction + + guse_frdefault = 1 ; if 1 do no phase correction (default) + ;if 0 apply phase correction +; gfr_cal_mom = 3.245 ; = beam momnetum during calibration run +; gfrx_adcpercm = 11328. ; = FR channels per cm deflection on target +; gfry_adcpercm = 10708. ; from run 9981, August 25, 1996, book X-22 + + gfr_cal_mom = 2.038 ; = beam momnetum during calibration run + gfrx_adcpercm = 4364.7 ; = FR channels per cm deflection on target + gfry_adcpercm = 5471.9 ; from harp scan (H00A), June 19, 2004 + + + gfrx_dphase = 0.0 ; phase shift (never measured for x so far) + gFrx_synccut = 0. ; should be zero if applied on centered distr. + gfrx_adcmax = 1000 ; ADC amplitude in channels. + gfrx_maxsize = 0.1 ; fast raster amplitude in centimeter. + + gfry_dphase = 5.8 ; phase shift + gFry_synccut = 0. ; should be zero if applied on centered distr. + gfry_adcmax = 1000 ; ADC amplitude in channels. + gfry_maxsize = 0.1 ; fast raster amplitude in centimeter. + +; The latest FR phase analysis from spring '96 showed, that there is no +; measurable phase shift. During early running (E91-13, E89-12) the FRY-phase +; was determined to be 5.8 degree. + +; positions of FR magnets relative to target + gfrx_dist = 2111 ; cm + gfry_dist = 2071 ; cm + + + + + + + + + + + + diff --git a/PARAM/GEN/gdebug.param b/PARAM/GEN/gdebug.param new file mode 100644 index 00000000..7ac0e019 --- /dev/null +++ b/PARAM/GEN/gdebug.param @@ -0,0 +1,3 @@ + gmisc_min_peds = 500 + + gelossdebug = 0 ;eloss debug (0=off,1=on) diff --git a/PARAM/GEN/genflags.param b/PARAM/GEN/genflags.param new file mode 100644 index 00000000..c9853a82 --- /dev/null +++ b/PARAM/GEN/genflags.param @@ -0,0 +1,12 @@ +;default settings for general option flags. + gen_run_starting_event = 1 + gen_run_stopping_event = 0 + gen_run_hist_dump_interval = 40000 + +; hack_enable run hack_anal if .ne. 0 + hack_enable = 0 + +; gen_eloss_enable (0=disabled) total_eloss.f + gen_eloss_enable = 1 + + diff --git a/PARAM/GEN/gtarget.param b/PARAM/GEN/gtarget.param new file mode 100644 index 00000000..847e801c --- /dev/null +++ b/PARAM/GEN/gtarget.param @@ -0,0 +1,170 @@ +; MEC - updated for E02-109/E04-001 1/8/05 +; +; This is the target parameter file. Numbers 1-10 are solid targets, +; 11-16 are cryotargets, and 17-20 are dummy/optics. +; +;The target order is: +; +; Au_1% C_2% Fe_1% +; C_1% C_5% C_6% +; Cu_6% Be_3% Au_6% +; --- +; H (4cm) --- +; --- --- +; D (4cm) --- +; Dummy (4cm) +; optics (8cm) +; optics (4 foil) +; NO target + + +; non-existant targets have A=Z=M=...=0 +; dummy targets have A=Z=M=...=0 +; empty/dummy cells have A=Z=M=...= AS ALUMINUM (MAY NEED TO CHANGE FOR DUMMY DATA!!!) +; +; +; 1=tuna can, 2=beer can, 21=solid + gtarg_type = 21. , 21. , 21. + 21. , 21. , 21. + 21. , 21. , 21. + 21. + 1. , 1. + 1. , 1. + 1. , 1. + 21. , 21. + 21. , 21. + + gtarg_z = 79.0 , 6.0 , 26.0 + 6.0 , 6.0 , 6.0 + 29.0 , 0.0 , 79.0 + 0.0 + 1.0 , 0.0 + 0.0 , 0.0 + 1.0 , 0.0 + 13.0 , 0.0 + 0.0 , 0.0 + + gtarg_a = 197.0 , 12.0 , 57.0 + 12.0 , 12.0 , 12.0 + 64.0 , 0.0 , 197.0 + 0.0 + 1.0 , 0.0 + 0.0 , 0.0 + 2.0 , 0.0 + 27.0 , 0.0 + 0.0 , 0.0 + + gtarg_mass = 196.9237 , 12.0107 , 56.85 + 12.0107 , 12.0107 , 12.0107 + 63.546 , 0.0 , 196.9237 + 0.0 + 1.00727647 , 0.0 + 0.0 , 0.0 + 2.01355322, 0.0 + 26.98 , 0.0 + 0.0 , 0.0 + + +; Next is the radiation length in percent... SOLID=APPROXIMATE, CRYO=GUESSES!!!!! + gtarg_lrad = 1.0 , 2.0 , 1.0 + 1.0 , 5.2 , 6.4 + 6.0 , 3.0 , 6.0 + 0.0 + 0.46 , 0.0 + 0.0 , 0.0 + 0.55 , 0.0 + 2.2 , 0.0 + 0.0 , 0.0 + + +; Next is the thickness of the target in g/cm^2... +; NOTE THE 3HE,4HE USE THICKNESS FROM KAON EXPERIMENT, WHICH HAD DIFFERENT CELLS!!! + + gtarg_thick = 0.0417 , 0.6706 , 0.119 + 0.346 , 1.79 , 2.735 + 0.7986 , 0.5 , 0.3795 + 0.0 + 0.289 , 0.0 + 0.0 , 0.0 + 0.648 , 0.0 + 0.526 , 0.0 + 0.0 , 0.0 + + +; Finally, the density of the target in g/cm^3. + +; Densities taken from http://pdg.lbl.gov/AtomicNuclearProperties +; used "Carbon (compact)" for Carbon - could be way off +; 3He and 4He come from taking the total thickness (above) / 4cm - thickness could be way off + + gtarg_dens = 19.320 , 2.265 , 7.87 + 2.265 , 2.265 , 2.265 + 8.960 , 0.0 , 19.320 + 0.0 + 0.0723 , 0.0 + 0.0 , 0.0 + 0.167 , 0.0 + 2.265 , 0.0 + 0.0 , 0.0 + +; Target angle: =90 deg. is perpendicluar to beam +; <90 deg. is face towards HMS +; >90 deg. is face towards SOS +; for E99118 target was rotated 20.3deg. to face HMS =>69.7deg. = 1.2164945rad + gtarg_theta = 1.570796327 + + +;general target energy loss parameters. Vansyoc Mar.98 + +;target cell**************** +; JRA: 09/19/04: Updated based on Meekins' report, June 30, 2004 +; gcell_radius was 1.0 - don't know why. Changed to 2.0 +; DID NOT UPDATED WALL/END/FRONT THICKNESSES - Don't know the units :( + + gcell_radius = 2.008 + gz_cell = 13.0 + ga_cell = 27.0 + gcell_den = 2.7 + gwall_thk = 0.03429 + gend_thk = 0.03429 + gfront_thk = 0.020574 + +;Air gap between the chamber and the entrance window + gair_dens = 0.00121 + gair_thk = 0.018 + gair_a = 14.68 + gair _z = 7.32 + + +;HMS******** +; HMS scattering chamber window specs.********** + hscat_win_thk = 0.109728 + hscat_win_den = 2.70 + hscat_win_z = 13.0 + hscat_win_a = 27.0 +; HMS entrance window specs.******************** + hdet_ent_thk = 0.049098 + hdet_ent_den = 0.878636 + hdet_ent_z = 2.67 + hdet_ent_a = 4.67 +;SOS******** +; SOS scattering chamber window specs.********** + sscat_win_thk = 0.054864 + sscat_win_den = 2.70 + sscat_win_z = 13.0 + sscat_win_a = 27.0 +; SOS entrance window specs.******************** + sdet_ent_thk = 0.016421 + sdet_ent_den = 0.862 + sdet_ent_z = 2.67 + sdet_ent_a = 4.67 +;eloss debug 0 = off,1 = on +; gelossdebug = 0 +;use old cryo geometry? (1) +; old_tgeom = 1 + +; + + + + diff --git a/PARAM/HMS/AERO/haero.param b/PARAM/HMS/AERO/haero.param new file mode 100644 index 00000000..8490a84f --- /dev/null +++ b/PARAM/HMS/AERO/haero.param @@ -0,0 +1,11 @@ + haero_pos_gain = 1./168.3, 1./233.9, 1./181.3, 1./169.2, 1./177.6, 1./155.0, 1./169.5, 1./149.7, + + haero_neg_gain = 1./248.8, 1./186.4, 1./236.4, 1./172.0, + 1./205.3, 1./198.1, 1./227.9, 1./229.2, + + haero_pos_ped_limit = 1000., 1000., 1000., 1000., + 1000., 1000., 1000., 1000., + + haero_neg_ped_limit = 1000., 1000., 1000., 1000., + 1000., 1000., 1000., 1000., + diff --git a/PARAM/HMS/CAL/hcal.param b/PARAM/HMS/CAL/hcal.param new file mode 100644 index 00000000..4fc2ead4 --- /dev/null +++ b/PARAM/HMS/CAL/hcal.param @@ -0,0 +1,56 @@ +; Slop in x position. Allowed distance between track and edge of block (in cm) +; too tight djm hcal_slop = 7.5 +hcal_slop = 7.5 + +;Turn on HMS cal. fiducial volume cut. 0="no cut" +;Default hcal_fv_test=0 +hcal_fv_test = 0 + +hcal_pos_cal_const =0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001 + 0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001 + 0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001 + 0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001 + +hcal_neg_cal_const =0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001 + 0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001 + 0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001 + 0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001,0.001 + +hcal_pos_gain_ini =1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + 1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + 1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + 1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + +hcal_neg_gain_ini =1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + 1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + 1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + 1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + +hcal_neg_gain_cur =1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + 1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + 1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + 1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000 + +;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> + +hcal_pos_ped_limit =1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000 + +hcal_neg_ped_limit =1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000 + +;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +; Calibration constants for run 53049, 71823 events processed + +hcal_pos_gain_cor= 0.289, 0.233, 0.347, 0.388, 0.294, 0.284, 0.346, 0.392, 0.356, 0.361, 0.320, 0.312, 0.473, + 0.158, 0.353, 0.311, 0.368, 0.340, 0.349, 0.325, 0.366, 0.317, 0.297, 0.332, 0.557, 0.400, + 0.630, 0.641, 0.611, 0.893, 0.613, 0.692, 0.468, 0.566, 0.744, 0.731, 0.499, 0.590, 0.751, + 0.415, 0.585, 0.624, 0.721, 0.690, 0.782, 0.857, 0.777, 0.834, 0.602, 0.741, 0.739, 0.686, +hcal_neg_gain_cor= 0.577, 0.385, 0.347, 0.400, 0.294, 0.182, 0.440, 0.371, 0.329, 0.312, 0.271, 0.296, 0.262, + 0.604, 0.409, 0.427, 0.559, 0.447, 0.423, 0.363, 0.403, 0.457, 0.334, 0.321, 0.416, 0.531, + 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, + 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, diff --git a/PARAM/HMS/CAL/hcal.pos b/PARAM/HMS/CAL/hcal.pos new file mode 100644 index 00000000..9906aae8 --- /dev/null +++ b/PARAM/HMS/CAL/hcal.pos @@ -0,0 +1,81 @@ +; neglect extra tubes for now. +hcal_num_neg_columns = 2 + +; Z position of front of shower counter layers +; guesses, based on the fact that the back scin plane is supposedly at 322.0 +; (add 25 to each from original value) - JRA + hcal_1pr_zpos = (350.0-11.31) + hcal_2ta_zpos = (361.0-11.31) + hcal_3ta_zpos = (372.0-11.31) + hcal_4ta_zpos = (383.0-11.31) +; Thickness of shower counter blocks, blocks are 10 * 10 * 70 cm^3 + hcal_1pr_thick = 10.0 + hcal_2ta_thick = 10.0 + hcal_3ta_thick = 10.0 + hcal_4ta_thick = 10.0 +; Number of shower counter blocks per layer + hcal_1pr_nr = 13 + hcal_2ta_nr = 13 + hcal_3ta_nr = 13 + hcal_4ta_nr = 13 +; X,Y positions of shower counter blocks + hcal_1pr_left = 35.0 + hcal_1pr_right = -35.0 + hcal_1pr_top = (-69.0-1.4) + (-59.0-1.4) + (-49.0-1.4) + (-39.0-1.4) + (-29.0-1.4) + (-19.0-1.4) + ( -9.0-1.4) + ( 1.0-1.4) + ( 11.0-1.4) + ( 21.0-1.4) + ( 31.0-1.4) + ( 41.0-1.4) + ( 51.0-1.4) + hcal_2ta_left = 35.0 + hcal_2ta_right = -35.0 + hcal_2ta_top = (-69.0-1.4) + (-59.0-1.4) + (-49.0-1.4) + (-39.0-1.4) + (-29.0-1.4) + (-19.0-1.4) + ( -9.0-1.4) + ( 1.0-1.4) + ( 11.0-1.4) + ( 21.0-1.4) + ( 31.0-1.4) + ( 41.0-1.4) + ( 51.0-1.4) + hcal_3ta_left = 35.0 + hcal_3ta_right = -35.0 + hcal_3ta_top = (-69.0-1.4) + (-59.0-1.4) + (-49.0-1.4) + (-39.0-1.4) + (-29.0-1.4) + (-19.0-1.4) + ( -9.0-1.4) + ( 1.0-1.4) + ( 11.0-1.4) + ( 21.0-1.4) + ( 31.0-1.4) + ( 41.0-1.4) + ( 51.0-1.4) + hcal_4ta_left = 35.0 + hcal_4ta_right = -35.0 + hcal_4ta_top = (-69.0-1.4) + (-59.0-1.4) + (-49.0-1.4) + (-39.0-1.4) + (-29.0-1.4) + (-19.0-1.4) + ( -9.0-1.4) + ( 1.0-1.4) + ( 11.0-1.4) + ( 21.0-1.4) + ( 31.0-1.4) + ( 41.0-1.4) + ( 51.0-1.4) diff --git a/PARAM/HMS/CER/hcer.param b/PARAM/HMS/CER/hcer.param new file mode 100644 index 00000000..a23df2e8 --- /dev/null +++ b/PARAM/HMS/CER/hcer.param @@ -0,0 +1,24 @@ +hcer_width = 50, 50 + +hcer_adc_to_npe = 1/145.0, 1/122.0 + + +hcer_chi2max = 50. +hcer_beta_min = 0.8 +hcer_beta_max = 1.2 +hcer_et_min = 0.95 +hcer_et_max = 5.0 +hcer_mirror_zpos = 230 +; hcer_region: 8 values for each region (1 per mirror + sum) +; central x,y,dx,dy values and x,y,dx,dy half widths. +hcer_region = 30, -30, 0, + 0, 0, 0, + 0, 0, 0, + 0, 0, 0, + 20, 20, 60, + 30, 30, 30, + .1, .1, .1, + .1, .1, .1 + +hcer_ped_limit = 1000,1000 + diff --git a/PARAM/HMS/DC/hdc.param b/PARAM/HMS/DC/hdc.param new file mode 100644 index 00000000..7d344813 --- /dev/null +++ b/PARAM/HMS/DC/hdc.param @@ -0,0 +1,33 @@ +;--------------------------------------------------------------------- +; HMS_TRACKING +; CTP parameter file containing all tracking parameters for the HMS +;---------------------------------------------------------------------- +; sigma of wire chamber resolution for each plane + hdc_sigma = 0.020 + 0.020 + 0.020 + 0.020 + 0.020 + 0.020 + 0.020 + 0.020 + 0.020 + 0.020 + 0.020 + 0.020 + hdc_tdc_min_win = 2000,2000,2000,2000,2000,2000 + 2000,2000,2000,2000,2000,2000 + hdc_tdc_max_win = 5500,5000,5500,5500,5000,5500 + 5500,5000,5500,5500,5000,5500 +; hms drift chamber tdc's time per channel + hdc_tdc_time_per_channel = -0.10 +; hms zero time for drift chambers !DECREASING this number moves the hdtime plots to LOWER time. + hdc_plane_time_zero = -213.0,-213.0,-213.0,-213.0,-213.0,-213.0 + -213.0,-213.0,-213.0,-213.0,-213.0,-213.0 + +; Dave Abbott's wire velocity correction +hdc_wire_velocity = 12.0 +hdc_central_time = 7,9,3,4,6,5 + 7,5,3,4,6,6 + + diff --git a/PARAM/HMS/DC/hdc.pos b/PARAM/HMS/DC/hdc.pos new file mode 100644 index 00000000..fdbf2aed --- /dev/null +++ b/PARAM/HMS/DC/hdc.pos @@ -0,0 +1,183 @@ +; Number of planes installed in HMS detector setup + hdc_num_planes = 12 +; Number of chambers installed in HMS detector setup + hdc_num_chambers = 2 +; Names of each wire plane +; +; Z positions of various planes in HMS chambers +; hdc_n_zpos is the surveyed Z position of the center of chamber n. + hdc_1_zpos = (-40.611-11.312+0.003) + hdc_2_zpos = (+40.611-11.312-0.008) + + hdc_zpos = hdc_1_zpos - 3.6000 + hdc_1_zpos - 1.8000 + hdc_1_zpos - 0.0000 + hdc_1_zpos + 1.8000 + hdc_1_zpos + 3.6000 + hdc_1_zpos + 5.4000 + hdc_2_zpos - 3.6000 + hdc_2_zpos - 1.8000 + hdc_2_zpos - 0.0000 + hdc_2_zpos + 1.8000 + hdc_2_zpos + 3.6000 + hdc_2_zpos + 5.4000 +; Angle alpha of wires in wire chamber planes + hdc_alpha_angle = (90. - 0.071)*raddeg + (0.0 - 0.071)*raddeg + (74.925 - 0.071)*raddeg + (105.075 - 0.071)*raddeg + (0.0 - 0.071)*raddeg + (90.0 - 0.071)*raddeg + (89.90814 - 0.153)*raddeg + (0.01611 - 0.153)*raddeg + (74.85 - 0.153)*raddeg + (105.05 - 0.153)*raddeg + (0.01611 - 0.153)*raddeg + (89.90814 - 0.153)*raddeg +; hdc_alpha_angle = ( 90.1541 - 0.071)*raddeg +; ( -0.0408 - 0.071)*raddeg +; ( 75.1267 - 0.071)*raddeg +; (105.1267 - 0.071)*raddeg +; ( -0.0408 - 0.071)*raddeg +; ( 90.1541 - 0.071)*raddeg +; ( 90.1095 - 0.153)*raddeg +; ( -0.0370 - 0.153)*raddeg +; ( 75.0904 - 0.153)*raddeg +; (105.0904 - 0.153)*raddeg +; ( -0.0370 - 0.153)*raddeg +; ( 90.1095 - 0.153)*raddeg +; +; Angle beta of wires in wire chamber planes + hdc_beta_angle = -0.041*raddeg + -0.041*raddeg + -0.041*raddeg + -0.041*raddeg + -0.041*raddeg + -0.041*raddeg + +0.054*raddeg + +0.054*raddeg + +0.054*raddeg + +0.054*raddeg + +0.054*raddeg + +0.054*raddeg +; Angle gamma of wires in wire chamber planes + hdc_gamma_angle = +0.0376*raddeg + +0.0376*raddeg + +0.0376*raddeg + +0.0376*raddeg + +0.0376*raddeg + +0.0376*raddeg + -0.145*raddeg + -0.145*raddeg + -0.145*raddeg + -0.145*raddeg + -0.145*raddeg + -0.145*raddeg +; Pitch + hdc_pitch = 1.000252 + 1.000252 + 1.000252 + 1.000252 + 1.000252 + 1.000252 + 1.000252 + 1.000252 + 1.000252 + 1.000252 + 1.000252 + 1.000252 +; Number of wires per plane + hdc_nrwire = 113 + 52 + 107 + 107 + 52 + 113 + 113 + 52 + 107 + 107 + 52 + 113 +; X,Y position of center of wire chamber +; increasing dc2 coordinates decreases dpos histograms. +; new values according to henk and rolf + hdc_xcenter = (1.670 - 0.0155 - 0.020) + (2.758 - 0.0155 + 0.040) +; hdc_xcenter = (1.670 - 0.0155) +; (2.758 - 0.0155) +; hdc_xcenter = 1.670 + 0.15 + 0.0155 +; 2.758 + 0.16 + 0.0155 +; Y CENTER CHANGED TO MATCH OPTICS DATA(offset of 1.1 cm in y) +; new values included according to henk and rolf + hdc_ycenter = (1.443 - 0.1699 - 0.0279 - 0.04) + (2.753 - 0.1699 + 0.0279 + 0.04) +; hdc_ycenter = (1.443 - 0.1699 - 0.0279 - 0.035) +; (2.753 - 0.1699 + 0.0279 + 0.035) +; hdc_ycenter = (1.443 - 0.1699 - 0.0279) +; (2.753 - 0.1699 + 0.0279) + +; hdc_ycenter = 0.343 + 1.1 - 0.12 + 0.1699 + 0.0279 +; 1.653 + 1.1 - 0.22 + 0.1699 - 0.0279 +; hdc_ycenter = 0.343 THESE ARE THE ORIGINAL Y CENTERS FROM SURVEY DATA +; 1.653 +; hdc_xcenter = 0.0 +; 1.22 +; hdc_ycenter = 0.0 +; 1.24 + +; Wire number of center of wire chamber +; assume 1st wire of 1st dc of a set is closest to edge where counting starts + hdc_central_wire = 57.257, 26.240, 54.001, 53.999, 26.760 , 56.743 + 57.244, 26.242, 53.998, 54.002, 26.758 , 56.756 + +; hdc_central_wire = 57.25, 26.245, 54.0, 54.0, 26.755 , 56.75 +; 57.24, 26.245, 54.0, 54.0, 26.755 , 56.76 +; hdc_central_wire = 57.25, 26.25, 54.0, 54.0, 26.75 , 56.75 +; 57.24, 26.25, 54.0, 54.0, 26.75 , 56.76 +; hdc_chamber_planes array giving the chamber number for each plane + hdc_chamber_planes = 1 + 1 + 1 + 1 + 1 + 1 + 2 + 2 + 2 + 2 + 2 + 2 +; The hms readout numbers some planes in reverse order. +; The following array is a flag on the order number. +; If hdc_wire_counting(plane) = 0 +; the wire center is at (wire - hdc_central_wire) * pitch +; If hdc_wire_counting(plane) = 1 +; the wire center is at ( hdc_nrwire + 1 - wire - hdc_central_wire) * pitch + hdc_wire_counting = 1 + 1 + 0 + 1 + 0 + 0 + 1 + 1 + 0 + 1 + 0 + 0 +; The velocity correction is the distance from the center of the wire divided +; by the velocity of propagation times hdc_drifttime_sign(pln). +/-1 +; for disc. card at +/- coord. (i.e. top = -x direction, so top readout is +1) + hdc_drifttime_sign = -1 + -1 + -1 + -1 + -1 + -1 + -1 + -1 + -1 + -1 + -1 + -1 diff --git a/PARAM/HMS/DC/hdc_offsets.param b/PARAM/HMS/DC/hdc_offsets.param new file mode 100644 index 00000000..a5561b27 --- /dev/null +++ b/PARAM/HMS/DC/hdc_offsets.param @@ -0,0 +1,125 @@ +; cable id's for HMS Drift Chambers +; array is 113,12 (wires,planes) but most planes have less than 113 wires) + +hdc_card_no= +; Plane 1, wires 1-113, 16 per card (+one extra wire) + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 + 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 + 12 +; plane 2, wires 1-52, 13 per card + 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8 + 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 + 10,10,10,10,10,10,10,10,10,10,10,10,10 + 11,11,11,11,11,11,11,11,11,11,11,11,11 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +; plane 3, wires 1-107, 15 or 16 per card (12 has one x wire) + 12,12,12,12,12,12,12,12,12,12,12,12,12,12 + 13,13,13,13,13,13,13,13,13,13,13,13,13,13,13 + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14 + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15 + 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16 + 17,17,17,17,17,17,17,17,17,17,17,17,17,17,17 + 18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18 + -1,-1,-1,-1,-1,-1 +; plane 4, wires 1-107, 15 or 16 per card (19 has one x' wire) + 19,19,19,19,19,19,19,19,19,19,19,19,19,19 + 20,20,20,20,20,20,20,20,20,20,20,20,20,20,20 + 21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21 + 22,22,22,22,22,22,22,22,22,22,22,22,22,22,22 + 23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 + 24,24,24,24,24,24,24,24,24,24,24,24,24,24,24 + 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 + -1,-1,-1,-1,-1,-1 +; plane 5, wires 1-52, 13 per card + 26,26,26,26,26,26,26,26,26,26,26,26,26 + 27,27,27,27,27,27,27,27,27,27,27,27,27 + 28,28,28,28,28,28,28,28,28,28,28,28,28 + 29,29,29,29,29,29,29,29,29,29,29,29,29 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +; Plane 6, wires 1-113, 16 per card (+one extra wire) + 30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30 + 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31 + 32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32 + 33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33 + 34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34 + 35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35 + 36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36 + 19 +; Chamber 2 +; Plane 7, wires 1-113, 16 per card (+one extra wire) + 37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37 + 38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38 + 39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39 + 40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40 + 41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41 + 42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42 + 43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43 + 48 +; plane 8, wires 1-52, 13 per card + 44,44,44,44,44,44,44,44,44,44,44,44,44 + 45,45,45,45,45,45,45,45,45,45,45,45,45 + 46,46,46,46,46,46,46,46,46,46,46,46,46 + 47,47,47,47,47,47,47,47,47,47,47,47,47 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +; plane 9, wires 1-107, 15 or 16 per card (48 has one x wire) + 48,48,48,48,48,48,48,48,48,48,48,48,48,48 + 49,49,49,49,49,49,49,49,49,49,49,49,49,49,49 + 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50 + 51,51,51,51,51,51,51,51,51,51,51,51,51,51,51 + 52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52 + 53,53,53,53,53,53,53,53,53,53,53,53,53,53,53 + 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54 + -1,-1,-1,-1,-1,-1 +; plane 10, wires 1-107, 15 or 16 per card (55 has one x' wire) + 55,55,55,55,55,55,55,55,55,55,55,55,55,55 + 56,56,56,56,56,56,56,56,56,56,56,56,56,56,56 + 57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57 + 58,58,58,58,58,58,58,58,58,58,58,58,58,58,58 + 59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59 + 60,60,60,60,60,60,60,60,60,60,60,60,60,60,60 + 61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61 + -1,-1,-1,-1,-1,-1 +; plane 11, wires 1-52, 13 per card + 62,62,62,62,62,62,62,62,62,62,62,62,62 + 63,63,63,63,63,63,63,63,63,63,63,63,63 + 64,64,64,64,64,64,64,64,64,64,64,64,64 + 65,65,65,65,65,65,65,65,65,65,65,65,65 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +; Plane 12, wires 1-113, 16 per card (+one extra wire) + 66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66 + 67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67 + 68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68 + 69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69 + 70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70 + 71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71 + 72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72 + 55 +; +; Cable Delays on a per/card basys +; +hdc_card_delay = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + 0, 0 + diff --git a/PARAM/HMS/DC/hdc_test_stand.param b/PARAM/HMS/DC/hdc_test_stand.param new file mode 100644 index 00000000..73a7e92d --- /dev/null +++ b/PARAM/HMS/DC/hdc_test_stand.param @@ -0,0 +1,17 @@ +; Custom parameter file which should loaded when aiming to +; analyze HMS drift chamber data with no tracking. + + +; Increase HMS TDC window size + hdc_tdc_min_win = -50000,-50000,-50000,-50000,-50000,-50000 + -50000,-50000,-50000,-50000,-50000,-50000 + hdc_tdc_max_win = 50000,50000,50000,50000,50000,50000 + 50000,50000,50000,50000,50000,50000 +; Remove hodoscope dependence on tracking + hsel_using_scin = 0 +; hsel_using_prune = 0 + +; Adjust HMS DC plane t = 0 +; hdc_plane_time_zero = 1500.0,1500.0,1500.0,1500.0,1500.0,1500.0 +; 1500.0,1500.0,1500.0,1500.0,1500.0,1500.0 + diff --git a/PARAM/HMS/DC/hdeadwires.param b/PARAM/HMS/DC/hdeadwires.param new file mode 100644 index 00000000..9d8b527e --- /dev/null +++ b/PARAM/HMS/DC/hdeadwires.param @@ -0,0 +1,10 @@ +; list of dead wires in the HMS (plane,wire). Dead means <20% efficiency. +hdc_num_deadwires = 6 + +hdc_deadwire_plane = 2, 6, 6, 7, 9, 10 + +hdc_deadwire_num = 43, 18, 60, 97, 30, 8 + +; rough efficiency 22%, 3%, .4%, 0%, 0%, 7% + +; pln9,wire99 is HOT (used to be that 9/#100 was DEAD)? diff --git a/PARAM/HMS/DC/hdriftmap.param b/PARAM/HMS/DC/hdriftmap.param new file mode 100644 index 00000000..6da2063b --- /dev/null +++ b/PARAM/HMS/DC/hdriftmap.param @@ -0,0 +1,175 @@ +; Lookup table +;number of bins in Meek's time to distance lookup table +hdriftbins=138 +;number of 1st bin in Meek's table in ns +hdrift1stbin=-24 +;bin size in ns of Meek's table +hdriftbinsz=2 +hwc1x1fract=0.0000,0.0001,0.0001,0.0002,0.0003,0.0004,0.0004,0.0005 +0.0007,0.0008,0.0010,0.0012,0.0015,0.0020,0.0028,0.0041,0.0060,0.0086 +0.0121,0.0167,0.0230,0.0311,0.0412,0.0529,0.0658,0.0800,0.0951,0.1114 +0.1284,0.1462,0.1645,0.1838,0.2036,0.2241,0.2451,0.2667,0.2884,0.3099 +0.3319,0.3541,0.3764,0.3989,0.4213,0.4438,0.4662,0.4888,0.5113,0.5334 +0.5555,0.5777,0.5996,0.6208,0.6419,0.6628,0.6838,0.7045,0.7245,0.7446 +0.7639,0.7826,0.8007,0.8181,0.8346,0.8500,0.8646,0.8784,0.8910,0.9029 +0.9134,0.9234,0.9324,0.9405,0.9479,0.9547,0.9608,0.9663,0.9712,0.9756 +0.9795,0.9827,0.9854,0.9878,0.9897,0.9912,0.9925,0.9936,0.9945,0.9952 +0.9957,0.9963,0.9967,0.9971,0.9974,0.9977,0.9979,0.9981,0.9983,0.9984 +0.9986,0.9987,0.9989,0.9990,0.9991,0.9992,0.9992,0.9993,0.9994,0.9995 +0.9995,0.9995,0.9996,0.9996,0.9997,0.9997,0.9997,0.9998,0.9998,0.9998 +0.9998,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,1.0000 +1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc1y1fract=0.0000,0.0001,0.0001,0.0002,0.0002,0.0003,0.0004,0.0005 +0.0005,0.0006,0.0008,0.0009,0.0011,0.0014,0.0019,0.0025,0.0034,0.0048 +0.0071,0.0109,0.0172,0.0263,0.0385,0.0530,0.0697,0.0879,0.1078,0.1289 +0.1506,0.1727,0.1951,0.2180,0.2406,0.2634,0.2863,0.3092,0.3320,0.3544 +0.3769,0.3986,0.4206,0.4421,0.4634,0.4851,0.5059,0.5269,0.5479,0.5685 +0.5889,0.6096,0.6299,0.6503,0.6704,0.6900,0.7097,0.7289,0.7478,0.7663 +0.7846,0.8022,0.8192,0.8357,0.8517,0.8663,0.8803,0.8931,0.9046,0.9149 +0.9246,0.9328,0.9403,0.9471,0.9529,0.9582,0.9630,0.9672,0.9710,0.9745 +0.9777,0.9802,0.9825,0.9845,0.9864,0.9880,0.9894,0.9906,0.9916,0.9924 +0.9933,0.9940,0.9946,0.9951,0.9957,0.9961,0.9965,0.9969,0.9972,0.9975 +0.9978,0.9980,0.9982,0.9984,0.9986,0.9987,0.9989,0.9990,0.9991,0.9992 +0.9993,0.9994,0.9995,0.9995,0.9996,0.9997,0.9997,0.9998,0.9998,0.9998 +0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,1.0000,1.0000,1.0000 +1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc1u1fract=0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0001,0.0001 +0.0001,0.0001,0.0002,0.0002,0.0003,0.0006,0.0013,0.0025,0.0043,0.0071 +0.0108,0.0160,0.0239,0.0345,0.0472,0.0618,0.0783,0.0958,0.1143,0.1339 +0.1539,0.1743,0.1957,0.2175,0.2394,0.2614,0.2839,0.3061,0.3280,0.3503 +0.3724,0.3944,0.4163,0.4382,0.4595,0.4808,0.5023,0.5232,0.5442,0.5652 +0.5861,0.6064,0.6270,0.6474,0.6676,0.6880,0.7077,0.7272,0.7464,0.7654 +0.7838,0.8016,0.8187,0.8350,0.8502,0.8644,0.8778,0.8901,0.9014,0.9119 +0.9214,0.9297,0.9374,0.9441,0.9504,0.9559,0.9608,0.9653,0.9693,0.9730 +0.9764,0.9793,0.9818,0.9841,0.9861,0.9877,0.9891,0.9903,0.9914,0.9923 +0.9930,0.9936,0.9942,0.9948,0.9952,0.9957,0.9961,0.9965,0.9968,0.9971 +0.9975,0.9977,0.9979,0.9981,0.9983,0.9985,0.9987,0.9988,0.9990,0.9991 +0.9992,0.9993,0.9994,0.9994,0.9995,0.9996,0.9996,0.9997,0.9997,0.9997 +0.9998,0.9998,0.9998,0.9998,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999 +0.9999,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc1v1fract=0.0000,0.0000,0.0000,0.0000,0.0001,0.0001,0.0001,0.0001 +0.0002,0.0002,0.0003,0.0003,0.0004,0.0005,0.0006,0.0009,0.0014,0.0025 +0.0046,0.0087,0.0152,0.0250,0.0373,0.0519,0.0688,0.0872,0.1066,0.1271 +0.1481,0.1695,0.1911,0.2126,0.2344,0.2566,0.2792,0.3017,0.3238,0.3460 +0.3680,0.3900,0.4117,0.4334,0.4545,0.4761,0.4973,0.5184,0.5390,0.5597 +0.5801,0.6006,0.6215,0.6418,0.6621,0.6822,0.7018,0.7213,0.7403,0.7590 +0.7775,0.7958,0.8132,0.8303,0.8465,0.8616,0.8758,0.8885,0.9002,0.9109 +0.9205,0.9291,0.9368,0.9437,0.9498,0.9554,0.9602,0.9650,0.9691,0.9728 +0.9761,0.9791,0.9817,0.9839,0.9859,0.9875,0.9890,0.9901,0.9912,0.9921 +0.9929,0.9936,0.9942,0.9947,0.9952,0.9956,0.9960,0.9964,0.9967,0.9971 +0.9973,0.9976,0.9978,0.9981,0.9982,0.9984,0.9986,0.9988,0.9989,0.9990 +0.9991,0.9992,0.9993,0.9994,0.9995,0.9995,0.9996,0.9997,0.9997,0.9997 +0.9998,0.9998,0.9998,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,1.0000 +1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc1y2fract=0.0000,0.0000,0.0000,0.0001,0.0001,0.0001,0.0002,0.0002 +0.0003,0.0003,0.0004,0.0005,0.0007,0.0009,0.0012,0.0016,0.0026,0.0043 +0.0073,0.0121,0.0198,0.0299,0.0427,0.0578,0.0749,0.0937,0.1139,0.1347 +0.1561,0.1781,0.2003,0.2230,0.2455,0.2679,0.2901,0.3122,0.3344,0.3568 +0.3789,0.4010,0.4232,0.4450,0.4663,0.4873,0.5085,0.5298,0.5506,0.5714 +0.5921,0.6128,0.6332,0.6529,0.6729,0.6925,0.7119,0.7314,0.7501,0.7685 +0.7863,0.8038,0.8209,0.8371,0.8523,0.8667,0.8800,0.8925,0.9039,0.9140 +0.9230,0.9312,0.9388,0.9456,0.9516,0.9569,0.9617,0.9660,0.9697,0.9732 +0.9763,0.9789,0.9814,0.9835,0.9853,0.9870,0.9884,0.9895,0.9906,0.9915 +0.9923,0.9931,0.9938,0.9944,0.9949,0.9954,0.9959,0.9963,0.9966,0.9970 +0.9973,0.9975,0.9977,0.9980,0.9982,0.9984,0.9986,0.9987,0.9989,0.9990 +0.9992,0.9993,0.9994,0.9995,0.9995,0.9996,0.9997,0.9997,0.9998,0.9998 +0.9998,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,1.0000 +1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc1x2fract=0.0000,0.0000,0.0001,0.0001,0.0001,0.0002,0.0002,0.0003 +0.0003,0.0004,0.0005,0.0006,0.0007,0.0009,0.0012,0.0018,0.0029,0.0048 +0.0076,0.0120,0.0183,0.0265,0.0369,0.0489,0.0625,0.0771,0.0930,0.1097 +0.1272,0.1458,0.1650,0.1846,0.2051,0.2256,0.2469,0.2688,0.2909,0.3128 +0.3351,0.3573,0.3798,0.4024,0.4247,0.4470,0.4691,0.4913,0.5136,0.5353 +0.5571,0.5792,0.6009,0.6223,0.6434,0.6643,0.6853,0.7060,0.7262,0.7460 +0.7651,0.7841,0.8026,0.8201,0.8363,0.8521,0.8665,0.8803,0.8930,0.9044 +0.9151,0.9247,0.9337,0.9419,0.9492,0.9558,0.9617,0.9671,0.9718,0.9761 +0.9797,0.9828,0.9854,0.9876,0.9895,0.9910,0.9923,0.9933,0.9941,0.9949 +0.9955,0.9959,0.9964,0.9967,0.9971,0.9973,0.9976,0.9978,0.9980,0.9983 +0.9984,0.9986,0.9987,0.9988,0.9990,0.9991,0.9992,0.9993,0.9993,0.9994 +0.9994,0.9995,0.9995,0.9996,0.9996,0.9997,0.9997,0.9997,0.9998,0.9998 +0.9998,0.9998,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,1.0000 +1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc2x1fract=0.0000,0.0001,0.0002,0.0002,0.0003,0.0003,0.0004,0.0005 +0.0006,0.0007,0.0008,0.0010,0.0012,0.0014,0.0017,0.0022,0.0030,0.0044 +0.0069,0.0107,0.0160,0.0233,0.0321,0.0431,0.0554,0.0692,0.0839,0.1000 +0.1171,0.1348,0.1536,0.1728,0.1927,0.2131,0.2343,0.2559,0.2775,0.2991 +0.3213,0.3438,0.3664,0.3889,0.4113,0.4338,0.4566,0.4789,0.5017,0.5242 +0.5464,0.5681,0.5901,0.6114,0.6331,0.6551,0.6761,0.6973,0.7178,0.7382 +0.7584,0.7776,0.7963,0.8145,0.8318,0.8481,0.8634,0.8775,0.8905,0.9025 +0.9135,0.9234,0.9326,0.9407,0.9478,0.9544,0.9606,0.9659,0.9708,0.9750 +0.9787,0.9819,0.9846,0.9870,0.9890,0.9906,0.9919,0.9930,0.9939,0.9947 +0.9953,0.9959,0.9964,0.9968,0.9971,0.9975,0.9977,0.9979,0.9982,0.9983 +0.9985,0.9986,0.9987,0.9989,0.9990,0.9991,0.9992,0.9993,0.9993,0.9994 +0.9995,0.9995,0.9996,0.9996,0.9997,0.9997,0.9998,0.9998,0.9998,0.9998 +0.9998,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,1.0000,1.0000 +1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc2y1fract=0.0000,0.0000,0.0001,0.0001,0.0001,0.0001,0.0001,0.0002 +0.0002,0.0003,0.0003,0.0004,0.0005,0.0006,0.0008,0.0011,0.0017,0.0027 +0.0047,0.0083,0.0142,0.0233,0.0356,0.0507,0.0682,0.0876,0.1083,0.1304 +0.1533,0.1769,0.2002,0.2235,0.2469,0.2702,0.2935,0.3167,0.3394,0.3618 +0.3847,0.4074,0.4295,0.4515,0.4733,0.4946,0.5158,0.5368,0.5576,0.5783 +0.5991,0.6201,0.6404,0.6610,0.6811,0.7011,0.7206,0.7397,0.7587,0.7775 +0.7958,0.8131,0.8303,0.8467,0.8624,0.8770,0.8904,0.9028,0.9140,0.9238 +0.9326,0.9404,0.9473,0.9535,0.9591,0.9639,0.9681,0.9719,0.9752,0.9782 +0.9808,0.9831,0.9850,0.9867,0.9881,0.9894,0.9905,0.9916,0.9924,0.9932 +0.9938,0.9944,0.9950,0.9955,0.9959,0.9962,0.9965,0.9969,0.9971,0.9974 +0.9976,0.9978,0.9980,0.9983,0.9984,0.9986,0.9987,0.9988,0.9990,0.9991 +0.9992,0.9993,0.9994,0.9995,0.9995,0.9996,0.9997,0.9997,0.9998,0.9998 +0.9998,0.9998,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,1.0000 +1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc2u1fract=0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0001,0.0001 +0.0001,0.0001,0.0001,0.0002,0.0002,0.0002,0.0003,0.0004,0.0006,0.0012 +0.0024,0.0052,0.0107,0.0196,0.0320,0.0474,0.0652,0.0852,0.1066,0.1288 +0.1509,0.1737,0.1965,0.2199,0.2431,0.2663,0.2895,0.3123,0.3350,0.3577 +0.3800,0.4019,0.4240,0.4457,0.4668,0.4882,0.5093,0.5302,0.5510,0.5716 +0.5920,0.6121,0.6323,0.6525,0.6723,0.6919,0.7113,0.7306,0.7497,0.7685 +0.7869,0.8046,0.8222,0.8393,0.8555,0.8704,0.8844,0.8973,0.9087,0.9193 +0.9283,0.9363,0.9435,0.9498,0.9553,0.9602,0.9646,0.9686,0.9721,0.9752 +0.9779,0.9804,0.9827,0.9846,0.9863,0.9878,0.9891,0.9902,0.9912,0.9920 +0.9927,0.9933,0.9939,0.9944,0.9949,0.9952,0.9956,0.9959,0.9963,0.9966 +0.9969,0.9972,0.9974,0.9977,0.9979,0.9981,0.9983,0.9984,0.9986,0.9988 +0.9989,0.9990,0.9991,0.9993,0.9994,0.9995,0.9995,0.9996,0.9996,0.9997 +0.9997,0.9998,0.9998,0.9998,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999 +0.9999,0.9999,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc2v1fract=0.0000,0.0000,0.0000,0.0000,0.0001,0.0001,0.0001,0.0001 +0.0001,0.0002,0.0002,0.0003,0.0003,0.0004,0.0006,0.0008,0.0012,0.0020 +0.0038,0.0077,0.0148,0.0252,0.0386,0.0549,0.0738,0.0941,0.1152,0.1374 +0.1601,0.1827,0.2055,0.2288,0.2519,0.2750,0.2981,0.3207,0.3434,0.3662 +0.3881,0.4102,0.4315,0.4530,0.4746,0.4960,0.5171,0.5381,0.5585,0.5791 +0.5993,0.6196,0.6395,0.6594,0.6790,0.6989,0.7177,0.7370,0.7558,0.7744 +0.7926,0.8108,0.8278,0.8440,0.8595,0.8745,0.8879,0.9005,0.9115,0.9218 +0.9307,0.9385,0.9454,0.9514,0.9566,0.9614,0.9657,0.9695,0.9730,0.9760 +0.9789,0.9813,0.9834,0.9853,0.9869,0.9883,0.9895,0.9906,0.9915,0.9922 +0.9929,0.9936,0.9941,0.9947,0.9952,0.9955,0.9959,0.9963,0.9967,0.9970 +0.9973,0.9976,0.9978,0.9980,0.9982,0.9984,0.9986,0.9987,0.9989,0.9991 +0.9992,0.9993,0.9994,0.9995,0.9996,0.9996,0.9997,0.9997,0.9998,0.9998 +0.9998,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,1.0000,1.0000,1.0000 +1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc2y2fract=0.0000,0.0000,0.0000,0.0001,0.0001,0.0001,0.0002,0.0002 +0.0002,0.0003,0.0004,0.0005,0.0006,0.0007,0.0010,0.0014,0.0022,0.0035 +0.0058,0.0097,0.0163,0.0258,0.0382,0.0539,0.0715,0.0912,0.1122,0.1341 +0.1573,0.1803,0.2038,0.2275,0.2514,0.2749,0.2984,0.3215,0.3442,0.3667 +0.3893,0.4112,0.4332,0.4549,0.4767,0.4985,0.5191,0.5403,0.5612,0.5817 +0.6025,0.6231,0.6436,0.6642,0.6839,0.7036,0.7235,0.7427,0.7617,0.7803 +0.7984,0.8159,0.8328,0.8491,0.8645,0.8788,0.8919,0.9043,0.9152,0.9250 +0.9337,0.9414,0.9482,0.9541,0.9595,0.9641,0.9683,0.9721,0.9753,0.9782 +0.9807,0.9829,0.9849,0.9866,0.9881,0.9894,0.9905,0.9914,0.9922,0.9929 +0.9936,0.9942,0.9948,0.9952,0.9956,0.9960,0.9964,0.9967,0.9970,0.9972 +0.9975,0.9977,0.9979,0.9981,0.9983,0.9985,0.9987,0.9988,0.9989,0.9990 +0.9991,0.9993,0.9994,0.9994,0.9995,0.9996,0.9996,0.9997,0.9997,0.9998 +0.9998,0.9998,0.9998,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999 +1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 +hwc2x2fract=0.0000,0.0001,0.0001,0.0001,0.0002,0.0002,0.0003,0.0003 +0.0004,0.0005,0.0006,0.0007,0.0009,0.0012,0.0016,0.0023,0.0039,0.0064 +0.0100,0.0151,0.0223,0.0316,0.0430,0.0561,0.0707,0.0864,0.1032,0.1212 +0.1397,0.1592,0.1791,0.1996,0.2206,0.2422,0.2638,0.2856,0.3081,0.3308 +0.3534,0.3759,0.3990,0.4214,0.4438,0.4662,0.4885,0.5107,0.5324,0.5543 +0.5762,0.5979,0.6196,0.6411,0.6621,0.6828,0.7033,0.7238,0.7438,0.7632 +0.7824,0.8007,0.8182,0.8352,0.8514,0.8666,0.8806,0.8934,0.9052,0.9160 +0.9256,0.9346,0.9426,0.9498,0.9561,0.9617,0.9670,0.9715,0.9755,0.9790 +0.9820,0.9846,0.9869,0.9888,0.9904,0.9917,0.9929,0.9938,0.9946,0.9952 +0.9958,0.9962,0.9966,0.9970,0.9973,0.9976,0.9978,0.9981,0.9982,0.9984 +0.9986,0.9987,0.9989,0.9990,0.9991,0.9992,0.9993,0.9994,0.9994,0.9995 +0.9996,0.9996,0.9996,0.9997,0.9997,0.9997,0.9998,0.9998,0.9998,0.9998 +0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,0.9999,1.0000 +1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000,1.0000 diff --git a/PARAM/HMS/GEN/hcana.param b/PARAM/HMS/GEN/hcana.param new file mode 100644 index 00000000..d5677d21 --- /dev/null +++ b/PARAM/HMS/GEN/hcana.param @@ -0,0 +1,48 @@ +; +; Parameters that were built into Fortran analyzer that we want +; to pass as parameters so that the resulting code can be more generic. +; +; Scintillator parameters +href_npaddles = 0 +href_nsperchan = 0.1 +href_offset = 0.0 +; + +hhodo_num_planes = 4 +hhodo_plane_names = "1x 1y 2x 2y" + +hcal_num_layers = 4 + +rraster_num_signals = 4 +htofusinginvadc=0 + hcer_tot_pmts = 2 +# Exclusion band width for the calorimeter's fiducial volume. +hcal_fv_delta = 5. + +# Constants for the coordiante correction of the calorimeter energy depositions +hcal_a_cor = 200. +hcal_b_cor = 8000. +hcal_c_cor = 64.36, 64.36 # for positive and negative sides +hcal_d_cor = 1.66, 1.66 + +hcal_layer_names = "1pr 2ta 3ta 4ta" + +haero_num_pairs = 8 + +# Names of planes so that parameter names can be constructed +hdc_plane_names = "1x1 1y1 1u1 1v1 1y2 1x2 2x1 2y1 2u1 2v1 2y2 2x2" + +# The following were defined in REPLAY.PARAM +h_recon_coeff_filename = 'DATFILES/hms_recon_coeff.dat' ;hms optics matrix + +# The following are set to zero to replicate historical ENGINE behavior +# For new analyses they should be set to 1. If not defined here, +# hcana will default 1, the new and correct behaviour. + +# If 1, Let a hit have different L/R assignment for different space points +# instead of L/R assignment from first sp it appears in. +hdc_fix_lr = 0 +# If 1, don't do the the propagation along the wire each time the hit +# appears in a space point. (Which means the correction accumulates) +hdc_fix_propcorr = 0 + diff --git a/PARAM/HMS/GEN/hdebug.param b/PARAM/HMS/GEN/hdebug.param new file mode 100644 index 00000000..5049718c --- /dev/null +++ b/PARAM/HMS/GEN/hdebug.param @@ -0,0 +1,117 @@ +; hms tracking code debug flags. +; when these flags are non-zero, dump routines are called to +; print out the data banks for each event. +; +; hluno fortran lun for output + hluno = 66 +; hdebugdumptof Dump timing information for fitting offsets + hdebugdumptof = 0 +; hdebugdumpcal Dump calorimeter information for fitting gains + hdebugdumpcal = 0 +; number of pedestal events required to overwrite orig. peds. + hhodo_min_peds = 500 + hcal_min_peds = 500 + hcer_min_peds = 500 + haero_min_peds = 500 + hmisc_min_peds = 500 + +; DEBUGGING OUTPUT FLAGS +; ---------------------- +; hdebugprintrawdc Dump HMS_RAW_DC Bank + hdebugprintrawdc = 0 +; hdebugprintdecodeddc Dump HMS_DECODED_DC BAnk + hdebugprintdecodeddc = 0 +; hdebugflagpsi Dump calculated coordinate positions + hdebugflagpsi = 0 +; hdebugflaggeoemtry Dump calculated geometrical parameters + hdebugflaggeometry = 0 +; hdebugflagpr Dump intermediate pattern recognition results + hdebugflagpr = 0 +; hdebugflagstubchisq Dump chi2 of left-right fits + hdebugstubchisq = 0 +; hdebugflagstubs Dump stub fit + hdebugflagstubs = 0 +; hdebuglinkstubs Dump linked hits + hdebuglinkstubs = 0 +; hdebugtrackprint Dump focal plane track fit results + hdebugtrackprint = 0 +; hdebugtartrackprint Dump tracks at target + hdebugtartrackprint = 0 +; tof debuging +; +; hdebugprintscinraw Dump HMS_RAW_SCIN + hdebugprintscinraw = 0 +; hdebugprintscindec Dump HMS_DECODED_SCIN + hdebugprintscindec = 0 +; hdebugprinttoftracks Dump hms_scin_tof + hdebugprinttoftracks = 0 +; hdebugprinttracktests Dump HMS_TRACK_TESTS + hdebugprinttracktests = 0 +; +; hms calorimeter debug flags +; hlun_dbg_cal lun + hlun_dbg_cal = hluno +; hdbg_raw_cal call h_prt_cal_raw + hdbg_raw_cal = 0 +; hdbg_sparsified_cal call h_prt_cal_sparsified + hdbg_sparsified_cal = 0 +; hdbg_decoded_cal call h_prt_cal_decoded + hdbg_decoded_cal = 0 +; hdbg_clusters_cal call h_prt_cal_clusters + hdbg_clusters_cal = 0 +; hdbg_tracks_cal call h_prt_cal_tracks + hdbg_tracks_cal = 0 +; hdbg_tests_cal call h_prt_cal_tests HMS_TRACK_TESTS + hdbg_tests_cal = 0 +; +; hard wired histograms. If these flags .ne. 0 then the histogram +; blocks are filled +; +; hturnon_scin_raw_hist Histogram HMS raw hodoscope data (each block) + hturnon_scin_raw_hist = 1 +; hturnon_decoded_dc_hist Histogram HMS_DECODED_DC + hturnon_decoded_dc_hist = 1 +; hturnon_focal_plane_hist Histogram HMS_FOCAL_PLANE + hturnon_focal_plane_hist = 1 +; hturnon_target_hist HISTOGRAM HMS_TARGET + hturnon_target_hist = 1 +; +; Bypass paramters to bypass code elementes in h_reconstruction +; Stored in hmsbypass_switches.cmn +; Code element is bypassed if switch .ne. 0 +; hbypass_trans_dc bypass h_trans_dc + hbypass_trans_dc = 0 +; hbypass_track bypass h_track + hbypass_track = 0 +; hbypass_targ_trans bypass h_targ_trans + hbypass_targ_trans = 0 +; hbypass_dc_eff bypass h_dc_eff and h_dc_eff_shutdown + hbypass_dc_eff = 0 +; hbypass_track_eff bypass h_tracking efficiency code + hbypass_track_eff = 0 +; hbypass_track_eff_files bypass h_tracking efficiency output files + hbypass_track_eff_files = 1 + +; hbypass_trans_scin bypass h_trans_scin + hbypass_trans_scin = 0 +; hbypass_tof bypass h_tof + hbypass_tof = 0 +; hbypass_scin_eff bypass h_scin_eff and h_scin_eff_shutdown + hbypass_scin_eff = 0 + +; hbypass_trans_cer bypass h_trans_cer + hbypass_trans_cer = 0 +; hbypass_cer bypass h_cer + hbypass_cer = 0 +; hbypass_cer_eff bypass h_cer_eff and h_cer_eff_shutdown + hbypass_cer_eff = 0 + +; hbypass_trans_cal bypass h_trans_cal + hbypass_trans_cal = 0 +; hbypass_cal bypass h_cal + hbypass_cal = 0 +; hbypass_cal_eff bypass h_cal_eff and h_cal_eff_shutdown + hbypass_cal_eff = 0 + +; hbypass_physics bypass h_physics + hbypass_physics = 0 diff --git a/PARAM/HMS/GEN/hmsflags.param b/PARAM/HMS/GEN/hmsflags.param new file mode 100644 index 00000000..382ed6da --- /dev/null +++ b/PARAM/HMS/GEN/hmsflags.param @@ -0,0 +1,52 @@ +; Offset in the spectrometer momentum. + hmomentum_factor = 0.000 ; leave 0 so it will have no effect + ; use hpcentral_offset if one needs to offset central momentum +; +; 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. + hdelta_offset = 0. ; (%) hdelta_tar = hdelta_tar + hdelta_offset + htheta_offset = 4.83e-5 ; (rad) hyp_tar = hyp_tar + htheta_offset + hphi_offset = -4.73e-3 ; (rad) hxp_tar = hxp_tar + hphi_offset +; + +;saturation correction flag + genable_hms_satcorr = 2000 ;(0=disabled) - h_satcorr.f + ; a correction to hsdelta event by event + ; for a problem in setting Q3 current. + ; There was an unknown zero offset in the Q3 current. + ; The magnet setting code field00.f partially + ; fixes this problem. T. Horn in 2003 determined + ; the corrections to delta. + ; Data taken with fields set by field99.f or earlier should set to 1999. + ; Data taken with fields set by field00.f or later should set to 2000. +; central field correction + genable_hms_fieldcorr = 1 ; (1=disabled) - h_fieldcorr.f + ; Need to enable for experiments before Jan 2002 . + ; experiments using field02 and field03 should disable. +; +; 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. +; The values below are from T. Horn 2003 analysis + hpcentral_offset = -0.25 ; sets hpcentral = hpcentral * ( 1. + hpcentral_offset / 100. ) + ; experiments earlier than April 2003 + ; should use about -0.3 which is the best + ; estimate based on several previous experiments. + hthetacentral_offset = 0.0002 ; (rad) + ;htheta_lab=htheta_lab + hthetacentral_offset/degree +; This offset is determined from elastic ep data. +; Must be added to ssxptar when used in calculating lab angles. +; Example is in h_physics.f +; + h_oopcentral_offset = 0.0011 ; (rad) + + diff --git a/PARAM/HMS/GEN/htracking.param b/PARAM/HMS/GEN/htracking.param new file mode 100644 index 00000000..99b502a6 --- /dev/null +++ b/PARAM/HMS/GEN/htracking.param @@ -0,0 +1,94 @@ +; hms pattern recognition and tracking code parameters +; hmax_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. +; + hmax_pr_hits = 35, 35 +; maximum number of possible focal plane tracks, must be <= 20 + hntracks_max_fp = 10 +; if h_remove_sppt_if_one_y_plane=1 then remove space point if space point +; contains only one y plane. +; Recommend h_remove_sppt_if_one_y_plane=0. + h_remove_sppt_if_one_y_plane=0 +; hminhit(i) minimum number of hits in each space point (one for each chamber) + hmin_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) + hmin_combos = 4, 4 +; hspace_point_criterion(i) minimum separation of distinct space points +; recommended value for hspace_point_criterion ( based on meeting +; Feb 2003) + hspace_point_criterion = 1.0, 1.0 + + hstub_max_xpdiff = .05 +; +; The following four criteria are applied to the stub fit results at the +; focal plane position to link stubs to tracks +; hxt_track_criterion +; hyt_track_criterion +; hxpt_track_criterion +; hypt_track_criterion +; recommended value for hspace_point_criterion ( based on meeting +; Feb 2003) + hxt_track_criterion = 10. + hyt_track_criterion = 4. + hxpt_track_criterion = 0.2 + hypt_track_criterion = 0.5 +; +; hsingle_stub If .ne. 0 make a track of each single stub + hsingle_stub = 0 +; turn on/off small angle approximation to left/right decision for y + hSmallAngleApprox = 1 + +; Crude track selection criteria in h_physics +; hsel_chi2_fpperdegmax maximum chi2 per degree of freedom for track + hsel_chi2_fpperdegmax = 2000000. +; hsel_dedx1min minimum dedx to chose best track in scin 1 + hsel_dedx1min = -100000 +; hsel_dedx1max maximum dedx to chose best track in scin 1 + hsel_dedx1max = 1000000. +; hsel_betamin minimum track beta to chose best track + hsel_betamin = -100000 +; hsel_betamax maximum track beta to chose best track + hsel_betamax = 100000. +; hsel_etmin minimum track et to chose best track + hsel_etmin = 0.05 +; hsel_etmax maximum track et to chose best track + hsel_etmax = 100000. +; hsel_ndegreesmin minimum number of degrees of freedom for track + hsel_ndegreesmin = 1 + + +; hstat_maxchisq chisquared limit for tracks used to measure hodo. eff. + hstat_maxchisq = 10. +; hsel_using_scin uses scintillator for track selection + hsel_using_scin = 1 +; hstat_slop distance from center of scin. to count as expecting hit + hstat_slop = 2. +; hstat_mineff warning level for scin. effic. + hstat_mineff = .95 +; hstat_cal_maxchisq chisquared limit for tracks used to measure cal. eff. + hstat_cal_maxchisq = 10. +; hstat_cal_slop distance from center of block to count as expecting hit + hstat_cal_slop = 2. +; hcer_min_eff warning level for cerenkov effic. + hcer_min_eff = .98 +; hcer_threshold threshold for good hit (for measureing effic.) + hcer_threshold = 0.5 +; hdc_min_eff warning level for dc raw effic.(1 per plane) + hdc_min_eff = .96,.98,.96,.98,.98,.94 + .96,.98,.98,.98,.98,.96 +; hdc_min_wire_eff warning level for wire effic, measured using tracking + hdc_min_wire_eff = .85 +; hdc_min_plane_eff warning level for plane effic, measured using tracking + hdc_min_plane_eff = .95,.95,.95,.95,.95,.95 + .95,.95,.95,.95,.95,.95 +;Derek added this for scintillator based fiducial cuts. Everything from +;loscin to hiscin inclusive will be included as "good" scintillator hits. + hxloscin = 4, 4 + hxhiscin = 13, 13 + hyloscin = 4, 4 + hyhiscin = 7, 7 +; htrack_eff_test_scin_planes is the number of planes nec needed to +; set sweet spot to true. 4 is extra clean, 3 is good enough for e-'s. + htrack_eff_test_num_scin_planes = 3 diff --git a/PARAM/HMS/HODO/hhodo.param b/PARAM/HMS/HODO/hhodo.param new file mode 100644 index 00000000..0621446a --- /dev/null +++ b/PARAM/HMS/HODO/hhodo.param @@ -0,0 +1,179 @@ +; hstart_time_center center of allowed time window + hstart_time_center = 32. +; hstart_time_slop 1/2 width of time window + hstart_time_slop = 25. +; hscin_tdc_min minimum tdc value in hms scin + hscin_tdc_min = 0 +; hscin_tdc_max maximum allowed tdc value + hscin_tdc_max = 4000 +; hscin_tdc_to_time scin tdc time per channel + hscin_tdc_to_time = 0.0259 +; tof and you figured out good values + htof_tolerance = 3.0 +; +; hms_tof_params +; hnum_scin_counters, hhodo_zpos, hhodo_center_coord, hhodo_width +; are all calculated within h_init_scin +; hhodo_pos_coord and hhodo_neg_coord are not yet used +; + hhodo_slop = 2., 2., 4., 4. +; + hhodo_vel_light = 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 + 14.0,14.8,15.5,15.8 +; + hhodo_pos_sigma = .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 +; + hhodo_neg_sigma = .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + .3,.3,.3,.3,.3,.3,.3,.3 + + hhodo_pos_minph = 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + + hhodo_neg_minph = 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + 125,135,125,120 + hhodo_pos_phc_coeff = -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + -1.45,-1.1,-1.,-1.2 + + hhodo_neg_phc_coeff = -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + -1.3,-1.1,-1.2,-1.4 + + +; csa 9/8/98 -- I had to hand-twaddle a few of the values +; based on (relative) offsets of older hhodo.param + + +hhodo_pos_time_offset = 6.7992, 0.0000, -7.1126, 4.7475 + -1.1436, 0.4026, -0.1443, 8.8108 + 5.1911, 1.7935, -7.0357, 7.7590 + 5.6115, 0.1231, -4.3477, 12.8552 + 1.2354, -6.4896, 8.6617, 9.3857 + 1.8675, -0.3651, -4.7731, 7.9034 + 6.4738, -1.0463, 1.1786, 8.9740 + 4.5395, 2.3368, -4.4623, 4.5968 + 2.6241, -2.4480, -6.4964, 6.2390 + 4.2056, 0.0000, -0.8924, -1.2482 + 6.1303, 0.0000, -7.9503, 0.0000 + 5.5326, 0.0000, -0.3564, 0.0000 + 4.3238, 0.0000, 0.8133, 0.0000 + 1.7467, 0.0000, 1.9021, 0.0000 + 4.1333, 0.0000, -5.4523, 0.0000 + 0.9416, 0.0000, 1.0158, 0.0000 +hhodo_neg_time_offset = -2.1515, 0.0000, 2.5771, 11.2323 + -1.6547, -2.2888, 10.1063, 13.3595 + -3.8050, -4.1933, 3.4133, 15.0118 + 0.7925, -1.9592, 10.9311, 15.1057 + -1.2621, -4.6538, 2.3474, 10.2752 + -2.9459, 1.2711, 9.6479, 7.8567 + 1.2439, -3.4946, 3.7283, 10.7897 + -4.8205, 1.1743, 8.5908, 11.1753 + -6.3324, -5.2290, 0.2444, 14.7184 + 1.8168, 0.0000, 11.2387, 15.5869 + 0.4240, 0.0000, 8.2657, 0.0000 + -0.9945, 0.0000, 9.2381, 0.0000 + -2.3217, 0.0000, 5.1855, 0.0000 + -5.1166, 0.0000, 10.0781, 0.0000 + 0.2537, 0.0000, 6.2455, 0.0000 + 7.0554, 0.0000, 12.8714, 0.0000 + +; +hhodo_pos_ped_limit = 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 +; +hhodo_neg_ped_limit = 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + 1000,1000,1000,1000,1000,1000,1000,1000 + diff --git a/PARAM/HMS/HODO/hhodo.pos b/PARAM/HMS/HODO/hhodo.pos new file mode 100644 index 00000000..2e37fd06 --- /dev/null +++ b/PARAM/HMS/HODO/hhodo.pos @@ -0,0 +1,88 @@ + hpathlength_central = 2500 +; Z positions of hodoscopes + hscin_1x_zpos = (89.14-11.31) + hscin_1y_zpos = (108.83-11.31) + hscin_2x_zpos = (310.13-11.31) + hscin_2y_zpos = (329.82-11.31) + hscin_1x_dzpos = 2.12 + hscin_1y_dzpos = 2.12 + hscin_2x_dzpos = 2.12 + hscin_2y_dzpos = 2.12 + hscin_1x_size = 8.0 + hscin_1y_size = 8.0 + hscin_2x_size = 8.0 + hscin_2y_size = 8.0 + hscin_1x_spacing = 7.5 + hscin_1y_spacing = 7.5 + hscin_2x_spacing = 7.5 + hscin_2y_spacing = 7.5 +; Number of hodoscope paddles per layer + hscin_1x_nr = 16 + hscin_1y_nr = 10 + hscin_2x_nr = 16 + hscin_2y_nr = 10 +; X,Y positions of hodoscope paddles + hscin_1x_left = 37.750 + hscin_1x_right = -37.750 + hscin_1x_offset= -1.3 + hscin_1x_center= -56.250 + -48.750 + -41.250 + -33.750 + -26.250 + -18.750 + -11.250 + -3.750 + 3.750 + 11.250 + 18.750 + 26.250 + 33.750 + 41.250 + 48.750 + 56.250 + hscin_1y_top = -60.250 + hscin_1y_bot = 60.250 + hscin_1y_offset= -1.3 + hscin_1y_center= 33.750 + 26.250 + 18.750 + 11.250 + 3.750 + -3.750 + -11.250 + -18.750 + -26.250 + -33.750 + hscin_2x_left = 37.750 + hscin_2x_right = -37.750 + hscin_2x_offset= -0.6 + hscin_2x_center= -56.250 + -48.750 + -41.250 + -33.750 + -26.250 + -18.750 + -11.250 + -3.750 + 3.750 + 11.250 + 18.750 + 26.250 + 33.750 + 41.250 + 48.750 + 56.250 + hscin_2y_top = -60.250 + hscin_2y_bot = 60.250 + hscin_2y_offset= -2.4 + hscin_2y_center= 33.750 + 26.250 + 18.750 + 11.250 + 3.750 + -3.750 + -11.250 + -18.750 + -26.250 + -33.750 diff --git a/PARAM/SHMS/DC/pdc.param b/PARAM/SHMS/DC/pdc.param new file mode 100644 index 00000000..56517a04 --- /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 00000000..7d1d76cf --- /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 00000000..4ba25d48 --- /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 00000000..99e5299a --- /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 00000000..d6a16be8 --- /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 00000000..d58c0f93 --- /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 00000000..3e1149e0 --- /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 00000000..1de167cf --- /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 00000000..56ef41f5 --- /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/TRIG/thms.param b/PARAM/TRIG/thms.param new file mode 100644 index 00000000..54d1f0e5 --- /dev/null +++ b/PARAM/TRIG/thms.param @@ -0,0 +1,8 @@ +t_hms_numAdc = 8 +t_hms_numTdc = 17 + +; bar num: 1 2 3 4 5 6 7 8 +t_hms_adcNames = "hASUM hBSUM hCSUM hDSUM hPSHWR hSHWR hAERSUM hCERSUM" + +; bar num: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 +t_hms_tdcNames = "h1X h1Y h2X h2Y h1T h2T hT1 hASUM hBSUM hCSUM hDSUM hPSHWRLO hPSHWRHI hSHWR hAERSUM hCERSUM hT2" diff --git a/SCRIPTS/HMS/replay_hdc_test_stand.C b/SCRIPTS/HMS/replay_hdc_test_stand.C new file mode 100644 index 00000000..a8bfad8a --- /dev/null +++ b/SCRIPTS/HMS/replay_hdc_test_stand.C @@ -0,0 +1,106 @@ +void replay_hdc_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/test_%d.dat"; + const char* ROOTFileNamePattern = "ROOTfiles/test_%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")); + + // Load params for HMS DC test stand configuration + gHcParms->Load("PARAM/HMS/DC/hdc_test_stand.param"); + + // Load the Hall C style detector map + gHcDetectorMap = new THcDetectorMap(); + //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: + //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/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 + + // 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/SHMS/replay_pdc_test_stand.C b/SCRIPTS/SHMS/replay_pdc_test_stand.C new file mode 100644 index 00000000..1cb39342 --- /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) + //); +} -- GitLab