OscCurve.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 #include "CAFAna/Core/Ratio.h"
7 
8 namespace ana
9 {
10  /// Transition probability for any one channel as a function of energy
11  class OscCurve : public Ratio
12  {
13  public:
14  OscCurve(osc::IOscCalc* calc, int from, int to);
15  OscCurve(osc::IOscCalcStan* calc, int from, int to);
16  virtual ~OscCurve();
17 
18  OscCurve(const OscCurve& rhs) = default;
19  OscCurve& operator=(const OscCurve& rhs) = default;
20 
21  TH1D* ToTH1(bool title = false) const;
22 
23  protected:
24  int fFrom, fTo;
25  };
26 }
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
General interface to oscillation calculators.
Definition: StanTypedefs.h:22
OscCurve(osc::IOscCalc *calc, int from, int to)
Definition: OscCurve.cxx:36
osc::OscCalcDumb calc
OscCurve & operator=(const OscCurve &rhs)=default
virtual ~OscCurve()
Definition: OscCurve.cxx:54
TH1D * ToTH1(bool title=false) const
Definition: OscCurve.cxx:59
Represent the ratio between two spectra.
Definition: Ratio.h:8
Transition probability for any one channel as a function of energy.
Definition: OscCurve.h:11