Difference between revisions of "Meeting-04072022"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == Agenda == | ||
+ | |||
+ | * DAQ and firmware | ||
+ | |||
+ | * Slow controls | ||
+ | |||
+ | * Decoding software (FADC mode10, VTP data, unblocking) | ||
+ | |||
+ | * Online software (raw displays, gui, interface with ET system) | ||
+ | |||
+ | * Offline reconstruction (clustering algorithm, multi-threading) | ||
+ | |||
+ | * Other business | ||
+ | |||
== FADC mode10 decoding update == | == FADC mode10 decoding update == | ||
Line 5: | Line 19: | ||
* We 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. | * We 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 | + | * 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 eleven most recent runs (14024 - 14464) have been replayed and root files are available at: |
+ | :: ''/work/hallc/nps/dhamilto/mode10'' | ||
* The files are called: | * The files are called: | ||
Line 12: | Line 27: | ||
* 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. | ||
− | * | + | * Very quick and basic example scripts for waveform display: |
::* SHMS Pre-shower: [http://nuclear.gla.ac.uk/~david/Plot_SHMS_PSCal_FADC.C], output [[Media:SHMS PS Mode10Display.png]] | ::* SHMS Pre-shower: [http://nuclear.gla.ac.uk/~david/Plot_SHMS_PSCal_FADC.C], output [[Media:SHMS PS Mode10Display.png]] | ||
::* SHMS Shower: [http://nuclear.gla.ac.uk/~david/Plot_SHMS_SHCal_FADC.C], output [[Media:SHMS SH Mode10Display.png]] | ::* SHMS Shower: [http://nuclear.gla.ac.uk/~david/Plot_SHMS_SHCal_FADC.C], output [[Media:SHMS SH Mode10Display.png]] | ||
Line 26: | Line 41: | ||
:: git checkout firmware_update <br> | :: git checkout firmware_update <br> | ||
:: mkdir build <br> | :: mkdir build <br> | ||
− | :: cmake -DCMAKE_INSTALL_PREFIX=../ ../ | + | :: cd build |
+ | :: cmake -DCMAKE_INSTALL_PREFIX=../ ../ (or cmake3 on some systems) | ||
* 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'' | ||
Line 43: | Line 59: | ||
* Run a replay: | * Run a replay: | ||
:: set the ''DB_DIR'' environment variable to ./DBASE (eg ''source setup.sh'') | :: set the ''DB_DIR'' environment variable to ./DBASE (eg ''source setup.sh'') | ||
+ | :: add the following lines to ''PARAM/SHMS/CAL/pcal_cuts.param'': | ||
+ | ::: pcal_arr_OutputSampWaveform = 1 | ||
+ | ::: pcal_arr_UseSampWaveform = 1 | ||
+ | ::: pcal_OutputSampWaveform = 1 | ||
+ | ::: pcal_UseSampWaveform = 1 | ||
+ | :: and this line to ''DEF-files/PRODUCTION/50k/Full_Replay_50k_SHMS.def'': | ||
+ | ::: block P.cal.* | ||
+ | :: do the replay: | ||
:: '' hcana SCRIPTS/SHMS/PRODUCTION/replay_production_shms_coin.C'' | :: '' hcana SCRIPTS/SHMS/PRODUCTION/replay_production_shms_coin.C'' |
Latest revision as of 19:12, 6 April 2022
Agenda
- DAQ and firmware
- Slow controls
- Decoding software (FADC mode10, VTP data, unblocking)
- Online software (raw displays, gui, interface with ET system)
- Offline reconstruction (clustering algorithm, multi-threading)
- Other business
FADC mode10 decoding update
- Julie, Pramita, Oliver and DJH had a meeting last week to discuss online software development.
- We 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 eleven most recent runs (14024 - 14464) have been replayed and root files are available at:
- /work/hallc/nps/dhamilto/mode10
- The files are called:
- shms_coin_replay_production_14XXX_-1.root (run 14557 has the most events, around 130k)
- 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.
- Very quick and basic example scripts for waveform display:
- SHMS Pre-shower: [1], output Media:SHMS PS Mode10Display.png
- SHMS Shower: [2], output Media:SHMS SH Mode10Display.png
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
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=../ ../ (or cmake3 on some systems)
- git clone https://github.com/JeffersonLab/hcana
- 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
- git clone https://github.com/JeffersonLab/hallc_replay_lt
- 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:
- set the DB_DIR environment variable to ./DBASE (eg source setup.sh)
- add the following lines to PARAM/SHMS/CAL/pcal_cuts.param:
- pcal_arr_OutputSampWaveform = 1
- pcal_arr_UseSampWaveform = 1
- pcal_OutputSampWaveform = 1
- pcal_UseSampWaveform = 1
- and this line to DEF-files/PRODUCTION/50k/Full_Replay_50k_SHMS.def:
- block P.cal.*
- do the replay:
- hcana SCRIPTS/SHMS/PRODUCTION/replay_production_shms_coin.C