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