Skip to content

This repository has the purpose of collecting the data analysis framework of the CERN H8 test beam performed by RD_FCC Lecce and Bari group in November 2021 and July 2022

Notifications You must be signed in to change notification settings

bdanzi/drifttubes_offline_analysis

Repository files navigation

Contributors Forks Stargazers MIT LinkedIn

Table of Contents
  1. Drift Tubes 2021 and 2022 Beam Test offline analysis

Drift Tubes 2021 and 2022 Beam Test offline analysis

The data_testbeam.xlsx file contains the details of the different configurations associated to the ROOT files used for this data analysis. The focus is on the 165 GeV/c momentum muon beam runs from 11st of November. A flag isNov2021TestBeam is used to set the condition of this beam test. IsJuly2022TestBeam is used to analyze data of July 2022 test beam summarized in run_table.xlsx.

Authors

Setup

On Bari ReCAS and in the testbeam_analysis\ directory of this repository:

$ source /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/setup.sh
$ source setDCDataReaderEnv.sh
$ bash compile.sh
$ bash submit_first.sh

On lxplus and in the testbeam_analysis\ directory of this repository:

$ source setDCDataReaderEnv.sh
$ bash compile.sh
$ bash submit_first.sh

where the last line of code runs in parallel the ./read_data $path_to_your_run_files $i 0 -1 $sampling $N_1 $N_2 $N_3 $N_4 $binTimeInterval $dim $cut_scale command in interactive mode or on HTcondor:

  • i is the run number

  • 0 -10 are the number of events to be processed (-1 to process the whole data set)

  • $sampling is the sampling rate to be used in analysis

  • $N_1 $N_2 $N_3 $N_4 are the cuts respectively on the signal amplitude, first and second derivatives before starting the search for electron peaks (see FindPeak-algo.C for further details)

  • $binTimeInterval is the time interval (ns) starting from the beginning of the waveform in which the baseline and the rms is computed

  • $dim are the waveform bins available from the data acquisition window

  • $cut_scale is the threshold for electron peaks to be in the same primary ionization cluster

Instructions

These macros find voltage amplitude peaks without any filter algorithm is applied to the waveform. For each sample and each channel it is able to count how many events with an actual signal we have. Config files and executables are created to run on more than one ROOT file (not available here, too much large in size).

$ submit_second.sh

It will produce in executables\:

  • executable files submit_executable_conversion*.sh per each run_*.root file that has to be converted in a root file containing histos with the most important physical variables
  • config files that can be run as job in recas for accelerating the process of the histos ROOT file generation

Moreover, it will produce:

  • by using the plots_oldTestBeam.txt, per each .root file in the first column, per each channel in the second column, per each event in the third column some physical quantities which are related to
  1. Number of Electron peaks, First Peak Time of Arrival and Last Peak Time of arrival distributions
  2. Maxima
  3. Charge Integral of the wavefunction (in pC)
  4. Wave functions w & w/o peak arrows
  5. Number of events per each channel which passes a voltage amplitude requirement for the waveform maximum of 5 mV
  6. Number of Cluster distributions
  7. Time Difference between two consecutive clusters
  8. Time Difference between two consecutive Electrons
  9. Cluster population (Number of Electron Peaks per Primary Ionization Cluster)

Channels correspondance

  • 0,1,2,3 : Trigger Counters
  • 4,5,6,7,8,9 : 6 Drift Tubes of 1 cm cell size respectively:
    • Channel 4 Wire diameter of 10 micrometer
    • Channel 5 Wire diameter of 15 micrometer
    • Channel 6 and 7 Wire diameter of 20 micrometer
    • Channel 8 and 9 Wire diameter of 25 micrometer
  • 10,11,12 : 3 Drift Tubes of 2 cm cell size respectively:
    • Channel 10 Wire diameter of 20 micrometer
    • Channel 11 Wire diameter of 25 micrometer
    • Channel 12 Wire diameter of 40 micrometer
  • 13,14 : 2 Drift Tubes of 3 cm cell size respectively:
    • Channel 13 Wire diameter of 25 micrometer
    • Channel 14 Wire diameter of 40 micrometer

Channel Schematics of November 2021 Beam Test

Credits for the Channel Schematics: Franco Grancagnolo (https://agenda.infn.it/event/28676/)

Channels correspondance July 2022 Beam Test

  • 1,2,3,5,6,8,9,10 : 8 Drift Tubes of 1 cm cell size respectively:
    • Channel 2,3 Wire diameter of 15 micrometer
    • Channel 1,5,6,8 Wire diameter of 20 micrometer
    • Channel 9 and 10 Wire diameter of 25 micrometer
  • 0,4,7,11 : 4 Drift Tubes of 1.5 cm cell size respectively:
    • Channel 7,11 Wire diameter of 15 micrometer
    • Channel 0 Wire diameter of 20 micrometer
    • Channel 4 Wire diameter of 25 micrometer
  • 12,13,14,15 : Trigger Counters

Channel Schematics of July 2022 Beam Test

Credits for the Channel Schematics: Federica Cuna (https://indico.ihep.ac.cn/event/16837/)

About

This repository has the purpose of collecting the data analysis framework of the CERN H8 test beam performed by RD_FCC Lecce and Bari group in November 2021 and July 2022

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published