![]() |
DAS
3.0
Das Analysis System
|
Transform a yield onto another observable such as a ratio or a fraction.
Gaussian uncertainties are assumed. Correlations are taken into account and propagated to the new observable using Teddy.
Goal: factorise the filling of the input histogram to the transformation in an observable-agnostic way, hence avoiding multiple executables.
#include <Observable.h>
Inheritance diagram for Transformer:Public Member Functions | |
| virtual | ~Transformer ()=default |
| virtual void | Transform (const Eigen::VectorXd &) const |
| virtual void | RemoveBadInputBins (TH1 *, TH2 *) |
| Transformer (TUnfoldBinning *, bool=true) | |
Public Attributes | |
| TUnfoldBinning * | preBinning |
| TUnfoldBinning * | postBinning |
Static Public Attributes | |
| static Eigen::VectorXd | y |
Static Protected Member Functions | |
| static void | AddAxis (TUnfoldBinning *, TUnfoldBinning *, int) |
|
virtualdefault |
Destructor.
| Transformer | ( | TUnfoldBinning * | bng, |
| bool | clone_binning = true |
||
| ) |
Constructor.
| bng | source binning |
| clone_binning | flag to clone the original binning in target binning |
|
staticprotected |
Copy the axis of the source binning object into the target binning object.
| preBinning | source binning |
| postBinning | target binning |
| iaxis | axis index (follow `TUnfoldBinning`'s convention) |
|
virtual |
Remove bins with too low coverage for Gaussian hypothesis.
| h | distribution |
| cov | its covariance matrix |
|
virtual |
| TUnfoldBinning * postBinning |
target binning
| TUnfoldBinning* preBinning |
source binning (either rec or gen level)
|
static |
output vector