Difference between revisions of "GRB221009A calib and r0 to dl1 steps"

From my_wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Go back to [[GRB221009A]].
 +
 
This page explains the steps to obtain the required files to calibrate the GRB221009A data and produce the DL1 files under strong moon conditions
 
This page explains the steps to obtain the required files to calibrate the GRB221009A data and produce the DL1 files under strong moon conditions
 
I concerns the following data and dates:
 
I concerns the following data and dates:
Line 4: Line 6:
 
* 2022-10-12: GRB Moon data
 
* 2022-10-12: GRB Moon data
 
* 2022-11-05: Crab Moon data
 
* 2022-11-05: Crab Moon data
 +
 +
The production has been performed with '''release v0.10.5'''
  
 
==Cat-A calibration==
 
==Cat-A calibration==
This coefficients are produced in the official data tree, as lstanalyser. If you want to run it locally, create your own data tree, with the link to the drs4 time, ff systematics and drs4 baseline directories and a local calibraitand add the option -b "dase_dir_of_your_tree"
+
The coefficients are produced in the official data tree, as lstanalyser. If you want to run it locally, create your own data tree, with a link to the drs4 time, ff systematics and drs4 baseline directories and a local calibration directory (where the calibration files will be automatically stored) and add the option -b "dase_dir_of_your_tree" to the command. Below are listed the commands used for the three days. Due to the not perfect HV FF of the HV setting, some cuts are a bit relaxed by adding specific parameters to the command line.
 +
 
 +
=== 2022-10-10 and 2022-11-05 ===
 +
For these dates we use run 10359 taken on 2022-11-05, with equal HV setting
 +
* ''onsite_create_calibration_file -r 10359  --flatfield-heuristic -y "--FlasherFlatFieldCalculator.charge_median_cut_outliers=[-0.9, 3]" "--LSTCalibrationCalculator.npe_median_cut_outliers=[-6,6]"''
 +
 
 +
=== 2022-10-12 ===
 +
* ''onsite_create_calibration_file -r 9620  --flatfield-heuristic -y "--FlasherFlatFieldCalculator.charge_median_cut_outliers=[-0.9, 3]" "--LSTCalibrationCalculator.npe_median_cut_outliers=[-6,6]"''
 +
 
 +
== R0 to DL1a ==
 +
This step permits to create both the DL1a files and the interleaved files that are the input for the Cat-B calibration. These data have been first produced locally and then copied to the official tree. it has been used the script:
 +
* ''/fefs/aswg/workspace/franca.cassol/data/real/GRB/scripts/send_multi_bash_r0_r1_GRB_221009A.py ''
 +
NB:
 +
*Copy the script where you prefer.
 +
*This script asks to have a "log" and "jobs" directory below the pwd directory, where the jobs scripts, and slurm output and error files are written.
 +
*The data of the different days are produced by commenting the lines concerning the other days (this can be improved ;-) ).
 +
*The listchain config files must be eventually adapted with the correct extractors.
 +
*The output DL1 directory must be created for each day.
 +
The produced files have been copied to the official tree to the directory /fefs/aswg/data/real/DL1/[date]/v0.10. Due to a problem on the interleaved files search function, a link to the interleaved directory has been added for each date in /fefs/aswg/data/real/DL1/[date]
 +
== Cat-B calibration ==
 +
These coefficients have been produced as lstanalyser, with the following commands:
 +
=== 2022-10-10  ===
 +
*''onsite_create_cat_B_calibration_files_with_batch -r 9602 9603 9604 9605 9606 9607 -c 10359 -y''
 +
NB: Do not forget to give the correct Cat-A calibration run 10359
 +
=== 2022-10-12  ===
 +
*''onsite_create_cat_B_calibration_files_with_batch -r 9613 9614 9615 9616 9617 -y''
 +
NB: Run 9613 was taken with a different HV table with respect to Cat-A run, so the Cat-B coefficients are not close to 1
 +
=== 2022-11-05  ===
 +
*''onsite_create_cat_B_calibration_files_with_batch -r 10341 10342 10343 10344 10345 10346  -y''
  
