MUSIC
unknown
Analysis for the MUSIC active-target ionization chamber
Toggle main menu visibility
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
9
int
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
}
CrossSection.hpp
Absolute cross section per reaction strip, for every declared channel.
Paths.hpp
CrossSection
Computes and reports the absolute cross sections.
Definition
CrossSection.hpp:50
CrossSection::Run
Bool_t Run()
Run every channel and write the tables and figures.
Definition
CrossSection.cpp:728
Paths::ResultsDir
static TString ResultsDir()
Absolute path to the directory receiving generated output.
Definition
Paths.cpp:24
main
int main()
Definition
main_cross_section.cpp:9
tooling
mains
main_cross_section.cpp
Generated by
1.17.0