MUSIC
unknown
Analysis for the MUSIC active-target ionization chamber
Toggle main menu visibility
Loading...
Searching...
No Matches
main_tag_efficiency.cpp
Go to the documentation of this file.
1
// tag-efficiency: how often a real (a,n) event at each reaction strip is left
2
// out of that strip's count by the tag and the region cut, and how often it
3
// is counted one strip late instead. The method is TagEfficiency
4
// (tooling/src/TagEfficiency.cpp); the record it writes is what cross-section
5
// unfolds by. This only sets the output locations and runs it.
6
#include "InitUtils.hpp"
7
#include "
Paths.hpp
"
8
#include "
TagEfficiency.hpp
"
9
#include <TROOT.h>
10
11
int
main
() {
12
InitUtils::SetROOTPreferences(PlotSaveFormat::kPNG,
13
Paths::ResultsDir
() +
"/plots"
,
14
Paths::ResultsDir
() +
"/root_files"
);
15
gROOT->SetBatch(kTRUE);
16
TagEfficiency
eff;
17
return
eff.
Run
() ? 0 : 1;
18
}
Paths.hpp
TagEfficiency.hpp
The tag-efficiency correction, and its contract with the cross section.
Paths::ResultsDir
static TString ResultsDir()
Absolute path to the directory receiving generated output.
Definition
Paths.cpp:24
TagEfficiency
The bootstrap method for measuring the tag efficiency.
Definition
TagEfficiency.hpp:96
TagEfficiency::Run
Bool_t Run()
Measure every configured channel and write the store and figures.
Definition
TagEfficiency.cpp:332
main
int main()
Definition
main_tag_efficiency.cpp:11
tooling
mains
main_tag_efficiency.cpp
Generated by
1.17.0