diff --git a/.gitignore b/.gitignore
index 743d62c2f862bcfd68feec02c1db703be3053040..0199f1856855509136b3bc6f6f44d8a14cef4253 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,6 +24,7 @@ raw
 raw.copiedtotape
 cache
 logs
+scratch
 
 # Symbolic links
 hcana
diff --git a/CALIBRATION/hms_cal_calib/THcShowerCalib.h b/CALIBRATION/hms_cal_calib/THcShowerCalib.h
index 2dd996bf3bc1e8d000518fbdd59f5700e8edf85a..529ad5f8f975b8f5cd574388691f7fd1a24c392f 100644
--- a/CALIBRATION/hms_cal_calib/THcShowerCalib.h
+++ b/CALIBRATION/hms_cal_calib/THcShowerCalib.h
@@ -7,6 +7,7 @@
 #include "TVectorD.h"
 #include "TMatrixD.h"
 #include "TDecompLU.h"
+#include "TDecompSVD.h"
 #include "TMath.h"
 #include <iostream>
 #include <fstream>
@@ -103,7 +104,7 @@ class THcShowerCalib {
 
   Double_t        H_tr_tg_dp;
 
-  Double_t        H_cer_npe[2];
+  Double_t        H_cer_npeSum;
   Double_t        H_tr_beta;
 
   Double_t        H_cal_nclust;
@@ -129,7 +130,7 @@ class THcShowerCalib {
 
   TBranch* b_H_tr_tg_dp;
  
-  TBranch* b_H_cer_npe;
+  TBranch* b_H_cer_npeSum;
   TBranch* b_H_tr_beta;
 
   TBranch* b_H_cal_nclust;
@@ -308,8 +309,9 @@ void THcShowerCalib::Init() {
 
   gROOT->Reset();
 
-  char* fname = Form("ROOTfiles/%s.root",fPrefix.c_str());
-  cout << "THcShowerCalib::Init: Root file name = " << fname << endl;
+    char* fname = Form("ROOTfiles/%s.root",fPrefix.c_str());
+  //   char* fname = Form("kaonRoot/%s.root",fPrefix.c_str());
+ cout << "THcShowerCalib::Init: Root file name = " << fname << endl;
 
   TFile *f = new TFile(fname);
   f->GetObject("T",fTree);
@@ -320,7 +322,7 @@ void THcShowerCalib::Init() {
   fNstopRequested<0 ? fNstop = fNentries :
                       fNstop = TMath::Min(unsigned(fNstopRequested), fNentries);
   cout << "                      fNstop   = " << fNstop << endl;
-
+  //fNstop=50000;
   // Set branch addresses.
 
   fTree->SetBranchAddress("H.cal.1pr.goodNegAdcPulseInt", H_cal_1pr_aneg_p,
@@ -343,17 +345,17 @@ void THcShowerCalib::Init() {
   fTree->SetBranchAddress("H.cal.4ta.goodPosAdcPulseInt", H_cal_4ta_apos_p,
 			  &b_H_cal_4ta_apos_p);
 
-  fTree->SetBranchAddress("H.tr.n", &H_tr_n,&b_H_tr_n);
-  fTree->SetBranchAddress("H.tr.x",&H_tr_x,&b_H_tr_x);
-  fTree->SetBranchAddress("H.tr.y",&H_tr_y,&b_H_tr_y);
-  fTree->SetBranchAddress("H.tr.th",&H_tr_xp,&b_H_tr_xp);
-  fTree->SetBranchAddress("H.tr.ph",&H_tr_yp,&b_H_tr_yp);
-  fTree->SetBranchAddress("H.tr.p",&H_tr_p,&b_H_tr_p);
+  fTree->SetBranchAddress("H.dc.ntrack", &H_tr_n,&b_H_tr_n);
+  fTree->SetBranchAddress("H.dc.x_fp",&H_tr_x,&b_H_tr_x);
+  fTree->SetBranchAddress("H.dc.y_fp",&H_tr_y,&b_H_tr_y);
+  fTree->SetBranchAddress("H.dc.xp_fp",&H_tr_xp,&b_H_tr_xp);
+  fTree->SetBranchAddress("H.dc.yp_fp",&H_tr_yp,&b_H_tr_yp);
+  fTree->SetBranchAddress("H.gtr.p",&H_tr_p,&b_H_tr_p);
 
-  fTree->SetBranchAddress("H.tr.tg_dp", &H_tr_tg_dp,&b_H_tr_tg_dp);
+  fTree->SetBranchAddress("H.gtr.dp", &H_tr_tg_dp,&b_H_tr_tg_dp);
  
-  fTree->SetBranchAddress("H.cer.npe", H_cer_npe,&b_H_cer_npe);
-  fTree->SetBranchAddress("H.tr.beta", &H_tr_beta,&b_H_tr_beta);
+  fTree->SetBranchAddress("H.cer.npeSum", &H_cer_npeSum,&b_H_cer_npeSum);
+  fTree->SetBranchAddress("H.hod.beta", &H_tr_beta,&b_H_tr_beta);
 
   fTree->SetBranchAddress("H.cal.nclust", &H_cal_nclust,&b_H_cal_nclust);
 
@@ -476,8 +478,7 @@ bool THcShowerCalib::ReadShRawTrack(THcShTrack &trk, UInt_t ientry) {
 		    H_tr_y + H_tr_yp*D_CALO_FP < YMAX ;
   if (!good_trk) return 0;
 
-  bool good_cer = H_cer_npe[0] > fCerMin ||
-                  H_cer_npe[1] > fCerMin ;
+  bool good_cer = H_cer_npeSum > fCerMin ;
   if(!good_cer) return 0;
 
   bool good_beta = H_tr_beta > fBetaMin &&
@@ -516,7 +517,16 @@ bool THcShowerCalib::ReadShRawTrack(THcShTrack &trk, UInt_t ientry) {
 
       UInt_t nb = j+1 + k*THcShTrack::fNrows;
 
-      if (adc_pos>0. || adc_neg>0.) {
+      if (k==0 && adc_pos>0. && adc_neg>0.) {
+	trk.AddHit(adc_pos, adc_neg, 0., 0., nb);
+      }
+      if (k==1 && adc_pos>0. && adc_neg>0.) {
+	trk.AddHit(adc_pos, adc_neg, 0., 0., nb);
+      }
+      if (k==2 && adc_pos>0. && adc_neg==0.) {
+	trk.AddHit(adc_pos, adc_neg, 0., 0., nb);
+      }
+      if (k==3 && adc_pos>0. && adc_neg==0.) {
 	trk.AddHit(adc_pos, adc_neg, 0., 0., nb);
       }
 
@@ -563,7 +573,7 @@ void THcShowerCalib::ComposeVMs() {
 	for (UInt_t i=0; i<trk.GetNhits(); i++) {
 
 	  THcShHit* hit = trk.GetHit(i);
-	  // hit->Print(cout);
+	  //hit->Print(cout);
 	  
 	  UInt_t nb = hit->GetBlkNumber();
 
@@ -765,7 +775,8 @@ void THcShowerCalib::SolveAlphas() {
 
   // Declare LU decomposition method for the correlation matrix Q.
 
-  TDecompLU lu(Q);
+    TDecompLU lu(Q);
+  //  TDecompSVD lu(Q);
   Double_t d1,d2;
   lu.Det(d1,d2);
   cout << "cond:" << lu.Condition() << endl;
diff --git a/CALIBRATION/shms_cal_calib/THcPShowerCalib.h b/CALIBRATION/shms_cal_calib/THcPShowerCalib.h
index e84d47b12e4e21b85dbc10c894b2a5e23147af5f..423d126cd5229828054ae10ccbdf19f41a6306c5 100644
--- a/CALIBRATION/shms_cal_calib/THcPShowerCalib.h
+++ b/CALIBRATION/shms_cal_calib/THcPShowerCalib.h
@@ -119,6 +119,8 @@ class THcPShowerCalib {
 
   Double_t        P_hgcer_npe[4];
   Double_t        P_ngcer_npe[4];
+  Double_t        P_ngcer_npeSum;
+  Double_t        P_hgcer_npeSum;
   Double_t        P_tr_beta;
 
   Double_t        P_cal_nclust;          //Preshower
@@ -141,6 +143,8 @@ class THcPShowerCalib {
   TBranch* b_P_tr_tg_y;
   TBranch* b_P_hgcer_npe;
   TBranch* b_P_ngcer_npe;
+  TBranch* b_P_hgcer_npeSum;
+  TBranch* b_P_ngcer_npeSum;
   TBranch* b_P_tr_beta;
 
   TBranch* b_P_cal_nclust;
@@ -360,22 +364,22 @@ void THcPShowerCalib::Init() {
   fTree->SetBranchAddress("P.cal.fly.goodAdcPulseInt",  P_sh_a_p,
 			  &b_P_sh_a_p);
 
-  fTree->SetBranchAddress("P.tr.n", &P_tr_n,&b_P_tr_n);
-  fTree->SetBranchAddress("P.tr.x", &P_tr_x,&b_P_tr_x);
-  fTree->SetBranchAddress("P.tr.y", &P_tr_y,&b_P_tr_y);
-  fTree->SetBranchAddress("P.tr.th",&P_tr_xp,&b_P_tr_xp);
-  fTree->SetBranchAddress("P.tr.ph",&P_tr_yp,&b_P_tr_yp);
-  fTree->SetBranchAddress("P.tr.p", &P_tr_p,&b_P_tr_p);
-
-  fTree->SetBranchAddress("P.tr.tg_dp", &P_tr_tg_dp,&b_P_tr_tg_dp);
-  fTree->SetBranchAddress("P.tr.tg_ph", &P_tr_tg_ph,&b_P_tr_tg_ph);
-  fTree->SetBranchAddress("P.tr.tg_th", &P_tr_tg_th,&b_P_tr_tg_th);
-  fTree->SetBranchAddress("P.tr.tg_y",  &P_tr_tg_y, &b_P_tr_tg_y);
+  fTree->SetBranchAddress("P.dc.ntrack", &P_tr_n,&b_P_tr_n);
+  fTree->SetBranchAddress("P.dc.x_fp", &P_tr_x,&b_P_tr_x);
+  fTree->SetBranchAddress("P.dc.y_fp", &P_tr_y,&b_P_tr_y);
+  fTree->SetBranchAddress("P.dc.xp_fp",&P_tr_xp,&b_P_tr_xp);
+  fTree->SetBranchAddress("P.dc.yp_fp",&P_tr_yp,&b_P_tr_yp);
+  fTree->SetBranchAddress("P.gtr.p", &P_tr_p,&b_P_tr_p);
+
+  fTree->SetBranchAddress("P.gtr.dp", &P_tr_tg_dp,&b_P_tr_tg_dp);
+  fTree->SetBranchAddress("P.gtr.ph", &P_tr_tg_ph,&b_P_tr_tg_ph);
+  fTree->SetBranchAddress("P.gtr.th", &P_tr_tg_th,&b_P_tr_tg_th);
+  fTree->SetBranchAddress("P.gtr.y",  &P_tr_tg_y, &b_P_tr_tg_y);
  
-  fTree->SetBranchAddress("P.hgcer.npe", P_hgcer_npe,&b_P_hgcer_npe);
-  fTree->SetBranchAddress("P.ngcer.npe", P_ngcer_npe,&b_P_ngcer_npe);
+  fTree->SetBranchAddress("P.hgcer.npeSum", &P_hgcer_npeSum,&b_P_hgcer_npeSum);
+  fTree->SetBranchAddress("P.ngcer.npeSum", &P_ngcer_npeSum,&b_P_ngcer_npeSum);
 
-  fTree->SetBranchAddress("P.tr.beta", &P_tr_beta,&b_P_tr_beta);
+  fTree->SetBranchAddress("P.hod.beta", &P_tr_beta,&b_P_tr_beta);
 
   fTree->SetBranchAddress("P.cal.nclust", &P_cal_nclust,&b_P_cal_nclust);
   fTree->SetBranchAddress("P.cal.ntracks", &P_cal_ntracks,&b_P_cal_ntracks);
@@ -538,16 +542,10 @@ bool THcPShowerCalib::ReadShRawTrack(THcPShTrack &trk, UInt_t ientry) {
   good_trk = P_tr_xp > -0.045+0.0025*P_tr_x;
   if (!good_trk) return 0;
 
-    bool good_ngcer = P_ngcer_npe[0] > fNGCerMin ||
-  		    P_ngcer_npe[1] > fNGCerMin ||
-  		    P_ngcer_npe[2] > fNGCerMin ||
-  		    P_ngcer_npe[3] > fNGCerMin  ;
+    bool good_ngcer = P_ngcer_npeSum >= fNGCerMin ;
     if(!good_ngcer) return 0;
 
-  bool good_hgcer = P_hgcer_npe[0] +
-		    P_hgcer_npe[1] +
-		    P_hgcer_npe[2] +
-		    P_hgcer_npe[3] > fHGCerMin  ;
+  bool good_hgcer = P_hgcer_npeSum >= fHGCerMin  ;
   if(!good_hgcer) return 0;
 
   bool good_beta = P_tr_beta > fBetaMin &&
diff --git a/DBASE/COIN/general_7000.param b/DBASE/COIN/general_7000.param
index 13062f382c2ced9038f777ba622f4e2a49f06ecd..c2260c38cfa49a9967434448c3b2c68400d484f2 100644
--- a/DBASE/COIN/general_7000.param
+++ b/DBASE/COIN/general_7000.param
@@ -16,7 +16,7 @@ cminch=2.54
 #include "PARAM/HMS/GEN/hdebug.param"
 #include "PARAM/HMS/GEN/hmsflags.param"
 #include "PARAM/HMS/GEN/htracking.param"
-#include "PARAM/HMS/GEN/h_reftime_cut_coindaq1.param"
+#include "PARAM/HMS/GEN/h_reftime_cut_coindaq.param"
 
 ; HMS default geometry parameter files 
 #include "PARAM/HMS/CER/hcer_geom.param"
diff --git a/DBASE/COIN/general_7239.param b/DBASE/COIN/general_7239.param
index c2bbd0ac6afb9eaf8a0c1dbdaf8371f0d9f27d19..c2260c38cfa49a9967434448c3b2c68400d484f2 100644
--- a/DBASE/COIN/general_7239.param
+++ b/DBASE/COIN/general_7239.param
@@ -16,7 +16,7 @@ cminch=2.54
 #include "PARAM/HMS/GEN/hdebug.param"
 #include "PARAM/HMS/GEN/hmsflags.param"
 #include "PARAM/HMS/GEN/htracking.param"
-#include "PARAM/HMS/GEN/h_reftime_cut_coindaq2.param"
+#include "PARAM/HMS/GEN/h_reftime_cut_coindaq.param"
 
 ; HMS default geometry parameter files 
 #include "PARAM/HMS/CER/hcer_geom.param"
diff --git a/DBASE/COIN/general_7274.param b/DBASE/COIN/general_7274.param
index c2bbd0ac6afb9eaf8a0c1dbdaf8371f0d9f27d19..c2260c38cfa49a9967434448c3b2c68400d484f2 100644
--- a/DBASE/COIN/general_7274.param
+++ b/DBASE/COIN/general_7274.param
@@ -16,7 +16,7 @@ cminch=2.54
 #include "PARAM/HMS/GEN/hdebug.param"
 #include "PARAM/HMS/GEN/hmsflags.param"
 #include "PARAM/HMS/GEN/htracking.param"
-#include "PARAM/HMS/GEN/h_reftime_cut_coindaq2.param"
+#include "PARAM/HMS/GEN/h_reftime_cut_coindaq.param"
 
 ; HMS default geometry parameter files 
 #include "PARAM/HMS/CER/hcer_geom.param"
diff --git a/DBASE/COIN/general_7308.param b/DBASE/COIN/general_7308.param
index f1e13909716c0f62714dd42fa26a40d3dcb8b49d..b278c29823547c1daefbf46b342f937bfebc2211 100644
--- a/DBASE/COIN/general_7308.param
+++ b/DBASE/COIN/general_7308.param
@@ -16,7 +16,7 @@ cminch=2.54
 #include "PARAM/HMS/GEN/hdebug.param"
 #include "PARAM/HMS/GEN/hmsflags.param"
 #include "PARAM/HMS/GEN/htracking.param"
-#include "PARAM/HMS/GEN/h_reftime_cut_coindaq2.param"
+#include "PARAM/HMS/GEN/h_reftime_cut_coindaq.param"
 
 ; HMS default geometry parameter files 
 #include "PARAM/HMS/CER/hcer_geom.param"
diff --git a/DBASE/COIN/general_7504.param b/DBASE/COIN/general_7504.param
index c2bbd0ac6afb9eaf8a0c1dbdaf8371f0d9f27d19..c2260c38cfa49a9967434448c3b2c68400d484f2 100644
--- a/DBASE/COIN/general_7504.param
+++ b/DBASE/COIN/general_7504.param
@@ -16,7 +16,7 @@ cminch=2.54
 #include "PARAM/HMS/GEN/hdebug.param"
 #include "PARAM/HMS/GEN/hmsflags.param"
 #include "PARAM/HMS/GEN/htracking.param"
-#include "PARAM/HMS/GEN/h_reftime_cut_coindaq2.param"
+#include "PARAM/HMS/GEN/h_reftime_cut_coindaq.param"
 
 ; HMS default geometry parameter files 
 #include "PARAM/HMS/CER/hcer_geom.param"
diff --git a/DEF-files/HMS/PRODUCTION/EPICS/hepics_vars.def b/DEF-files/HMS/PRODUCTION/EPICS/hepics_vars.def
index 9fd13247d19ce8ea1d99d84124af58573e3550a2..4fd6b0b4c70446379fac95e06ad746c3bcf6f314 100644
--- a/DEF-files/HMS/PRODUCTION/EPICS/hepics_vars.def
+++ b/DEF-files/HMS/PRODUCTION/EPICS/hepics_vars.def
@@ -25,5 +25,12 @@ ecQ3_Set_Current
 ecQ3_I_True
 ecDI_B_Set_NMR
 ecDI_B_True_NMR
+IPM3H07A.XRAW
+IPM3H07A.YRAW
+IPM3H07B.XRAW
+IPM3H07B.YRAW
+IPM3H07C.XRAW
+IPM3H07C.YRAW
+
 
 end epics
\ No newline at end of file
diff --git a/DEF-files/HMS/PRODUCTION/KIN/hkin_histos.def b/DEF-files/HMS/PRODUCTION/KIN/hkin_histos.def
index f4d81d57f1b8954ac69ed8bba34c6137e23649a5..5b6da08b38fafcfe442961717cda563818279b1d 100644
--- a/DEF-files/HMS/PRODUCTION/KIN/hkin_histos.def
+++ b/DEF-files/HMS/PRODUCTION/KIN/hkin_histos.def
@@ -4,8 +4,8 @@
 # Kinematic Quantities
 #*****************************************
 
-TH1F hkin_q2 'HMS Q^{2}; Q^{2} (GeV^{2}); Number of Entries / 0.050 GeV^{2}' H.kin.Q2 400 0 20
-TH1F hkin_omega 'HMS Omega; E_{beam} - E_{scat} (GeV); Number of Entries / 0.050 GeV' H.kin.omega 200 0 10
-TH1F hkin_w2 'HMS W^{2}; W^{2} (GeV^{2}); Number of Entries / 0.050 GeV^{2}' H.kin.W2 200 0 10
-TH1F hkin_w  'HMS W; W (GeV); Number of Entries / 0.050 GeV' H.kin.W 100 0 5
-TH1F hkin_theta 'HMS Scattering Angle Theta; HMS Scattering Angle (deg); Number of Entries / 0.25 deg' H.kin.scat_ang_deg 260 0 65
+TH1F hkin_q2 'HMS Q^{2}; Q^{2} (GeV^{2}); Number of Entries / 0.050 GeV^{2}' H.kin.Q2 400 0 20 hcut_CleanTrack
+TH1F hkin_omega 'HMS Omega; E_{beam} - E_{scat} (GeV); Number of Entries / 0.050 GeV' H.kin.omega 200 0 10 hcut_CleanTrack
+TH1F hkin_w2 'HMS W^{2}; W^{2} (GeV^{2}); Number of Entries / 0.050 GeV^{2}' H.kin.W2 200 0 10 hcut_CleanTrack
+TH1F hkin_w  'HMS W; W (GeV); Number of Entries / 0.050 GeV' H.kin.W 100 0 5 hcut_CleanTrack
+TH1F hkin_theta 'HMS Scattering Angle Theta; HMS Scattering Angle (deg); Number of Entries / 0.25 deg' H.kin.scat_ang_deg 260 0 65 hcut_CleanTrack
diff --git a/DEF-files/SHMS/PRODUCTION/CUTS/pstackana_decode_cuts.def b/DEF-files/SHMS/PRODUCTION/CUTS/pstackana_decode_cuts.def
index 729e0295c5de1272806eb5e340c18519f7e1c50f..73fecc260bdb4f93ecab0d9c9a49538cd19ba97c 100644
--- a/DEF-files/SHMS/PRODUCTION/CUTS/pstackana_decode_cuts.def
+++ b/DEF-files/SHMS/PRODUCTION/CUTS/pstackana_decode_cuts.def
@@ -5,6 +5,7 @@ pcut_TRIG2         T.shms.pTRIG2_tdcTimeRaw > 0
 pcut_TRIG3         T.shms.pTRIG3_tdcTimeRaw > 0
 pcut_TRIG4         T.shms.pTRIG3_tdcTimeRaw > 0
 pcut_TRIG5         T.shms.pTRIG5_tdcTimeRaw > 0
+pcut_TRIG6         T.shms.pTRIG6_tdcTimeRaw > 0
 SHMS_Pretrig  pcut_TRIG1 || pcut_TRIG2 || pcut_TRIG3
 
 shms_trigs        SHMS_event
diff --git a/DEF-files/SHMS/PRODUCTION/KIN/pkin_histos.def b/DEF-files/SHMS/PRODUCTION/KIN/pkin_histos.def
index 96f1d9e3390434194f5c9c555039cb0f454e7a83..de3d8a73b945a9c0fd2bc93f98eb8b98f8a9ac75 100644
--- a/DEF-files/SHMS/PRODUCTION/KIN/pkin_histos.def
+++ b/DEF-files/SHMS/PRODUCTION/KIN/pkin_histos.def
@@ -4,8 +4,8 @@
 # Kinematic Quantities
 #*****************************************
 
-TH1F pkin_q2 'SHMS 4-Momentum Transfer Q^{2}; Q^{2} (GeV^{2}); Number of Entries / 0.050 GeV^{2}' P.kin.Q2 200 0 10 
-TH1F pkin_omega 'SHMS Energy Transfer Omega; E_{beam} - E_{scat} (GeV); Number of Entries / 0.050 GeV' P.kin.omega 200 0 10
-TH1F pkin_w2 'SHMS Invariant Mass W^{2}; W^{2} (GeV^{2}); Number of Entries / 0.100 GeV^{2}' P.kin.W2 100 0 10
-TH1F pkin_w  'SHMS Invariant Mass W; W  (GeV); Number of Entries / 0.050 GeV' P.kin.W 200 0 10
-TH1F pkin_theta 'SHMS Scattering Angle Theta; SHMS Scattering Angle (deg); Number of Entries / 0.06 deg' P.kin.scat_ang_deg 350 5 40
+TH1F pkin_q2 'SHMS 4-Momentum Transfer Q^{2}; Q^{2} (GeV^{2}); Number of Entries / 0.050 GeV^{2}' P.kin.Q2 400 0 20 pcut_CleanTrack
+TH1F pkin_omega 'SHMS Energy Transfer Omega; E_{beam} - E_{scat} (GeV); Number of Entries / 0.050 GeV' P.kin.omega 200 0 10 pcut_CleanTrack
+TH1F pkin_w2 'SHMS Invariant Mass W^{2}; W^{2} (GeV^{2}); Number of Entries / 0.100 GeV^{2}' P.kin.W2 100 0 10 pcut_CleanTrack
+TH1F pkin_w  'SHMS Invariant Mass W; W  (GeV); Number of Entries / 0.050 GeV' P.kin.W 200 0 10 pcut_CleanTrack
+TH1F pkin_theta 'SHMS Scattering Angle Theta; SHMS Scattering Angle (deg); Number of Entries / 0.06 deg' P.kin.scat_ang_deg 350 5 40 pcut_CleanTrack
diff --git a/MAPS/HMS/DETEC/STACK/hms_stack.map b/MAPS/HMS/DETEC/STACK/hms_stack.map
index 197c7fd625a439d1a2cf6ab5eb2301bf961419f7..ef0630245140afd2155948d1603d9e058f565d4a 100644
--- a/MAPS/HMS/DETEC/STACK/hms_stack.map
+++ b/MAPS/HMS/DETEC/STACK/hms_stack.map
@@ -24,6 +24,10 @@ REFINDEX=3
 SLOT=18
 REFINDEX=3
   11,1000,   0,   3  ! hFADC_TREF_ROC1
+   7,   1,  10,   0  ! hHEL_QRT
+   8,   1,  11,   0  ! hHEL_NEG
+   9,   1,  12,   0  ! hHEL_POS
+  10,   1,  13,   0  ! hHEL_MPS
   11,   1,   9,   0  ! hFADC_TREF_ROC1
 
 SLOT=2
@@ -84,7 +88,6 @@ SLOT=20
 REFINDEX=1
  127,1000,   0,   1  ! hTref2
  127,   2,  17,   1  ! hT2
-  47,   2,  57,   1  ! hHODO_RF
 
 ROC=3
 
@@ -101,7 +104,7 @@ SLOT=13
   95,   2,  21,   1  ! hDCREF4
 
 SLOT=2
-  127,  2,  22,   1  ! hDCREF5
+ 127,   2,  22,   1  ! hDCREF5
 
 
 DETECTOR=11  ! HMS 12 gev chambers
diff --git a/MAPS/HMS/DETEC/TRIG/htrig.map b/MAPS/HMS/DETEC/TRIG/htrig.map
index c35e50813f1e7bf75201d70fe950252ee62db5f9..ab742f8c5e9c275df302f6c84268804c32261edd 100644
--- a/MAPS/HMS/DETEC/TRIG/htrig.map
+++ b/MAPS/HMS/DETEC/TRIG/htrig.map
@@ -25,8 +25,12 @@ REFINDEX=3
 SLOT=18
 REFINDEX=3
 ! chan    plane     bar    sig
-     11,   1000,      0,     3 ! hFADC_TREF_ROC1
-     11,      1,      9,     0 ! hFADC_TREF_ROC1
+    11,    1000,      0,     3 ! hFADC_TREF_ROC1
+     7,       1,     10,     0 ! hHEL_QRT
+     8,       1,     11,     0 ! hHEL_NEG
+     9,       1,     12,     0 ! hHEL_POS
+    10,       1,     13,     0 ! hHEL_MPS
+    11,       1,      9,     0 ! hFADC_TREF_ROC1
 
 ! CAEN1190 module
 SLOT=2
diff --git a/MAPS/SCALERS/db_HScalevt.dat b/MAPS/SCALERS/db_HScalevt.dat
index 0f28aec8516d06faead7d0b8b4b1ad2704675db1..92630464043945243fca499f77820536208440df 100644
--- a/MAPS/SCALERS/db_HScalevt.dat
+++ b/MAPS/SCALERS/db_HScalevt.dat
@@ -107,26 +107,26 @@ variable 12 26 1 .BCM4C.scaler BCM4C
 variable 12 26 2 .BCM4C.scalerRate BCM4C
 variable 12 26 3 .BCM4C.scalerCurrent BCM4C
 variable 12 26 4 .BCM4C.scalerCharge BCM4C
-variable 12 21 1 .Empty_58.scaler Empty
-variable 12 21 2 .Empty_58.scalerRate Empty
-variable 12 22 1 .Empty_59.scaler Empty
-variable 12 22 2 .Empty_59.scalerRate Empty
-variable 12 17 1 .Empty_54.scaler Empty
-variable 12 17 2 .Empty_54.scalerRate Empty
-variable 12 18 1 .Empty_55.scaler Empty
-variable 12 18 2 .Empty_55.scalerRate Empty
-variable 12 19 1 .Empty_56.scaler Empty
-variable 12 19 2 .Empty_56.scalerRate Empty
-variable 12 20 1 .Empty_57.scaler Empty
-variable 12 20 2 .Empty_57.scalerRate Empty
-variable 11 23 1 .Empty_50.scaler Empty
-variable 11 23 2 .Empty_50.scalerRate Empty
-variable 11 30 1 .Empty_51.scaler Empty
-variable 11 30 2 .Empty_51.scalerRate Empty
-variable 11 31 1 .Empty_52.scaler Empty
-variable 11 31 2 .Empty_52.scalerRate Empty
-variable 12 16 1 .Empty_53.scaler Empty
-variable 12 16 2 .Empty_53.scalerRate Empty
+variable 12 22 1 .Empty_58.scaler Empty
+variable 12 22 2 .Empty_58.scalerRate Empty
+variable 12 23 1 .Empty_59.scaler Empty
+variable 12 23 2 .Empty_59.scalerRate Empty
+variable 12 18 1 .Empty_54.scaler Empty
+variable 12 18 2 .Empty_54.scalerRate Empty
+variable 12 19 1 .Empty_55.scaler Empty
+variable 12 19 2 .Empty_55.scalerRate Empty
+variable 12 20 1 .Empty_56.scaler Empty
+variable 12 20 2 .Empty_56.scalerRate Empty
+variable 12 21 1 .Empty_57.scaler Empty
+variable 12 21 2 .Empty_57.scalerRate Empty
+variable 11 30 1 .Empty_50.scaler Empty
+variable 11 30 2 .Empty_50.scalerRate Empty
+variable 11 31 1 .Empty_51.scaler Empty
+variable 11 31 2 .Empty_51.scalerRate Empty
+variable 12 16 1 .Empty_52.scaler Empty
+variable 12 16 2 .Empty_52.scalerRate Empty
+variable 12 17 1 .Empty_53.scaler Empty
+variable 12 17 2 .Empty_53.scalerRate Empty
 variable 7 1 1 .hod.1y3.posScaler HMS 1Y+ paddle 3
 variable 7 1 2 .hod.1y3.posScalerRate HMS 1Y+ paddle 3
 variable 7 17 1 .hod.1y3.negScaler HMS 1Y- paddle 3
@@ -135,8 +135,8 @@ variable 6 8 1 .hod.1x9.posScaler HMS 1X+ paddle 9
 variable 6 8 2 .hod.1x9.posScalerRate HMS 1X+ paddle 9
 variable 6 24 1 .hod.1x9.negScaler HMS 1X- paddle 9
 variable 6 24 2 .hod.1x9.negScalerRate HMS 1X- paddle 9
-variable 10 15 1 .Empty_29.scaler Empty
-variable 10 15 2 .Empty_29.scalerRate Empty
+variable 10 17 1 .Empty_29.scaler Empty
+variable 10 17 2 .Empty_29.scalerRate Empty
 variable 10 14 1 .Empty_28.scaler Empty
 variable 10 14 2 .Empty_28.scalerRate Empty
 variable 8 27 1 .hod.2x15.negScaler HMS 2X- paddle 15
@@ -188,10 +188,8 @@ variable 7 24 1 .hod.1y9.negScaler HMS 1Y- paddle 9
 variable 7 24 2 .hod.1y9.negScalerRate HMS 1Y- paddle 9
 variable 7 8 1 .hod.1y9.posScaler HMS 1Y+ paddle 9
 variable 7 8 2 .hod.1y9.posScalerRate HMS 1Y+ paddle 9
-variable 12 24 1 .Empty_61.scaler Empty
-variable 12 24 2 .Empty_61.scalerRate Empty
-variable 12 23 1 .Empty_60.scaler Empty
-variable 12 23 2 .Empty_60.scalerRate Empty
+variable 12 24 1 .Empty_60.scaler Empty
+variable 12 24 2 .Empty_60.scalerRate Empty
 variable 12 7 1 .ASUM.scaler HMS ASUM
 variable 12 7 2 .ASUM.scalerRate HMS ASUM
 variable 7 6 1 .hod.1y6.posScaler HMS 1Y+ paddle 6
@@ -266,26 +264,26 @@ variable 7 20 1 .hod.1y2.negScaler HMS 1Y- paddle 2
 variable 7 20 2 .hod.1y2.negScalerRate HMS 1Y- paddle 2
 variable 7 4 1 .hod.1y2.posScaler HMS 1Y+ paddle 2
 variable 7 4 2 .hod.1y2.posScalerRate HMS 1Y+ paddle 2
-variable 10 25 1 .Empty_38.scaler Empty
-variable 10 25 2 .Empty_38.scalerRate Empty
-variable 10 26 1 .Empty_39.scaler Empty
-variable 10 26 2 .Empty_39.scalerRate Empty
-variable 10 19 1 .Empty_32.scaler Empty
-variable 10 19 2 .Empty_32.scalerRate Empty
-variable 10 20 1 .Empty_33.scaler Empty
-variable 10 20 2 .Empty_33.scalerRate Empty
-variable 10 17 1 .Empty_30.scaler Empty
-variable 10 17 2 .Empty_30.scalerRate Empty
-variable 10 18 1 .Empty_31.scaler Empty
-variable 10 18 2 .Empty_31.scalerRate Empty
-variable 10 23 1 .Empty_36.scaler Empty
-variable 10 23 2 .Empty_36.scalerRate Empty
-variable 10 24 1 .Empty_37.scaler Empty
-variable 10 24 2 .Empty_37.scalerRate Empty
-variable 10 21 1 .Empty_34.scaler Empty
-variable 10 21 2 .Empty_34.scalerRate Empty
-variable 10 22 1 .Empty_35.scaler Empty
-variable 10 22 2 .Empty_35.scalerRate Empty
+variable 10 26 1 .Empty_38.scaler Empty
+variable 10 26 2 .Empty_38.scalerRate Empty
+variable 10 27 1 .Empty_39.scaler Empty
+variable 10 27 2 .Empty_39.scalerRate Empty
+variable 10 20 1 .Empty_32.scaler Empty
+variable 10 20 2 .Empty_32.scalerRate Empty
+variable 10 21 1 .Empty_33.scaler Empty
+variable 10 21 2 .Empty_33.scalerRate Empty
+variable 10 18 1 .Empty_30.scaler Empty
+variable 10 18 2 .Empty_30.scalerRate Empty
+variable 10 19 1 .Empty_31.scaler Empty
+variable 10 19 2 .Empty_31.scalerRate Empty
+variable 10 24 1 .Empty_36.scaler Empty
+variable 10 24 2 .Empty_36.scalerRate Empty
+variable 10 25 1 .Empty_37.scaler Empty
+variable 10 25 2 .Empty_37.scalerRate Empty
+variable 10 22 1 .Empty_34.scaler Empty
+variable 10 22 2 .Empty_34.scalerRate Empty
+variable 10 23 1 .Empty_35.scaler Empty
+variable 10 23 2 .Empty_35.scalerRate Empty
 variable 6 0 1 .hod.1x1.posScaler HMS 1X+ paddle 1
 variable 6 0 2 .hod.1x1.posScalerRate HMS 1X+ paddle 1
 variable 6 16 1 .hod.1x1.negScaler HMS 1X- paddle 1
@@ -322,8 +320,8 @@ variable 7 23 1 .hod.1y8.negScaler HMS 1Y- paddle 8
 variable 7 23 2 .hod.1y8.negScalerRate HMS 1Y- paddle 8
 variable 7 7 1 .hod.1y8.posScaler HMS 1Y+ paddle 8
 variable 7 7 2 .hod.1y8.posScalerRate HMS 1Y+ paddle 8
-variable 11 6 1 .Empty_45.scaler Empty
-variable 11 6 2 .Empty_45.scalerRate Empty
+variable 11 7 1 .Empty_45.scaler Empty
+variable 11 7 2 .Empty_45.scalerRate Empty
 variable 6 4 1 .hod.1x2.posScaler HMS 1X+ paddle 2
 variable 6 4 2 .hod.1x2.posScalerRate HMS 1X+ paddle 2
 variable 6 20 1 .hod.1x2.negScaler HMS 1X- paddle 2
@@ -413,6 +411,8 @@ variable 8 28 1 .hod.2x10.negScaler HMS 2X- paddle 10
 variable 8 28 2 .hod.2x10.negScalerRate HMS 2X- paddle 10
 variable 12 13 1 .SHLO.scaler HMS SHLO
 variable 12 13 2 .SHLO.scalerRate HMS SHLO
+variable 10 15 1 .HAModStat.scaler Hall A Modulation Status
+variable 10 15 2 .HAModStat.scalerRate Hall A Modulation Status
 variable 12 15 1 .CER.scaler HMS CER
 variable 12 15 2 .CER.scalerRate HMS CER
 variable 8 18 1 .hod.2x5.negScaler HMS 2X- paddle 5
@@ -425,26 +425,26 @@ variable 10 6 1 .EDTM_CP.scaler EDTM Copy
 variable 10 6 2 .EDTM_CP.scalerRate EDTM Copy
 variable 12 11 1 .PRLO.scaler HMS PRLO
 variable 12 11 2 .PRLO.scalerRate HMS PRLO
-variable 11 22 1 .Empty_49.scaler Empty
-variable 11 22 2 .Empty_49.scalerRate Empty
-variable 11 9 1 .Empty_48.scaler Empty
-variable 11 9 2 .Empty_48.scalerRate Empty
-variable 10 30 1 .Empty_43.scaler Empty
-variable 10 30 2 .Empty_43.scalerRate Empty
-variable 10 29 1 .Empty_42.scaler Empty
-variable 10 29 2 .Empty_42.scalerRate Empty
-variable 10 28 1 .Empty_41.scaler Empty
-variable 10 28 2 .Empty_41.scalerRate Empty
-variable 10 27 1 .Empty_40.scaler Empty
-variable 10 27 2 .Empty_40.scalerRate Empty
-variable 11 8 1 .Empty_47.scaler Empty
-variable 11 8 2 .Empty_47.scalerRate Empty
-variable 11 7 1 .Empty_46.scaler Empty
-variable 11 7 2 .Empty_46.scalerRate Empty
+variable 11 23 1 .Empty_49.scaler Empty
+variable 11 23 2 .Empty_49.scalerRate Empty
+variable 11 22 1 .Empty_48.scaler Empty
+variable 11 22 2 .Empty_48.scalerRate Empty
+variable 10 31 1 .Empty_43.scaler Empty
+variable 10 31 2 .Empty_43.scalerRate Empty
+variable 10 30 1 .Empty_42.scaler Empty
+variable 10 30 2 .Empty_42.scalerRate Empty
+variable 10 29 1 .Empty_41.scaler Empty
+variable 10 29 2 .Empty_41.scalerRate Empty
+variable 10 28 1 .Empty_40.scaler Empty
+variable 10 28 2 .Empty_40.scalerRate Empty
+variable 11 9 1 .Empty_47.scaler Empty
+variable 11 9 2 .Empty_47.scalerRate Empty
+variable 11 8 1 .Empty_46.scaler Empty
+variable 11 8 2 .Empty_46.scalerRate Empty
 variable 12 8 1 .BSUM.scaler HMS BSUM
 variable 12 8 2 .BSUM.scalerRate HMS BSUM
-variable 10 31 1 .Empty_44.scaler Empty
-variable 10 31 2 .Empty_44.scalerRate Empty
+variable 11 6 1 .Empty_44.scaler Empty
+variable 11 6 2 .Empty_44.scalerRate Empty
 variable 6 1 1 .hod.1x3.posScaler HMS 1X+ paddle 3
 variable 6 1 2 .hod.1x3.posScalerRate HMS 1X+ paddle 3
 variable 6 17 1 .hod.1x3.negScaler HMS 1X- paddle 3
diff --git a/MAPS/SCALERS/db_PScalevt.dat b/MAPS/SCALERS/db_PScalevt.dat
index 008a657070a43d351cc87795c87d4926be8eeb36..4cdd625b603802b4f7ae82bfd6ee03f5e71fd1bc 100644
--- a/MAPS/SCALERS/db_PScalevt.dat
+++ b/MAPS/SCALERS/db_PScalevt.dat
@@ -10,10 +10,6 @@ map 3801 8 14 03800e20 ffffffff 13
 map 3801 8 15 03a00f20 ffffffff 13
 variable 12 24 1 .hSTOF.scaler HMS STOF
 variable 12 24 2 .hSTOF.scalerRate HMS STOF
-variable 15 1 1 .Empty_90.scaler Empty
-variable 15 1 2 .Empty_90.scalerRate Empty
-variable 14 16 1 .pTRIG1_posHel.scaler SHMS TRIG1 Hel+
-variable 14 16 2 .pTRIG1_posHel.scalerRate SHMS TRIG1 Hel+
 variable 9 31 1 .hod.2y16.posScaler SHMS 2y+ paddle 16
 variable 9 31 2 .hod.2y16.posScalerRate SHMS 2y+ paddle 16
 variable 9 15 1 .hod.2y16.negScaler SHMS 2y- paddle 16
@@ -26,52 +22,46 @@ variable 13 11 1 .PRLO.scaler SHMS PRLO
 variable 13 11 2 .PRLO.scalerRate SHMS PRLO
 variable 13 10 1 .EDTM.scaler SHMS EDTM
 variable 13 10 2 .EDTM.scalerRate SHMS EDTM
-variable 13 23 1 .Empty_76.scaler Empty
-variable 13 23 2 .Empty_76.scalerRate Empty
+variable 13 24 1 .Empty_76.scaler Empty
+variable 13 24 2 .Empty_76.scalerRate Empty
 variable 6 23 1 .hod.1x8.negScaler SHMS 1X- paddle 8
 variable 6 23 2 .hod.1x8.negScalerRate SHMS 1X- paddle 8
 variable 6 7 1 .hod.1x8.posScaler SHMS 1X+ paddle 8
 variable 6 7 2 .hod.1x8.posScalerRate SHMS 1X+ paddle 8
 variable 13 4 1 .S1XS1Y.scaler SHMS S1T
 variable 13 4 2 .S1XS1Y.scalerRate SHMS S1T
-variable 13 22 1 .Empty_75.scaler Empty
-variable 13 22 2 .Empty_75.scalerRate Empty
+variable 13 23 1 .Empty_75.scaler Empty
+variable 13 23 2 .Empty_75.scalerRate Empty
 variable 6 1 1 .hod.1x3.posScaler SHMS 1X+ paddle 3
 variable 6 1 2 .hod.1x3.posScalerRate SHMS 1X+ paddle 3
 variable 6 17 1 .hod.1x3.negScaler SHMS 1X- paddle 3
 variable 6 17 2 .hod.1x3.negScalerRate SHMS 1X- paddle 3
-variable 15 16 1 .pTRIG1_negHel.scaler SHMS TRIG1 Hel-
-variable 15 16 2 .pTRIG1_negHel.scalerRate SHMS TRIG1 Hel-
-variable 13 16 1 .Empty_69.scaler Empty
-variable 13 16 2 .Empty_69.scalerRate Empty
-variable 13 15 1 .Empty_68.scaler Empty
-variable 13 15 2 .Empty_68.scalerRate Empty
+variable 13 17 1 .Empty_69.scaler Empty
+variable 13 17 2 .Empty_69.scalerRate Empty
+variable 13 16 1 .Empty_68.scaler Empty
+variable 13 16 2 .Empty_68.scalerRate Empty
 variable 12 25 1 .hEL_LO_LO.scaler HMS EL_LO_LO
 variable 12 25 2 .hEL_LO_LO.scalerRate HMS EL_LO_LO
-variable 12 31 1 .Empty_65.scaler Empty
-variable 12 31 2 .Empty_65.scalerRate Empty
-variable 12 30 1 .Empty_64.scaler Empty
-variable 12 30 2 .Empty_64.scalerRate Empty
-variable 13 14 1 .Empty_67.scaler Empty
-variable 13 14 2 .Empty_67.scalerRate Empty
+variable 13 13 1 .Empty_65.scaler Empty
+variable 13 13 2 .Empty_65.scalerRate Empty
+variable 12 31 1 .Empty_64.scaler Empty
+variable 12 31 2 .Empty_64.scalerRate Empty
+variable 13 15 1 .Empty_67.scaler Empty
+variable 13 15 2 .Empty_67.scalerRate Empty
 variable 10 1 1 .hod.2y19.negScaler SHMS 2y- paddle 19
 variable 10 1 2 .hod.2y19.negScalerRate SHMS 2y- paddle 19
-variable 12 9 1 .Empty_61.scaler Empty
-variable 12 9 2 .Empty_61.scalerRate Empty
+variable 12 22 1 .Empty_61.scaler Empty
+variable 12 22 2 .Empty_61.scalerRate Empty
 variable 10 17 1 .hod.2y19.posScaler SHMS 2y+ paddle 19
 variable 10 17 2 .hod.2y19.posScalerRate SHMS 2y+ paddle 19
-variable 12 23 1 .Empty_63.scaler Empty
-variable 12 23 2 .Empty_63.scalerRate Empty
-variable 12 22 1 .Empty_62.scaler Empty
-variable 12 22 2 .Empty_62.scalerRate Empty
-variable 15 12 1 .pBCM4C_negHel.scaler SHMS BCM4C Hel-
-variable 15 12 2 .pBCM4C_negHel.scalerRate SHMS BCM4C Hel-
+variable 12 30 1 .Empty_63.scaler Empty
+variable 12 30 2 .Empty_63.scalerRate Empty
+variable 12 23 1 .Empty_62.scaler Empty
+variable 12 23 2 .Empty_62.scalerRate Empty
 variable 9 19 1 .hod.2y7.posScaler SHMS 2y+ paddle 7
 variable 9 19 2 .hod.2y7.posScalerRate SHMS 2y+ paddle 7
 variable 9 3 1 .hod.2y7.negScaler SHMS 2y- paddle 7
 variable 9 3 2 .hod.2y7.negScalerRate SHMS 2y- paddle 7
-variable 15 13 1 .Empty_96.scaler Empty
-variable 15 13 2 .Empty_96.scalerRate Empty
 variable 6 12 1 .hod.1x10.posScaler SHMS 1X+ paddle 10
 variable 6 12 2 .hod.1x10.posScalerRate SHMS 1X+ paddle 10
 variable 6 28 1 .hod.1x10.negScaler SHMS 1X- paddle 10
@@ -88,27 +78,17 @@ variable 8 29 1 .hod.2x12.negScaler SHMS 2X- paddle 12
 variable 8 29 2 .hod.2x12.negScalerRate SHMS 2X- paddle 12
 variable 8 13 1 .hod.2x12.posScaler SHMS 2X+ paddle 12
 variable 8 13 2 .hod.2x12.posScalerRate SHMS 2X+ paddle 12
-variable 15 25 1 .Empty_101.scaler Empty
-variable 15 25 2 .Empty_101.scalerRate Empty
-variable 15 24 1 .Empty_100.scaler Empty
-variable 15 24 2 .Empty_100.scalerRate Empty
 variable 11 6 1 .EDTM_CP.scaler EDTM Copy
 variable 11 6 2 .EDTM_CP.scalerRate EDTM Copy
-variable 15 15 1 .pL1ACCP_negHel.scaler SHMS L1 Accept Hel-
-variable 15 15 2 .pL1ACCP_negHel.scalerRate SHMS L1 Accept Hel-
 variable 13 31 1 .1MHz.scaler 1MHz
 variable 13 31 2 .1MHz.scalerRate 1MHz
 variable 13 31 5 .1MHz.scalerTime 1MHz
 variable 9 29 1 .hod.2y12.posScaler SHMS 2y+ paddle 12
 variable 9 29 2 .hod.2y12.posScalerRate SHMS 2y+ paddle 12
-variable 15 18 1 .pTRIG3_negHel.scaler SHMS TRIG3 Hel-
-variable 15 18 2 .pTRIG3_negHel.scalerRate SHMS TRIG3 Hel-
 variable 8 8 1 .hod.2x9.posScaler SHMS 2X+ paddle 9
 variable 8 8 2 .hod.2x9.posScalerRate SHMS 2X+ paddle 9
 variable 8 24 1 .hod.2x9.negScaler SHMS 2X- paddle 9
 variable 8 24 2 .hod.2x9.negScalerRate SHMS 2X- paddle 9
-variable 14 14 1 .Empty_85.scaler Empty
-variable 14 14 2 .Empty_85.scalerRate Empty
 variable 13 28 1 .BCM2.scaler BCM2
 variable 13 28 2 .BCM2.scalerRate BCM2
 variable 13 28 3 .BCM2.scalerCurrent BCM2
@@ -139,8 +119,6 @@ variable 7 26 1 .hod.1y13.posScaler SHMS 1Y+ paddle 13
 variable 7 26 2 .hod.1y13.posScalerRate SHMS 1Y+ paddle 13
 variable 13 12 1 .PRHI.scaler SHMS PRHI
 variable 13 12 2 .PRHI.scalerRate SHMS PRHI
-variable 14 28 1 .hTRIG3_posHel.scaler HMS TRIG3 Hel+
-variable 14 28 2 .hTRIG3_posHel.scalerRate HMS TRIG3 Hel+
 variable 7 3 1 .hod.1y7.negScaler SHMS 1Y- paddle 7
 variable 7 3 2 .hod.1y7.negScalerRate SHMS 1Y- paddle 7
 variable 7 19 1 .hod.1y7.posScaler SHMS 1Y+ paddle 7
@@ -149,22 +127,6 @@ variable 6 19 1 .hod.1x7.negScaler SHMS 1X- paddle 7
 variable 6 19 2 .hod.1x7.negScalerRate SHMS 1X- paddle 7
 variable 6 3 1 .hod.1x7.posScaler SHMS 1X+ paddle 7
 variable 6 3 2 .hod.1x7.posScalerRate SHMS 1X+ paddle 7
-variable 14 15 1 .pL1ACCP_posHel.scaler SHMS L1 Accept Hel+
-variable 14 15 2 .pL1ACCP_posHel.scalerRate SHMS L1 Accept Hel+
-variable 14 25 1 .Empty_89.scaler Empty
-variable 14 25 2 .Empty_89.scalerRate Empty
-variable 14 23 1 .Empty_87.scaler Empty
-variable 14 23 2 .Empty_87.scalerRate Empty
-variable 14 11 1 .Empty_83.scaler Empty
-variable 14 11 2 .Empty_83.scalerRate Empty
-variable 14 9 1 .Empty_82.scaler Empty
-variable 14 9 2 .Empty_82.scalerRate Empty
-variable 14 7 1 .Empty_81.scaler Empty
-variable 14 7 2 .Empty_81.scalerRate Empty
-variable 14 5 1 .Empty_80.scaler Empty
-variable 14 5 2 .Empty_80.scalerRate Empty
-variable 14 13 1 .Empty_84.scaler Empty
-variable 14 13 2 .Empty_84.scalerRate Empty
 variable 6 11 1 .Empty.scaler Empty
 variable 6 11 2 .Empty.scalerRate Empty
 variable 11 17 1 .pEDTM_V2.scaler SHMS EDTM V2
@@ -189,20 +151,12 @@ variable 9 1 1 .hod.2y3.negScaler SHMS 2y- paddle 3
 variable 9 1 2 .hod.2y3.negScalerRate SHMS 2y- paddle 3
 variable 9 17 1 .hod.2y3.posScaler SHMS 2y+ paddle 3
 variable 9 17 2 .hod.2y3.posScalerRate SHMS 2y+ paddle 3
-variable 14 10 1 .pBCM4A_posHel.scaler SHMS BCM4A Hel+
-variable 14 10 2 .pBCM4A_posHel.scalerRate SHMS BCM4A Hel+
 variable 11 2 1 .pPRE150.scaler SHMS PRE150
 variable 11 2 2 .pPRE150.scalerRate SHMS PRE150
-variable 15 31 1 .hTRIG6_negHel.scaler HMS TRIG6 Hel-
-variable 15 31 2 .hTRIG6_negHel.scalerRate HMS TRIG6 Hel-
 variable 11 10 1 .hPRE150.scaler HMS PRE150
 variable 11 10 2 .hPRE150.scalerRate HMS PRE150
 variable 6 15 1 .Empty_3.scaler Empty
 variable 6 15 2 .Empty_3.scalerRate Empty
-variable 15 26 1 .hTRIG1_negHel.scaler HMS TRIG1 Hel-
-variable 15 26 2 .hTRIG1_negHel.scalerRate HMS TRIG1 Hel-
-variable 14 0 1 .pBCM1_posHel.scaler SHMS BCM1 Hel+
-variable 14 0 2 .pBCM1_posHel.scalerRate SHMS BCM1 Hel+
 variable 9 9 1 .hod.2y11.negScaler SHMS 2y- paddle 11
 variable 9 9 2 .hod.2y11.negScalerRate SHMS 2y- paddle 11
 variable 9 25 1 .hod.2y11.posScaler SHMS 2y+ paddle 11
@@ -211,14 +165,10 @@ variable 7 27 1 .Empty_7.scaler Empty
 variable 7 27 2 .Empty_7.scalerRate Empty
 variable 8 28 1 .hod.2x10.negScaler SHMS 2X- paddle 10
 variable 8 28 2 .hod.2x10.negScalerRate SHMS 2X- paddle 10
-variable 14 19 1 .pTRIG4_posHel.scaler SHMS TRIG4 Hel+
-variable 14 19 2 .pTRIG4_posHel.scalerRate SHMS TRIG4 Hel+
 variable 7 17 1 .hod.1y3.posScaler SHMS 1Y+ paddle 3
 variable 7 17 2 .hod.1y3.posScalerRate SHMS 1Y+ paddle 3
 variable 7 1 1 .hod.1y3.negScaler SHMS 1Y- paddle 3
 variable 7 1 2 .hod.1y3.negScalerRate SHMS 1Y- paddle 3
-variable 14 29 1 .hTRIG4_posHel.scaler HMS TRIG4 Hel+
-variable 14 29 2 .hTRIG4_posHel.scalerRate HMS TRIG4 Hel+
 variable 7 12 1 .hod.1y10.negScaler SHMS 1Y- paddle 10
 variable 7 12 2 .hod.1y10.negScalerRate SHMS 1Y- paddle 10
 variable 7 28 1 .hod.1y10.posScaler SHMS 1Y+ paddle 10
@@ -229,22 +179,16 @@ variable 6 24 1 .hod.1x9.negScaler SHMS 1X- paddle 9
 variable 6 24 2 .hod.1x9.negScalerRate SHMS 1X- paddle 9
 variable 11 7 1 .pTRIG1_CP.scaler SHMS pTRIG1 Copy
 variable 11 7 2 .pTRIG1_CP.scalerRate SHMS pTRIG1 Copy
-variable 14 1 1 .Empty_78.scaler Empty
-variable 14 1 2 .Empty_78.scalerRate Empty
-variable 14 3 1 .Empty_79.scaler Empty
-variable 14 3 2 .Empty_79.scalerRate Empty
 variable 10 4 1 .hod.2y18.negScaler SHMS 2y- paddle 18
 variable 10 4 2 .hod.2y18.negScalerRate SHMS 2y- paddle 18
-variable 13 24 1 .Empty_77.scaler Empty
-variable 13 24 2 .Empty_77.scalerRate Empty
-variable 13 21 1 .Empty_74.scaler Empty
-variable 13 21 2 .Empty_74.scalerRate Empty
+variable 13 22 1 .Empty_74.scaler Empty
+variable 13 22 2 .Empty_74.scalerRate Empty
 variable 12 20 1 .pEL_REAL.scaler SHMS EL_REAL
 variable 12 20 2 .pEL_REAL.scalerRate SHMS EL_REAL
-variable 13 19 1 .Empty_72.scaler Empty
-variable 13 19 2 .Empty_72.scalerRate Empty
-variable 13 20 1 .Empty_73.scaler Empty
-variable 13 20 2 .Empty_73.scalerRate Empty
+variable 13 20 1 .Empty_72.scaler Empty
+variable 13 20 2 .Empty_72.scalerRate Empty
+variable 13 21 1 .Empty_73.scaler Empty
+variable 13 21 2 .Empty_73.scalerRate Empty
 variable 10 20 1 .hod.2y18.posScaler SHMS 2y+ paddle 18
 variable 10 20 2 .hod.2y18.posScalerRate SHMS 2y+ paddle 18
 variable 12 11 1 .hTRIG2.scaler HMS  TRIG2
@@ -253,38 +197,26 @@ variable 13 3 1 .S2Y.scaler SHMS S2Y
 variable 13 3 2 .S2Y.scalerRate SHMS S2Y
 variable 13 2 1 .S2X.scaler SHMS S2X
 variable 13 2 2 .S2X.scalerRate SHMS S2X
-variable 14 21 1 .pTRIG6_posHel.scaler SHMS TRIG6 Hel+
-variable 14 21 2 .pTRIG6_posHel.scalerRate SHMS TRIG6 Hel+
 variable 9 5 1 .hod.2y4.negScaler SHMS 2y- paddle 4
 variable 9 5 2 .hod.2y4.negScalerRate SHMS 2y- paddle 4
 variable 9 21 1 .hod.2y4.posScaler SHMS 2y+ paddle 4
 variable 9 21 2 .hod.2y4.posScalerRate SHMS 2y+ paddle 4
-variable 13 13 1 .Empty_66.scaler Empty
-variable 13 13 2 .Empty_66.scalerRate Empty
-variable 15 20 1 .pTRIG5_negHel.scaler SHMS TRIG5 Hel-
-variable 15 20 2 .pTRIG5_negHel.scalerRate SHMS TRIG5 Hel-
-variable 12 8 1 .Empty_60.scaler Empty
-variable 12 8 2 .Empty_60.scalerRate Empty
-variable 14 26 1 .hTRIG1_posHel.scaler HMS TRIG1 Hel+
-variable 14 26 2 .hTRIG1_posHel.scalerRate HMS TRIG1 Hel+
+variable 13 14 1 .Empty_66.scaler Empty
+variable 13 14 2 .Empty_66.scalerRate Empty
+variable 12 9 1 .Empty_60.scaler Empty
+variable 12 9 2 .Empty_60.scalerRate Empty
 variable 6 26 1 .hod.1x13.negScaler SHMS 1X- paddle 13
 variable 6 26 2 .hod.1x13.negScalerRate SHMS 1X- paddle 13
 variable 6 10 1 .hod.1x13.posScaler SHMS 1X+ paddle 13
 variable 6 10 2 .hod.1x13.posScalerRate SHMS 1X+ paddle 13
-variable 15 28 1 .hTRIG3_negHel.scaler HMS TRIG3 Hel-
-variable 15 28 2 .hTRIG3_negHel.scalerRate HMS TRIG3 Hel-
-variable 11 28 1 .Empty_54.scaler Empty
-variable 11 28 2 .Empty_54.scalerRate Empty
+variable 11 15 1 .HAModStat.scaler Hall A Modulation Status
+variable 11 15 2 .HAModStat.scalerRate Hall A Modulation Status
+variable 11 29 1 .Empty_54.scaler Empty
+variable 11 29 2 .Empty_54.scalerRate Empty
 variable 8 10 1 .hod.2x13.posScaler SHMS 2X+ paddle 13
 variable 8 10 2 .hod.2x13.posScalerRate SHMS 2X+ paddle 13
-variable 14 6 1 .pUnser_posHel.scaler SHMS Unser Hel+
-variable 14 6 2 .pUnser_posHel.scalerRate SHMS Unser Hel+
-variable 14 24 1 .Empty_88.scaler Empty
-variable 14 24 2 .Empty_88.scalerRate Empty
-variable 11 26 1 .Empty_52.scaler Empty
-variable 11 26 2 .Empty_52.scalerRate Empty
-variable 14 8 1 .p1MHz_posHel.scaler SHMS 1MHz Hel+
-variable 14 8 2 .p1MHz_posHel.scalerRate SHMS 1MHz Hel+
+variable 11 27 1 .Empty_52.scaler Empty
+variable 11 27 2 .Empty_52.scalerRate Empty
 variable 8 17 1 .hod.2x3.negScaler SHMS 2X- paddle 3
 variable 8 17 2 .hod.2x3.negScalerRate SHMS 2X- paddle 3
 variable 13 26 1 .BCM4C.scaler BCM4C
@@ -293,16 +225,8 @@ variable 13 26 3 .BCM4C.scalerCurrent BCM4C
 variable 13 26 4 .BCM4C.scalerCharge BCM4C
 variable 8 1 1 .hod.2x3.posScaler SHMS 2X+ paddle 3
 variable 8 1 2 .hod.2x3.posScalerRate SHMS 2X+ paddle 3
-variable 15 6 1 .pUnser_negHel.scaler SHMS Unser Hel-
-variable 15 6 2 .pUnser_negHel.scalerRate SHMS Unser Hel-
 variable 8 7 1 .hod.2x8.posScaler SHMS 2X+ paddle 8
 variable 8 7 2 .hod.2x8.posScalerRate SHMS 2X+ paddle 8
-variable 15 10 1 .pBCM4A_negHel.scaler SHMS BCM4A Hel-
-variable 15 10 2 .pBCM4A_negHel.scalerRate SHMS BCM4A Hel-
-variable 14 22 1 .Empty_86.scaler Empty
-variable 14 22 2 .Empty_86.scalerRate Empty
-variable 15 19 1 .pTRIG4_negHel.scaler SHMS TRIG4 Hel-
-variable 15 19 2 .pTRIG4_negHel.scalerRate SHMS TRIG4 Hel-
 variable 9 30 1 .hod.2y14.posScaler SHMS 2y+ paddle 14
 variable 9 30 2 .hod.2y14.posScalerRate SHMS 2y+ paddle 14
 variable 12 19 1 .pEL_HI.scaler SHMS EL_HI
@@ -317,8 +241,6 @@ variable 13 8 1 .HCER.scaler SHMS HGC
 variable 13 8 2 .HCER.scalerRate SHMS HGC
 variable 7 24 1 .hod.1y9.posScaler SHMS 1Y+ paddle 9
 variable 7 24 2 .hod.1y9.posScalerRate SHMS 1Y+ paddle 9
-variable 15 27 1 .hTRIG2_negHel.scaler HMS TRIG2 Hel-
-variable 15 27 2 .hTRIG2_negHel.scalerRate HMS TRIG2 Hel-
 variable 7 22 1 .hod.1y6.posScaler SHMS 1Y+ paddle 6
 variable 7 22 2 .hod.1y6.posScalerRate SHMS 1Y+ paddle 6
 variable 7 6 1 .hod.1y6.negScaler SHMS 1Y- paddle 6
@@ -327,24 +249,6 @@ variable 6 5 1 .hod.1x4.posScaler SHMS 1X+ paddle 4
 variable 6 5 2 .hod.1x4.posScalerRate SHMS 1X+ paddle 4
 variable 6 21 1 .hod.1x4.negScaler SHMS 1X- paddle 4
 variable 6 21 2 .hod.1x4.negScalerRate SHMS 1X- paddle 4
-variable 15 3 1 .Empty_91.scaler Empty
-variable 15 3 2 .Empty_91.scalerRate Empty
-variable 15 5 1 .Empty_92.scaler Empty
-variable 15 5 2 .Empty_92.scalerRate Empty
-variable 15 7 1 .Empty_93.scaler Empty
-variable 15 7 2 .Empty_93.scalerRate Empty
-variable 15 9 1 .Empty_94.scaler Empty
-variable 15 9 2 .Empty_94.scalerRate Empty
-variable 15 11 1 .Empty_95.scaler Empty
-variable 15 11 2 .Empty_95.scalerRate Empty
-variable 15 14 1 .Empty_97.scaler Empty
-variable 15 14 2 .Empty_97.scalerRate Empty
-variable 15 22 1 .Empty_98.scaler Empty
-variable 15 22 2 .Empty_98.scalerRate Empty
-variable 15 23 1 .Empty_99.scaler Empty
-variable 15 23 2 .Empty_99.scalerRate Empty
-variable 15 0 1 .pBCM1_negHel.scaler SHMS BCM1 Hel-
-variable 15 0 2 .pBCM1_negHel.scalerRate SHMS BCM1 Hel-
 variable 12 21 1 .pEL_CLEAN.scaler SHMS EL_CLEAN
 variable 12 21 2 .pEL_CLEAN.scalerRate SHMS EL_CLEAN
 variable 13 30 1 .Unser.scaler Unser
@@ -357,8 +261,6 @@ variable 9 24 1 .hod.2y9.posScaler SHMS 2y+ paddle 9
 variable 9 24 2 .hod.2y9.posScalerRate SHMS 2y+ paddle 9
 variable 13 6 1 .pTREF3.scaler SHMS TREF3
 variable 13 6 2 .pTREF3.scalerRate SHMS TREF3
-variable 14 17 1 .pTRIG2_posHel.scaler SHMS TRIG2 Hel+
-variable 14 17 2 .pTRIG2_posHel.scalerRate SHMS TRIG2 Hel+
 variable 13 7 1 .AERO.scaler SHMS AERO
 variable 13 7 2 .AERO.scalerRate SHMS AERO
 variable 10 5 1 .hod.2y20.negScaler SHMS 2y- paddle 20
@@ -379,8 +281,6 @@ variable 6 27 1 .Empty_4.scaler Empty
 variable 6 27 2 .Empty_4.scalerRate Empty
 variable 6 29 1 .Empty_5.scaler Empty
 variable 6 29 2 .Empty_5.scalerRate Empty
-variable 14 27 1 .hTRIG2_posHel.scaler HMS TRIG2 Hel+
-variable 14 27 2 .hTRIG2_posHel.scalerRate HMS TRIG2 Hel+
 variable 7 30 1 .Empty_8.scaler Empty
 variable 7 30 2 .Empty_8.scalerRate Empty
 variable 7 31 1 .Empty_9.scaler Empty
@@ -401,8 +301,8 @@ variable 9 28 1 .hod.2y10.posScaler SHMS 2y+ paddle 10
 variable 9 28 2 .hod.2y10.posScalerRate SHMS 2y+ paddle 10
 variable 8 23 1 .hod.2x8.negScaler SHMS 2X- paddle 8
 variable 8 23 2 .hod.2x8.negScalerRate SHMS 2X- paddle 8
-variable 13 17 1 .Empty_70.scaler Empty
-variable 13 17 2 .Empty_70.scalerRate Empty
+variable 13 18 1 .Empty_70.scaler Empty
+variable 13 18 2 .Empty_70.scalerRate Empty
 variable 8 3 1 .hod.2x7.posScaler SHMS 2X+ paddle 7
 variable 8 3 2 .hod.2x7.posScalerRate SHMS 2X+ paddle 7
 variable 12 18 1 .pEL_LO.scaler SHMS EL_LO
@@ -413,8 +313,8 @@ variable 8 5 1 .hod.2x4.posScaler SHMS 2X+ paddle 4
 variable 8 5 2 .hod.2x4.posScalerRate SHMS 2X+ paddle 4
 variable 7 4 1 .hod.1y2.negScaler SHMS 1Y- paddle 2
 variable 7 4 2 .hod.1y2.negScalerRate SHMS 1Y- paddle 2
-variable 13 18 1 .Empty_71.scaler Empty
-variable 13 18 2 .Empty_71.scalerRate Empty
+variable 13 19 1 .Empty_71.scaler Empty
+variable 13 19 2 .Empty_71.scalerRate Empty
 variable 7 20 1 .hod.1y2.posScaler SHMS 1Y+ paddle 2
 variable 7 20 2 .hod.1y2.posScalerRate SHMS 1Y+ paddle 2
 variable 7 9 1 .hod.1y11.negScaler SHMS 1Y- paddle 11
@@ -425,30 +325,26 @@ variable 7 18 1 .hod.1y5.posScaler SHMS 1Y+ paddle 5
 variable 7 18 2 .hod.1y5.posScalerRate SHMS 1Y+ paddle 5
 variable 7 2 1 .hod.1y5.negScaler SHMS 1Y- paddle 5
 variable 7 2 2 .hod.1y5.negScalerRate SHMS 1Y- paddle 5
-variable 11 15 1 .Empty_43.scaler Empty
-variable 11 15 2 .Empty_43.scalerRate Empty
+variable 11 18 1 .Empty_43.scaler Empty
+variable 11 18 2 .Empty_43.scalerRate Empty
 variable 11 14 1 .Empty_42.scaler Empty
 variable 11 14 2 .Empty_42.scalerRate Empty
 variable 11 13 1 .Empty_41.scaler Empty
 variable 11 13 2 .Empty_41.scalerRate Empty
 variable 6 0 1 .hod.1x1.posScaler SHMS 1X+ paddle 1
 variable 6 0 2 .hod.1x1.posScalerRate SHMS 1X+ paddle 1
-variable 11 21 1 .Empty_47.scaler Empty
-variable 11 21 2 .Empty_47.scalerRate Empty
+variable 11 22 1 .Empty_47.scaler Empty
+variable 11 22 2 .Empty_47.scalerRate Empty
 variable 6 16 1 .hod.1x1.negScaler SHMS 1X- paddle 1
 variable 6 16 2 .hod.1x1.negScalerRate SHMS 1X- paddle 1
-variable 11 19 1 .Empty_45.scaler Empty
-variable 11 19 2 .Empty_45.scalerRate Empty
-variable 11 18 1 .Empty_44.scaler Empty
-variable 11 18 2 .Empty_44.scalerRate Empty
-variable 15 17 1 .pTRIG2_negHel.scaler SHMS TRIG2 Hel-
-variable 15 17 2 .pTRIG2_negHel.scalerRate SHMS TRIG2 Hel-
-variable 11 23 1 .Empty_49.scaler Empty
-variable 11 23 2 .Empty_49.scalerRate Empty
-variable 11 22 1 .Empty_48.scaler Empty
-variable 11 22 2 .Empty_48.scalerRate Empty
-variable 14 31 1 .hTRIG6_posHel.scaler HMS TRIG6 Hel+
-variable 14 31 2 .hTRIG6_posHel.scalerRate HMS TRIG6 Hel+
+variable 11 20 1 .Empty_45.scaler Empty
+variable 11 20 2 .Empty_45.scalerRate Empty
+variable 11 19 1 .Empty_44.scaler Empty
+variable 11 19 2 .Empty_44.scalerRate Empty
+variable 11 24 1 .Empty_49.scaler Empty
+variable 11 24 2 .Empty_49.scalerRate Empty
+variable 11 23 1 .Empty_48.scaler Empty
+variable 11 23 2 .Empty_48.scalerRate Empty
 variable 12 4 1 .pTRIG5.scaler SHMS TRIG5
 variable 12 4 2 .pTRIG5.scalerRate SHMS TRIG5
 variable 12 3 1 .pTRIG4.scaler SHMS TRIG4
@@ -471,20 +367,16 @@ variable 8 30 1 .hod.2x14.negScaler SHMS 2X- paddle 14
 variable 8 30 2 .hod.2x14.negScalerRate SHMS 2X- paddle 14
 variable 8 14 1 .hod.2x14.posScaler SHMS 2X+ paddle 14
 variable 8 14 2 .hod.2x14.posScalerRate SHMS 2X+ paddle 14
-variable 15 29 1 .hTRIG4_negHel.scaler HMS TRIG4 Hel-
-variable 15 29 2 .hTRIG4_negHel.scalerRate HMS TRIG4 Hel-
 variable 11 8 1 .hPRE40.scaler HMS PRE40
 variable 11 8 2 .hPRE40.scalerRate HMS PRE40
 variable 8 4 1 .hod.2x2.posScaler SHMS 2X+ paddle 2
 variable 8 4 2 .hod.2x2.posScalerRate SHMS 2X+ paddle 2
 variable 8 20 1 .hod.2x2.negScaler SHMS 2X- paddle 2
 variable 8 20 2 .hod.2x2.negScalerRate SHMS 2X- paddle 2
-variable 14 30 1 .hTRIG5_posHel.scaler HMS TRIG5 Hel+
-variable 14 30 2 .hTRIG5_posHel.scalerRate HMS TRIG5 Hel+
 variable 11 12 1 .Empty_40.scaler Empty
 variable 11 12 2 .Empty_40.scalerRate Empty
-variable 11 20 1 .Empty_46.scaler Empty
-variable 11 20 2 .Empty_46.scalerRate Empty
+variable 11 21 1 .Empty_46.scaler Empty
+variable 11 21 2 .Empty_46.scalerRate Empty
 variable 10 0 1 .hod.2y17.negScaler SHMS 2y- paddle 17
 variable 10 0 2 .hod.2y17.negScalerRate SHMS 2y- paddle 17
 variable 10 16 1 .hod.2y17.posScaler SHMS 2y+ paddle 17
@@ -495,8 +387,6 @@ variable 11 1 1 .pPRE100.scaler SHMS PRE100
 variable 11 1 2 .pPRE100.scalerRate SHMS PRE100
 variable 7 23 1 .hod.1y8.posScaler SHMS 1Y+ paddle 8
 variable 7 23 2 .hod.1y8.posScalerRate SHMS 1Y+ paddle 8
-variable 15 2 1 .pBCM2_negHel.scaler SHMS BCM2 Hel-
-variable 15 2 2 .pBCM2_negHel.scalerRate SHMS BCM2 Hel-
 variable 7 0 1 .hod.1y1.negScaler SHMS 1Y- paddle 1
 variable 7 0 2 .hod.1y1.negScalerRate SHMS 1Y- paddle 1
 variable 7 16 1 .hod.1y1.posScaler SHMS 1Y+ paddle 1
@@ -505,10 +395,6 @@ variable 6 18 1 .hod.1x5.negScaler SHMS 1X- paddle 5
 variable 6 18 2 .hod.1x5.negScalerRate SHMS 1X- paddle 5
 variable 6 2 1 .hod.1x5.posScaler SHMS 1X+ paddle 5
 variable 6 2 2 .hod.1x5.posScalerRate SHMS 1X+ paddle 5
-variable 15 4 1 .pBCM4B_negHel.scaler SHMS BCM4B Hel-
-variable 15 4 2 .pBCM4B_negHel.scalerRate SHMS BCM4B Hel-
-variable 15 30 1 .hTRIG5_negHel.scaler HMS TRIG5 Hel-
-variable 15 30 2 .hTRIG5_negHel.scalerRate HMS TRIG5 Hel-
 variable 11 0 1 .pPRE40.scaler SHMS PRE40
 variable 11 0 2 .pPRE40.scalerRate SHMS PRE40
 variable 6 4 1 .hod.1x2.posScaler SHMS 1X+ paddle 2
@@ -533,16 +419,12 @@ variable 8 31 1 .Empty_16.scaler Empty
 variable 8 31 2 .Empty_16.scalerRate Empty
 variable 10 19 1 .Empty_17.scaler Empty
 variable 10 19 2 .Empty_17.scalerRate Empty
-variable 14 12 1 .pBCM4C_posHel.scaler SHMS BCM4C Hel+
-variable 14 12 2 .pBCM4C_posHel.scalerRate SHMS BCM4C Hel+
 variable 9 22 1 .hod.2y6.posScaler SHMS 2y+ paddle 6
 variable 9 22 2 .hod.2y6.posScalerRate SHMS 2y+ paddle 6
 variable 9 6 1 .hod.2y6.negScaler SHMS 2y- paddle 6
 variable 9 6 2 .hod.2y6.negScalerRate SHMS 2y- paddle 6
 variable 9 0 1 .hod.2y1.negScaler SHMS 2y- paddle 1
 variable 9 0 2 .hod.2y1.negScalerRate SHMS 2y- paddle 1
-variable 14 4 1 .pBCM4B_posHel.scaler SHMS BCM4B Hel+
-variable 14 4 2 .pBCM4B_posHel.scalerRate SHMS BCM4B Hel+
 variable 9 16 1 .hod.2y1.posScaler SHMS 2y+ paddle 1
 variable 9 16 2 .hod.2y1.posScalerRate SHMS 2y+ paddle 1
 variable 10 2 1 .hod.2y21.negScaler SHMS 2y- paddle 21
@@ -553,18 +435,12 @@ variable 6 9 1 .hod.1x11.posScaler SHMS 1X+ paddle 11
 variable 6 9 2 .hod.1x11.posScalerRate SHMS 1X+ paddle 11
 variable 6 25 1 .hod.1x11.negScaler SHMS 1X- paddle 11
 variable 6 25 2 .hod.1x11.negScalerRate SHMS 1X- paddle 11
-variable 14 20 1 .pTRIG5_posHel.scaler SHMS TRIG5 Hel+
-variable 14 20 2 .pTRIG5_posHel.scalerRate SHMS TRIG5 Hel+
 variable 9 13 1 .hod.2y12.negScaler SHMS 2y- paddle 12
 variable 9 13 2 .hod.2y12.negScalerRate SHMS 2y- paddle 12
 variable 8 9 1 .hod.2x11.posScaler SHMS 2X+ paddle 11
 variable 8 9 2 .hod.2x11.posScalerRate SHMS 2X+ paddle 11
 variable 8 25 1 .hod.2x11.negScaler SHMS 2X- paddle 11
 variable 8 25 2 .hod.2x11.negScalerRate SHMS 2X- paddle 11
-variable 15 8 1 .p1MHz_negHel.scaler SHMS 1MHz Hel-
-variable 15 8 2 .p1MHz_negHel.scalerRate SHMS 1MHz Hel-
-variable 14 2 1 .pBCM2_posHel.scaler SHMS BCM2 Hel+
-variable 14 2 2 .pBCM2_posHel.scalerRate SHMS BCM2 Hel+
 variable 8 0 1 .hod.2x1.posScaler SHMS 2X+ paddle 1
 variable 8 0 2 .hod.2x1.posScalerRate SHMS 2X+ paddle 1
 variable 8 16 1 .hod.2x1.negScaler SHMS 2X- paddle 1
@@ -584,8 +460,6 @@ variable 11 5 2 .1MHz_CP.scalerRate 1 MHz Copy
 variable 11 5 5 .1MHz_CP.scalerTime 1 MHz Copy
 variable 11 9 1 .hPRE100.scaler HMS PRE100
 variable 11 9 2 .hPRE100.scalerRate HMS PRE100
-variable 14 18 1 .pTRIG3_posHel.scaler SHMS TRIG3 Hel+
-variable 14 18 2 .pTRIG3_posHel.scalerRate SHMS TRIG3 Hel+
 variable 10 25 1 .Empty_21.scaler Empty
 variable 10 25 2 .Empty_21.scalerRate Empty
 variable 10 24 1 .Empty_20.scaler Empty
@@ -620,24 +494,24 @@ variable 7 5 1 .hod.1y4.negScaler SHMS 1Y- paddle 4
 variable 7 5 2 .hod.1y4.negScalerRate SHMS 1Y- paddle 4
 variable 6 22 1 .hod.1x6.negScaler SHMS 1X- paddle 6
 variable 6 22 2 .hod.1x6.negScalerRate SHMS 1X- paddle 6
-variable 11 29 1 .Empty_55.scaler Empty
-variable 11 29 2 .Empty_55.scalerRate Empty
-variable 11 30 1 .Empty_56.scaler Empty
-variable 11 30 2 .Empty_56.scalerRate Empty
-variable 11 31 1 .Empty_57.scaler Empty
-variable 11 31 2 .Empty_57.scalerRate Empty
-variable 11 24 1 .Empty_50.scaler Empty
-variable 11 24 2 .Empty_50.scalerRate Empty
-variable 11 25 1 .Empty_51.scaler Empty
-variable 11 25 2 .Empty_51.scalerRate Empty
+variable 11 30 1 .Empty_55.scaler Empty
+variable 11 30 2 .Empty_55.scalerRate Empty
+variable 11 31 1 .Empty_56.scaler Empty
+variable 11 31 2 .Empty_56.scalerRate Empty
+variable 12 6 1 .Empty_57.scaler Empty
+variable 12 6 2 .Empty_57.scalerRate Empty
+variable 11 25 1 .Empty_50.scaler Empty
+variable 11 25 2 .Empty_50.scalerRate Empty
+variable 11 26 1 .Empty_51.scaler Empty
+variable 11 26 2 .Empty_51.scalerRate Empty
 variable 6 6 1 .hod.1x6.posScaler SHMS 1X+ paddle 6
 variable 6 6 2 .hod.1x6.posScalerRate SHMS 1X+ paddle 6
-variable 11 27 1 .Empty_53.scaler Empty
-variable 11 27 2 .Empty_53.scalerRate Empty
-variable 12 6 1 .Empty_58.scaler Empty
-variable 12 6 2 .Empty_58.scalerRate Empty
-variable 12 7 1 .Empty_59.scaler Empty
-variable 12 7 2 .Empty_59.scalerRate Empty
+variable 11 28 1 .Empty_53.scaler Empty
+variable 11 28 2 .Empty_53.scalerRate Empty
+variable 12 7 1 .Empty_58.scaler Empty
+variable 12 7 2 .Empty_58.scalerRate Empty
+variable 12 8 1 .Empty_59.scaler Empty
+variable 12 8 2 .Empty_59.scalerRate Empty
 variable 11 11 1 .hPRE200.scaler HMS PRE200
 variable 11 11 2 .hPRE200.scalerRate HMS PRE200
 variable 10 9 1 .Empty_32.scaler Empty
@@ -654,8 +528,6 @@ variable 13 9 1 .NCER.scaler SHMS NGC
 variable 13 9 2 .NCER.scalerRate SHMS NGC
 variable 8 26 1 .hod.2x13.negScaler SHMS 2X- paddle 13
 variable 8 26 2 .hod.2x13.negScalerRate SHMS 2X- paddle 13
-variable 15 21 1 .pTRIG6_negHel.scaler SHMS TRIG6 Hel-
-variable 15 21 2 .pTRIG6_negHel.scalerRate SHMS TRIG6 Hel-
 variable 8 18 1 .hod.2x5.negScaler SHMS 2X- paddle 5
 variable 8 18 2 .hod.2x5.negScalerRate SHMS 2X- paddle 5
 variable 8 2 1 .hod.2x5.posScaler SHMS 2X+ paddle 5
diff --git a/MAPS/SCALERS/scaler.map b/MAPS/SCALERS/scaler.map
index d213f341cc32dcedbcf0d5c3052e48b5f2566130..fd88982650b5d2c584330fa196f33cbd9725abc4 100755
--- a/MAPS/SCALERS/scaler.map
+++ b/MAPS/SCALERS/scaler.map
@@ -31,9 +31,9 @@ xscaler-clock HMS slot:7 chan:1 rate:60
 
 # Setup for Hall C testing SHMS hodoscopes, etc.
 
-xscaler-tabs     SHMS 0:1X      1:1Y      2:2X      3:2Y      4:Trigger   5:Trigger   6:Trigger   7:Helicity+   8:Helicity-
-xscaler-layout   SHMS 0:8x4     1:8x4     2:8x4     3:8x4     4:8x4       5:8x4       6:8x4       7:8x4         8:8x4
-xscaler-pageslot SHMS 0:page0   1:page1   2:page2   3:page3   4:slot7     5:slot6     6:slot5     7:slot8       8:slot9
+xscaler-tabs     SHMS 0:1X      1:1Y      2:2X      3:2Y      4:Trigger   5:Trigger   6:Trigger
+xscaler-layout   SHMS 0:8x4     1:8x4     2:8x4     3:8x4     4:8x4       5:8x4       6:8x4
+xscaler-pageslot SHMS 0:page0   1:page1   2:page2   3:page3   4:slot7     5:slot6     6:slot5
 
 xscaler-pagename SHMS 0:'SHMS Hodoscope Plane 1X'
 xscaler-pagename SHMS 1:'SHMS Hodoscope Plane 1Y'
@@ -42,8 +42,6 @@ xscaler-pagename SHMS 3:'SHMS Hodoscope Plane 2Y'
 xscaler-pagename SHMS 4:'SHMS Trigger & Beamline'
 xscaler-pagename SHMS 5:'SHMS Trigger'
 xscaler-pagename SHMS 6:'SHMS Trigger'
-xscaler-pagename SHMS 7:'SHMS Helicity+'
-xscaler-pagename SHMS 8:'SHMS Helicity-'
 
 xscaler-clock SHMS slot:10 chan:1 rate:60
 #####################################################################
@@ -213,7 +211,7 @@ hPRE200      0    4     4    11    1    -1  HMS PRE200
 10/12        0    4     4    12    1    -1  Empty
 10/13        0    4     4    13    1    -1  Empty
 10/14        0    4     4    14    1    -1  Empty
-10/15        0    4     4    15    1    -1  Empty
+HAModStat    0    4     4    15    1    -1  Hall A Modulation Status
 hL1ACCP      0    4     4    16    1    -1  HMS L1 Accept
 10/17        0    4     4    17    1    -1  Empty
 10/18        0    4     4    18    1    -1  Empty
@@ -508,7 +506,7 @@ hPRE200      0    5     5    11    1    -1  HMS PRE200
 11/12        0    5     5    12    1    -1  Empty
 11/13        0    5     5    13    1    -1  Empty
 11/14        0    5     5    14    1    -1  Empty
-11/15        0    5     5    15    1    -1  Empty
+HAModStat    0    5     5    15    1    -1  Hall A Modulation Status
 pL1ACCP      0    5     5    16    1    -1  SHMS L1 Accept
 pEDTM_V2     0    5     5    17    1    -1  SHMS EDTM V2
 11/18        0    5     5    18    1    -1  Empty
@@ -594,73 +592,5 @@ BCM4B        0    5     7    29    1    -1  BCM4B
 Unser        0    5     7    30    1    -1  Unser
 1MHz         0    5     7    31    1    -1  1MHz
 
-# desc        hel crate slot start nchan page long-description
-pBCM1_posHel   0    5     8    0     1    -1  SHMS BCM1 Hel+
-14/01          0    5     8    1     1    -1  Empty
-pBCM2_posHel   0    5     8    2     1    -1  SHMS BCM2 Hel+
-14/03          0    5     8    3     1    -1  Empty
-pBCM4B_posHel  0    5     8    4     1    -1  SHMS BCM4B Hel+
-14/05          0    5     8    5     1    -1  Empty
-pUnser_posHel  0    5     8    6     1    -1  SHMS Unser Hel+
-14/07          0    5     8    7     1    -1  Empty
-p1MHz_posHel   0    5     8    8     1    -1  SHMS 1MHz Hel+
-14/09          0    5     8    9     1    -1  Empty
-pBCM4A_posHel  0    5     8    10    1    -1  SHMS BCM4A Hel+
-14/11          0    5     8    11    1    -1  Empty
-pBCM4C_posHel  0    5     8    12    1    -1  SHMS BCM4C Hel+
-14/13          0    5     8    13    1    -1  Empty
-14/14          0    5     8    14    1    -1  Empty
-pL1ACCP_posHel 0    5     8    15    1    -1  SHMS L1 Accept Hel+
-pTRIG1_posHel  0    5     8    16    1    -1  SHMS TRIG1 Hel+
-pTRIG2_posHel  0    5     8    17    1    -1  SHMS TRIG2 Hel+
-pTRIG3_posHel  0    5     8    18    1    -1  SHMS TRIG3 Hel+
-pTRIG4_posHel  0    5     8    19    1    -1  SHMS TRIG4 Hel+
-pTRIG5_posHel  0    5     8    20    1    -1  SHMS TRIG5 Hel+
-pTRIG6_posHel  0    5     8    21    1    -1  SHMS TRIG6 Hel+
-14/22          0    5     8    22    1    -1  Empty
-14/23          0    5     8    23    1    -1  Empty
-14/24          0    5     8    24    1    -1  Empty
-14/25          0    5     8    25    1    -1  Empty
-hTRIG1_posHel  0    5     8    26    1    -1  HMS TRIG1 Hel+
-hTRIG2_posHel  0    5     8    27    1    -1  HMS TRIG2 Hel+
-hTRIG3_posHel  0    5     8    28    1    -1  HMS TRIG3 Hel+
-hTRIG4_posHel  0    5     8    29    1    -1  HMS TRIG4 Hel+
-hTRIG5_posHel  0    5     8    30    1    -1  HMS TRIG5 Hel+
-hTRIG6_posHel  0    5     8    31    1    -1  HMS TRIG6 Hel+
-
-# desc        hel crate slot start nchan page long-description
-pBCM1_negHel   0    5     9    0     1    -1  SHMS BCM1 Hel-
-15/01          0    5     9    1     1    -1  Empty
-pBCM2_negHel   0    5     9    2     1    -1  SHMS BCM2 Hel-
-15/03          0    5     9    3     1    -1  Empty
-pBCM4B_negHel  0    5     9    4     1    -1  SHMS BCM4B Hel-
-15/05          0    5     9    5     1    -1  Empty
-pUnser_negHel  0    5     9    6     1    -1  SHMS Unser Hel-
-15/07          0    5     9    7     1    -1  Empty
-p1MHz_negHel   0    5     9    8     1    -1  SHMS 1MHz Hel-
-15/09          0    5     9    9     1    -1  Empty
-pBCM4A_negHel  0    5     9    10    1    -1  SHMS BCM4A Hel-
-15/11          0    5     9    11    1    -1  Empty
-pBCM4C_negHel  0    5     9    12    1    -1  SHMS BCM4C Hel-
-15/13          0    5     9    13    1    -1  Empty
-15/14          0    5     9    14    1    -1  Empty
-pL1ACCP_negHel 0    5     9    15    1    -1  SHMS L1 Accept Hel-
-pTRIG1_negHel  0    5     9    16    1    -1  SHMS TRIG1 Hel-
-pTRIG2_negHel  0    5     9    17    1    -1  SHMS TRIG2 Hel-
-pTRIG3_negHel  0    5     9    18    1    -1  SHMS TRIG3 Hel-
-pTRIG4_negHel  0    5     9    19    1    -1  SHMS TRIG4 Hel-
-pTRIG5_negHel  0    5     9    20    1    -1  SHMS TRIG5 Hel-
-pTRIG6_negHel  0    5     9    21    1    -1  SHMS TRIG6 Hel-
-14/22          0    5     9    22    1    -1  Empty
-14/23          0    5     9    23    1    -1  Empty
-14/24          0    5     9    24    1    -1  Empty
-14/25          0    5     9    25    1    -1  Empty
-hTRIG1_negHel  0    5     9    26    1    -1  HMS TRIG1 Hel-
-hTRIG2_negHel  0    5     9    27    1    -1  HMS TRIG2 Hel-
-hTRIG3_negHel  0    5     9    28    1    -1  HMS TRIG3 Hel-
-hTRIG4_negHel  0    5     9    29    1    -1  HMS TRIG4 Hel-
-hTRIG5_negHel  0    5     9    30    1    -1  HMS TRIG5 Hel-
-hTRIG6_negHel  0    5     9    31    1    -1  HMS TRIG6 Hel-
-
 # desc      hel crate slot start nchan page long-description
 clock        0    5     10    1     1    -1  clock
diff --git a/MAPS/SCALERS/scaler_june20_2019.map b/MAPS/SCALERS/scaler_june20_2019.map
new file mode 100755
index 0000000000000000000000000000000000000000..eeeab373a310991a4d055111f276ef677ef367fe
--- /dev/null
+++ b/MAPS/SCALERS/scaler_june20_2019.map
@@ -0,0 +1,666 @@
+# This file: scaler.map
+# Author: Robert Michaels, Jlab
+# Contains time-dependent text-based mapping of scaler channels
+# which permits getting data from THaScaler by names like "bcm_u3".
+# Also contains "directives" that control xscaler
+# For documentation about this file, see
+# http://hallaweb.jlab.org/equipment/daq/THaScaler.html (scroll to "scaler.map"
+# near the end of that web page).
+#
+
+# ------ Jan 4, 2017
+
+DATE 4 1 2017
+
+# Setup for Hall C testing HMS hodoscopes, etc.
+
+xscaler-tabs     HMS 0:1X      1:1Y      2:2X      3:2Y      4:Trigger    5:Trigger    6:Trigger
+xscaler-layout   HMS 0:8x4     1:8x4     2:8x4     3:8x4     4:8x4        5:8x4        6:8x4
+xscaler-pageslot HMS 0:page0   1:page1   2:page2   3:page3   4:slot6      5:slot5      6:slot4
+
+xscaler-pagename HMS 0:'HMS Hodoscope Plane 1X'
+xscaler-pagename HMS 1:'HMS Hodoscope Plane 1Y'
+xscaler-pagename HMS 2:'HMS Hodoscope Plane 2X'
+xscaler-pagename HMS 3:'HMS Hodoscope Plane 2Y'
+xscaler-pagename HMS 4:'HMS Trigger & Beamline'
+xscaler-pagename HMS 5:'HMS Trigger'
+xscaler-pagename HMS 6:'HMS Trigger'
+
+xscaler-clock HMS slot:7 chan:1 rate:60 
+#####################################################################
+
+# Setup for Hall C testing SHMS hodoscopes, etc.
+
+xscaler-tabs     SHMS 0:1X      1:1Y      2:2X      3:2Y      4:Trigger   5:Trigger   6:Trigger   7:Helicity+   8:Helicity-
+xscaler-layout   SHMS 0:8x4     1:8x4     2:8x4     3:8x4     4:8x4       5:8x4       6:8x4       7:8x4         8:8x4
+xscaler-pageslot SHMS 0:page0   1:page1   2:page2   3:page3   4:slot7     5:slot6     6:slot5     7:slot8       8:slot9
+
+xscaler-pagename SHMS 0:'SHMS Hodoscope Plane 1X'
+xscaler-pagename SHMS 1:'SHMS Hodoscope Plane 1Y'
+xscaler-pagename SHMS 2:'SHMS Hodoscope Plane 2X'
+xscaler-pagename SHMS 3:'SHMS Hodoscope Plane 2Y'
+xscaler-pagename SHMS 4:'SHMS Trigger & Beamline'
+xscaler-pagename SHMS 5:'SHMS Trigger'
+xscaler-pagename SHMS 6:'SHMS Trigger'
+xscaler-pagename SHMS 7:'SHMS Helicity+'
+xscaler-pagename SHMS 8:'SHMS Helicity-'
+
+xscaler-clock SHMS slot:10 chan:1 rate:60
+#####################################################################
+
+# HMS tabs
+# for HMS the crate is 4 
+# let hel=0 always
+
+# desc      hel crate slot start nchan page long-description
+hhod1x1+     0    4     0    0     1    0   HMS 1X+ paddle 1
+hhod1x2+     0    4     0    4     1    0   HMS 1X+ paddle 2
+hhod1x3+     0    4     0    1     1    0   HMS 1X+ paddle 3
+hhod1x4+     0    4     0    5     1    0   HMS 1X+ paddle 4
+hhod1x5+     0    4     0    2     1    0   HMS 1X+ paddle 5
+hhod1x6+     0    4     0    6     1    0   HMS 1X+ paddle 6
+hhod1x7+     0    4     0    3     1    0   HMS 1X+ paddle 7
+hhod1x8+     0    4     0    7     1    0   HMS 1X+ paddle 8
+hhod1x9+     0    4     0    8     1    0   HMS 1X+ paddle 9
+hhod1x10+    0    4     0    12    1    0   HMS 1X+ paddle 10
+hhod1x11+    0    4     0    9     1    0   HMS 1X+ paddle 11
+hhod1x12+    0    4     0    13    1    0   HMS 1X+ paddle 12
+hhod1x13+    0    4     0    10    1    0   HMS 1X+ paddle 13
+hhod1x14+    0    4     0    14    1    0   HMS 1X+ paddle 14
+hhod1x15+    0    4     0    11    1    0   HMS 1X+ paddle 15
+hhod1x16+    0    4     0    15    1    0   HMS 1X+ paddle 16
+
+# desc      hel crate slot start nchan page long-description
+hhod1x1-     0    4     0    16    1    0   HMS 1X- paddle 1
+hhod1x2-     0    4     0    20    1    0   HMS 1X- paddle 2
+hhod1x3-     0    4     0    17    1    0   HMS 1X- paddle 3
+hhod1x4-     0    4     0    21    1    0   HMS 1X- paddle 4
+hhod1x5-     0    4     0    18    1    0   HMS 1X- paddle 5
+hhod1x6-     0    4     0    22    1    0   HMS 1X- paddle 6
+hhod1x7-     0    4     0    19    1    0   HMS 1X- paddle 7
+hhod1x8-     0    4     0    23    1    0   HMS 1X- paddle 8
+hhod1x9-     0    4     0    24    1    0   HMS 1X- paddle 9
+hhod1x10-    0    4     0    28    1    0   HMS 1X- paddle 10
+hhod1x11-    0    4     0    25    1    0   HMS 1X- paddle 11
+hhod1x12-    0    4     0    29    1    0   HMS 1X- paddle 12
+hhod1x13-    0    4     0    26    1    0   HMS 1X- paddle 13
+hhod1x14-    0    4     0    30    1    0   HMS 1X- paddle 14
+hhod1x15-    0    4     0    27    1    0   HMS 1X- paddle 15
+hhod1x16-    0    4     0    31    1    0   HMS 1X- paddle 16
+
+# desc      hel crate slot start nchan page long-description
+hhod1y1+     0    4     1    0     1    1   HMS 1Y+ paddle 1
+hhod1y2+     0    4     1    4     1    1   HMS 1Y+ paddle 2
+hhod1y3+     0    4     1    1     1    1   HMS 1Y+ paddle 3
+hhod1y4+     0    4     1    5     1    1   HMS 1Y+ paddle 4
+hhod1y5+     0    4     1    2     1    1   HMS 1Y+ paddle 5
+hhod1y6+     0    4     1    6     1    1   HMS 1Y+ paddle 6
+hhod1y7+     0    4     1    3     1    1   HMS 1Y+ paddle 7
+hhod1y8+     0    4     1    7     1    1   HMS 1Y+ paddle 8
+hhod1y9+     0    4     1    8     1    1   HMS 1Y+ paddle 9
+hhod1y10+    0    4     1    12    1    1   HMS 1Y+ paddle 10
+7/9	     0    4     1    9     1    1   Empty
+7/10         0    4     1    10    1    1   Empty
+7/11         0    4     1    11    1    1   Empty
+7/13         0    4     1    13    1    1   Empty
+7/14         0    4     1    14    1    1   Empty
+7/15         0    4     1    15    1    1   Empty
+
+# desc      hel crate slot start nchan page long-description
+hhod1y1-     0    4     1    16    1    1   HMS 1Y- paddle 1
+hhod1y2-     0    4     1    20    1    1   HMS 1Y- paddle 2
+hhod1y3-     0    4     1    17    1    1   HMS 1Y- paddle 3
+hhod1y4-     0    4     1    21    1    1   HMS 1Y- paddle 4
+hhod1y5-     0    4     1    18    1    1   HMS 1Y- paddle 5
+hhod1y6-     0    4     1    22    1    1   HMS 1Y- paddle 6
+hhod1y7-     0    4     1    19    1    1   HMS 1Y- paddle 7
+hhod1y8-     0    4     1    23    1    1   HMS 1Y- paddle 8
+hhod1y9-     0    4     1    24    1    1   HMS 1Y- paddle 9
+hhod1y10-    0    4     1    28    1    1   HMS 1Y- paddle 10
+7/25         0    4     1    25    1    1   Empty
+7/26         0    4     1    26    1    1   Empty
+7/27         0    4     1    27    1    1   Empty
+7/29         0    4     1    29    1    1   Empty
+7/30         0    4     1    30    1    1   Empty
+7/31         0    4     1    31    1    1   Empty
+
+
+# desc      hel crate slot start nchan page long-description
+hhod2x1+     0    4     2    0     1    2   HMS 2X+ paddle 1
+hhod2x2+     0    4     2    4     1    2   HMS 2X+ paddle 2
+hhod2x3+     0    4     2    1     1    2   HMS 2X+ paddle 3
+hhod2x4+     0    4     2    5     1    2   HMS 2X+ paddle 4
+hhod2x5+     0    4     2    2     1    2   HMS 2X+ paddle 5
+hhod2x6+     0    4     2    6     1    2   HMS 2X+ paddle 6
+hhod2x7+     0    4     2    3     1    2   HMS 2X+ paddle 7
+hhod2x8+     0    4     2    7     1    2   HMS 2X+ paddle 8
+hhod2x9+     0    4     2    8     1    2   HMS 2X+ paddle 9
+hhod2x10+    0    4     2    12    1    2   HMS 2X+ paddle 10
+hhod2x11+    0    4     2    9     1    2   HMS 2X+ paddle 11
+hhod2x12+    0    4     2    13    1    2   HMS 2X+ paddle 12
+hhod2x13+    0    4     2    10    1    2   HMS 2X+ paddle 13
+hhod2x14+    0    4     2    14    1    2   HMS 2X+ paddle 14
+hhod2x15+    0    4     2    11    1    2   HMS 2X+ paddle 15
+hhod2x16+    0    4     2    15    1    2   HMS 2X+ paddle 16
+
+# desc      hel crate slot start nchan page long-description
+hhod2x1-     0    4     2    16    1    2   HMS 2X- paddle 1
+hhod2x2-     0    4     2    20    1    2   HMS 2X- paddle 2
+hhod2x3-     0    4     2    17    1    2   HMS 2X- paddle 3
+hhod2x4-     0    4     2    21    1    2   HMS 2X- paddle 4
+hhod2x5-     0    4     2    18    1    2   HMS 2X- paddle 5
+hhod2x6-     0    4     2    22    1    2   HMS 2X- paddle 6
+hhod2x7-     0    4     2    19    1    2   HMS 2X- paddle 7
+hhod2x8-     0    4     2    23    1    2   HMS 2X- paddle 8
+hhod2x9-     0    4     2    24    1    2   HMS 2X- paddle 9
+hhod2x10-    0    4     2    28    1    2   HMS 2X- paddle 10
+hhod2x11-    0    4     2    25    1    2   HMS 2X- paddle 11
+hhod2x12-    0    4     2    29    1    2   HMS 2X- paddle 12
+hhod2x13-    0    4     2    26    1    2   HMS 2X- paddle 13
+hhod2x14-    0    4     2    30    1    2   HMS 2X- paddle 14
+hhod2x15-    0    4     2    27    1    2   HMS 2X- paddle 15
+hhod2x16-    0    4     2    31    1    2   HMS 2X- paddle 16 
+
+# desc      hel crate slot start nchan page long-description
+hhod2y1+     0    4     3    0     1    3   HMS 2Y+ paddle 1
+hhod2y2+     0    4     3    4     1    3   HMS 2Y+ paddle 2
+hhod2y3+     0    4     3    1     1    3   HMS 2Y+ paddle 3
+hhod2y4+     0    4     3    5     1    3   HMS 2Y+ paddle 4
+hhod2y5+     0    4     3    2     1    3   HMS 2Y+ paddle 5
+hhod2y6+     0    4     3    6     1    3   HMS 2Y+ paddle 6
+hhod2y7+     0    4     3    3     1    3   HMS 2Y+ paddle 7
+hhod2y8+     0    4     3    7     1    3   HMS 2Y+ paddle 8
+hhod2y9+     0    4     3    8     1    3   HMS 2Y+ paddle 9
+hhod2y10+    0    4     3    12    1    3   HMS 2Y+ paddle 10
+9/9          0    4     3    9     1    3   Empty
+9/10         0    4     3    10    1    3   Empty
+9/11         0    4     3    11    1    3   Empty
+9/13         0    4     3    13    1    3   Empty
+9/14         0    4     3    14    1    3   Empty
+9/15         0    4     3    15    1    3   Empty
+
+# desc      hel crate slot start nchan page long-description
+hhod2y1-     0    4     3    16    1    3   HMS 2Y- paddle 1
+hhod2y2-     0    4     3    20    1    3   HMS 2Y- paddle 2
+hhod2y3-     0    4     3    17    1    3   HMS 2Y- paddle 3
+hhod2y4-     0    4     3    21    1    3   HMS 2Y- paddle 4
+hhod2y5-     0    4     3    18    1    3   HMS 2Y- paddle 5
+hhod2y6-     0    4     3    22    1    3   HMS 2Y- paddle 6
+hhod2y7-     0    4     3    19    1    3   HMS 2Y- paddle 7
+hhod2y8-     0    4     3    23    1    3   HMS 2Y- paddle 8
+hhod2y9-     0    4     3    24    1    3   HMS 2Y- paddle 9
+hhod2y10-    0    4     3    28    1    3   HMS 2Y- paddle 10
+9/25         0    4     3    25    1    3   Empty
+9/26         0    4     3    26    1    3   Empty
+9/27         0    4     3    27    1    3   Empty
+9/29         0    4     3    29    1    3   Empty
+9/30         0    4     3    30    1    3   Empty
+9/31         0    4     3    31    1    3   Empty
+
+# desc      hel crate slot start nchan page long-description
+pPRE40       0    4     4    0     1    -1  SHMS PRE40
+pPRE100      0    4     4    1     1    -1  SHMS PRE100
+pPRE150      0    4     4    2     1    -1  SHMS PRE150
+pPRE200      0    4     4    3     1    -1  SHMS PRE200
+10/4         0    4     4    4     1    -1  Empty
+1MHz_CP      0    4     4    5     1    -1  1 MHz Copy
+EDTM_CP      0    4     4    6     1    -1  EDTM Copy
+pTRIG1_CP    0    4     4    7     1    -1  pTRIG1 Copy
+hPRE40       0    4     4    8     1    -1  HMS PRE40
+hPRE100      0    4     4    9     1    -1  HMS PRE100
+hPRE150      0    4     4    10    1    -1  HMS PRE150
+hPRE200      0    4     4    11    1    -1  HMS PRE200
+10/12        0    4     4    12    1    -1  Empty
+10/13        0    4     4    13    1    -1  Empty
+10/14        0    4     4    14    1    -1  Empty
+HAModStat    0    4     4    15    1    -1  Hall A Modulation Status
+hL1ACCP      0    4     4    16    1    -1  HMS L1 Accept
+10/17        0    4     4    17    1    -1  Empty
+10/18        0    4     4    18    1    -1  Empty
+10/19        0    4     4    19    1    -1  Empty
+10/20        0    4     4    20    1    -1  Empty
+10/21        0    4     4    21    1    -1  Empty
+10/22        0    4     4    22    1    -1  Empty
+10/23        0    4     4    23    1    -1  Empty
+10/24        0    4     4    24    1    -1  Empty
+10/25        0    4     4    25    1    -1  Empty
+10/26        0    4     4    26    1    -1  Empty
+10/27        0    4     4    27    1    -1  Empty
+10/28        0    4     4    28    1    -1  Empty
+10/29        0    4     4    29    1    -1  Empty
+10/30        0    4     4    30    1    -1  Empty
+10/31        0    4     4    31    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+pTRIG1       0    4     5    0     1    -1  SHMS TRIG1
+pTRIG2       0    4     5    1     1    -1  SHMS TRIG2
+pTRIG3       0    4     5    2     1    -1  SHMS TRIG3
+pTRIG4       0    4     5    3     1    -1  SHMS TRIG4
+pTRIG5       0    4     5    4     1    -1  SHMS TRIG5
+pTRIG6       0    4     5    5     1    -1  SHMS TRIG6
+12/6         0    4     5    6     1    -1  Empty
+12/7         0    4     5    7     1    -1  Empty
+12/8         0    4     5    8     1    -1  Empty
+12/9         0    4     5    9     1    -1  Empty
+hTRIG1       0    4     5    10    1    -1  HMS TRIG1
+hTRIG2       0    4     5    11    1    -1  HMS TRIG2
+hTRIG3       0    4     5    12    1    -1  HMS TRIG3
+hTRIG4       0    4     5    13    1    -1  HMS TRIG4
+hTRIG5       0    4     5    14    1    -1  HMS TRIG5
+hTRIG6       0    4     5    15    1    -1  HMS TRIG6
+pSTOF        0    4     5    16    1    -1  SHMS STOF
+pEL_LO_LO    0    4     5    17    1    -1  SHMS EL_LO_LO
+pEL_LO       0    4     5    18    1    -1  SHMS EL_LO
+pEL_HI       0    4     5    19    1    -1  SHMS EL_HI
+pEL_REAL     0    4     5    20    1    -1  SHMS EL_REAL
+pEL_CLEAN    0    4     5    21    1    -1  SHMS EL_CLEAN
+12/22        0    4     5    22    1    -1  Empty
+12/23        0    4     5    23    1    -1  Empty
+hSTOF        0    4     5    24    1    -1  HMS STOF
+hEL_LO_LO    0    4     5    25    1    -1  HMS EL_LO_LO
+hEL_LO       0    4     5    26    1    -1  HMS EL_LO
+hEL_HI       0    4     5    27    1    -1  HMS EL_HI
+hEL_REAL     0    4     5    28    1    -1  HMS EL_REAL
+hEL_CLEAN    0    4     5    29    1    -1  HMS EL_CLEAN
+12/30        0    4     5    30    1    -1  Empty
+12/31        0    4     5    31    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+S1X          0    4     6    0     1    -1  HMS S1X
+S1Y          0    4     6    1     1    -1  HMS S1Y
+S2X          0    4     6    2     1    -1  HMS S2X
+S2Y          0    4     6    3     1    -1  HMS S2Y
+S1XS1Y       0    4     6    4     1    -1  HMS S1T
+S2XS2Y       0    4     6    5     1    -1  HMS S2T
+hTREF1       0    4     6    6     1    -1  HMS TREF1
+ASUM         0    4     6    7     1    -1  HMS ASUM
+BSUM         0    4     6    8     1    -1  HMS BSUM
+CSUM         0    4     6    9     1    -1  HMS CSUM
+DSUM         0    4     6    10    1    -1  HMS DSUM
+PRLO         0    4     6    11    1    -1  HMS PRLO
+PRHI         0    4     6    12    1    -1  HMS PRHI
+SHLO         0    4     6    13    1    -1  HMS SHLO
+EDTM         0    4     6    14    1    -1  HMS EDTM
+CER          0    4     6    15    1    -1  HMS CER
+21/16        0    4     6    16    1    -1  Empty
+21/17        0    4     6    17    1    -1  Empty
+21/18        0    4     6    18    1    -1  Empty
+21/19        0    4     6    19    1    -1  Empty
+21/20        0    4     6    20    1    -1  Empty
+21/21        0    4     6    21    1    -1  Empty
+21/22        0    4     6    22    1    -1  Empty
+21/23        0    4     6    23    1    -1  Empty
+21/24        0    4     6    24    1    -1  Empty
+BCM4A        0    4     6    25    1    -1  BCM4A
+BCM4C        0    4     6    26    1    -1  BCM4C
+BCM1         0    4     6    27    1    -1  BCM1
+BCM2         0    4     6    28    1    -1  BCM2 
+BCM4B        0    4     6    29    1    -1  BCM4B
+Unser        0    4     6    30    1    -1  Unser
+1MHz         0    4     6    31    1    -1  1MHz
+                                        
+# desc      hel crate slot start nchan page long-description
+clock        0    4     7    1     1    -1  clock   
+
+# SHMS tabs
+# for SHMS the crate is 5 
+# let hel=0 always
+
+# desc      hel crate slot start nchan page long-description
+phod1x1+     0    5     0    0     1    0   SHMS 1X+ paddle 1
+phod1x2+     0    5     0    4     1    0   SHMS 1X+ paddle 2
+phod1x3+     0    5     0    1     1    0   SHMS 1X+ paddle 3
+phod1x4+     0    5     0    5     1    0   SHMS 1X+ paddle 4
+phod1x5+     0    5     0    2     1    0   SHMS 1X+ paddle 5
+phod1x6+     0    5     0    6     1    0   SHMS 1X+ paddle 6
+phod1x7+     0    5     0    3     1    0   SHMS 1X+ paddle 7
+phod1x8+     0    5     0    7     1    0   SHMS 1X+ paddle 8
+phod1x9+     0    5     0    8     1    0   SHMS 1X+ paddle 9
+phod1x10+    0    5     0    12    1    0   SHMS 1X+ paddle 10
+phod1x11+    0    5     0    9     1    0   SHMS 1X+ paddle 11
+phod1x12+    0    5     0    13    1    0   SHMS 1X+ paddle 12
+phod1x13+    0    5     0    10    1    0   SHMS 1X+ paddle 13
+6/11         0    5     0    11    1    0   Empty
+6/14         0    5     0    14    1    0   Empty
+6/15         0    5     0    15    1    0   Empty
+
+# desc      hel crate slot start nchan page long-description
+phod1x1-     0    5     0    16    1    0   SHMS 1X- paddle 1
+phod1x2-     0    5     0    20    1    0   SHMS 1X- paddle 2
+phod1x3-     0    5     0    17    1    0   SHMS 1X- paddle 3
+phod1x4-     0    5     0    21    1    0   SHMS 1X- paddle 4
+phod1x5-     0    5     0    18    1    0   SHMS 1X- paddle 5
+phod1x6-     0    5     0    22    1    0   SHMS 1X- paddle 6
+phod1x7-     0    5     0    19    1    0   SHMS 1X- paddle 7
+phod1x8-     0    5     0    23    1    0   SHMS 1X- paddle 8
+phod1x9-     0    5     0    24    1    0   SHMS 1X- paddle 9
+phod1x10-    0    5     0    28    1    0   SHMS 1X- paddle 10
+phod1x11-    0    5     0    25    1    0   SHMS 1X- paddle 11
+phod1x12-    0    5     0    30    1    0   SHMS 1X- paddle 12
+phod1x13-    0    5     0    26    1    0   SHMS 1X- paddle 13
+6/27         0    5     0    27    1    0   Empty
+6/29         0    5     0    29    1    0   Empty
+6/31         0    5     0    31    1    0   Empty
+
+# desc      hel crate slot start nchan page long-description
+phod1y1+     0    5     1    16    1    1   SHMS 1Y+ paddle 1
+phod1y2+     0    5     1    20    1    1   SHMS 1Y+ paddle 2
+phod1y3+     0    5     1    17    1    1   SHMS 1Y+ paddle 3
+phod1y4+     0    5     1    21    1    1   SHMS 1Y+ paddle 4
+phod1y5+     0    5     1    18    1    1   SHMS 1Y+ paddle 5
+phod1y6+     0    5     1    22    1    1   SHMS 1Y+ paddle 6
+phod1y7+     0    5     1    19    1    1   SHMS 1Y+ paddle 7
+phod1y8+     0    5     1    23    1    1   SHMS 1Y+ paddle 8
+phod1y9+     0    5     1    24    1    1   SHMS 1Y+ paddle 9
+phod1y10+    0    5     1    28    1    1   SHMS 1Y+ paddle 10
+phod1y11+    0    5     1    25    1    1   SHMS 1Y+ paddle 11
+phod1y12+    0    5     1    29    1    1   SHMS 1Y+ paddle 12
+phod1y13+    0    5     1    26    1    1   SHMS 1Y+ paddle 13
+7/27         0    5     1    27    1    1   Empty
+7/30         0    5     1    30    1    1   Empty
+7/31         0    5     1    31    1    1   Empty
+
+# desc      hel crate slot start nchan page long-description
+phod1y1-     0    5     1    0     1    1   SHMS 1Y- paddle 1
+phod1y3-     0    5     1    1     1    1   SHMS 1Y- paddle 3
+phod1y5-     0    5     1    2     1    1   SHMS 1Y- paddle 5
+phod1y7-     0    5     1    3     1    1   SHMS 1Y- paddle 7
+phod1y2-     0    5     1    4     1    1   SHMS 1Y- paddle 2
+phod1y4-     0    5     1    5     1    1   SHMS 1Y- paddle 4
+phod1y6-     0    5     1    6     1    1   SHMS 1Y- paddle 6
+phod1y8-     0    5     1    7     1    1   SHMS 1Y- paddle 8
+phod1y9-     0    5     1    8     1    1   SHMS 1Y- paddle 9
+phod1y11-    0    5     1    9     1    1   SHMS 1Y- paddle 11
+phod1y13-    0    5     1    10    1    1   SHMS 1Y- paddle 13
+phod1y10-    0    5     1    12    1    1   SHMS 1Y- paddle 10
+phod1y12-    0    5     1    13    1    1   SHMS 1Y- paddle 12
+7/11         0    5     1    11    1    1   Empty
+7/14         0    5     1    14    1    1   Empty
+7/15         0    5     1    15    1    1   Empty
+
+# desc      hel crate slot start nchan page long-description
+phod2x1+     0    5     2    0     1    2   SHMS 2X+ paddle 1
+phod2x2+     0    5     2    4     1    2   SHMS 2X+ paddle 2
+phod2x3+     0    5     2    1     1    2   SHMS 2X+ paddle 3
+phod2x4+     0    5     2    5     1    2   SHMS 2X+ paddle 4
+phod2x5+     0    5     2    2     1    2   SHMS 2X+ paddle 5
+phod2x6+     0    5     2    6     1    2   SHMS 2X+ paddle 6
+phod2x7+     0    5     2    3     1    2   SHMS 2X+ paddle 7
+phod2x8+     0    5     2    7     1    2   SHMS 2X+ paddle 8
+phod2x9+     0    5     2    8     1    2   SHMS 2X+ paddle 9
+phod2x10+    0    5     2    12    1    2   SHMS 2X+ paddle 10
+phod2x11+    0    5     2    9     1    2   SHMS 2X+ paddle 11
+phod2x12+    0    5     2    13    1    2   SHMS 2X+ paddle 12
+phod2x13+    0    5     2    10    1    2   SHMS 2X+ paddle 13
+phod2x14+    0    5     2    14    1    2   SHMS 2X+ paddle 14
+8/11         0    5     2    11    1    2   Empty
+8/15         0    5     2    15    1    2   Empty
+
+# desc      hel crate slot start nchan page long-description
+phod2x1-     0    5     2    16    1    2   SHMS 2X- paddle 1
+phod2x2-     0    5     2    20    1    2   SHMS 2X- paddle 2
+phod2x3-     0    5     2    17    1    2   SHMS 2X- paddle 3
+phod2x4-     0    5     2    21    1    2   SHMS 2X- paddle 4
+phod2x5-     0    5     2    18    1    2   SHMS 2X- paddle 5
+phod2x6-     0    5     2    22    1    2   SHMS 2X- paddle 6
+phod2x7-     0    5     2    19    1    2   SHMS 2X- paddle 7
+phod2x8-     0    5     2    23    1    2   SHMS 2X- paddle 8
+phod2x9-     0    5     2    24    1    2   SHMS 2X- paddle 9
+phod2x10-    0    5     2    28    1    2   SHMS 2X- paddle 10
+phod2x11-    0    5     2    25    1    2   SHMS 2X- paddle 11
+phod2x12-    0    5     2    29    1    2   SHMS 2X- paddle 12
+phod2x13-    0    5     2    26    1    2   SHMS 2X- paddle 13
+phod2x14-    0    5     2    30    1    2   SHMS 2X- paddle 14
+8/27         0    5     2    27    1    2   Empty
+8/31         0    5     2    31    1    2   Empty
+
+# 10/20/2017.  At most 16 bars of the 21 quartz plane bars will
+# be instrumented with tubes.  Since the 32 tubes for those 16 bars
+# will fit on one xscaler page, we only display scalers for 16 bars.
+# We assume that the first bar instrumented will be bar 3.  If it
+# turns out to be 4, this map will need to be adjusted.
+# desc      hel crate slot start nchan page long-description
+phod2y1+     0    5     3    16    1    -1  SHMS 2y+ paddle 1
+phod2y2+     0    5     3    20    1    -1  SHMS 2y+ paddle 2
+phod2y3+     0    5     3    17    1    3   SHMS 2y+ paddle 3
+phod2y4+     0    5     3    21    1    3   SHMS 2y+ paddle 4
+phod2y5+     0    5     3    18    1    3   SHMS 2y+ paddle 5
+phod2y6+     0    5     3    22    1    3   SHMS 2y+ paddle 6
+phod2y7+     0    5     3    19    1    3   SHMS 2y+ paddle 7
+phod2y8+     0    5     3    23    1    3   SHMS 2y+ paddle 8
+phod2y9+     0    5     3    24    1    3   SHMS 2y+ paddle 9
+phod2y10+    0    5     3    28    1    3   SHMS 2y+ paddle 10
+phod2y11+    0    5     3    25    1    3   SHMS 2y+ paddle 11
+phod2y12+    0    5     3    29    1    3   SHMS 2y+ paddle 12
+phod2y13+    0    5     3    26    1    3   SHMS 2y+ paddle 13
+phod2y14+    0    5     3    30    1    3   SHMS 2y+ paddle 14
+phod2y15+    0    5     3    27    1    3   SHMS 2y+ paddle 15
+phod2y16+    0    5     3    31    1    3   SHMS 2y+ paddle 16
+
+# desc      hel crate slot start nchan page long-description
+phod2y17+    0    5     4    16    1    3   SHMS 2y+ paddle 17
+phod2y18+    0    5     4    20    1    3   SHMS 2y+ paddle 18
+phod2y19+    0    5     4    17    1    -1  SHMS 2y+ paddle 19
+phod2y20+    0    5     4    21    1    -1  SHMS 2y+ paddle 20
+phod2y21+    0    5     4    18    1    -1  SHMS 2y+ paddle 21
+10/19        0    5     4    19    1    -1  Empty
+10/22        0    5     4    22    1    -1  Empty
+10/23        0    5     4    23    1    -1  Empty
+10/24        0    5     4    24    1    -1  Empty
+10/25        0    5     4    25    1    -1  Empty
+10/26        0    5     4    26    1    -1  Empty
+10/27        0    5     4    27    1    -1  Empty
+10/28        0    5     4    28    1    -1  Empty
+10/29        0    5     4    29    1    -1  Empty
+10/30        0    5     4    30    1    -1  Empty
+10/31        0    5     4    31    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+phod2y1-     0    5     3    0     1    -1  SHMS 2y- paddle 1
+phod2y2-     0    5     3    4     1    -1  SHMS 2y- paddle 2
+phod2y3-     0    5     3    1     1    3   SHMS 2y- paddle 3
+phod2y4-     0    5     3    5     1    3   SHMS 2y- paddle 4
+phod2y5-     0    5     3    2     1    3   SHMS 2y- paddle 5
+phod2y6-     0    5     3    6     1    3   SHMS 2y- paddle 6
+phod2y7-     0    5     3    3     1    3   SHMS 2y- paddle 7
+phod2y8-     0    5     3    7     1    3   SHMS 2y- paddle 8
+phod2y9-     0    5     3    8     1    3   SHMS 2y- paddle 9
+phod2y10-    0    5     3    12    1    3   SHMS 2y- paddle 10
+phod2y11-    0    5     3    9     1    3   SHMS 2y- paddle 11
+phod2y12-    0    5     3    13    1    3   SHMS 2y- paddle 12
+phod2y13-    0    5     3    10    1    3   SHMS 2y- paddle 13
+phod2y14-    0    5     3    14    1    3   SHMS 2y- paddle 14
+phod2y15-    0    5     3    11    1    3   SHMS 2y- paddle 15
+phod2y16-    0    5     3    15    1    3   SHMS 2y- paddle 16
+
+
+# desc      hel crate slot start nchan page long-description
+phod2y17-    0    5     4    0     1    3   SHMS 2y- paddle 17
+phod2y18-    0    5     4    4     1    3   SHMS 2y- paddle 18
+phod2y19-    0    5     4    1     1    -1  SHMS 2y- paddle 19
+phod2y20-    0    5     4    5     1    -1  SHMS 2y- paddle 20
+phod2y21-    0    5     4    2     1    -1  SHMS 2y- paddle 21
+10/3         0    5     4    3     1    -1  Empty
+10/6         0    5     4    6     1    -1  Empty
+10/7         0    5     4    7     1    -1  Empty
+10/8         0    5     4    8     1    -1  Empty
+10/9         0    5     4    9     1    -1  Empty
+10/10        0    5     4    10    1    -1  Empty
+10/11        0    5     4    11    1    -1  Empty
+10/12        0    5     4    12    1    -1  Empty
+10/13        0    5     4    13    1    -1  Empty
+10/14        0    5     4    14    1    -1  Empty
+10/15        0    5     4    15    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+pPRE40       0    5     5    0     1    -1  SHMS PRE40
+pPRE100      0    5     5    1     1    -1  SHMS PRE100
+pPRE150      0    5     5    2     1    -1  SHMS PRE150
+pPRE200      0    5     5    3     1    -1  SHMS PRE200
+11/4         0    5     5    4     1    -1  Empty
+1MHz_CP      0    5     5    5     1    -1  1 MHz Copy
+EDTM_CP      0    5     5    6     1    -1  EDTM Copy
+pTRIG1_CP    0    5     5    7     1    -1  SHMS pTRIG1 Copy
+hPRE40       0    5     5    8     1    -1  HMS PRE40
+hPRE100      0    5     5    9     1    -1  HMS PRE100
+hPRE150      0    5     5    10    1    -1  HMS PRE150
+hPRE200      0    5     5    11    1    -1  HMS PRE200
+11/12        0    5     5    12    1    -1  Empty
+11/13        0    5     5    13    1    -1  Empty
+11/14        0    5     5    14    1    -1  Empty
+HAModStat    0    5     5    15    1    -1  Hall A Modulation Status
+pL1ACCP      0    5     5    16    1    -1  SHMS L1 Accept
+pEDTM_V2     0    5     5    17    1    -1  SHMS EDTM V2
+11/18        0    5     5    18    1    -1  Empty
+11/19        0    5     5    19    1    -1  Empty
+11/20        0    5     5    20    1    -1  Empty
+11/21        0    5     5    21    1    -1  Empty
+11/22        0    5     5    22    1    -1  Empty
+11/23        0    5     5    23    1    -1  Empty
+11/24        0    5     5    24    1    -1  Empty
+11/25        0    5     5    25    1    -1  Empty
+11/26        0    5     5    26    1    -1  Empty
+11/27        0    5     5    27    1    -1  Empty
+11/28        0    5     5    28    1    -1  Empty
+11/29        0    5     5    29    1    -1  Empty
+11/30        0    5     5    30    1    -1  Empty
+11/31        0    5     5    31    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+pTRIG1       0    5     6    0     1    -1  SHMS TRIG1
+pTRIG2       0    5     6    1     1    -1  SHMS TRIG2
+pTRIG3       0    5     6    2     1    -1  SHMS TRIG3
+pTRIG4       0    5     6    3     1    -1  SHMS TRIG4
+pTRIG5       0    5     6    4     1    -1  SHMS TRIG5
+pTRIG6       0    5     6    5     1    -1  SHMS TRIG6
+12/6         0    5     6    6     1    -1  Empty
+12/7         0    5     6    7     1    -1  Empty
+12/8         0    5     6    8     1    -1  Empty
+12/9         0    5     6    9     1    -1  Empty
+hTRIG1       0    5     6    10    1    -1  HMS  TRIG1
+hTRIG2       0    5     6    11    1    -1  HMS  TRIG2
+hTRIG3       0    5     6    12    1    -1  HMS  TRIG3
+hTRIG4       0    5     6    13    1    -1  HMS  TRIG4
+hTRIG5       0    5     6    14    1    -1  HMS  TRIG5
+hTRIG6       0    5     6    15    1    -1  HMS  TRIG6
+pSTOF        0    5     6    16    1    -1  SHMS STOF
+pEL_LO_LO    0    5     6    17    1    -1  SHMS EL_LO_LO
+pEL_LO       0    5     6    18    1    -1  SHMS EL_LO
+pEL_HI       0    5     6    19    1    -1  SHMS EL_HI
+pEL_REAL     0    5     6    20    1    -1  SHMS EL_REAL
+pEL_CLEAN    0    5     6    21    1    -1  SHMS EL_CLEAN
+12/22        0    5     6    22    1    -1  Empty
+12/23        0    5     6    23    1    -1  Empty
+hSTOF        0    5     6    24    1    -1  HMS STOF
+hEL_LO_LO    0    5     6    25    1    -1  HMS EL_LO_LO
+hEL_LO       0    5     6    26    1    -1  HMS EL_LO
+hEL_HI       0    5     6    27    1    -1  HMS EL_HI
+hEL_REAL     0    5     6    28    1    -1  HMS EL_REAL
+hEL_CLEAN    0    5     6    29    1    -1  HMS EL_CLEAN
+12/29        0    5     6    30    1    -1  Empty
+12/30        0    5     6    31    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+S1X          0    5     7    0     1    -1  SHMS S1X
+S1Y          0    5     7    1     1    -1  SHMS S1Y
+S2X          0    5     7    2     1    -1  SHMS S2X
+S2Y          0    5     7    3     1    -1  SHMS S2Y
+S1XS1Y       0    5     7    4     1    -1  SHMS S1T
+S2XS2Y       0    5     7    5     1    -1  SHMS S2T
+pTREF3       0    5     7    6     1    -1  SHMS TREF3
+AERO         0    5     7    7     1    -1  SHMS AERO
+HCER         0    5     7    8     1    -1  SHMS HGC
+NCER         0    5     7    9     1    -1  SHMS NGC
+EDTM         0    5     7    10    1    -1  SHMS EDTM
+PRLO         0    5     7    11    1    -1  SHMS PRLO
+PRHI         0    5     7    12    1    -1  SHMS PRHI
+13/13        0    5     7    13    1    -1  Empty
+13/14        0    5     7    14    1    -1  Empty
+13/15        0    5     7    15    1    -1  Empty
+13/16        0    5     7    16    1    -1  Empty
+13/17        0    5     7    17    1    -1  Empty
+13/18        0    5     7    18    1    -1  Empty
+13/19        0    5     7    19    1    -1  Empty
+13/20        0    5     7    20    1    -1  Empty
+13/21        0    5     7    21    1    -1  Empty
+13/22        0    5     7    22    1    -1  Empty
+13/23        0    5     7    23    1    -1  Empty
+13/24        0    5     7    24    1    -1  Empty
+BCM4A        0    5     7    25    1    -1  BCM4A
+BCM4C        0    5     7    26    1    -1  BCM4C
+BCM1         0    5     7    27    1    -1  BCM1
+BCM2         0    5     7    28    1    -1  BCM2
+BCM4B        0    5     7    29    1    -1  BCM4B
+Unser        0    5     7    30    1    -1  Unser
+1MHz         0    5     7    31    1    -1  1MHz
+
+# desc        hel crate slot start nchan page long-description
+pBCM1_posHel   0    5     8    0     1    -1  SHMS BCM1 Hel+
+14/01          0    5     8    1     1    -1  Empty
+pBCM2_posHel   0    5     8    2     1    -1  SHMS BCM2 Hel+
+14/03          0    5     8    3     1    -1  Empty
+pBCM4B_posHel  0    5     8    4     1    -1  SHMS BCM4B Hel+
+14/05          0    5     8    5     1    -1  Empty
+pUnser_posHel  0    5     8    6     1    -1  SHMS Unser Hel+
+14/07          0    5     8    7     1    -1  Empty
+p1MHz_posHel   0    5     8    8     1    -1  SHMS 1MHz Hel+
+14/09          0    5     8    9     1    -1  Empty
+pBCM4A_posHel  0    5     8    10    1    -1  SHMS BCM4A Hel+
+14/11          0    5     8    11    1    -1  Empty
+pBCM4C_posHel  0    5     8    12    1    -1  SHMS BCM4C Hel+
+14/13          0    5     8    13    1    -1  Empty
+14/14          0    5     8    14    1    -1  Empty
+pL1ACCP_posHel 0    5     8    15    1    -1  SHMS L1 Accept Hel+
+pTRIG1_posHel  0    5     8    16    1    -1  SHMS TRIG1 Hel+
+pTRIG2_posHel  0    5     8    17    1    -1  SHMS TRIG2 Hel+
+pTRIG3_posHel  0    5     8    18    1    -1  SHMS TRIG3 Hel+
+pTRIG4_posHel  0    5     8    19    1    -1  SHMS TRIG4 Hel+
+pTRIG5_posHel  0    5     8    20    1    -1  SHMS TRIG5 Hel+
+pTRIG6_posHel  0    5     8    21    1    -1  SHMS TRIG6 Hel+
+14/22          0    5     8    22    1    -1  Empty
+14/23          0    5     8    23    1    -1  Empty
+14/24          0    5     8    24    1    -1  Empty
+14/25          0    5     8    25    1    -1  Empty
+hTRIG1_posHel  0    5     8    26    1    -1  HMS TRIG1 Hel+
+hTRIG2_posHel  0    5     8    27    1    -1  HMS TRIG2 Hel+
+hTRIG3_posHel  0    5     8    28    1    -1  HMS TRIG3 Hel+
+hTRIG4_posHel  0    5     8    29    1    -1  HMS TRIG4 Hel+
+hTRIG5_posHel  0    5     8    30    1    -1  HMS TRIG5 Hel+
+hTRIG6_posHel  0    5     8    31    1    -1  HMS TRIG6 Hel+
+
+# desc        hel crate slot start nchan page long-description
+pBCM1_negHel   0    5     9    0     1    -1  SHMS BCM1 Hel-
+15/01          0    5     9    1     1    -1  Empty
+pBCM2_negHel   0    5     9    2     1    -1  SHMS BCM2 Hel-
+15/03          0    5     9    3     1    -1  Empty
+pBCM4B_negHel  0    5     9    4     1    -1  SHMS BCM4B Hel-
+15/05          0    5     9    5     1    -1  Empty
+pUnser_negHel  0    5     9    6     1    -1  SHMS Unser Hel-
+15/07          0    5     9    7     1    -1  Empty
+p1MHz_negHel   0    5     9    8     1    -1  SHMS 1MHz Hel-
+15/09          0    5     9    9     1    -1  Empty
+pBCM4A_negHel  0    5     9    10    1    -1  SHMS BCM4A Hel-
+15/11          0    5     9    11    1    -1  Empty
+pBCM4C_negHel  0    5     9    12    1    -1  SHMS BCM4C Hel-
+15/13          0    5     9    13    1    -1  Empty
+15/14          0    5     9    14    1    -1  Empty
+pL1ACCP_negHel 0    5     9    15    1    -1  SHMS L1 Accept Hel-
+pTRIG1_negHel  0    5     9    16    1    -1  SHMS TRIG1 Hel-
+pTRIG2_negHel  0    5     9    17    1    -1  SHMS TRIG2 Hel-
+pTRIG3_negHel  0    5     9    18    1    -1  SHMS TRIG3 Hel-
+pTRIG4_negHel  0    5     9    19    1    -1  SHMS TRIG4 Hel-
+pTRIG5_negHel  0    5     9    20    1    -1  SHMS TRIG5 Hel-
+pTRIG6_negHel  0    5     9    21    1    -1  SHMS TRIG6 Hel-
+14/22          0    5     9    22    1    -1  Empty
+14/23          0    5     9    23    1    -1  Empty
+14/24          0    5     9    24    1    -1  Empty
+14/25          0    5     9    25    1    -1  Empty
+hTRIG1_negHel  0    5     9    26    1    -1  HMS TRIG1 Hel-
+hTRIG2_negHel  0    5     9    27    1    -1  HMS TRIG2 Hel-
+hTRIG3_negHel  0    5     9    28    1    -1  HMS TRIG3 Hel-
+hTRIG4_negHel  0    5     9    29    1    -1  HMS TRIG4 Hel-
+hTRIG5_negHel  0    5     9    30    1    -1  HMS TRIG5 Hel-
+hTRIG6_negHel  0    5     9    31    1    -1  HMS TRIG6 Hel-
+
+# desc      hel crate slot start nchan page long-description
+clock        0    5     10    1     1    -1  clock
diff --git a/MAPS/SCALERS/scaler_prior_june20_2019.map b/MAPS/SCALERS/scaler_prior_june20_2019.map
new file mode 100755
index 0000000000000000000000000000000000000000..d213f341cc32dcedbcf0d5c3052e48b5f2566130
--- /dev/null
+++ b/MAPS/SCALERS/scaler_prior_june20_2019.map
@@ -0,0 +1,666 @@
+# This file: scaler.map
+# Author: Robert Michaels, Jlab
+# Contains time-dependent text-based mapping of scaler channels
+# which permits getting data from THaScaler by names like "bcm_u3".
+# Also contains "directives" that control xscaler
+# For documentation about this file, see
+# http://hallaweb.jlab.org/equipment/daq/THaScaler.html (scroll to "scaler.map"
+# near the end of that web page).
+#
+
+# ------ Jan 4, 2017
+
+DATE 4 1 2017
+
+# Setup for Hall C testing HMS hodoscopes, etc.
+
+xscaler-tabs     HMS 0:1X      1:1Y      2:2X      3:2Y      4:Trigger    5:Trigger    6:Trigger
+xscaler-layout   HMS 0:8x4     1:8x4     2:8x4     3:8x4     4:8x4        5:8x4        6:8x4
+xscaler-pageslot HMS 0:page0   1:page1   2:page2   3:page3   4:slot6      5:slot5      6:slot4
+
+xscaler-pagename HMS 0:'HMS Hodoscope Plane 1X'
+xscaler-pagename HMS 1:'HMS Hodoscope Plane 1Y'
+xscaler-pagename HMS 2:'HMS Hodoscope Plane 2X'
+xscaler-pagename HMS 3:'HMS Hodoscope Plane 2Y'
+xscaler-pagename HMS 4:'HMS Trigger & Beamline'
+xscaler-pagename HMS 5:'HMS Trigger'
+xscaler-pagename HMS 6:'HMS Trigger'
+
+xscaler-clock HMS slot:7 chan:1 rate:60 
+#####################################################################
+
+# Setup for Hall C testing SHMS hodoscopes, etc.
+
+xscaler-tabs     SHMS 0:1X      1:1Y      2:2X      3:2Y      4:Trigger   5:Trigger   6:Trigger   7:Helicity+   8:Helicity-
+xscaler-layout   SHMS 0:8x4     1:8x4     2:8x4     3:8x4     4:8x4       5:8x4       6:8x4       7:8x4         8:8x4
+xscaler-pageslot SHMS 0:page0   1:page1   2:page2   3:page3   4:slot7     5:slot6     6:slot5     7:slot8       8:slot9
+
+xscaler-pagename SHMS 0:'SHMS Hodoscope Plane 1X'
+xscaler-pagename SHMS 1:'SHMS Hodoscope Plane 1Y'
+xscaler-pagename SHMS 2:'SHMS Hodoscope Plane 2X'
+xscaler-pagename SHMS 3:'SHMS Hodoscope Plane 2Y'
+xscaler-pagename SHMS 4:'SHMS Trigger & Beamline'
+xscaler-pagename SHMS 5:'SHMS Trigger'
+xscaler-pagename SHMS 6:'SHMS Trigger'
+xscaler-pagename SHMS 7:'SHMS Helicity+'
+xscaler-pagename SHMS 8:'SHMS Helicity-'
+
+xscaler-clock SHMS slot:10 chan:1 rate:60
+#####################################################################
+
+# HMS tabs
+# for HMS the crate is 4 
+# let hel=0 always
+
+# desc      hel crate slot start nchan page long-description
+hhod1x1+     0    4     0    0     1    0   HMS 1X+ paddle 1
+hhod1x2+     0    4     0    4     1    0   HMS 1X+ paddle 2
+hhod1x3+     0    4     0    1     1    0   HMS 1X+ paddle 3
+hhod1x4+     0    4     0    5     1    0   HMS 1X+ paddle 4
+hhod1x5+     0    4     0    2     1    0   HMS 1X+ paddle 5
+hhod1x6+     0    4     0    6     1    0   HMS 1X+ paddle 6
+hhod1x7+     0    4     0    3     1    0   HMS 1X+ paddle 7
+hhod1x8+     0    4     0    7     1    0   HMS 1X+ paddle 8
+hhod1x9+     0    4     0    8     1    0   HMS 1X+ paddle 9
+hhod1x10+    0    4     0    12    1    0   HMS 1X+ paddle 10
+hhod1x11+    0    4     0    9     1    0   HMS 1X+ paddle 11
+hhod1x12+    0    4     0    13    1    0   HMS 1X+ paddle 12
+hhod1x13+    0    4     0    10    1    0   HMS 1X+ paddle 13
+hhod1x14+    0    4     0    14    1    0   HMS 1X+ paddle 14
+hhod1x15+    0    4     0    11    1    0   HMS 1X+ paddle 15
+hhod1x16+    0    4     0    15    1    0   HMS 1X+ paddle 16
+
+# desc      hel crate slot start nchan page long-description
+hhod1x1-     0    4     0    16    1    0   HMS 1X- paddle 1
+hhod1x2-     0    4     0    20    1    0   HMS 1X- paddle 2
+hhod1x3-     0    4     0    17    1    0   HMS 1X- paddle 3
+hhod1x4-     0    4     0    21    1    0   HMS 1X- paddle 4
+hhod1x5-     0    4     0    18    1    0   HMS 1X- paddle 5
+hhod1x6-     0    4     0    22    1    0   HMS 1X- paddle 6
+hhod1x7-     0    4     0    19    1    0   HMS 1X- paddle 7
+hhod1x8-     0    4     0    23    1    0   HMS 1X- paddle 8
+hhod1x9-     0    4     0    24    1    0   HMS 1X- paddle 9
+hhod1x10-    0    4     0    28    1    0   HMS 1X- paddle 10
+hhod1x11-    0    4     0    25    1    0   HMS 1X- paddle 11
+hhod1x12-    0    4     0    29    1    0   HMS 1X- paddle 12
+hhod1x13-    0    4     0    26    1    0   HMS 1X- paddle 13
+hhod1x14-    0    4     0    30    1    0   HMS 1X- paddle 14
+hhod1x15-    0    4     0    27    1    0   HMS 1X- paddle 15
+hhod1x16-    0    4     0    31    1    0   HMS 1X- paddle 16
+
+# desc      hel crate slot start nchan page long-description
+hhod1y1+     0    4     1    0     1    1   HMS 1Y+ paddle 1
+hhod1y2+     0    4     1    4     1    1   HMS 1Y+ paddle 2
+hhod1y3+     0    4     1    1     1    1   HMS 1Y+ paddle 3
+hhod1y4+     0    4     1    5     1    1   HMS 1Y+ paddle 4
+hhod1y5+     0    4     1    2     1    1   HMS 1Y+ paddle 5
+hhod1y6+     0    4     1    6     1    1   HMS 1Y+ paddle 6
+hhod1y7+     0    4     1    3     1    1   HMS 1Y+ paddle 7
+hhod1y8+     0    4     1    7     1    1   HMS 1Y+ paddle 8
+hhod1y9+     0    4     1    8     1    1   HMS 1Y+ paddle 9
+hhod1y10+    0    4     1    12    1    1   HMS 1Y+ paddle 10
+7/9	     0    4     1    9     1    1   Empty
+7/10         0    4     1    10    1    1   Empty
+7/11         0    4     1    11    1    1   Empty
+7/13         0    4     1    13    1    1   Empty
+7/14         0    4     1    14    1    1   Empty
+7/15         0    4     1    15    1    1   Empty
+
+# desc      hel crate slot start nchan page long-description
+hhod1y1-     0    4     1    16    1    1   HMS 1Y- paddle 1
+hhod1y2-     0    4     1    20    1    1   HMS 1Y- paddle 2
+hhod1y3-     0    4     1    17    1    1   HMS 1Y- paddle 3
+hhod1y4-     0    4     1    21    1    1   HMS 1Y- paddle 4
+hhod1y5-     0    4     1    18    1    1   HMS 1Y- paddle 5
+hhod1y6-     0    4     1    22    1    1   HMS 1Y- paddle 6
+hhod1y7-     0    4     1    19    1    1   HMS 1Y- paddle 7
+hhod1y8-     0    4     1    23    1    1   HMS 1Y- paddle 8
+hhod1y9-     0    4     1    24    1    1   HMS 1Y- paddle 9
+hhod1y10-    0    4     1    28    1    1   HMS 1Y- paddle 10
+7/25         0    4     1    25    1    1   Empty
+7/26         0    4     1    26    1    1   Empty
+7/27         0    4     1    27    1    1   Empty
+7/29         0    4     1    29    1    1   Empty
+7/30         0    4     1    30    1    1   Empty
+7/31         0    4     1    31    1    1   Empty
+
+
+# desc      hel crate slot start nchan page long-description
+hhod2x1+     0    4     2    0     1    2   HMS 2X+ paddle 1
+hhod2x2+     0    4     2    4     1    2   HMS 2X+ paddle 2
+hhod2x3+     0    4     2    1     1    2   HMS 2X+ paddle 3
+hhod2x4+     0    4     2    5     1    2   HMS 2X+ paddle 4
+hhod2x5+     0    4     2    2     1    2   HMS 2X+ paddle 5
+hhod2x6+     0    4     2    6     1    2   HMS 2X+ paddle 6
+hhod2x7+     0    4     2    3     1    2   HMS 2X+ paddle 7
+hhod2x8+     0    4     2    7     1    2   HMS 2X+ paddle 8
+hhod2x9+     0    4     2    8     1    2   HMS 2X+ paddle 9
+hhod2x10+    0    4     2    12    1    2   HMS 2X+ paddle 10
+hhod2x11+    0    4     2    9     1    2   HMS 2X+ paddle 11
+hhod2x12+    0    4     2    13    1    2   HMS 2X+ paddle 12
+hhod2x13+    0    4     2    10    1    2   HMS 2X+ paddle 13
+hhod2x14+    0    4     2    14    1    2   HMS 2X+ paddle 14
+hhod2x15+    0    4     2    11    1    2   HMS 2X+ paddle 15
+hhod2x16+    0    4     2    15    1    2   HMS 2X+ paddle 16
+
+# desc      hel crate slot start nchan page long-description
+hhod2x1-     0    4     2    16    1    2   HMS 2X- paddle 1
+hhod2x2-     0    4     2    20    1    2   HMS 2X- paddle 2
+hhod2x3-     0    4     2    17    1    2   HMS 2X- paddle 3
+hhod2x4-     0    4     2    21    1    2   HMS 2X- paddle 4
+hhod2x5-     0    4     2    18    1    2   HMS 2X- paddle 5
+hhod2x6-     0    4     2    22    1    2   HMS 2X- paddle 6
+hhod2x7-     0    4     2    19    1    2   HMS 2X- paddle 7
+hhod2x8-     0    4     2    23    1    2   HMS 2X- paddle 8
+hhod2x9-     0    4     2    24    1    2   HMS 2X- paddle 9
+hhod2x10-    0    4     2    28    1    2   HMS 2X- paddle 10
+hhod2x11-    0    4     2    25    1    2   HMS 2X- paddle 11
+hhod2x12-    0    4     2    29    1    2   HMS 2X- paddle 12
+hhod2x13-    0    4     2    26    1    2   HMS 2X- paddle 13
+hhod2x14-    0    4     2    30    1    2   HMS 2X- paddle 14
+hhod2x15-    0    4     2    27    1    2   HMS 2X- paddle 15
+hhod2x16-    0    4     2    31    1    2   HMS 2X- paddle 16 
+
+# desc      hel crate slot start nchan page long-description
+hhod2y1+     0    4     3    0     1    3   HMS 2Y+ paddle 1
+hhod2y2+     0    4     3    4     1    3   HMS 2Y+ paddle 2
+hhod2y3+     0    4     3    1     1    3   HMS 2Y+ paddle 3
+hhod2y4+     0    4     3    5     1    3   HMS 2Y+ paddle 4
+hhod2y5+     0    4     3    2     1    3   HMS 2Y+ paddle 5
+hhod2y6+     0    4     3    6     1    3   HMS 2Y+ paddle 6
+hhod2y7+     0    4     3    3     1    3   HMS 2Y+ paddle 7
+hhod2y8+     0    4     3    7     1    3   HMS 2Y+ paddle 8
+hhod2y9+     0    4     3    8     1    3   HMS 2Y+ paddle 9
+hhod2y10+    0    4     3    12    1    3   HMS 2Y+ paddle 10
+9/9          0    4     3    9     1    3   Empty
+9/10         0    4     3    10    1    3   Empty
+9/11         0    4     3    11    1    3   Empty
+9/13         0    4     3    13    1    3   Empty
+9/14         0    4     3    14    1    3   Empty
+9/15         0    4     3    15    1    3   Empty
+
+# desc      hel crate slot start nchan page long-description
+hhod2y1-     0    4     3    16    1    3   HMS 2Y- paddle 1
+hhod2y2-     0    4     3    20    1    3   HMS 2Y- paddle 2
+hhod2y3-     0    4     3    17    1    3   HMS 2Y- paddle 3
+hhod2y4-     0    4     3    21    1    3   HMS 2Y- paddle 4
+hhod2y5-     0    4     3    18    1    3   HMS 2Y- paddle 5
+hhod2y6-     0    4     3    22    1    3   HMS 2Y- paddle 6
+hhod2y7-     0    4     3    19    1    3   HMS 2Y- paddle 7
+hhod2y8-     0    4     3    23    1    3   HMS 2Y- paddle 8
+hhod2y9-     0    4     3    24    1    3   HMS 2Y- paddle 9
+hhod2y10-    0    4     3    28    1    3   HMS 2Y- paddle 10
+9/25         0    4     3    25    1    3   Empty
+9/26         0    4     3    26    1    3   Empty
+9/27         0    4     3    27    1    3   Empty
+9/29         0    4     3    29    1    3   Empty
+9/30         0    4     3    30    1    3   Empty
+9/31         0    4     3    31    1    3   Empty
+
+# desc      hel crate slot start nchan page long-description
+pPRE40       0    4     4    0     1    -1  SHMS PRE40
+pPRE100      0    4     4    1     1    -1  SHMS PRE100
+pPRE150      0    4     4    2     1    -1  SHMS PRE150
+pPRE200      0    4     4    3     1    -1  SHMS PRE200
+10/4         0    4     4    4     1    -1  Empty
+1MHz_CP      0    4     4    5     1    -1  1 MHz Copy
+EDTM_CP      0    4     4    6     1    -1  EDTM Copy
+pTRIG1_CP    0    4     4    7     1    -1  pTRIG1 Copy
+hPRE40       0    4     4    8     1    -1  HMS PRE40
+hPRE100      0    4     4    9     1    -1  HMS PRE100
+hPRE150      0    4     4    10    1    -1  HMS PRE150
+hPRE200      0    4     4    11    1    -1  HMS PRE200
+10/12        0    4     4    12    1    -1  Empty
+10/13        0    4     4    13    1    -1  Empty
+10/14        0    4     4    14    1    -1  Empty
+10/15        0    4     4    15    1    -1  Empty
+hL1ACCP      0    4     4    16    1    -1  HMS L1 Accept
+10/17        0    4     4    17    1    -1  Empty
+10/18        0    4     4    18    1    -1  Empty
+10/19        0    4     4    19    1    -1  Empty
+10/20        0    4     4    20    1    -1  Empty
+10/21        0    4     4    21    1    -1  Empty
+10/22        0    4     4    22    1    -1  Empty
+10/23        0    4     4    23    1    -1  Empty
+10/24        0    4     4    24    1    -1  Empty
+10/25        0    4     4    25    1    -1  Empty
+10/26        0    4     4    26    1    -1  Empty
+10/27        0    4     4    27    1    -1  Empty
+10/28        0    4     4    28    1    -1  Empty
+10/29        0    4     4    29    1    -1  Empty
+10/30        0    4     4    30    1    -1  Empty
+10/31        0    4     4    31    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+pTRIG1       0    4     5    0     1    -1  SHMS TRIG1
+pTRIG2       0    4     5    1     1    -1  SHMS TRIG2
+pTRIG3       0    4     5    2     1    -1  SHMS TRIG3
+pTRIG4       0    4     5    3     1    -1  SHMS TRIG4
+pTRIG5       0    4     5    4     1    -1  SHMS TRIG5
+pTRIG6       0    4     5    5     1    -1  SHMS TRIG6
+12/6         0    4     5    6     1    -1  Empty
+12/7         0    4     5    7     1    -1  Empty
+12/8         0    4     5    8     1    -1  Empty
+12/9         0    4     5    9     1    -1  Empty
+hTRIG1       0    4     5    10    1    -1  HMS TRIG1
+hTRIG2       0    4     5    11    1    -1  HMS TRIG2
+hTRIG3       0    4     5    12    1    -1  HMS TRIG3
+hTRIG4       0    4     5    13    1    -1  HMS TRIG4
+hTRIG5       0    4     5    14    1    -1  HMS TRIG5
+hTRIG6       0    4     5    15    1    -1  HMS TRIG6
+pSTOF        0    4     5    16    1    -1  SHMS STOF
+pEL_LO_LO    0    4     5    17    1    -1  SHMS EL_LO_LO
+pEL_LO       0    4     5    18    1    -1  SHMS EL_LO
+pEL_HI       0    4     5    19    1    -1  SHMS EL_HI
+pEL_REAL     0    4     5    20    1    -1  SHMS EL_REAL
+pEL_CLEAN    0    4     5    21    1    -1  SHMS EL_CLEAN
+12/22        0    4     5    22    1    -1  Empty
+12/23        0    4     5    23    1    -1  Empty
+hSTOF        0    4     5    24    1    -1  HMS STOF
+hEL_LO_LO    0    4     5    25    1    -1  HMS EL_LO_LO
+hEL_LO       0    4     5    26    1    -1  HMS EL_LO
+hEL_HI       0    4     5    27    1    -1  HMS EL_HI
+hEL_REAL     0    4     5    28    1    -1  HMS EL_REAL
+hEL_CLEAN    0    4     5    29    1    -1  HMS EL_CLEAN
+12/30        0    4     5    30    1    -1  Empty
+12/31        0    4     5    31    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+S1X          0    4     6    0     1    -1  HMS S1X
+S1Y          0    4     6    1     1    -1  HMS S1Y
+S2X          0    4     6    2     1    -1  HMS S2X
+S2Y          0    4     6    3     1    -1  HMS S2Y
+S1XS1Y       0    4     6    4     1    -1  HMS S1T
+S2XS2Y       0    4     6    5     1    -1  HMS S2T
+hTREF1       0    4     6    6     1    -1  HMS TREF1
+ASUM         0    4     6    7     1    -1  HMS ASUM
+BSUM         0    4     6    8     1    -1  HMS BSUM
+CSUM         0    4     6    9     1    -1  HMS CSUM
+DSUM         0    4     6    10    1    -1  HMS DSUM
+PRLO         0    4     6    11    1    -1  HMS PRLO
+PRHI         0    4     6    12    1    -1  HMS PRHI
+SHLO         0    4     6    13    1    -1  HMS SHLO
+EDTM         0    4     6    14    1    -1  HMS EDTM
+CER          0    4     6    15    1    -1  HMS CER
+21/16        0    4     6    16    1    -1  Empty
+21/17        0    4     6    17    1    -1  Empty
+21/18        0    4     6    18    1    -1  Empty
+21/19        0    4     6    19    1    -1  Empty
+21/20        0    4     6    20    1    -1  Empty
+21/21        0    4     6    21    1    -1  Empty
+21/22        0    4     6    22    1    -1  Empty
+21/23        0    4     6    23    1    -1  Empty
+21/24        0    4     6    24    1    -1  Empty
+BCM4A        0    4     6    25    1    -1  BCM4A
+BCM4C        0    4     6    26    1    -1  BCM4C
+BCM1         0    4     6    27    1    -1  BCM1
+BCM2         0    4     6    28    1    -1  BCM2 
+BCM4B        0    4     6    29    1    -1  BCM4B
+Unser        0    4     6    30    1    -1  Unser
+1MHz         0    4     6    31    1    -1  1MHz
+                                        
+# desc      hel crate slot start nchan page long-description
+clock        0    4     7    1     1    -1  clock   
+
+# SHMS tabs
+# for SHMS the crate is 5 
+# let hel=0 always
+
+# desc      hel crate slot start nchan page long-description
+phod1x1+     0    5     0    0     1    0   SHMS 1X+ paddle 1
+phod1x2+     0    5     0    4     1    0   SHMS 1X+ paddle 2
+phod1x3+     0    5     0    1     1    0   SHMS 1X+ paddle 3
+phod1x4+     0    5     0    5     1    0   SHMS 1X+ paddle 4
+phod1x5+     0    5     0    2     1    0   SHMS 1X+ paddle 5
+phod1x6+     0    5     0    6     1    0   SHMS 1X+ paddle 6
+phod1x7+     0    5     0    3     1    0   SHMS 1X+ paddle 7
+phod1x8+     0    5     0    7     1    0   SHMS 1X+ paddle 8
+phod1x9+     0    5     0    8     1    0   SHMS 1X+ paddle 9
+phod1x10+    0    5     0    12    1    0   SHMS 1X+ paddle 10
+phod1x11+    0    5     0    9     1    0   SHMS 1X+ paddle 11
+phod1x12+    0    5     0    13    1    0   SHMS 1X+ paddle 12
+phod1x13+    0    5     0    10    1    0   SHMS 1X+ paddle 13
+6/11         0    5     0    11    1    0   Empty
+6/14         0    5     0    14    1    0   Empty
+6/15         0    5     0    15    1    0   Empty
+
+# desc      hel crate slot start nchan page long-description
+phod1x1-     0    5     0    16    1    0   SHMS 1X- paddle 1
+phod1x2-     0    5     0    20    1    0   SHMS 1X- paddle 2
+phod1x3-     0    5     0    17    1    0   SHMS 1X- paddle 3
+phod1x4-     0    5     0    21    1    0   SHMS 1X- paddle 4
+phod1x5-     0    5     0    18    1    0   SHMS 1X- paddle 5
+phod1x6-     0    5     0    22    1    0   SHMS 1X- paddle 6
+phod1x7-     0    5     0    19    1    0   SHMS 1X- paddle 7
+phod1x8-     0    5     0    23    1    0   SHMS 1X- paddle 8
+phod1x9-     0    5     0    24    1    0   SHMS 1X- paddle 9
+phod1x10-    0    5     0    28    1    0   SHMS 1X- paddle 10
+phod1x11-    0    5     0    25    1    0   SHMS 1X- paddle 11
+phod1x12-    0    5     0    30    1    0   SHMS 1X- paddle 12
+phod1x13-    0    5     0    26    1    0   SHMS 1X- paddle 13
+6/27         0    5     0    27    1    0   Empty
+6/29         0    5     0    29    1    0   Empty
+6/31         0    5     0    31    1    0   Empty
+
+# desc      hel crate slot start nchan page long-description
+phod1y1+     0    5     1    16    1    1   SHMS 1Y+ paddle 1
+phod1y2+     0    5     1    20    1    1   SHMS 1Y+ paddle 2
+phod1y3+     0    5     1    17    1    1   SHMS 1Y+ paddle 3
+phod1y4+     0    5     1    21    1    1   SHMS 1Y+ paddle 4
+phod1y5+     0    5     1    18    1    1   SHMS 1Y+ paddle 5
+phod1y6+     0    5     1    22    1    1   SHMS 1Y+ paddle 6
+phod1y7+     0    5     1    19    1    1   SHMS 1Y+ paddle 7
+phod1y8+     0    5     1    23    1    1   SHMS 1Y+ paddle 8
+phod1y9+     0    5     1    24    1    1   SHMS 1Y+ paddle 9
+phod1y10+    0    5     1    28    1    1   SHMS 1Y+ paddle 10
+phod1y11+    0    5     1    25    1    1   SHMS 1Y+ paddle 11
+phod1y12+    0    5     1    29    1    1   SHMS 1Y+ paddle 12
+phod1y13+    0    5     1    26    1    1   SHMS 1Y+ paddle 13
+7/27         0    5     1    27    1    1   Empty
+7/30         0    5     1    30    1    1   Empty
+7/31         0    5     1    31    1    1   Empty
+
+# desc      hel crate slot start nchan page long-description
+phod1y1-     0    5     1    0     1    1   SHMS 1Y- paddle 1
+phod1y3-     0    5     1    1     1    1   SHMS 1Y- paddle 3
+phod1y5-     0    5     1    2     1    1   SHMS 1Y- paddle 5
+phod1y7-     0    5     1    3     1    1   SHMS 1Y- paddle 7
+phod1y2-     0    5     1    4     1    1   SHMS 1Y- paddle 2
+phod1y4-     0    5     1    5     1    1   SHMS 1Y- paddle 4
+phod1y6-     0    5     1    6     1    1   SHMS 1Y- paddle 6
+phod1y8-     0    5     1    7     1    1   SHMS 1Y- paddle 8
+phod1y9-     0    5     1    8     1    1   SHMS 1Y- paddle 9
+phod1y11-    0    5     1    9     1    1   SHMS 1Y- paddle 11
+phod1y13-    0    5     1    10    1    1   SHMS 1Y- paddle 13
+phod1y10-    0    5     1    12    1    1   SHMS 1Y- paddle 10
+phod1y12-    0    5     1    13    1    1   SHMS 1Y- paddle 12
+7/11         0    5     1    11    1    1   Empty
+7/14         0    5     1    14    1    1   Empty
+7/15         0    5     1    15    1    1   Empty
+
+# desc      hel crate slot start nchan page long-description
+phod2x1+     0    5     2    0     1    2   SHMS 2X+ paddle 1
+phod2x2+     0    5     2    4     1    2   SHMS 2X+ paddle 2
+phod2x3+     0    5     2    1     1    2   SHMS 2X+ paddle 3
+phod2x4+     0    5     2    5     1    2   SHMS 2X+ paddle 4
+phod2x5+     0    5     2    2     1    2   SHMS 2X+ paddle 5
+phod2x6+     0    5     2    6     1    2   SHMS 2X+ paddle 6
+phod2x7+     0    5     2    3     1    2   SHMS 2X+ paddle 7
+phod2x8+     0    5     2    7     1    2   SHMS 2X+ paddle 8
+phod2x9+     0    5     2    8     1    2   SHMS 2X+ paddle 9
+phod2x10+    0    5     2    12    1    2   SHMS 2X+ paddle 10
+phod2x11+    0    5     2    9     1    2   SHMS 2X+ paddle 11
+phod2x12+    0    5     2    13    1    2   SHMS 2X+ paddle 12
+phod2x13+    0    5     2    10    1    2   SHMS 2X+ paddle 13
+phod2x14+    0    5     2    14    1    2   SHMS 2X+ paddle 14
+8/11         0    5     2    11    1    2   Empty
+8/15         0    5     2    15    1    2   Empty
+
+# desc      hel crate slot start nchan page long-description
+phod2x1-     0    5     2    16    1    2   SHMS 2X- paddle 1
+phod2x2-     0    5     2    20    1    2   SHMS 2X- paddle 2
+phod2x3-     0    5     2    17    1    2   SHMS 2X- paddle 3
+phod2x4-     0    5     2    21    1    2   SHMS 2X- paddle 4
+phod2x5-     0    5     2    18    1    2   SHMS 2X- paddle 5
+phod2x6-     0    5     2    22    1    2   SHMS 2X- paddle 6
+phod2x7-     0    5     2    19    1    2   SHMS 2X- paddle 7
+phod2x8-     0    5     2    23    1    2   SHMS 2X- paddle 8
+phod2x9-     0    5     2    24    1    2   SHMS 2X- paddle 9
+phod2x10-    0    5     2    28    1    2   SHMS 2X- paddle 10
+phod2x11-    0    5     2    25    1    2   SHMS 2X- paddle 11
+phod2x12-    0    5     2    29    1    2   SHMS 2X- paddle 12
+phod2x13-    0    5     2    26    1    2   SHMS 2X- paddle 13
+phod2x14-    0    5     2    30    1    2   SHMS 2X- paddle 14
+8/27         0    5     2    27    1    2   Empty
+8/31         0    5     2    31    1    2   Empty
+
+# 10/20/2017.  At most 16 bars of the 21 quartz plane bars will
+# be instrumented with tubes.  Since the 32 tubes for those 16 bars
+# will fit on one xscaler page, we only display scalers for 16 bars.
+# We assume that the first bar instrumented will be bar 3.  If it
+# turns out to be 4, this map will need to be adjusted.
+# desc      hel crate slot start nchan page long-description
+phod2y1+     0    5     3    16    1    -1  SHMS 2y+ paddle 1
+phod2y2+     0    5     3    20    1    -1  SHMS 2y+ paddle 2
+phod2y3+     0    5     3    17    1    3   SHMS 2y+ paddle 3
+phod2y4+     0    5     3    21    1    3   SHMS 2y+ paddle 4
+phod2y5+     0    5     3    18    1    3   SHMS 2y+ paddle 5
+phod2y6+     0    5     3    22    1    3   SHMS 2y+ paddle 6
+phod2y7+     0    5     3    19    1    3   SHMS 2y+ paddle 7
+phod2y8+     0    5     3    23    1    3   SHMS 2y+ paddle 8
+phod2y9+     0    5     3    24    1    3   SHMS 2y+ paddle 9
+phod2y10+    0    5     3    28    1    3   SHMS 2y+ paddle 10
+phod2y11+    0    5     3    25    1    3   SHMS 2y+ paddle 11
+phod2y12+    0    5     3    29    1    3   SHMS 2y+ paddle 12
+phod2y13+    0    5     3    26    1    3   SHMS 2y+ paddle 13
+phod2y14+    0    5     3    30    1    3   SHMS 2y+ paddle 14
+phod2y15+    0    5     3    27    1    3   SHMS 2y+ paddle 15
+phod2y16+    0    5     3    31    1    3   SHMS 2y+ paddle 16
+
+# desc      hel crate slot start nchan page long-description
+phod2y17+    0    5     4    16    1    3   SHMS 2y+ paddle 17
+phod2y18+    0    5     4    20    1    3   SHMS 2y+ paddle 18
+phod2y19+    0    5     4    17    1    -1  SHMS 2y+ paddle 19
+phod2y20+    0    5     4    21    1    -1  SHMS 2y+ paddle 20
+phod2y21+    0    5     4    18    1    -1  SHMS 2y+ paddle 21
+10/19        0    5     4    19    1    -1  Empty
+10/22        0    5     4    22    1    -1  Empty
+10/23        0    5     4    23    1    -1  Empty
+10/24        0    5     4    24    1    -1  Empty
+10/25        0    5     4    25    1    -1  Empty
+10/26        0    5     4    26    1    -1  Empty
+10/27        0    5     4    27    1    -1  Empty
+10/28        0    5     4    28    1    -1  Empty
+10/29        0    5     4    29    1    -1  Empty
+10/30        0    5     4    30    1    -1  Empty
+10/31        0    5     4    31    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+phod2y1-     0    5     3    0     1    -1  SHMS 2y- paddle 1
+phod2y2-     0    5     3    4     1    -1  SHMS 2y- paddle 2
+phod2y3-     0    5     3    1     1    3   SHMS 2y- paddle 3
+phod2y4-     0    5     3    5     1    3   SHMS 2y- paddle 4
+phod2y5-     0    5     3    2     1    3   SHMS 2y- paddle 5
+phod2y6-     0    5     3    6     1    3   SHMS 2y- paddle 6
+phod2y7-     0    5     3    3     1    3   SHMS 2y- paddle 7
+phod2y8-     0    5     3    7     1    3   SHMS 2y- paddle 8
+phod2y9-     0    5     3    8     1    3   SHMS 2y- paddle 9
+phod2y10-    0    5     3    12    1    3   SHMS 2y- paddle 10
+phod2y11-    0    5     3    9     1    3   SHMS 2y- paddle 11
+phod2y12-    0    5     3    13    1    3   SHMS 2y- paddle 12
+phod2y13-    0    5     3    10    1    3   SHMS 2y- paddle 13
+phod2y14-    0    5     3    14    1    3   SHMS 2y- paddle 14
+phod2y15-    0    5     3    11    1    3   SHMS 2y- paddle 15
+phod2y16-    0    5     3    15    1    3   SHMS 2y- paddle 16
+
+
+# desc      hel crate slot start nchan page long-description
+phod2y17-    0    5     4    0     1    3   SHMS 2y- paddle 17
+phod2y18-    0    5     4    4     1    3   SHMS 2y- paddle 18
+phod2y19-    0    5     4    1     1    -1  SHMS 2y- paddle 19
+phod2y20-    0    5     4    5     1    -1  SHMS 2y- paddle 20
+phod2y21-    0    5     4    2     1    -1  SHMS 2y- paddle 21
+10/3         0    5     4    3     1    -1  Empty
+10/6         0    5     4    6     1    -1  Empty
+10/7         0    5     4    7     1    -1  Empty
+10/8         0    5     4    8     1    -1  Empty
+10/9         0    5     4    9     1    -1  Empty
+10/10        0    5     4    10    1    -1  Empty
+10/11        0    5     4    11    1    -1  Empty
+10/12        0    5     4    12    1    -1  Empty
+10/13        0    5     4    13    1    -1  Empty
+10/14        0    5     4    14    1    -1  Empty
+10/15        0    5     4    15    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+pPRE40       0    5     5    0     1    -1  SHMS PRE40
+pPRE100      0    5     5    1     1    -1  SHMS PRE100
+pPRE150      0    5     5    2     1    -1  SHMS PRE150
+pPRE200      0    5     5    3     1    -1  SHMS PRE200
+11/4         0    5     5    4     1    -1  Empty
+1MHz_CP      0    5     5    5     1    -1  1 MHz Copy
+EDTM_CP      0    5     5    6     1    -1  EDTM Copy
+pTRIG1_CP    0    5     5    7     1    -1  SHMS pTRIG1 Copy
+hPRE40       0    5     5    8     1    -1  HMS PRE40
+hPRE100      0    5     5    9     1    -1  HMS PRE100
+hPRE150      0    5     5    10    1    -1  HMS PRE150
+hPRE200      0    5     5    11    1    -1  HMS PRE200
+11/12        0    5     5    12    1    -1  Empty
+11/13        0    5     5    13    1    -1  Empty
+11/14        0    5     5    14    1    -1  Empty
+11/15        0    5     5    15    1    -1  Empty
+pL1ACCP      0    5     5    16    1    -1  SHMS L1 Accept
+pEDTM_V2     0    5     5    17    1    -1  SHMS EDTM V2
+11/18        0    5     5    18    1    -1  Empty
+11/19        0    5     5    19    1    -1  Empty
+11/20        0    5     5    20    1    -1  Empty
+11/21        0    5     5    21    1    -1  Empty
+11/22        0    5     5    22    1    -1  Empty
+11/23        0    5     5    23    1    -1  Empty
+11/24        0    5     5    24    1    -1  Empty
+11/25        0    5     5    25    1    -1  Empty
+11/26        0    5     5    26    1    -1  Empty
+11/27        0    5     5    27    1    -1  Empty
+11/28        0    5     5    28    1    -1  Empty
+11/29        0    5     5    29    1    -1  Empty
+11/30        0    5     5    30    1    -1  Empty
+11/31        0    5     5    31    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+pTRIG1       0    5     6    0     1    -1  SHMS TRIG1
+pTRIG2       0    5     6    1     1    -1  SHMS TRIG2
+pTRIG3       0    5     6    2     1    -1  SHMS TRIG3
+pTRIG4       0    5     6    3     1    -1  SHMS TRIG4
+pTRIG5       0    5     6    4     1    -1  SHMS TRIG5
+pTRIG6       0    5     6    5     1    -1  SHMS TRIG6
+12/6         0    5     6    6     1    -1  Empty
+12/7         0    5     6    7     1    -1  Empty
+12/8         0    5     6    8     1    -1  Empty
+12/9         0    5     6    9     1    -1  Empty
+hTRIG1       0    5     6    10    1    -1  HMS  TRIG1
+hTRIG2       0    5     6    11    1    -1  HMS  TRIG2
+hTRIG3       0    5     6    12    1    -1  HMS  TRIG3
+hTRIG4       0    5     6    13    1    -1  HMS  TRIG4
+hTRIG5       0    5     6    14    1    -1  HMS  TRIG5
+hTRIG6       0    5     6    15    1    -1  HMS  TRIG6
+pSTOF        0    5     6    16    1    -1  SHMS STOF
+pEL_LO_LO    0    5     6    17    1    -1  SHMS EL_LO_LO
+pEL_LO       0    5     6    18    1    -1  SHMS EL_LO
+pEL_HI       0    5     6    19    1    -1  SHMS EL_HI
+pEL_REAL     0    5     6    20    1    -1  SHMS EL_REAL
+pEL_CLEAN    0    5     6    21    1    -1  SHMS EL_CLEAN
+12/22        0    5     6    22    1    -1  Empty
+12/23        0    5     6    23    1    -1  Empty
+hSTOF        0    5     6    24    1    -1  HMS STOF
+hEL_LO_LO    0    5     6    25    1    -1  HMS EL_LO_LO
+hEL_LO       0    5     6    26    1    -1  HMS EL_LO
+hEL_HI       0    5     6    27    1    -1  HMS EL_HI
+hEL_REAL     0    5     6    28    1    -1  HMS EL_REAL
+hEL_CLEAN    0    5     6    29    1    -1  HMS EL_CLEAN
+12/29        0    5     6    30    1    -1  Empty
+12/30        0    5     6    31    1    -1  Empty
+
+# desc      hel crate slot start nchan page long-description
+S1X          0    5     7    0     1    -1  SHMS S1X
+S1Y          0    5     7    1     1    -1  SHMS S1Y
+S2X          0    5     7    2     1    -1  SHMS S2X
+S2Y          0    5     7    3     1    -1  SHMS S2Y
+S1XS1Y       0    5     7    4     1    -1  SHMS S1T
+S2XS2Y       0    5     7    5     1    -1  SHMS S2T
+pTREF3       0    5     7    6     1    -1  SHMS TREF3
+AERO         0    5     7    7     1    -1  SHMS AERO
+HCER         0    5     7    8     1    -1  SHMS HGC
+NCER         0    5     7    9     1    -1  SHMS NGC
+EDTM         0    5     7    10    1    -1  SHMS EDTM
+PRLO         0    5     7    11    1    -1  SHMS PRLO
+PRHI         0    5     7    12    1    -1  SHMS PRHI
+13/13        0    5     7    13    1    -1  Empty
+13/14        0    5     7    14    1    -1  Empty
+13/15        0    5     7    15    1    -1  Empty
+13/16        0    5     7    16    1    -1  Empty
+13/17        0    5     7    17    1    -1  Empty
+13/18        0    5     7    18    1    -1  Empty
+13/19        0    5     7    19    1    -1  Empty
+13/20        0    5     7    20    1    -1  Empty
+13/21        0    5     7    21    1    -1  Empty
+13/22        0    5     7    22    1    -1  Empty
+13/23        0    5     7    23    1    -1  Empty
+13/24        0    5     7    24    1    -1  Empty
+BCM4A        0    5     7    25    1    -1  BCM4A
+BCM4C        0    5     7    26    1    -1  BCM4C
+BCM1         0    5     7    27    1    -1  BCM1
+BCM2         0    5     7    28    1    -1  BCM2
+BCM4B        0    5     7    29    1    -1  BCM4B
+Unser        0    5     7    30    1    -1  Unser
+1MHz         0    5     7    31    1    -1  1MHz
+
+# desc        hel crate slot start nchan page long-description
+pBCM1_posHel   0    5     8    0     1    -1  SHMS BCM1 Hel+
+14/01          0    5     8    1     1    -1  Empty
+pBCM2_posHel   0    5     8    2     1    -1  SHMS BCM2 Hel+
+14/03          0    5     8    3     1    -1  Empty
+pBCM4B_posHel  0    5     8    4     1    -1  SHMS BCM4B Hel+
+14/05          0    5     8    5     1    -1  Empty
+pUnser_posHel  0    5     8    6     1    -1  SHMS Unser Hel+
+14/07          0    5     8    7     1    -1  Empty
+p1MHz_posHel   0    5     8    8     1    -1  SHMS 1MHz Hel+
+14/09          0    5     8    9     1    -1  Empty
+pBCM4A_posHel  0    5     8    10    1    -1  SHMS BCM4A Hel+
+14/11          0    5     8    11    1    -1  Empty
+pBCM4C_posHel  0    5     8    12    1    -1  SHMS BCM4C Hel+
+14/13          0    5     8    13    1    -1  Empty
+14/14          0    5     8    14    1    -1  Empty
+pL1ACCP_posHel 0    5     8    15    1    -1  SHMS L1 Accept Hel+
+pTRIG1_posHel  0    5     8    16    1    -1  SHMS TRIG1 Hel+
+pTRIG2_posHel  0    5     8    17    1    -1  SHMS TRIG2 Hel+
+pTRIG3_posHel  0    5     8    18    1    -1  SHMS TRIG3 Hel+
+pTRIG4_posHel  0    5     8    19    1    -1  SHMS TRIG4 Hel+
+pTRIG5_posHel  0    5     8    20    1    -1  SHMS TRIG5 Hel+
+pTRIG6_posHel  0    5     8    21    1    -1  SHMS TRIG6 Hel+
+14/22          0    5     8    22    1    -1  Empty
+14/23          0    5     8    23    1    -1  Empty
+14/24          0    5     8    24    1    -1  Empty
+14/25          0    5     8    25    1    -1  Empty
+hTRIG1_posHel  0    5     8    26    1    -1  HMS TRIG1 Hel+
+hTRIG2_posHel  0    5     8    27    1    -1  HMS TRIG2 Hel+
+hTRIG3_posHel  0    5     8    28    1    -1  HMS TRIG3 Hel+
+hTRIG4_posHel  0    5     8    29    1    -1  HMS TRIG4 Hel+
+hTRIG5_posHel  0    5     8    30    1    -1  HMS TRIG5 Hel+
+hTRIG6_posHel  0    5     8    31    1    -1  HMS TRIG6 Hel+
+
+# desc        hel crate slot start nchan page long-description
+pBCM1_negHel   0    5     9    0     1    -1  SHMS BCM1 Hel-
+15/01          0    5     9    1     1    -1  Empty
+pBCM2_negHel   0    5     9    2     1    -1  SHMS BCM2 Hel-
+15/03          0    5     9    3     1    -1  Empty
+pBCM4B_negHel  0    5     9    4     1    -1  SHMS BCM4B Hel-
+15/05          0    5     9    5     1    -1  Empty
+pUnser_negHel  0    5     9    6     1    -1  SHMS Unser Hel-
+15/07          0    5     9    7     1    -1  Empty
+p1MHz_negHel   0    5     9    8     1    -1  SHMS 1MHz Hel-
+15/09          0    5     9    9     1    -1  Empty
+pBCM4A_negHel  0    5     9    10    1    -1  SHMS BCM4A Hel-
+15/11          0    5     9    11    1    -1  Empty
+pBCM4C_negHel  0    5     9    12    1    -1  SHMS BCM4C Hel-
+15/13          0    5     9    13    1    -1  Empty
+15/14          0    5     9    14    1    -1  Empty
+pL1ACCP_negHel 0    5     9    15    1    -1  SHMS L1 Accept Hel-
+pTRIG1_negHel  0    5     9    16    1    -1  SHMS TRIG1 Hel-
+pTRIG2_negHel  0    5     9    17    1    -1  SHMS TRIG2 Hel-
+pTRIG3_negHel  0    5     9    18    1    -1  SHMS TRIG3 Hel-
+pTRIG4_negHel  0    5     9    19    1    -1  SHMS TRIG4 Hel-
+pTRIG5_negHel  0    5     9    20    1    -1  SHMS TRIG5 Hel-
+pTRIG6_negHel  0    5     9    21    1    -1  SHMS TRIG6 Hel-
+14/22          0    5     9    22    1    -1  Empty
+14/23          0    5     9    23    1    -1  Empty
+14/24          0    5     9    24    1    -1  Empty
+14/25          0    5     9    25    1    -1  Empty
+hTRIG1_negHel  0    5     9    26    1    -1  HMS TRIG1 Hel-
+hTRIG2_negHel  0    5     9    27    1    -1  HMS TRIG2 Hel-
+hTRIG3_negHel  0    5     9    28    1    -1  HMS TRIG3 Hel-
+hTRIG4_negHel  0    5     9    29    1    -1  HMS TRIG4 Hel-
+hTRIG5_negHel  0    5     9    30    1    -1  HMS TRIG5 Hel-
+hTRIG6_negHel  0    5     9    31    1    -1  HMS TRIG6 Hel-
+
+# desc      hel crate slot start nchan page long-description
+clock        0    5     10    1     1    -1  clock
diff --git a/MAPS/SHMS/DETEC/STACK/shms_stack.map b/MAPS/SHMS/DETEC/STACK/shms_stack.map
index 3fdda7167795ca59a1eace5cf2596c82b047da12..6e78d29affa1ac89245996485456473ae8c8709a 100644
--- a/MAPS/SHMS/DETEC/STACK/shms_stack.map
+++ b/MAPS/SHMS/DETEC/STACK/shms_stack.map
@@ -21,16 +21,16 @@ REFINDEX=3
    3,   1,   4,   0  ! pPSHWR
    4,   1,   6,   0  ! pHGCER_MOD
    5,   1,   7,   0  ! pNGCER_MOD
-   8,   1,   8,   0  ! pHEL_NEG
-   9,   1,   9,   0  ! pHEL_POS
-  10,   1,  10,   0  ! pHEL_MPS
+   7,   1,   8,   0  ! pHEL_QRT
+   8,   1,   9,   0  ! pHEL_NEG
+   9,   1,  10,   0  ! pHEL_POS
+  10,   1,  11,   0  ! pHEL_MPS
   11,   1,   5,   0  ! pFADC_TREF_ROC2
 
 SLOT=20
 REFINDEX=1
   15,1000,   0,   1  ! pTRef1
   15,   2,   1,   1  ! pT1
-  63,   2,  59,   1  ! pHODO_RF  
 
 SLOT=19
 REFINDEX=0
diff --git a/MAPS/SHMS/DETEC/TRIG/ptrig.map b/MAPS/SHMS/DETEC/TRIG/ptrig.map
index 174fb5281ae4e17116cad51cf26d73ea4ad2c3fa..28e272f0fdffddfc1e133b978c4f555977735630 100644
--- a/MAPS/SHMS/DETEC/TRIG/ptrig.map
+++ b/MAPS/SHMS/DETEC/TRIG/ptrig.map
@@ -19,9 +19,10 @@ REFINDEX=3
      3,      1,      4,     0 ! pPSHWR
      4,      1,      6,     0 ! pHGCER_MOD
      5,      1,      7,     0 ! pNGCER_MOD
-     8,      1,      8,     0 ! pHEL_NEG
-     9,      1,      9,     0 ! pHEL_POS
-    10,      1,     10,     0 ! pHEL_MPS
+     7,      1,      8,     0 ! pHEL_QRT
+     8,      1,      9,     0 ! pHEL_NEG
+     9,      1,     10,     0 ! pHEL_POS
+    10,      1,     11,     0 ! pHEL_MPS
     11,      1,      5,     0 ! pFADC_TREF_ROC2
     
 ! CAEN1190 module
diff --git a/MAPS/merge_list.txt b/MAPS/merge_list.txt
index 361d99345a03128c262f46268338ae02c371e005..80811371beb55e08c5f0606d309a49140468d577 100644
--- a/MAPS/merge_list.txt
+++ b/MAPS/merge_list.txt
@@ -1,15 +1,17 @@
+HMS/DETEC/RASTER/hraster.map
+HMS/DETEC/TRIG/htrig.map
 HMS/DETEC/DC/hdc.map
 HMS/DETEC/HODO/hhodo.map
 HMS/DETEC/CER/hcer.map
 HMS/DETEC/CAL/hcal.map
-HMS/DETEC/RASTER/hraster.map
 
+SHMS/DETEC/RASTER/praster.map
+SHMS/DETEC/TRIG/ptrig.map
 SHMS/DETEC/NGCER/pngcer.map
 SHMS/DETEC/DC/pdc.map
 SHMS/DETEC/HODO/phodo.map
 SHMS/DETEC/HGCER/phgcer.map
 SHMS/DETEC/AERO/paero.map
 SHMS/DETEC/CAL/pcal.map
-SHMS/DETEC/RASTER/praster.map
 
 COIN/DETEC/TRIG/cointrig.map
diff --git a/PARAM/GEN/gbeam.param b/PARAM/GEN/gbeam.param
index e02b027b02ab8ba8392d4b27a9682bdc3d28f5d4..5dfe2c6bab113e890b1d932411b8225d9ee49b85 100644
--- a/PARAM/GEN/gbeam.param
+++ b/PARAM/GEN/gbeam.param
@@ -13,17 +13,29 @@
 ; Updated  by Dave Gaskell
 ;
   gbpmxa_slope = -0.98
-  gbpmxa_off   = -0.05+0.21
+  gbpmxa_off   = +0.21
+  gbpmxa_off   = -0.05+0.32
+  gbpmxa_off   = 0.28 
   gbpmxb_slope = -1.12
   gbpmxb_off   = +0.08+0.12
+  gbpmxb_off   = +0.08+0.38
+  gbpmxb_off   = 0.47
   gbpmxc_slope = -0.96
   gbpmxc_off   = -0.89-0.29
+  gbpmxc_off   = -0.89+.09
+  gbpmxc_off   = -0.63
   gbpmya_slope = 0.97
   gbpmya_off   = -0.20+0.36
+  gbpmya_off   = -0.20+0.38
+  gbpmya_off   = -0.09
   gbpmyb_slope = 1.17
   gbpmyb_off   = 0.38+0.36
+  gbpmyb_off   = 0.38-.13
+  gbpmyb_off   = 0.02
   gbpmyc_slope = 0.87
   gbpmyc_off   = 0.47+0.31
+  gbpmyc_off   = 0.47-.76
+  gbpmyc_off   = -0.13
 
 ;positions of BPMs relative to target (from Fall 2018 survey)
 gbpma_zpos = 320.17 ; cm
diff --git a/PARAM/HMS/GEN/h_reftime_cut_coindaq.param b/PARAM/HMS/GEN/h_reftime_cut_coindaq.param
index e71e54fa2691d095fa12eeb6a482bd488b515de9..e35fe103dd0b66626d9f2fe0a0ade4ad9665df1e 100644
--- a/PARAM/HMS/GEN/h_reftime_cut_coindaq.param
+++ b/PARAM/HMS/GEN/h_reftime_cut_coindaq.param
@@ -8,8 +8,8 @@
 ;     reference time is used and warning message is produced.
 ; Cut is on reference time per detector.
 
-hdc_tdcrefcut=-16000
-hhodo_tdcrefcut=-3200
-hhodo_adcrefcut=-5000
-hcer_adcrefcut=-5000.
-hcal_adcrefcut=-5000.
+hdc_tdcrefcut=-15000
+hhodo_tdcrefcut=-2500
+hhodo_adcrefcut=-3500
+hcer_adcrefcut=-3500.
+hcal_adcrefcut=-3500.
diff --git a/PARAM/HMS/GEN/h_reftime_cut_coindaq1.param b/PARAM/HMS/GEN/h_reftime_cut_coindaq1.param
deleted file mode 100644
index e71e54fa2691d095fa12eeb6a482bd488b515de9..0000000000000000000000000000000000000000
--- a/PARAM/HMS/GEN/h_reftime_cut_coindaq1.param
+++ /dev/null
@@ -1,15 +0,0 @@
-; Cut to select the Reference time when multiple hits in reference time 
-; The units in channels for the module (CAEN tdc or FADC)
-; negative value refcut means that the first reference time greater than the abs(refcut)
-;     is used as reftime. If no ref time is found  greater than the abs(refcut) then first
-;     reference time is used.
-; positive value refcut means that the the first reference time greater than the abs(refcut)
-;     is used as reftime. If no ref time is found  greater than the abs(refcut) then no
-;     reference time is used and warning message is produced.
-; Cut is on reference time per detector.
-
-hdc_tdcrefcut=-16000
-hhodo_tdcrefcut=-3200
-hhodo_adcrefcut=-5000
-hcer_adcrefcut=-5000.
-hcal_adcrefcut=-5000.
diff --git a/PARAM/HMS/GEN/h_reftime_cut_coindaq2.param b/PARAM/HMS/GEN/h_reftime_cut_coindaq2.param
deleted file mode 100644
index e35fe103dd0b66626d9f2fe0a0ade4ad9665df1e..0000000000000000000000000000000000000000
--- a/PARAM/HMS/GEN/h_reftime_cut_coindaq2.param
+++ /dev/null
@@ -1,15 +0,0 @@
-; Cut to select the Reference time when multiple hits in reference time 
-; The units in channels for the module (CAEN tdc or FADC)
-; negative value refcut means that the first reference time greater than the abs(refcut)
-;     is used as reftime. If no ref time is found  greater than the abs(refcut) then first
-;     reference time is used.
-; positive value refcut means that the the first reference time greater than the abs(refcut)
-;     is used as reftime. If no ref time is found  greater than the abs(refcut) then no
-;     reference time is used and warning message is produced.
-; Cut is on reference time per detector.
-
-hdc_tdcrefcut=-15000
-hhodo_tdcrefcut=-2500
-hhodo_adcrefcut=-3500
-hcer_adcrefcut=-3500.
-hcal_adcrefcut=-3500.
diff --git a/PARAM/HMS/HODO/hhodo_cuts.param b/PARAM/HMS/HODO/hhodo_cuts.param
index e044f3044dd7e629e76c44fb8ca2f7110bd5b281..6e1b2eda259adee61528a393d44ba8fad3890374 100644
--- a/PARAM/HMS/HODO/hhodo_cuts.param
+++ b/PARAM/HMS/HODO/hhodo_cuts.param
@@ -52,76 +52,76 @@ hhodo_adc_tdc_offset = 200., 200., 200., 200.
 ; HMS Hodoscope Parameter File Containing TimeWindow Min/Max Cuts 
 
 ;                              1x                 1y              2x              2y 
-hhodo_PosAdcTimeWindowMin = -28,             -30,             -26,             -27
-                          -28.23,          -30.20,          -25.97,          -26.89
-                          -23.04,          -29.08,          -25.51,          -26.18
-                          -23.33,          -25.42,          -29.26,          -29.63
-                          -23.44,          -24.82,          -26.38,          -27.23
-                          -23.45,          -24.69,          -26.05,          -26.53
-                          -22.96,          -24.11,          -25.78,          -26.37
-                          -23.73,          -28.89,          -26.06,          -26.37
-                          -23.61,          -25.17,          -25.89,          -27.47
-                          -23.81,          -26.14,          -26.07,          -28.11
-                          -23.31,            0.00,          -25.53,            0.00
-                          -23.96,            0.00,          -26.16,            0.00
-                          -24.80,            0.00,          -25.72,            0.00
-                          -24.94,            0.00,          -26.20,            0.00
-                          -24.76,            0.00,          -26.28,            0.00
-                          -25.06,            0.00,          -25.71,            0.00
+hhodo_PosAdcTimeWindowMin = -28-10,             -30,             -26,             -27
+                          -28.23-10,          -30.20,          -25.97,          -26.89
+                          -23.04-10,          -29.08,          -25.51,          -26.18
+                          -23.33-10,          -25.42,          -29.26,          -29.63
+                          -23.44-10,          -24.82,          -26.38,          -27.23
+                          -23.45-10,          -24.69,          -26.05,          -26.53
+                          -22.96-10,          -24.11,          -25.78,          -26.37
+                          -23.73-10,          -28.89,          -26.06,          -26.37
+                          -23.61-10,          -25.17,          -25.89,          -27.47
+                          -23.81-10,          -26.14,          -26.07,          -28.11
+                          -23.31-10,            0.00,          -25.53,            0.00
+                          -23.96-10,            0.00,          -26.16,            0.00
+                          -24.80-10,            0.00,          -25.72,            0.00
+                          -24.94-10,            0.00,          -26.20,            0.00
+                          -24.76-10,            0.00,          -26.28,            0.00
+                          -25.06-10,            0.00,          -25.71,            0.00
 
 ;                              1x                 1y              2x              2y 
-hhodo_PosAdcTimeWindowMax = -19.94,          -20.66,          -19.07,          -17.71
-                          -19.97,          -19.63,          -18.32,          -17.06
-                          -16.42,          -19.99,          -17.77,          -16.85
-                          -17.20,          -16.70,          -22.11,          -20.42
-                          -17.06,          -17.53,          -18.94,          -17.78
-                          -17.04,          -17.71,          -18.21,          -18.75
-                          -16.52,          -16.14,          -18.59,          -16.58
-                          -16.66,          -20.24,          -18.20,          -17.77
-                          -16.81,          -15.86,          -18.43,          -17.45
-                          -16.55,          -16.90,          -18.19,          -17.75
-                          -16.04,            0.00,          -17.74,            0.00
-                          -16.34,            0.00,          -18.06,            0.00
-                          -16.37,            0.00,          -17.47,            0.00
-                          -16.18,            0.00,          -16.82,            0.00
-                          -15.24,            0.00,          -16.70,            0.00
-                          -14.83,            0.00,          -17.50,            0.00
+hhodo_PosAdcTimeWindowMax = -19.94+10,          -20.66,          -19.07,          -17.71
+                          -19.97+10,          -19.63,          -18.32,          -17.06
+                          -16.42+10,          -19.99,          -17.77,          -16.85
+                          -17.20+10,          -16.70,          -22.11,          -20.42
+                          -17.06+10,          -17.53,          -18.94,          -17.78
+                          -17.04+10,          -17.71,          -18.21,          -18.75
+                          -16.52+10,          -16.14,          -18.59,          -16.58
+                          -16.66+10,          -20.24,          -18.20,          -17.77
+                          -16.81+10,          -15.86,          -18.43,          -17.45
+                          -16.55+10,          -16.90,          -18.19,          -17.75
+                          -16.04+10,            0.00,          -17.74,            0.00
+                          -16.34+10,            0.00,          -18.06,            0.00
+                          -16.37+10,            0.00,          -17.47,            0.00
+                          -16.18+10,            0.00,          -16.82,            0.00
+                          -15.24+10,            0.00,          -16.70,            0.00
+                          -14.83+10,            0.00,          -17.50,            0.00
 
 ;                              1x                 1y              2x              2y 
-hhodo_NegAdcTimeWindowMin = -26.56,          -31.46,          -26.25,          -29.35
-                          -29.93,          -29.57,          -26.17,          -28.37
-                          -25.62,          -28.51,          -25.64,          -31.28
-                          -25.78,          -27.64,          -24.85,          -27.00
-                          -26.20,          -26.72,          -26.27,          -27.18
-                          -25.37,          -26.47,          -25.95,          -27.15
-                          -25.26,          -30.88,          -25.94,          -26.34
-                          -25.19,          -31.09,          -26.02,          -26.88
-                          -25.98,          -27.87,          -25.53,          -28.08
-                          -25.39,          -27.58,          -25.71,          -27.24
-                          -25.46,            0.00,          -24.92,            0.00
-                          -25.72,            0.00,          -25.27,            0.00
-                          -26.13,            0.00,          -28.47,            0.00
-                          -27.13,            0.00,          -28.72,            0.00
-                          -26.86,            0.00,          -25.58,            0.00
-                          -26.68,            0.00,          -24.72,            0.00
+hhodo_NegAdcTimeWindowMin = -26.56-10,          -31.46,          -26.25,          -29.35
+                          -29.93-10,          -29.57,          -26.17,          -28.37
+                          -25.62-10,          -28.51,          -25.64,          -31.28
+                          -25.78-10,          -27.64,          -24.85,          -27.00
+                          -26.20-10,          -26.72,          -26.27,          -27.18
+                          -25.37-10,          -26.47,          -25.95,          -27.15
+                          -25.26-10,          -30.88,          -25.94,          -26.34
+                          -25.19-10,          -31.09,          -26.02,          -26.88
+                          -25.98-10,          -27.87,          -25.53,          -28.08
+                          -25.39-10,          -27.58,          -25.71,          -27.24
+                          -25.46-10,            0.00,          -24.92,            0.00
+                          -25.72-10,            0.00,          -25.27,            0.00
+                          -26.13-10,            0.00,          -28.47,            0.00
+                          -27.13-10,            0.00,          -28.72,            0.00
+                          -26.86-10,            0.00,          -25.58,            0.00
+                          -26.68-10,            0.00,          -24.72,            0.00
 
 ;                              1x                 1y              2x              2y 
-hhodo_NegAdcTimeWindowMax = -18.69,          -13.15,          -17.94,          -17.24
-                          -22.37,          -14.57,          -18.05,          -17.39
-                          -18.80,          -14.83,          -17.60,          -20.53
-                          -19.77,          -17.21,          -17.49,          -16.91
-                          -19.20,          -18.47,          -17.91,          -17.84
-                          -19.15,          -18.82,          -18.35,          -17.88
-                          -18.12,          -21.07,          -18.36,          -17.82
-                          -18.20,          -20.78,          -18.26,          -17.07
-                          -18.31,          -16.90,          -17.74,          -16.61
-                          -17.93,          -17.30,          -17.49,          -16.58
-                          -17.83,            0.00,          -17.40,            0.00
-                          -17.48,            0.00,          -16.91,            0.00
-                          -18.11,            0.00,          -20.82,            0.00
-                          -16.73,            0.00,          -20.48,            0.00
-                          -17.10,            0.00,          -16.49,            0.00
-                          -16.17,            0.00,          -16.48,            0.00
+hhodo_NegAdcTimeWindowMax = -18.69+10,          -13.15,          -17.94,          -17.24
+                          -22.37+10,          -14.57,          -18.05,          -17.39
+                          -18.80+10,          -14.83,          -17.60,          -20.53
+                          -19.77+10,          -17.21,          -17.49,          -16.91
+                          -19.20+10,          -18.47,          -17.91,          -17.84
+                          -19.15+10,          -18.82,          -18.35,          -17.88
+                          -18.12+10,          -21.07,          -18.36,          -17.82
+                          -18.20+10,          -20.78,          -18.26,          -17.07
+                          -18.31+10,          -16.90,          -17.74,          -16.61
+                          -17.93+10,          -17.30,          -17.49,          -16.58
+                          -17.83+10,            0.00,          -17.40,            0.00
+                          -17.48+10,            0.00,          -16.91,            0.00
+                          -18.11+10,            0.00,          -20.82,            0.00
+                          -16.73+10,            0.00,          -20.48,            0.00
+                          -17.10+10,            0.00,          -16.49,            0.00
+                          -16.17+10,            0.00,          -16.48,            0.00
 
 ;   
 hhodo_pos_ped_limit = 1000,1000,1000,1000,1000,1000,1000,1000                   
diff --git a/PARAM/SHMS/GEN/p_reftime_cut.param b/PARAM/SHMS/GEN/p_reftime_cut.param
index d915109334983eba13df36a711a9b74a133a64f6..2cac5427966cf0d5d5771bf67c0a232cdf02590c 100644
--- a/PARAM/SHMS/GEN/p_reftime_cut.param
+++ b/PARAM/SHMS/GEN/p_reftime_cut.param
@@ -8,41 +8,22 @@
 ;     reference time is used and warning message is produced.
 ; Cut is on reference time per detector.
 
-; from run 4698
+; Values calibrated for COIN DAQ during J/psi experiment
+; pdc_tdcrefcut=-14000.
+; phodo_tdcrefcut=-3600.
+; phodo_adcrefcut=-4500.
+; pngcer_adcrefcut=-4500.
+; phgcer_adcrefcut=-4500.
+; paero_adcrefcut=-4500.
+; pcal_adcrefcut=-4500.
 
-;pdc_tdcrefcut=-13000.
-;phodo_tdcrefcut=-3000.
+; Values calibrated to SHMS singles daq during J/psi experiment
+pdc_tdcrefcut=-14000.
+phodo_tdcrefcut=-3600.
+phodo_adcrefcut=-4400.
+pngcer_adcrefcut=-4400.
+phgcer_adcrefcut=-4400.
+paero_adcrefcut=-4400.
+pcal_adcrefcut=-4400.
 
-;phodo_adcrefcut=-200./.0625
-;pngcer_adcrefcut=-200./.0625
-;phgcer_adcrefcut=-200./.0625
-;paero_adcrefcut=-200./.0625
-;pcal_adcrefcut=-200./.0625
 
-; from run 4716
-
-;pdc_tdcrefcut=-15200.
-;phodo_tdcrefcut=-4000.
-;phodo_adcrefcut=-5500.
-;pngcer_adcrefcut=-5500.
-;phgcer_adcrefcut=-5500.
-;paero_adcrefcut=-5500.
-;pcal_adcrefcut=-5500.
-
-;singles
-;pdc_tdcrefcut=-15000.
-;phodo_tdcrefcut=-4000.
-;phodo_adcrefcut=-5200.
-;pngcer_adcrefcut=-5200.
-;phgcer_adcrefcut=-5200.
-;paero_adcrefcut=-5200.
-;pcal_adcrefcut=-5200.
-
-;JPsiCoin, KIN 2-0 (Used run 7221, rad out)
-;pdc_tdcrefcut=-15000.
-;phodo_tdcrefcut=-4300.
-;phodo_adcrefcut=-5500.
-;pngcer_adcrefcut=-5500.
-;phgcer_adcrefcut=-5500.
-;paero_adcrefcut=-5500.
-;pcal_adcrefcut=-5500.
\ No newline at end of file
diff --git a/PARAM/SHMS/GEN/p_reftime_cut_coindaq.param b/PARAM/SHMS/GEN/p_reftime_cut_coindaq.param
index 2fd4046aca93e8e4b59917513a7283e3371c0ebd..5b8e61f8c873a995a916a160fa0f2a60100bd7f9 100644
--- a/PARAM/SHMS/GEN/p_reftime_cut_coindaq.param
+++ b/PARAM/SHMS/GEN/p_reftime_cut_coindaq.param
@@ -8,6 +8,7 @@
 ;     reference time is used and warning message is produced.
 ; Cut is on reference time per detector.
 
+; Values calibrated for COIN DAQ during J/psi experiment
 pdc_tdcrefcut=-14000.
 phodo_tdcrefcut=-3600.
 phodo_adcrefcut=-4500.
@@ -15,3 +16,4 @@ pngcer_adcrefcut=-4500.
 phgcer_adcrefcut=-4500.
 paero_adcrefcut=-4500.
 pcal_adcrefcut=-4500.
+
diff --git a/PARAM/SHMS/GEN/p_reftime_cut_shmsdaq.param b/PARAM/SHMS/GEN/p_reftime_cut_shmsdaq.param
index acb153f70af51fc81066426f10da2e261093b37d..defe10fc6a1943b06fd484d6b3af8105ef76a55a 100644
--- a/PARAM/SHMS/GEN/p_reftime_cut_shmsdaq.param
+++ b/PARAM/SHMS/GEN/p_reftime_cut_shmsdaq.param
@@ -8,6 +8,7 @@
 ;     reference time is used and warning message is produced.
 ; Cut is on reference time per detector.
 
+; Values calibrated to SHMS singles daq during J/psi experiment
 pdc_tdcrefcut=-14000.
 phodo_tdcrefcut=-3600.
 phodo_adcrefcut=-4400.
diff --git a/PARAM/TRIG/tcoin_spring19.param b/PARAM/TRIG/tcoin_spring19.param
index d6eaf25d64559188370fb0c55c4e551f421531ed..6088c53d28a37f03328aea903ee732009cc81383 100644
--- a/PARAM/TRIG/tcoin_spring19.param
+++ b/PARAM/TRIG/tcoin_spring19.param
@@ -6,8 +6,6 @@ t_coin_adc_tdc_offset = 200.
 
 t_coin_tdcchanperns = 0.09766
 eHadCoinTime_Offset = 0.
-t_coin_trig_tdcrefcut=-4800.
-t_coin_trig_adcrefcut=-5000.
 
 t_coin_trig_tdcrefcut = -4800.
 t_coin_trig_adcrefcut = -5000.
diff --git a/TEMPLATES/SHMS/PRODUCTION/pstackana_production.template b/TEMPLATES/SHMS/PRODUCTION/pstackana_production.template
index ec52203e6891725daf86e4720ebd5dc0ce3154ce..323daa7212bd9a0757a5fedeabc8551ff986fea2 100644
--- a/TEMPLATES/SHMS/PRODUCTION/pstackana_production.template
+++ b/TEMPLATES/SHMS/PRODUCTION/pstackana_production.template
@@ -67,8 +67,13 @@ Accepted SHMS Triggers          : {pcut_TRIG1.npassed}
 SHMS Event Types                : {SHMS_Pretrig.npassed}
 
 
-SHMS TRIG5 Computer Live Time : {(pcut_TRIG5.npassed / P.pTRIG5.scaler)*100.0:%3.4f} % [ {(pcut_TRIG5.npassed / (P.pTRIG5.scaler/gpconfig_ti_ps_factors[4]))*100.0:%3.4f} %  ]
-SHMS TRIG5 Computer Dead Time : {100.0 - (pcut_TRIG5.npassed / P.pTRIG5.scaler)*100.0:%3.4f} % [ {100.0 - (pcut_TRIG5.npassed / (P.pTRIG5.scaler/gpconfig_ti_ps_factors[4]))*100.0:%3.4f} %  ]
+SHMS TRIG2 Computer Live Time : {((pcut_TRIG2.npassed) / (P.pTRIG2.scaler/gpconfig_ti_ps_factors[1]))*100.0:%3.4f} %  
+
+SHMS TRIG3 Computer Live Time : {((pcut_TRIG3.npassed) / (P.pTRIG3.scaler/gpconfig_ti_ps_factors[2]))*100.0:%3.4f} %  
+
+
+SHMS TRIG6 Computer Live Time : {(pcut_TRIG6.npassed / P.pTRIG6.scaler)*100.0:%3.4f} % 
+SHMS TRIG6 Computer Dead Time : {100.0 - (pcut_TRIG6.npassed / P.pTRIG6.scaler)*100.0:%3.4f} % 
 
 =:=:=:=:=:=:=:=:=:=:=:=:
 = Physics 3/4 Triggers
@@ -121,8 +126,7 @@ pTRIG6 :  	{P.pTRIG6.scalerCut} 	[ {(P.pTRIG6.scalerCut/P.1MHz.scalerTimeCut)/10
 =:=:=:=:
 
 EDTM Triggers           : {P.EDTM.scaler}
-Estimated EDTM Triggers : {P.EDTM.scalerCut*(P.1MHz.scaler/1000000.):%.0f}
-EDTM Trigger Rate       : {P.EDTM.scalerRate/1000.:%.3f} kHz
+EDTM Trigger Rate       : {P.EDTM.scalerCut/P.1MHz.scalerTimeCut/1000.:%.3f} kHz
 Accepted EDTM Triggers  : {pcut_edtm_accepted.npassed}
 
 Total Live Time (EDTM) : {(pcut_edtm_accepted.npassed / P.EDTM.scaler)*100.0:%3.4f} %
diff --git a/do_coin_50k.sh b/do_coin_50k.sh
new file mode 120000
index 0000000000000000000000000000000000000000..965f27ffbb80842f3be438d45000e1c43b8d9f46
--- /dev/null
+++ b/do_coin_50k.sh
@@ -0,0 +1 @@
+UTIL_OL/SCRIPTS/SHELL/do_coin_50k.sh
\ No newline at end of file
diff --git a/macros/opticsElecs.C b/macros/opticsElecs.C
new file mode 100644
index 0000000000000000000000000000000000000000..ce780f2f3c574b81358949a72119f33f7c753022
--- /dev/null
+++ b/macros/opticsElecs.C
@@ -0,0 +1,20 @@
+{
+
+  auto can = new TCanvas("can", "can", 800, 1600);
+  can->Divide(1, 2);
+  can->cd(1);
+  T->Draw("P.gtr.y>>h1(100, -5., 5.)", "P.ngcer.npeSum > 2.0 && P.gtr.dp > -10.0 && P.gtr.dp < 22.0");
+  can->cd(2);
+  // T->Draw("P.cal.etottracknorm>>h2(150, 0.01, 1.5)", "abs(P.gtr.y) < 5. && P.gtr.dp > -10. && P.gtr.dp < 22. && P.ngcer.npeSum > 2.","");
+  T->Draw("P.cal.etottracknorm>>h2(150, 0.01, 1.5)", "P.gtr.dp > -10. && P.gtr.dp < 22. && P.ngcer.npeSum > 2.","");
+  
+  Double_t numElecs, numElecsPerTrigger, numTrigsNeeded;
+  Double_t numReplayedTrigs = 50000.;
+  Double_t numWantedElecs   = 15000.;
+  numElecs = h2->Integral(80, 120);
+  cout << "Number of e-s from all optics foils =  " << numElecs << endl;
+  numElecsPerTrigger = numElecs/numReplayedTrigs;
+  numTrigsNeeded     = numWantedElecs/numElecsPerTrigger;
+  cout << Form("Number of triggers required for %.0f e-s = ", numWantedElecs) << numTrigsNeeded << endl;
+
+}
diff --git a/macros/positronCounter.C b/macros/positronCounter.C
new file mode 100644
index 0000000000000000000000000000000000000000..39fcd96284dbe65e2d746f9e97c3bfc3d8a05931
--- /dev/null
+++ b/macros/positronCounter.C
@@ -0,0 +1,164 @@
+void positronCounter(int run) {
+
+  // CUts Limits
+  Double_t cut_ngcer = 2.;
+  Double_t cut_edeltamin = -10.;
+  Double_t cut_edeltamax = 22.;
+
+  // Integral etottracknorm Limits
+  Double_t etot_min = 0.85;
+  Double_t etot_max = 1.2;
+
+  // read ROOTfile and Get TTree
+  TString filename = Form("ROOTfiles/shms_replay_production_%d_-1.root", run);
+  TFile* data_file = new TFile(filename, "READ");
+  TTree* T = (TTree*)data_file->Get("T");
+
+  Double_t shms_ecal;
+  Double_t shms_delta;
+  Double_t shms_ngcer;
+  Double_t pdc_xfp;
+  Double_t pdc_yfp;
+
+  T->SetBranchAddress("P.cal.etottracknorm", &shms_ecal);
+  T->SetBranchAddress("P.gtr.dp", &shms_delta);
+  T->SetBranchAddress("P.ngcer.npeSum", &shms_ngcer);
+  T->SetBranchAddress("P.dc.x_fp", &pdc_xfp);
+  T->SetBranchAddress("P.dc.y_fp", &pdc_yfp);
+
+  TH1F* H_pecal = new TH1F("H_pecal", "SHMS E_{tot} Normalized Trk Energy", 100,
+                           0.001, 1.7);
+  TH1F* H_pdelta = new TH1F("H_pdelta", "SHMS Delta", 100, -15, 25);
+  TH1F* H_pngcer =
+      new TH1F("H_pngcer", "SHMS Noble Gas Cer NPE SUM", 100, 0.001, 40);
+
+  TH1F* H_pecal_cut = new TH1F(
+      "H_pecal_cut", "SHMS E_{tot} Normalized Trk Energy", 100, 0.001, 1.7);
+  TH1F* H_pdelta_cut = new TH1F("H_pdelta_cut", "SHMS Delta", 100, -15, 25);
+  TH1F* H_pngcer_cut =
+      new TH1F("H_pngcer_cut", "SHMS Noble Gas Cer NPE SUM", 100, 0.001, 40);
+
+  TH2F* H_pxfp_vs_pyfp = new TH2F("H_pxfp_vs_pyfp", "SHMS X_{fp} vs. Y_{fp}",
+                                  100, -50, 50, 100, -50, 50);
+  H_pecal->GetXaxis()->SetTitle("SHMS Cal. Normalized TRack Energy");
+  H_pdelta->GetXaxis()->SetTitle("SHMS #delta [%]");
+  H_pngcer->GetXaxis()->SetTitle("SHMS NGC #PhotoElectrons SUM");
+  H_pxfp_vs_pyfp->GetXaxis()->SetTitle("SHMS Y_{fp} [cm]");
+  H_pxfp_vs_pyfp->GetYaxis()->SetTitle("SHMS X_{fp} [cm]");
+
+  H_pecal->GetXaxis()->CenterTitle();
+  H_pdelta->GetXaxis()->CenterTitle();
+  H_pngcer->GetXaxis()->CenterTitle();
+  H_pxfp_vs_pyfp->GetYaxis()->CenterTitle();
+  H_pxfp_vs_pyfp->GetXaxis()->CenterTitle();
+
+  Bool_t ngc_cut;
+  Bool_t edelta_cut;
+
+  Long64_t nentries = T->GetEntries();
+
+  // Loop over all entries
+  for (Long64_t i = 0; i < nentries; i++) {
+
+    T->GetEntry(i);
+
+    edelta_cut = shms_delta > -10. && shms_delta < 22.;
+    ngc_cut = shms_ngcer > 2.0;
+
+    H_pecal->Fill(shms_ecal);
+    H_pdelta->Fill(shms_delta);
+    H_pngcer->Fill(shms_ngcer);
+
+    if (edelta_cut && ngc_cut) {
+      H_pecal_cut->Fill(shms_ecal);
+      H_pdelta_cut->Fill(shms_delta);
+      H_pngcer_cut->Fill(shms_ngcer);
+      H_pxfp_vs_pyfp->Fill(pdc_yfp, pdc_xfp);
+
+    } // end cut
+
+  } // end loop over entries
+
+  TLine* ngc_line = new TLine(cut_ngcer, 0, cut_ngcer, H_pngcer->GetMaximum());
+  TLine* ecal_min = new TLine(etot_min, 0, etot_min, H_pecal->GetMaximum());
+  TLine* ecal_max = new TLine(etot_max, 0, etot_max, H_pecal->GetMaximum());
+
+  TLine* delta_min =
+      new TLine(cut_edeltamin, 0, cut_edeltamin, H_pdelta->GetMaximum());
+  TLine* delta_max =
+      new TLine(cut_edeltamax, 0, cut_edeltamax, H_pdelta->GetMaximum());
+
+  // DRaw Histograms
+  TCanvas* c1 = new TCanvas("c1", "", 1500, 1500);
+  c1->Divide(2, 2);
+
+  c1->cd(1);
+  H_pecal->SetLineWidth(2);
+  H_pecal_cut->SetLineWidth(2);
+  H_pecal_cut->SetLineColor(kRed);
+  H_pecal->Draw();
+  H_pecal_cut->Draw("sames");
+  ecal_min->SetLineColor(kBlack);
+  ecal_min->SetLineStyle(2);
+  ecal_min->SetLineWidth(3);
+  ecal_min->Draw();
+  ecal_max->SetLineColor(kBlack);
+  ecal_max->SetLineStyle(2);
+  ecal_max->SetLineWidth(3);
+  ecal_max->Draw();
+  gPad->SetLogy();
+
+  c1->cd(2);
+  H_pdelta_cut->SetLineWidth(2);
+  H_pdelta->SetLineWidth(2);
+  H_pdelta_cut->SetLineColor(kRed);
+  H_pdelta->Draw();
+  H_pdelta_cut->Draw("sames");
+  delta_min->SetLineColor(kBlack);
+  delta_min->SetLineStyle(2);
+  delta_min->SetLineWidth(3);
+  delta_min->Draw();
+  delta_max->SetLineColor(kBlack);
+  delta_max->SetLineStyle(2);
+  delta_max->SetLineWidth(3);
+  delta_max->Draw();
+
+  c1->cd(3);
+  H_pngcer_cut->SetLineWidth(2);
+  H_pngcer->SetLineWidth(2);
+  H_pngcer_cut->SetLineColor(kRed);
+  H_pngcer->Draw();
+  H_pngcer_cut->Draw("sames");
+  ngc_line->SetLineColor(kBlack);
+  ngc_line->SetLineStyle(2);
+  ngc_line->SetLineWidth(3);
+  ngc_line->Draw();
+  gPad->SetLogy();
+
+  c1->cd(4);
+  H_pxfp_vs_pyfp->Draw("colz");
+
+  Int_t bin_min = H_pecal_cut->GetXaxis()->FindBin(etot_min);
+  Int_t bin_max = H_pecal_cut->GetXaxis()->FindBin(etot_max);
+
+  // Calculate the Integral of etottracknorm cut
+  Double_t positron_Yield = H_pecal_cut->Integral(bin_min, bin_max);
+  cout << "postiron Yield = " << positron_Yield << endl;
+
+  c1->cd(1);
+
+  TPaveText* pt = new TPaveText(0.15, 0.7, 0.5, 0.9, "NDC");
+  pt->SetTextSize(0.04);
+  pt->SetFillColor(0);
+  pt->SetTextAlign(12);
+
+  pt->AddText(Form("Run: %d\n", run));
+  pt->AddText("\n");
+  pt->AddText(Form("Positron Yield = %d\n", int(positron_Yield)));
+  pt->AddText("\n");
+  pt->AddText(Form("NGCER npeSum > %.2f\n", cut_ngcer));
+  pt->AddText("\n");
+  pt->AddText(Form("SHMS #delta:(%.2f, %.2f)\n", cut_edeltamin, cut_edeltamax));
+
+  pt->Draw();
+}
diff --git a/macros/yield_xgt1.C b/macros/yield_xgt1.C
new file mode 100644
index 0000000000000000000000000000000000000000..669ec1c84a68dbfc12a8b2eeed63e64954c19116
--- /dev/null
+++ b/macros/yield_xgt1.C
@@ -0,0 +1,67 @@
+void yield_xgt1(UInt_t runNum, Int_t numEvents)
+{
+
+  // TFile *replayFile = new TFile(Form("/home/cdaq/hallc-online/hallc_replay/ROOTfiles/shms_replay_production_all_%d_%d.root", runNum, numEvents));
+  TFile *replayFile = new TFile(Form("/home/cdaq/hallc-online/hallc_replay/ROOTfiles/shms_replay_production_%d_%d.root", runNum, numEvents));
+  // TFile *replayFile = new TFile(Form("/net/cdaq/cdaql1data/cdaq/jpsi-007/ROOTfiles/shms_replay_production_%d_%d.root", runNum, numEvents));
+
+  TTree *dataTree = dynamic_cast <TTree*> (replayFile->Get("T"));
+
+  TCanvas *can = new TCanvas("can", "x > 1 Canvas", 1600, 800);
+  can->Divide(2, 2);
+
+  TCut deltaCut    = "P.gtr.dp > -15.0 && P.gtr.dp < 22.0";
+  TCut cerCut      = "P.ngcer.npeSum > 2.0";
+  TCut calCut      = "P.cal.etottracknorm > 0.8 && P.cal.etottracknorm < 1.3";
+  TCut calZeroCut  = "P.cal.etottracknorm > 0.0";
+  TCut xbjCut      = "P.kin.x_bj > 1.5 && P.kin.x_bj < 1.9";
+  // TCut xbjCut      = "P.kin.x_bj > 1.517 && P.kin.x_bj < 1.917";
+  TCut pidCut      = deltaCut && cerCut && calCut;
+  TCut pidNoCalCut = deltaCut && cerCut && calZeroCut;
+  TCut allCuts     = pidCut && xbjCut;
+  
+  TH1F *xbjHisto     = new TH1F("xbjHisto",     "SHMS Bjorken x; x_{Bj}; Number of Entries", 300, 0.0, 3.0);
+  TH1F *q2Histo      = new TH1F("q2Histo",      "SHMS Q^{2}; Q^{2} (GeV^{2}); Number of Entries / 0.010 GeV", 1000, 0.0, 10.0);
+  TH1F *w2Histo      = new TH1F("w2Histo",      "SHMS W^{2}; W^{2} (GeV^{2}); Number of Entries / 0.010 GeV", 1500, 0.0, 15.0);
+  TH1F *etotHisto    = new TH1F("etotHisto",    "SHMS Normalized Track Energy; E/P; Number of Entries / 0.010 GeV", 150, 0.0, 1.5);
+  TH1F *etotCutHisto = new TH1F("etotCutHisto", "SHMS Normalized Track Energy; E/P; Number of Entries / 0.010 GeV", 150, 0.0, 1.5);
+  
+  TH1F *numTrigsHisto = dynamic_cast <TH1F*> (replayFile->Get("ptrig_pdc_ref1"));
+  Double_t numTrigs   = numTrigsHisto->Integral();
+ 
+  dataTree->Project(xbjHisto->GetName(),     "P.kin.x_bj",          pidCut);
+  dataTree->Project(q2Histo->GetName(),      "P.kin.Q2",            pidCut);
+  dataTree->Project(w2Histo->GetName(),      "P.kin.W2",            pidCut);
+  dataTree->Project(etotHisto->GetName(),    "P.cal.etottracknorm", pidCut);
+  dataTree->Project(etotCutHisto->GetName(), "P.cal.etottracknorm", allCuts);
+
+  Int_t    yieldRaw  = etotHisto->Integral();
+  Int_t    yieldxgt1 = etotCutHisto->Integral();
+  Double_t etotMax   = etotCutHisto->GetMaximum();
+
+  gStyle->SetOptStat(0);
+  etotHisto->SetLineColor(kRed);
+  etotCutHisto->SetLineColor(kBlue);
+
+  Double_t yieldPerTrig = (yieldxgt1/numTrigs)*100.;
+
+  TLegend *leg = new TLegend(0.15, 0.6, 0.5, 0.85);
+  leg->AddEntry(numTrigsHisto, Form("Number of Triggers = %.0f", numTrigs), "");
+  leg->AddEntry(etotHisto, Form("e^{-} Yield = %d", yieldRaw), "");
+  leg->SetTextColor(kRed);
+  leg->AddEntry(etotCutHisto, Form("e^{-} Yield, 1.5 < x_{bj} < 1.9 = %d", yieldxgt1), "");
+  leg->SetTextColor(kBlue);
+  leg->SetLineColor(0);
+  leg->AddEntry(numTrigsHisto, Form("Yield/Number of Triggers = %.4f %%", yieldPerTrig), "");
+
+  can->cd(1);
+  xbjHisto->Draw();
+  can->cd(2);
+  q2Histo->Draw();
+  can->cd(3);
+  w2Histo->Draw();
+  can->cd(4);
+  etotHisto->Draw();
+  etotCutHisto->Draw("SAME");
+  leg->Draw();
+}