Public Member Functions | List of all members
ana::IChiSqExperiment Class Referenceabstract

Base class defining interface for experiments. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-01-22/CAFAna/Experiment/IChiSqExperiment.h"

Inheritance diagram for ana::IChiSqExperiment:
ana::AtmConstraint ana::CountingExperiment ana::Dmsq32Constraint ana::GaussianConstraint ana::MultiExperiment ana::OscCovMxExperiment ana::ReactorExperiment ana::SingleSampleExperiment ana::SolarConstraints ana::Ssth23Constraint ana::T2KToyExperiment HackExpt

Public Member Functions

virtual ~IChiSqExperiment ()
 
virtual double ChiSq (osc::IOscCalculatorAdjustable *osc, const SystShifts &syst=SystShifts::Nominal()) const =0
 
virtual void Derivative (osc::IOscCalculator *calc, const SystShifts &shift, std::unordered_map< const ISyst *, double > &dchi) const
 
virtual void SaveTo (TDirectory *dir) const
 

Detailed Description

Base class defining interface for experiments.

Definition at line 12 of file IChiSqExperiment.h.

Constructor & Destructor Documentation

virtual ana::IChiSqExperiment::~IChiSqExperiment ( )
inlinevirtual

Definition at line 15 of file IChiSqExperiment.h.

References ChiSq(), ana::SystShifts::Nominal(), and plotSysts::syst.

15 {}

Member Function Documentation

virtual double ana::IChiSqExperiment::ChiSq ( osc::IOscCalculatorAdjustable osc,
const SystShifts syst = SystShifts::Nominal() 
) const
pure virtual
virtual void ana::IChiSqExperiment::Derivative ( osc::IOscCalculator calc,
const SystShifts shift,
std::unordered_map< const ISyst *, double > &  dchi 
) const
inlinevirtual

Reimplemented in ana::SingleSampleExperiment, ana::Ssth23Constraint, ana::AtmConstraint, ana::MultiExperiment, ana::T2KToyExperiment, ana::GaussianConstraint, ana::SolarConstraints, ana::Dmsq32Constraint, and ana::ReactorExperiment.

Definition at line 19 of file IChiSqExperiment.h.

References dir, and SaveTo().

Referenced by ana::MinuitFitter::Gradient(), and ana::MinuitFitter::SupportsDerivatives().

22  {
23  // Optional to implement
24  //
25  // NB the convention is to *add* your contribution to the dchi values.
26  //
27  // If unimplemented, this default will be called, signaling no result to
28  // the caller
29  dchi.clear();
30  }
void ana::IChiSqExperiment::SaveTo ( TDirectory *  dir) const
virtual

Reimplemented in ana::SingleSampleExperiment, ana::MultiExperiment, ana::SolarConstraints, ana::ReactorExperiment, and ana::CountingExperiment.

Definition at line 40 of file IChiSqExperiment.cxx.

Referenced by Derivative().

41  {
42  assert(0 && "Not implemented");
43  }

The documentation for this class was generated from the following files: