OscCalculatorPMNSOpt.h
Go to the documentation of this file.
1 #ifndef OSC_OSCCALCULATORPMNSOPT_H
2 #define OSC_OSCCALCULATORPMNSOPT_H
3 
4 // //
5 // \file OscCalculatorPMNSOpt.h //
6 // //
7 // Adapt the PMNSOpt calculator to standard interface //
8 // <bckhouse@caltech.edu> //
9 // //
10 
11 #include "IOscCalculator.h"
12 #include "PMNSOpt.h"
13 
14 namespace osc
15 {
17  {
18  public:
20  virtual ~OscCalculatorPMNSOpt();
21 
22  virtual double P(int flavBefore, int flavAfter, double E);
23 
24  virtual void SetL (double L ){fPropDirty = true; fL = L;}
25  virtual void SetRho (double rho ){fPropDirty = true; fRho = rho;}
26  virtual void SetDmsq21(double dmsq21){fDmDirty = true; fDmsq21 = dmsq21;}
27  virtual void SetDmsq32(double dmsq32){fDmDirty = true; fDmsq32 = dmsq32;}
28  virtual void SetTh12 (double th12 ){fMixDirty = true; fTh12 = th12;}
29  virtual void SetTh13 (double th13 ){fMixDirty = true; fTh13 = th13;}
30  virtual void SetTh23 (double th23 ){fMixDirty = true; fTh23 = th23;}
31  virtual void SetdCP (double dCP ){fMixDirty = true; fdCP = dCP;}
32 
33  virtual TMD5* GetParamsHash() const override
34  {
36  }
37  protected:
39 
40  bool fMixDirty;
41  bool fDmDirty;
42  bool fPropDirty;
43  double fPrevE;
44  int fPrevAnti;
45  };
46 
47 } // namespace
48 
49 #endif
virtual double P(int flavBefore, int flavAfter, double E)
virtual void SetDmsq32(double dmsq32)
virtual void SetDmsq21(double dmsq21)
virtual void SetTh12(double th12)
virtual void SetTh23(double th23)
TMD5 * GetParamsHashDefault(const std::string &txt) const
virtual void SetTh13(double th13)
virtual void SetL(double L)
virtual TMD5 * GetParamsHash() const override
Definition: EarthModel.h:12
virtual void SetdCP(double dCP)
virtual void SetRho(double rho)