|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
#include "Constants.hpp"#include "InitUtils.hpp"#include "Paths.hpp"#include "RegionCuts.hpp"#include "StripSumScatter.hpp"#include <TFile.h>#include <TH2F.h>#include <TNamed.h>#include <TParameter.h>#include <TROOT.h>#include <TSystem.h>#include <iostream>Go to the source code of this file.
Functions | |
| int | main () |
| compute-regions: fit each reaction strip's (a,n) and (a,a') regions from the scatter cache and save them as cuts, exactly where hand-drawn ones go. | |
| int main | ( | ) |
compute-regions: fit each reaction strip's (a,n) and (a,a') regions from the scatter cache and save them as cuts, exactly where hand-drawn ones go.
In the mixture mode this is a read-only pass over StripSumScatter_cache.root: it never fills, never touches the cache, and needs no DISPLAY; strip-sum-scatter then loads the saved cuts like any drawn ones, so re-run it after any refill. In the all-tagged mode there is nothing to draw or fit, so this is the only binary needed: it measures the beam and loads or builds the cache itself (StripSumScatter::Prepare), saves the whole build window as each strip's region, and draws every strip's tagged traces against the beam under plots/compute_regions.
Definition at line 25 of file main_compute_regions.cpp.