-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ybuch/Hephy
Merge Hephy branch into master as new baseline
- Loading branch information
Showing
650 changed files
with
602,402 additions
and
1,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
output/alignment/*.root | ||
output/dut_align/*.root | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# General Instructions | ||
|
||
This repo contains needed scripts and files for the alignment and analysis of TB data. Please note that paths need to be updated in the scrips as well as in geo files (path to mask files). The scripts also assume that the corryvreckan binary is in PATH. | ||
|
||
Alignment: run `full_align.sh` for each geo_id (telescope and DUT alignment) and afterwards `run_alignment.sh` for each run (DUT alignment). | ||
|
||
Masking: run `mask_generator.sh` which generates a mask file from a default mask (masking not used frontends) and a yaml file (list of disabeled pixels in the data taking). Please nothe that the default masks do not work for all runs since the frontends were also changed within geo_ids! These masks were adapted by hand and a set of working masks is stored under initial_masks. | ||
|
||
Analysis: is done using jobsub which is installed under your corry installation (see corry manual and below). A csv file has to be created with `data_searcher.sh` which contains information of geo and data for each run before starting the analysis. | ||
|
||
|
||
## conf | ||
|
||
This folder contains all config files for corry which are used for the alignment as well as scripts. The analysis is done via jobsub (see below) | ||
|
||
### full_align.sh | ||
|
||
Script for the alignment of a geo_id (usage: `source ./full_align.sh <runnumber_to_align> <geo_id>`). | ||
It uses `prealign_tel_mpx2.conf`, `align_dut_mpx2.conf` and `align_tel_mpx2.conf`, the output is stored under `/geo/full_aligned`. The initial geo file is taken from `/geo/init_geo`. | ||
|
||
### run_alignment.sh | ||
|
||
Script for the alignment of the DUT for each run starting from the output geo of `full_align.sh`. Reads the runnumbers and geo_ids from one of the following files: `W02R05_standard.csv`, `W05R15_TID.csv` or `W08R06_p.csv`. The output is stored under `/geo/temp`. | ||
|
||
### W02R05_standard.csv, W05R15_TID.csv, W08R06_p.csv | ||
|
||
List of runnumbers with matching geo_ids | ||
|
||
## geo/mask_files | ||
|
||
Folder containing used mask files (applied_masks) and scripts for generating mask_files. | ||
|
||
### mask_generator.sh | ||
|
||
This script copies a default mask from the default folder (containing information about the masking of the not activated frontends) and appends the information of the yaml files depending on the runnumber (by using extract_masked_pixels.py). The output is stored in the folder applied_masks. Please note that the default masks are not propper for all runs since changes in the masking werde done throughout equal geo_ids. Already finished masks can be found in the folder initial_masks. | ||
|
||
## jobsub | ||
|
||
This folder contains necessary files for jobsub which has to be started from your local corry installation (`<path_to_corry>/jobsub python3 jobsub.py -c <path_to_repo>/jobsub/analysis_jobsub.cfg> -csv <path_to_repo>/jobsub/data_p.csv -s -j 5 <runnumbers>`). For further information about jobsub please have a look at the corry manual. As example csv file, data_examle.csv is given. | ||
|
||
### analysis_jobsub.cfg | ||
|
||
config file used by jobsub | ||
|
||
### data_searcher.sh | ||
|
||
This script takes `W02R05_standard.csv`, `W05R15_TID.csv` or `W08R06_p.csv` as input and generates the needed csv file for jobsub. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.