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
4#include "Constants.hpp"
5#include "CrossSection.hpp"
6#include "InitUtils.hpp"
7#include "Paths.hpp"
8#include <TROOT.h>
9
10int main() {
12 InitUtils::SetROOTPreferences(PlotSaveFormat::kPNG,
13 Paths::ResultsDir() + "/plots",
14 Paths::ResultsDir() + "/root_files");
15 gROOT->SetBatch(kTRUE);
16 CrossSection xs;
17 return xs.Run() ? 0 : 1;
18}
Dataset configuration.
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()
cross-section: absolute (a,xn) cross section per reaction strip.
void ActivateAnalysisEpoch()
Make AnalysisEpoch() the active epoch, so a binary of the cross-section chain resolves the file tag,...