/Muon-Experiment-reader

Data Acquisition program for the Muon Lifetime

Primary LanguageC++OtherNOASSERTION

MULTI-DAQ: Muon Life TIme Data AcQuisition program

Data Acquisition program for the Muon Lifetime measurement developed by Jaime Díez González-Pardo during summer external practices in the Instituto de Fisica de Cantabria (IFCA) with the collaboration of Pablo Martínez Ruiz del Árbol as supervisor.

alt text

Requisites

Installation

Once you have installed all the software listed under "Requisites" you can now begin the installation process:

  1. Get the source
git clone https://github.com/Jaimedgp/Muon-Experiment-reader
  1. Compile
g++ -o MULTI-DAQ src/main.cpp src/Histograms.cpp src/Menu.cpp src/DataLy.cpp src/MuonReader.cpp -lcdk -lncurses -lpanel -pthread  -std=c++11 `root-config --cflags --libs`

or

make MULTI-DAQ 
  1. Run

Sudo/Su permissions are necessary in order to open and read the serial port

sudo ./MULTI-DAQ 

Brief Introduction

MULTI-DAQ is a data acquisition program for the experiment (Measurement of the muon lifetime) for the use of the TeachSpin Muon Physics device. In this experiment, the life time of the muon is determined from the time of the muons decays inside the detector, using atmospheric muons as a source.

The program read, from a serial port connected to the electric readout box of the experiment, the signal of the detector with the information of the decay's time by means of the number of 50MHz clocks completed between both signals in hexadecimal system. The program must translate the signal from hexadecimal to decimal and multiply by 20 in order to obtain the muon decay time in nanoseconds (nanoseconds instead microsecond in order to treat it as integer without decimals). A 20000ns signal corresponds a muon signal without decay but interesting signals are those <20000ns wich means that a decay has occured. These signals are plotted in the main histogram (muonDcyHist) where the number of events are represented as function of their muon decay time in bins of 1μs. The muon without decay's signals are plotted in other histogram as the number of muons per minute in the last minutes.