MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
main_cross_section.cpp
Go to the documentation of this file.
1// cross-section: absolute (a,xn) cross section per reaction strip. The work
2// is CrossSection (tooling/src/CrossSection.cpp); this only sets the output
3// locations and runs it.
4#include "CrossSection.hpp"
5#include "InitUtils.hpp"
6#include "Paths.hpp"
7#include <TROOT.h>
8
9int main() {
10 InitUtils::SetROOTPreferences(PlotSaveFormat::kPNG,
11 Paths::ResultsDir() + "/plots",
12 Paths::ResultsDir() + "/root_files");
13 gROOT->SetBatch(kTRUE);
14 CrossSection xs;
15 return xs.Run() ? 0 : 1;
16}
Absolute cross section per reaction strip, for every declared channel.
Computes and reports the absolute cross sections.
Bool_t Run()
Run every channel and write the tables and figures.
static TString ResultsDir()
Absolute path to the directory receiving generated output.
Definition Paths.cpp:24
int main()