Combine multiple component experiments. More...
#include <MultiExperiment.h>
Public Member Functions | |
MultiExperiment (std::vector< const IExperiment * > expts={}) | |
void | Add (const IExperiment *expt) |
virtual double | ChiSq (osc::IOscCalcAdjustable *osc, const SystShifts &syst=SystShifts::Nominal()) const override |
void | SetSystCorrelations (int idx, const std::vector< std::pair< const ISyst *, const ISyst * >> &corrs) |
virtual void | SaveTo (TDirectory *dir) const override |
Public Member Functions inherited from ana::IExperiment | |
virtual | ~IExperiment () |
Static Public Member Functions | |
static std::unique_ptr < MultiExperiment > | LoadFrom (TDirectory *dir) |
Protected Attributes | |
std::vector< const IExperiment * > | fExpts |
std::vector< std::vector < std::pair< const ISyst *, const ISyst * > > > | fSystCorrelations |
Combine multiple component experiments.
Definition at line 11 of file MultiExperiment.h.
|
inline |
Definition at line 14 of file MultiExperiment.h.
|
inline |
Definition at line 19 of file MultiExperiment.h.
|
overridevirtual |
Implements ana::IExperiment.
Definition at line 13 of file MultiExperiment.cxx.
|
static |
Definition at line 97 of file MultiExperiment.cxx.
|
overridevirtual |
Reimplemented from ana::IExperiment.
Definition at line 75 of file MultiExperiment.cxx.
void ana::MultiExperiment::SetSystCorrelations | ( | int | idx, |
const std::vector< std::pair< const ISyst *, const ISyst * >> & | corrs | ||
) |
For the subexperiment idx, set up a mapping between systematics
Each element in the vector is a pair from a "primary" systematic to a "secondary". When this MultiExperiment is called with a primary systematic shifted, the sub-experiment will be called with the secondary systematic set to the same value (and the primary unset).
You can pass NULL for a secondary to indicate that the systematic simply has no effect on the experiment in question and should be filtered out.
Definition at line 47 of file MultiExperiment.cxx.
|
protected |
Definition at line 42 of file MultiExperiment.h.
|
protected |
Definition at line 44 of file MultiExperiment.h.