All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OscCurve.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <map>
4 #include <string>
5 
6 class TH1;
7 class TH1D;
8 
9 namespace osc
10 {
11  template<class T> class _IOscCalc;
12  typedef _IOscCalc<double> IOscCalc;
13 }
14 
15 namespace ana
16 {
17  /// Transition probability for any one channel as a function of energy
18  class OscCurve
19  {
20  public:
21  OscCurve(osc::IOscCalc* calc, int from, int to, bool LoverE);
22  OscCurve(TH1* h);
23  virtual ~OscCurve();
24 
25  OscCurve(const OscCurve& rhs);
26  OscCurve& operator=(const OscCurve& rhs);
27 
28  TH1D* ToTH1(bool title = false) const;
29  protected:
30  int fFrom, fTo;
31  TH1D* fHist;
32  };
33 }
TH1D * fHist
Definition: OscCurve.h:31
process_name opflashCryoW ana
_IOscCalc< double > IOscCalc
Definition: Plots.h:17
while getopts h
virtual ~OscCurve()
Definition: OscCurve.cxx:93
OscCurve(osc::IOscCalc *calc, int from, int to, bool LoverE)
Definition: OscCurve.cxx:28
TH1D * ToTH1(bool title=false) const
Definition: OscCurve.cxx:129
OscCurve & operator=(const OscCurve &rhs)
Definition: OscCurve.cxx:116
Transition probability for any one channel as a function of energy.
Definition: OscCurve.h:18