#include <TwoPi0_MCSmearing_tools.h>
|
| static PeakFitResult_t | Fit (TH1 *hist, const std::string &prefix, const bool verbose=false) |
| |
| static void | DrawSame (TH1 *h1, TH1 *h2) |
| |
| static channelFitResult_t | FitChannel (TH2 *h2, const int ch) |
| |
| static MultiChannelFitResult_t | FitAllChannels (TH2 *h2) |
| |
| static void | CompareMCData1D (TDirectory *mc, TDirectory *data) |
| |
| static void | CompareMCData2D (TDirectory *mc, TDirectory *data, const std::string &folder="ETheta") |
| |
| static TH2D * | CalculateUpdatedSmearing (const TH2D *sigma_data, const TH2D *current_sigma_MC, const TH2D *last_smear) |
| | Calculate new energy smearing factors. More...
|
| |
| static TH2D * | CalculateInitialSmearing (const TH2D *sigma_data, const TH2D *sigma_MC) |
| | Calculate Initial eneryg Smearing. More...
|
| |
| static TH2 * | CalculateUpdatedScaling (const TH2 *pos_data, const TH2 *current_pos_MC, const TH2 *last_scaling) |
| |
| static TH2 * | CalculateInitialScaling (const TH2 *pos_data, const TH2 *pos_MC) |
| |
| static TH2 * | AnalyseChannelE (TH3 *h2) |
| |
| static TH2 * | RelativeDiff (const TH2 *h1, const TH2 *h2) |
| |
| static TH2 * | THDataMCDiff (const TH2 *mc, const TH2 *data, const std::string &name) |
| |
| static TH1 * | THDataMCDiff (const TH1 *mc, const TH1 *data, const std::string &name) |
| |
| static TCanvas * | getInspectorCanvas (TH2 *h, const std::string &hist_base, TDirectory *dir=nullptr, const std::string &n1="") |
| |
| static TCanvas * | getInspectorCanvas (TH2 *h, const std::string &hist_base, TDirectory *dir1, const std::string &n1, TDirectory *dir2, const std::string &n2) |
| |
| static TH2 * | Decode (const TCalibrationData &cdata) |
| |
| static TH2 * | LoadAndDecode (TFile *f) |
| |
| static TBinGraphCanvas * | CompareChangeInBin (const std::string &hist_name) |
| |
| static TBinGraphCanvas * | CompareChangeInBinLoadAndDecode () |
| |
◆ AnalyseChannelE()
| TH2 * TwoPi0_MCSmearing_Tool::AnalyseChannelE |
( |
TH3 * |
h2 | ) |
|
|
static |
◆ CalculateInitialScaling()
| TH2 * TwoPi0_MCSmearing_Tool::CalculateInitialScaling |
( |
const TH2 * |
pos_data, |
|
|
const TH2 * |
pos_MC |
|
) |
| |
|
static |
◆ CalculateInitialSmearing()
| TH2D * TwoPi0_MCSmearing_Tool::CalculateInitialSmearing |
( |
const TH2D * |
sigma_data, |
|
|
const TH2D * |
sigma_MC |
|
) |
| |
|
static |
Calculate Initial eneryg Smearing.
- Parameters
-
| sigma_data | |
| current_sigma_MC | |
- Returns
- A new histogram containing the energy smearing for the first iteration. BinContent = -1.0 means no data
◆ CalculateUpdatedScaling()
| TH2 * TwoPi0_MCSmearing_Tool::CalculateUpdatedScaling |
( |
const TH2 * |
pos_data, |
|
|
const TH2 * |
current_pos_MC, |
|
|
const TH2 * |
last_scaling |
|
) |
| |
|
static |
◆ CalculateUpdatedSmearing()
| TH2D * TwoPi0_MCSmearing_Tool::CalculateUpdatedSmearing |
( |
const TH2D * |
sigma_data, |
|
|
const TH2D * |
current_sigma_MC, |
|
|
const TH2D * |
last_smear |
|
) |
| |
|
static |
Calculate new energy smearing factors.
- Parameters
-
| sigma_data | 2D histogram containing the peak widths obained from exp. data (stays fixed over iterations) |
| current_sigma_MC | 2D histogram containing the peak widths obtained from the most recent iteration step on MC data |
| last_diff | difference data - smeard_mc from last iteration |
| sum_diffs | sum of the differences (data-smeard_mc) from all prev. iterations |
- Returns
- A new histogram containing the energy smearing for the next iteration. BinContent = -1.0 means no data
◆ CompareChangeInBin()
| TBinGraphCanvas * TwoPi0_MCSmearing_Tool::CompareChangeInBin |
( |
const std::string & |
hist_name | ) |
|
|
static |
◆ CompareChangeInBinLoadAndDecode()
| TBinGraphCanvas * TwoPi0_MCSmearing_Tool::CompareChangeInBinLoadAndDecode |
( |
| ) |
|
|
static |
◆ CompareMCData1D()
| void TwoPi0_MCSmearing_Tool::CompareMCData1D |
( |
TDirectory * |
mc, |
|
|
TDirectory * |
data |
|
) |
| |
|
static |
◆ CompareMCData2D()
| void TwoPi0_MCSmearing_Tool::CompareMCData2D |
( |
TDirectory * |
mc, |
|
|
TDirectory * |
data, |
|
|
const std::string & |
folder = "ETheta" |
|
) |
| |
|
static |
◆ Decode()
◆ DrawSame()
| void TwoPi0_MCSmearing_Tool::DrawSame |
( |
TH1 * |
h1, |
|
|
TH1 * |
h2 |
|
) |
| |
|
static |
◆ Fit()
| PeakFitResult_t ant::TwoPi0_MCSmearing_Tool::Fit |
( |
TH1 * |
hist, |
|
|
const std::string & |
prefix, |
|
|
const bool |
verbose = false |
|
) |
| |
|
static |
◆ FitAllChannels()
◆ FitChannel()
◆ getInspectorCanvas() [1/2]
| TCanvas * TwoPi0_MCSmearing_Tool::getInspectorCanvas |
( |
TH2 * |
h, |
|
|
const std::string & |
hist_base, |
|
|
TDirectory * |
dir = nullptr, |
|
|
const std::string & |
n1 = "" |
|
) |
| |
|
static |
◆ getInspectorCanvas() [2/2]
| TCanvas * TwoPi0_MCSmearing_Tool::getInspectorCanvas |
( |
TH2 * |
h, |
|
|
const std::string & |
hist_base, |
|
|
TDirectory * |
dir1, |
|
|
const std::string & |
n1, |
|
|
TDirectory * |
dir2, |
|
|
const std::string & |
n2 |
|
) |
| |
|
static |
◆ LoadAndDecode()
| TH2 * TwoPi0_MCSmearing_Tool::LoadAndDecode |
( |
TFile * |
f | ) |
|
|
static |
◆ RelativeDiff()
| TH2 * TwoPi0_MCSmearing_Tool::RelativeDiff |
( |
const TH2 * |
h1, |
|
|
const TH2 * |
h2 |
|
) |
| |
|
static |
◆ THDataMCDiff() [1/2]
| TH2 * TwoPi0_MCSmearing_Tool::THDataMCDiff |
( |
const TH2 * |
mc, |
|
|
const TH2 * |
data, |
|
|
const std::string & |
name |
|
) |
| |
|
static |
◆ THDataMCDiff() [2/2]
| TH1 * TwoPi0_MCSmearing_Tool::THDataMCDiff |
( |
const TH1 * |
mc, |
|
|
const TH1 * |
data, |
|
|
const std::string & |
name |
|
) |
| |
|
static |
The documentation for this struct was generated from the following files: