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
4
#include "
Constants.hpp
"
5
#include "
CrossSection.hpp
"
6
#include "InitUtils.hpp"
7
#include "
Paths.hpp
"
8
#include <TROOT.h>
9
10
int
main
() {
11
Constants::ActivateAnalysisEpoch
();
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
}
Constants.hpp
Dataset configuration.
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:57
CrossSection::Run
Bool_t Run()
Run every channel and write the tables and figures.
Definition
CrossSection.cpp:1554
Paths::ResultsDir
static TString ResultsDir()
Absolute path to the directory receiving generated output.
Definition
Paths.cpp:24
main
int main()
cross-section: absolute (a,xn) cross section per reaction strip.
Definition
main_cross_section.cpp:10
Constants::ActivateAnalysisEpoch
void ActivateAnalysisEpoch()
Make AnalysisEpoch() the active epoch, so a binary of the cross-section chain resolves the file tag,...
Definition
Constants.cpp:476
tooling
mains
main_cross_section.cpp
Generated by
1.17.0