MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
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
11int 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}
The tag-efficiency correction, and its contract with the cross section.
static TString ResultsDir()
Absolute path to the directory receiving generated output.
Definition Paths.cpp:24
The bootstrap method for measuring the tag efficiency.
Bool_t Run()
Measure every configured channel and write the store and figures.
int main()