Miscellaneous macros
Macros for various actions with the data files, the offline QA, the material budget and the checks of the early runs.
Data files
| File | Description |
| copyEvents.C | Copies a part of the events of a file into a new file |
| renameBranch.C, renameTree.C | Rename a branch or a tree in a ROOT file (also for all files of a directory) |
| updateContent.C | Copies raw ROOT data and marks the first events as pedestal ones |
| digiMergerBMN_RUN6.C, digiMergerBMN_RUN7.C, digiMergerSRC_RUN7.C | Merge the DIGI files split by detector groups into one file (Run 6, Run 7 BM@N and SRC), see BmnDigiMergeTask |
| BmnDataSelector.C | Selects data for the alignment or other tasks (Run 6 and Run 7) |
| BmnPreRunTester.C | Processes test data (raw data to DST) before the beam is available |
QA and checks
| File | Description |
| offlineQA.C, startWebServer.C | Offline QA of DIGI and DST files and the web server showing its histograms (QA/offline) |
| SRC_EventCounter.C | Number of collected events in Run 7 (SRC) |
| drawResidualsBMN.C, drawResidualsSRC.C | Residuals of the outer detectors for the Run 7 BM@N and SRC data |
| drawMultCorrBMN.C, drawMultCorrSRC.C | Multiplicity correlations of the detectors |
| drawMatchingEffSRC.C | Matching efficiency of the SRC data |
| drawTracks.C | Draws the DCH and other tracks of the SRC data |
Material budget
| File | Description |
| RadLenSim.C | Simulation with geantinos (no interactions) to scan the radiation length of the setup |
| RadLenAna.C | Draws the radiation length maps and the effective radiation lengths of the detectors |