Difference between revisions of "Meeting-04072022"

From Cuawiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
* 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.
 
* 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.
 +
 +
* Example scripts for waveform display:
 +
::* SHMS Pre-shower: [[Media:Plot_SHMS_PSCal_FADC.C]], output [[Media:SHMS_PS_Mode10Display.png]]
 +
::* SHMS Shower: [[Media:Plot_SHMS_SHCal_FADC.C]], output [[Media:SHMS_SH_Mode10Display.png]]
  
 
== Instructions for replay set up ==
 
== Instructions for replay set up ==

Revision as of 10:16, 4 April 2022

FADC mode10 decoding update

  • Julie, Pramita, Oliver and DJH had a meeting last week to discuss online software development.
  • 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.
  • In order to do so, we can use data from a series of special mode10 runs taken during the recent PionLT experiment (listed at https://hallcweb.jlab.org/wiki/index.php/PionLT_2021_Physics_Status). The ten most recent runs (14024 - 14464) have been replayed and root files are available at: /work/halla/SBS/dhamilto/nps_mode10 (will move to /work/hallc/NPS/dhamilto/mode10 when I get the necessary permission).
  • 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.
  • Example scripts for waveform display:

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
  • Run a replay:
hcana SCRIPTS/SHMS/PRODUCTION/replay_production_shms_coin.C