DAS
3.0
Das Analysis System
|
Functions | |
void | NegativeBins (const unique_ptr< TH1 > &unf) |
unique_ptr< TH2 > | GetPM (const unique_ptr< TH2 > &RM) |
void | folding (const unique_ptr< TH1 > &genIn, const unique_ptr< TH1 > &recIn, const unique_ptr< TH2 > &PMin, const map< TString, unique_ptr< TH1 >> &miss, const map< TString, unique_ptr< TH1 >> &fake) |
void | BLT (const unique_ptr< TH1 > &dataDist, const unique_ptr< TH2 > &dataCov, const unique_ptr< TH1 > &MC, int rebin=1) |
void | CovMargin (unique_ptr< TH1 > &h, unique_ptr< TH2 > &cov, TString name, int ibin) |
void DAS::Unfolding::Checks::BLT | ( | const unique_ptr< TH1 > & | dataDist, |
const unique_ptr< TH2 > & | dataCov, | ||
const unique_ptr< TH1 > & | MC, | ||
int | rebin = 1 |
||
) |
void DAS::Unfolding::Checks::CovMargin | ( | unique_ptr< TH1 > & | h, |
unique_ptr< TH2 > & | cov, | ||
TString | name, | ||
int | ibin | ||
) |
Set underflow/overflow to 0.
void DAS::Unfolding::Checks::folding | ( | const unique_ptr< TH1 > & | genIn, |
const unique_ptr< TH1 > & | recIn, | ||
const unique_ptr< TH2 > & | PMin, | ||
const map< TString, unique_ptr< TH1 >> & | miss, | ||
const map< TString, unique_ptr< TH1 >> & | fake | ||
) |
Folding test
Check that the MC closes: (gen - sum of misses) * PM = (rec - sum of fakes)
genIn | input gen-level spectrum |
recIn | input rec-level spectrum |
PMin | input probability matrix |
miss | miss counts |
fake | fake counts |
unique_ptr<TH2> DAS::Unfolding::Checks::GetPM | ( | const unique_ptr< TH2 > & | RM | ) |
Calculate probability matrix.
void DAS::Unfolding::Checks::NegativeBins | ( | const unique_ptr< TH1 > & | unf | ) |
Check negative entries
Note: you should not necessarily worry if you get a value compatible with zero BUT you should not trust the result if the value is not at all compatible with zero