Difference between revisions of "Meeting-04072022"

From Cuawiki
Jump to navigation Jump to search
Line 11: Line 11:
 
* If you prefer to set up the full replay chain, brief instructions are given below:
 
* If you prefer to set up the full replay chain, brief instructions are given below:
  
git clone https://github.com/JeffersonLab/hcana <br>
+
:: git clone https://github.com/JeffersonLab/hcana <br>
cd hcana <br>
+
:: cd hcana <br>
git submodule init <br>
+
:: git submodule init <br>
git submodule update <br>
+
:: git submodule update <br>
git checkout firmware_update <br>
+
:: git checkout firmware_update <br>
mkdir build <br>
+
:: mkdir build <br>
cmake -DCMAKE_INSTALL_PREFIX=../ ../
+
:: cmake -DCMAKE_INSTALL_PREFIX=../ ../
  
 
* You'll then need to add an ''$HCANA'' environment variable and add ''$HCANA/bin'' to ''$PATH'' and ''$HCANA/lib64'' to ''$LD_LIBRARY_PATH''
 
* You'll then need to add an ''$HCANA'' environment variable and add ''$HCANA/bin'' to ''$PATH'' and ''$HCANA/lib64'' to ''$LD_LIBRARY_PATH''
  
git clone https://github.com/JeffersonLab/hallc_replay_lt <br>
+
:: git clone https://github.com/JeffersonLab/hallc_replay_lt <br>
cd hallc_replay_lt <br>
+
:: cd hallc_replay_lt <br>
git submodule init <br>
+
:: git submodule init <br>
git submodule update
+
:: git submodule update
  
 
* Editing and calling ''SymLinkSetup.sh'' should help you set up the necessary symbolic links.  
 
* Editing and calling ''SymLinkSetup.sh'' should help you set up the necessary symbolic links.  
Line 30: Line 30:
 
* Quite a few of the mode10 runs are already on the cache disks at:
 
* Quite a few of the mode10 runs are already on the cache disks at:
  
''/cache/mss/hallc/c-pionlt/raw''
+
:: ''/cache/mss/hallc/c-pionlt/raw''

Revision as of 09:49, 4 April 2022

FADC Mode 10 Update

  • DJH implemented the changes needed for mode10 decoding to the THcShowerArray and THcShowerPlane classes in hcana (firmware_update branch). This means we can now use the SHMS pre-shower and shower calorimeters as prototypes for histogram / display / gui development.
  • You can find the corresponding variables in the T tree: eg the waveform branch for the SHMS shower is called P.cal.fly.SampWaveform, while the variables derived from the waveforms are called P.cal.fly.adcSampPulseAmp, adcSampPulseInt, adcSampPulseTime or adcSampPed.

Instructions for replay set up

  • If you prefer to set up the full replay chain, brief instructions are given below:
git clone https://github.com/JeffersonLab/hcana
cd hcana
git submodule init
git submodule update
git checkout firmware_update
mkdir build
cmake -DCMAKE_INSTALL_PREFIX=../ ../
  • You'll then need to add an $HCANA environment variable and add $HCANA/bin to $PATH and $HCANA/lib64 to $LD_LIBRARY_PATH
git clone https://github.com/JeffersonLab/hallc_replay_lt
cd hallc_replay_lt
git submodule init
git submodule update
  • Editing and calling SymLinkSetup.sh should help you set up the necessary symbolic links.
  • Quite a few of the mode10 runs are already on the cache disks at:
/cache/mss/hallc/c-pionlt/raw