Difference between revisions of "NPS Software"

From Cuawiki
Jump to navigation Jump to search
Line 2: Line 2:
 
* [[Meetings#DAQ/ELECTRONICS/ANALYZER|DAQ/Software Meeting Notes]]
 
* [[Meetings#DAQ/ELECTRONICS/ANALYZER|DAQ/Software Meeting Notes]]
  
== HCANA Instructions ==
+
== Setting up HCANA Instructions ==
* https://github.com/dhamilton-glasgow/hcana/tree/nps_develop
+
* Fork a git repo from https://github.com/JeffersonLab/hcana
 +
*Starting on the cdaql3 machines:
 +
** login into cdaql3 through the gateway
 +
** cd  /data1/cdaq/eel108
 +
** mkdir "name"  ( make a subdirectory with your "name")
 +
** cd "name"
 +
** git clone git clone https://github.com/"githubUserName"/hcana
 +
** cd hcana
 +
** git submodule init
 +
** git submodule update
 +
** git remote add --track develop upstream https://github.com/JeffersonLab/hcana
 +
** scons
 +
* Now you have a working hcana binary.
 +
 
 +
 
 +
== Setting up NPS replay directory instructions ==
 
* Fork a git repo from https://github.com/JeffersonLab/nps_replay
 
* Fork a git repo from https://github.com/JeffersonLab/nps_replay
 
+
*Starting on the cdaql3 machines:
* Based on the hcana classes and replay files developed by Steve Wood and Carlos Yero. Still some issues to be tidied up, but it already decodes writes the 26-sample waveform to a root tree.
+
**login into cdaql3 through the gateway
 +
** if you have not set up you own subdirectory:
 +
***cd /data1/cdaq/eel108
 +
***mkdir "name" ( make a subdirectory with your "name")
 +
***cd "name"
 +
** if you have subdirectory
 +
*** cd /data1/cdaq/eel108/"name"
 +
**git clone git clone https://github.com/"githubUserName"/nps_replay
 +
** cd nps_replay
 +
** mkdir /data1/cdaq/eel108/output/ROOTfiles/"name"
 +
** ln -sf /data1/cdaq/eel108/output/ROOTfiles/"name" ROOTfiles
 +
** mkdir /data1/cdaq/eel108/output/REPORT_OUTPUT/"name"
 +
** mkdir /data1/cdaq/eel108/output/REPORT_OUTPUT/"name"/NPS
 +
** mkdir /data1/cdaq/eel108/output/REPORT_OUTPUT/"name"/NPS/eel108
 +
** ln -sf /data1/cdaq/eel108/output/REPORT_OUTPUT/"name" REPORT_OUTPUT
 +
** ln -sf /data1/cdaq/NPS/ cache ( do not have access to cache disk)
 +
** ln -sf /data1/cdaq/NPS/ raw
  
 
== EEL108 cdaql3 set-up ==
 
== EEL108 cdaql3 set-up ==

Revision as of 09:38, 16 March 2023

NPS Software Meetings

Setting up HCANA Instructions


Setting up NPS replay directory instructions

  • Fork a git repo from https://github.com/JeffersonLab/nps_replay
  • Starting on the cdaql3 machines:
    • login into cdaql3 through the gateway
    • if you have not set up you own subdirectory:
      • cd /data1/cdaq/eel108
      • mkdir "name" ( make a subdirectory with your "name")
      • cd "name"
    • if you have subdirectory
      • cd /data1/cdaq/eel108/"name"
    • git clone git clone https://github.com/"githubUserName"/nps_replay
    • cd nps_replay
    • mkdir /data1/cdaq/eel108/output/ROOTfiles/"name"
    • ln -sf /data1/cdaq/eel108/output/ROOTfiles/"name" ROOTfiles
    • mkdir /data1/cdaq/eel108/output/REPORT_OUTPUT/"name"
    • mkdir /data1/cdaq/eel108/output/REPORT_OUTPUT/"name"/NPS
    • mkdir /data1/cdaq/eel108/output/REPORT_OUTPUT/"name"/NPS/eel108
    • ln -sf /data1/cdaq/eel108/output/REPORT_OUTPUT/"name" REPORT_OUTPUT
    • ln -sf /data1/cdaq/NPS/ cache ( do not have access to cache disk)
    • ln -sf /data1/cdaq/NPS/ raw

EEL108 cdaql3 set-up

  • Instructions for replaying data on cdaql3 see README.md

Miscellaneous Support Repos

Please post supporting scripts, online displays, debugging code, etc below.  (Github repo links please!)