spectra of the merge checked by Béa.
The merge is correct on the correlations cf plots below.
To Check Merger use:
ssh -X e748chio@ganp976
cd Merge_CHIO
./ConvertRun.sh runnumber
Roughly 30% of events are merge.
Note that we had to include a new condition in the loop of Merge.C in order to avoid the loop to get stuck with the multihits at the end of the run.
>>while( TMath::Abs(t1-t2-ftime_center) <= ftime_window && i1<Entries_numexo && i2<Entries_vme)
Then to check the correlations:
Go to:
cd Merger/merge
Open with ROOT the last file that was created with the runnumber and Draw
merger->Draw("TPLCHIO:LTSDiff>>a(400,-150.,150.,400,10.,8000.)","","colz");
This is to verify that the Driftime is correlated
Also Draw
merger->Draw("IC_E-IC_E_ANA:LTSDiff>>a(400,-150.,120.,400,-18000.,1500.)","","colz");
This is to verify that the difference gives a horizontal line centred at zero.
Save the plots and put them in the elog.
Validated by Antoine Lemasson |