Combine multiple component experiments. More...
#include <MultiExperimentSBN.h>
Public Member Functions | |
MultiExperimentSBN (std::vector< const IExperiment * > expts={}, std::vector< int > exptnames={}) | |
void | Add (const IExperiment *expt, float l) |
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 < MultiExperimentSBN > | LoadFrom (TDirectory *dir) |
Protected Attributes | |
std::vector< const IExperiment * > | fExpts |
std::vector< int > | fExptNames |
std::vector< std::vector < std::pair< const ISyst *, const ISyst * > > > | fSystCorrelations |
Combine multiple component experiments.
Definition at line 13 of file MultiExperimentSBN.h.
|
inline |
Definition at line 19 of file MultiExperimentSBN.h.
|
inline |
Definition at line 26 of file MultiExperimentSBN.h.
|
overridevirtual |
Implements ana::IExperiment.
Definition at line 13 of file MultiExperimentSBN.cxx.
|
static |
Definition at line 103 of file MultiExperimentSBN.cxx.
|
overridevirtual |
Reimplemented from ana::IExperiment.
Definition at line 81 of file MultiExperimentSBN.cxx.
void ana::MultiExperimentSBN::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 53 of file MultiExperimentSBN.cxx.
|
protected |
Definition at line 53 of file MultiExperimentSBN.h.
|
protected |
Definition at line 52 of file MultiExperimentSBN.h.
|
protected |
Definition at line 54 of file MultiExperimentSBN.h.