BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
scwall Directory Reference

Description

Forward system: ScWall scan

QA of the Scintillation Wall data for the February 2022 shifts (BMN_ScWall_QA_27_01_22).

File Description
ScintWall_scan.cpp Draws the signal histograms of the ScWall cells and blocks and saves them into result.pdf
map.pdf Maps of the ScWall cells appended to the result

How to run

Set the path to the input ROOT file in ScintWall_scan.cpp first:

TFile *_file0 = TFile::Open("/path/root_file_name.root");

and run in the batch mode (do not forget the -b key):

root -l -b
root [0] .L ScintWall_scan.cpp
root [1] scan()

See more comments in the .cpp file. The map.pdf file is added to result.pdf at the end of the macro; if it is not needed, comment out the line

gSystem->Exec("pdfunite h1.pdf map.pdf result.pdf");

Note that the ROOT map has an inverted X axis, so check the first page of map.pdf to compare it with the ScWall histograms.

Directory dependency graph for scwall:

Files

 
ScintWall_scan.cpp