OscCalculatorPMNS.h
Go to the documentation of this file.
1 #ifndef OSC_OSCCALCULATORPMNS_H
2 #define OSC_OSCCALCULATORPMNS_H
3 
4 // //
5 // \file OscCalculatorPMNS.h //
6 // //
7 // \brief Adapt the PMNS calculator to standard interface //
8 // \author <bckhouse@caltech.edu> //
9 // //
10 
11 #include "IOscCalculator.h"
12 #include "PMNS.h"
13 
14 namespace osc
15 {
17  {
18  public:
20  virtual ~OscCalculatorPMNS();
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  //{
35  // return IOscCalculatorAdjustable::GetParamsHashDefault("PMNS");
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 void SetRho(double rho)
virtual void SetTh23(double th23)
virtual void SetTh13(double th13)
Definition: PMNS.h:38
virtual void SetdCP(double dCP)
Definition: EarthModel.h:12
virtual void SetL(double L)
virtual void SetTh12(double th12)
virtual void SetDmsq21(double dmsq21)
virtual void SetDmsq32(double dmsq32)
virtual double P(int flavBefore, int flavAfter, double E)