=== 2022-10-10: ===
+
NB: Some of the Crab runs have some pixels with high signal std, probably due to changing HV, they are then set as unusable for that time period (see the Cat-B pdf files in the official tree).
For this date we must use the pedcal run 10359 taken with the same HV on 2022-11-05. In order to be more flexible, due to the not perfet HV FF of the HV setting, some cuts are a bit relaxed by adding specific parameters to the command line: the command to run is
 
* onsite_create_calibration_file -r 10359  --flatfield-heuristic -y "--FlasherFlatFieldCalculator.charge_median_cut_outliers=[-0.9, 3]" "--LSTCalibrationCalculator.npe_median_cut_outliers=[-6,6]"
 

Latest revision as of 10:48, 8 December 2023

Go back to GRB221009A.

This page explains the steps to obtain the required files to calibrate the GRB221009A data and produce the DL1 files under strong moon conditions I concerns the following data and dates:

  • 2022-10-10: GRB Moon data
  • 2022-10-12: GRB Moon data
  • 2022-11-05: Crab Moon data

The production has been performed with release v0.10.5

Cat-A calibration[edit]

The coefficients are produced in the official data tree, as lstanalyser. If you want to run it locally, create your own data tree, with a link to the drs4 time, ff systematics and drs4 baseline directories and a local calibration directory (where the calibration files will be automatically stored) and add the option -b "dase_dir_of_your_tree" to the command. Below are listed the commands used for the three days. Due to the not perfect HV FF of the HV setting, some cuts are a bit relaxed by adding specific parameters to the command line.

2022-10-10 and 2022-11-05[edit]

For these dates we use run 10359 taken on 2022-11-05, with equal HV setting

  • onsite_create_calibration_file -r 10359 --flatfield-heuristic -y "--FlasherFlatFieldCalculator.charge_median_cut_outliers=[-0.9, 3]" "--LSTCalibrationCalculator.npe_median_cut_outliers=[-6,6]"

2022-10-12[edit]

  • onsite_create_calibration_file -r 9620 --flatfield-heuristic -y "--FlasherFlatFieldCalculator.charge_median_cut_outliers=[-0.9, 3]" "--LSTCalibrationCalculator.npe_median_cut_outliers=[-6,6]"

R0 to DL1a[edit]

This step permits to create both the DL1a files and the interleaved files that are the input for the Cat-B calibration. These data have been first produced locally and then copied to the official tree. it has been used the script:

  • /fefs/aswg/workspace/franca.cassol/data/real/GRB/scripts/send_multi_bash_r0_r1_GRB_221009A.py

NB:

  • Copy the script where you prefer.
  • This script asks to have a "log" and "jobs" directory below the pwd directory, where the jobs scripts, and slurm output and error files are written.
  • The data of the different days are produced by commenting the lines concerning the other days (this can be improved ;-) ).
  • The listchain config files must be eventually adapted with the correct extractors.
  • The output DL1 directory must be created for each day.

The produced files have been copied to the official tree to the directory /fefs/aswg/data/real/DL1/[date]/v0.10. Due to a problem on the interleaved files search function, a link to the interleaved directory has been added for each date in /fefs/aswg/data/real/DL1/[date]

Cat-B calibration[edit]

These coefficients have been produced as lstanalyser, with the following commands:

2022-10-10[edit]

  • onsite_create_cat_B_calibration_files_with_batch -r 9602 9603 9604 9605 9606 9607 -c 10359 -y

NB: Do not forget to give the correct Cat-A calibration run 10359

2022-10-12[edit]

  • onsite_create_cat_B_calibration_files_with_batch -r 9613 9614 9615 9616 9617 -y

NB: Run 9613 was taken with a different HV table with respect to Cat-A run, so the Cat-B coefficients are not close to 1

2022-11-05[edit]

  • onsite_create_cat_B_calibration_files_with_batch -r 10341 10342 10343 10344 10345 10346 -y

NB: Some of the Crab runs have some pixels with high signal std, probably due to changing HV, they are then set as unusable for that time period (see the Cat-B pdf files in the official tree).