Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
osc::OscCalcSterileBeam Class Reference

Adapt the PMNS_Sterile calculator to standard interface. More...

#include "/cvmfs/nova.opensciencegrid.org/externals/osclib/v00.07/src/OscLib/OscCalcSterileBeam.h"

Inheritance diagram for osc::OscCalcSterileBeam:
osc::OscCalcSterile osc::_IOscCalcAdjustable< double > osc::_IOscCalc< T >

Public Member Functions

 OscCalcSterileBeam ()
 
virtual ~OscCalcSterileBeam ()
 
 OscCalcSterileBeam (const OscCalcSterileBeam &calc)
 
virtual IOscCalcAdjustableCopy () const override
 
virtual void SetKaonScale (double scale)
 
virtual void SetPionScale (double scale)
 
virtual void SetMuonScale (double scale)
 
double GetKaonScale () const
 
double GetPionScale () const
 
double GetMuonScale () const
 
virtual TMD5 * GetParamsHash () const override
 Use to check two calculators are in the same state. More...
 
void SetNFlavors (int nflavors)
 
virtual double P (int flavBefore, int flavAfter, double E) override
 E in GeV; flavors as PDG codes (so, neg==>antinu) More...
 
virtual Eigen::Array< T, Eigen::Dynamic, 1 > P (int flavBefore, int flavAfter, const std::vector< double > &E)
 
virtual Eigen::Array< T, Eigen::Dynamic, 1 > P (int flavBefore, int flavAfter, const Eigen::ArrayXd &E)
 
virtual void SetL (double L) override
 
virtual void SetRho (double rho) override
 
void SetAngle (int i, int j, double th)
 
void SetDelta (int i, int j, double delta)
 
void SetDm (int i, double dm)
 
void SetState (std::vector< double > state)
 
int GetNFlavors () const
 
double GetL () const override
 
double GetRho () const override
 
double GetDm (int i) const
 
double GetAngle (int i, int j) const
 
double GetDelta (int i, int j) const
 
std::vector< double > GetState () const
 
virtual double GetDmsq21 () const
 
virtual double GetDmsq32 () const
 
virtual double GetTh12 () const
 
virtual double GetTh13 () const
 
virtual double GetTh23 () const
 
virtual double GetdCP () const
 
virtual void InvalidateCache ()
 Invalidate any caching used internally by the calculator. More...
 

Public Attributes

std::string kBeamMode
 

Protected Member Functions

virtual void SetDmsq21 (const double &dmsq21) override
 
virtual void SetDmsq32 (const double &dmsq32) override
 
virtual void SetTh12 (const double &th12) override
 
virtual void SetTh13 (const double &th13) override
 
virtual void SetTh23 (const double &th23) override
 
virtual void SetdCP (const double &dCP) override
 
TMD5 * GetParamsHashDefault (const std::string &txt) const
 This is only a safe implementation if your calculator only depends on these eight parameters. More...
 

Protected Attributes

double fKaonscale
 
double fPionscale
 
double fMuonscale
 
PMNS_SterilefPMNS_Sterile
 
int fNFlavors
 
double fRho
 
bool fDirty
 
double fPrevE
 
int fPrevAnti
 
int fPrevFlavBefore
 
double fL
 
double fDmsq21
 
double fDmsq32
 
double fTh12
 
double fTh13
 
double fTh23
 
double fdCP
 

Detailed Description

Adapt the PMNS_Sterile calculator to standard interface.

Adapt the PMNS_Sterile calculator (3+N with matter effects) to standard interface

Definition at line 23 of file OscCalcSterileBeam.h.

Constructor & Destructor Documentation

osc::OscCalcSterileBeam::OscCalcSterileBeam ( )

Definition at line 12 of file OscCalcSterileBeam.cxx.

Referenced by Copy().

13  : OscCalcSterile(),
15  {
16  //fPMNS_Sterile = new PMNS_Sterile(fNFlavors);
17  }
osc::OscCalcSterileBeam::~OscCalcSterileBeam ( )
virtual

Definition at line 20 of file OscCalcSterileBeam.cxx.

References om::cout.

21  {
22  std::cout << " ** OscCalcSterileBeam Destructor is called ** \n";
23  }
OStream cout
Definition: OStream.cxx:6
osc::OscCalcSterileBeam::OscCalcSterileBeam ( const OscCalcSterileBeam calc)

Definition at line 26 of file OscCalcSterileBeam.cxx.

References om::cout, fKaonscale, fMuonscale, fPionscale, GetKaonScale(), GetMuonScale(), and GetPionScale().

28  {
29  std::cout << "copy constructor\n";
30  this->fKaonscale = calc.GetKaonScale();
31  this->fMuonscale = calc.GetMuonScale();
32  this->fPionscale = calc.GetPionScale();
33  }
osc::OscCalcDumb calc
OStream cout
Definition: OStream.cxx:6

Member Function Documentation

IOscCalcAdjustable * osc::OscCalcSterileBeam::Copy ( ) const
overridevirtual

Reimplemented from osc::OscCalcSterile.

Definition at line 75 of file OscCalcSterileBeam.cxx.

References om::cout, allTimeWatchdog::endl, and OscCalcSterileBeam().

76  {
77  std::cout << " *** OscCalSterileBeam Copy() is called *** " << std::endl;
78  return new OscCalcSterileBeam(*this);
79  }
OStream cout
Definition: OStream.cxx:6
double osc::OscCalcSterile::GetAngle ( int  i,
int  j 
) const
inlineinherited
virtual double osc::_IOscCalcAdjustable< double >::GetdCP ( ) const
inlinevirtualinherited

Reimplemented in osc::OscCalcCPT.

Definition at line 95 of file IOscCalc.h.

95 { return fdCP ; }
double osc::OscCalcSterile::GetDelta ( int  i,
int  j 
) const
inlineinherited
double osc::OscCalcSterile::GetDm ( int  i) const
inlineinherited
virtual double osc::_IOscCalcAdjustable< double >::GetDmsq21 ( ) const
inlinevirtualinherited

Reimplemented in osc::OscCalcCPT.

Definition at line 90 of file IOscCalc.h.

90 { return fDmsq21 ; }
virtual double osc::_IOscCalcAdjustable< double >::GetDmsq32 ( ) const
inlinevirtualinherited

Reimplemented in osc::OscCalcCPT.

Definition at line 91 of file IOscCalc.h.

91 { return fDmsq32 ; }
double osc::OscCalcSterileBeam::GetKaonScale ( ) const

Definition at line 57 of file OscCalcSterileBeam.cxx.

References fKaonscale.

Referenced by OscCalcSterileBeam().

58  {
59  return fKaonscale;
60  }
double osc::OscCalcSterile::GetL ( ) const
inlineoverridevirtualinherited

Reimplemented from osc::_IOscCalcAdjustable< double >.

Definition at line 49 of file OscCalcSterile.h.

References osc::_IOscCalcAdjustable< double >::fL.

Referenced by ana::ToEigenSterile().

49 { return fL; }
double osc::OscCalcSterileBeam::GetMuonScale ( ) const

Definition at line 69 of file OscCalcSterileBeam.cxx.

References fMuonscale.

Referenced by OscCalcSterileBeam().

70  {
71  return fMuonscale;
72  }
int osc::OscCalcSterile::GetNFlavors ( ) const
inlineinherited

Definition at line 48 of file OscCalcSterile.h.

References osc::OscCalcSterile::fPMNS_Sterile, and osc::PMNS_Sterile::GetNFlavors().

48 { return fPMNS_Sterile->GetNFlavors(); }
PMNS_Sterile * fPMNS_Sterile
virtual int GetNFlavors() const
Getters.
Definition: PMNS_Sterile.h:57
TMD5 * osc::OscCalcSterileBeam::GetParamsHash ( ) const
overridevirtual

Use to check two calculators are in the same state.

Returns
Null means not implemented for this calculator

Reimplemented from osc::OscCalcSterile.

Definition at line 82 of file OscCalcSterileBeam.cxx.

References fKaonscale, osc::_IOscCalcAdjustable< double >::fL, fMuonscale, osc::OscCalcSterile::fNFlavors, fPionscale, osc::OscCalcSterile::fRho, osc::OscCalcSterile::GetAngle(), osc::OscCalcSterile::GetDelta(), osc::OscCalcSterile::GetDm(), MECModelEnuComparisons::i, calib::j, runNovaSAM::ret, and string.

83  {
84  TMD5* ret = new TMD5;
85  std::string txt = "SterileBeam";
86  ret->Update((unsigned char*)txt.c_str(), txt.size());
87  std::vector<double> buf;
88  buf.push_back(fL);
89  buf.push_back(fRho);
90  buf.push_back(fKaonscale);
91  buf.push_back(fPionscale);
92  buf.push_back(fMuonscale);
93  for(int i = 2; i <= fNFlavors; ++i) buf.push_back(GetDm(i));
94  for(int j = 2; j <= fNFlavors; ++j) {
95  for(int i = 1; i < j; ++i) {
96  buf.push_back(GetAngle(i, j));
97  if(i+1 != j) buf.push_back(GetDelta(i, j));
98  }
99  }
100  ret->Update((unsigned char*)&buf[0], sizeof(double)*buf.size());
101  ret->Final();
102  return ret;
103  }
double GetDelta(int i, int j) const
const double j
Definition: BetheBloch.cxx:29
double GetDm(int i) const
double GetAngle(int i, int j) const
enum BeamMode string
TMD5* osc::_IOscCalcAdjustable< double >::GetParamsHashDefault ( const std::string txt) const
protectedinherited

This is only a safe implementation if your calculator only depends on these eight parameters.

Parameters
txtA string to uniquely identify your calculator class

Referenced by osc::OscCalcGeneral::GetParamsHash(), osc::OscCalcPMNS_CPT::GetParamsHash(), and osc::OscCalc::GetParamsHash().

double osc::OscCalcSterileBeam::GetPionScale ( ) const

Definition at line 63 of file OscCalcSterileBeam.cxx.

References fPionscale.

Referenced by OscCalcSterileBeam().

64  {
65  return fPionscale;
66  }
double osc::OscCalcSterile::GetRho ( ) const
inlineoverridevirtualinherited

Reimplemented from osc::_IOscCalcAdjustable< double >.

Definition at line 50 of file OscCalcSterile.h.

References osc::OscCalcSterile::fRho.

50 { return fRho; }
std::vector< double > osc::OscCalcSterile::GetState ( ) const
inherited

Definition at line 17 of file OscCalcSterile.cxx.

References osc::_IOscCalcAdjustable< double >::fL, osc::OscCalcSterile::fNFlavors, osc::OscCalcSterile::fRho, osc::OscCalcSterile::GetAngle(), osc::OscCalcSterile::GetDelta(), osc::OscCalcSterile::GetDm(), MECModelEnuComparisons::i, calib::j, and makeDatasetsPage::state.

Referenced by osc::OscCalcSterile::GetDelta(), osc::OscCalcSterile::GetParamsHash(), osc::OscCalcSterile::OscCalcSterile(), osc::OscCalcSterileTrivial::OscCalcSterileTrivial(), and ana::SaveTo().

18  {
19  std::vector<double> state;
20  state.push_back((double)fNFlavors);
21  state.push_back(fL);
22  state.push_back(fRho);
23  for(int i = 2; i <= fNFlavors; ++i) state.push_back(GetDm(i));
24  for(int j = 2; j <= fNFlavors; ++j) {
25  for(int i = 1; i < j; ++i) {
26  state.push_back(GetAngle(i, j));
27  if(i+1 != j) state.push_back(GetDelta(i, j));
28  }
29  }
30  return state;
31  }
double GetDelta(int i, int j) const
const double j
Definition: BetheBloch.cxx:29
double GetDm(int i) const
double GetAngle(int i, int j) const
virtual double osc::_IOscCalcAdjustable< double >::GetTh12 ( ) const
inlinevirtualinherited

Reimplemented in osc::OscCalcCPT.

Definition at line 92 of file IOscCalc.h.

92 { return fTh12 ; }
virtual double osc::_IOscCalcAdjustable< double >::GetTh13 ( ) const
inlinevirtualinherited

Reimplemented in osc::OscCalcCPT.

Definition at line 93 of file IOscCalc.h.

93 { return fTh13 ; }
virtual double osc::_IOscCalcAdjustable< double >::GetTh23 ( ) const
inlinevirtualinherited

Reimplemented in osc::OscCalcCPT.

Definition at line 94 of file IOscCalc.h.

94 { return fTh23 ; }
virtual void osc::_IOscCalcAdjustable< double >::InvalidateCache ( )
inlinevirtualinherited

Invalidate any caching used internally by the calculator.

Some calculators use a cache that can become stale in ways that the calculator may not know about (e.g., Stan var clearing). Default implementation does nothing.

Definition at line 102 of file IOscCalc.h.

References string.

102 {};
template<class T >
Eigen::Array< T, Eigen::Dynamic, 1 > osc::_IOscCalc< T >::P ( int  flavBefore,
int  flavAfter,
const std::vector< double > &  E 
)
virtualinherited

Default implementation forwards to non-vector version using a simple loop. Override if your calculator has a more efficient implementation.

Reimplemented in osc::analytic::_OscCalc< T >, osc::OscCalcPMNSOptEigen, and osc::_OscCalcDMP< T >.

Definition at line 27 of file IOscCalc.cxx.

References MECModelEnuComparisons::i, osc::_IOscCalc< T >::P(), runNovaSAM::ret, and submit_hadd::u.

Referenced by osc::_IOscCalc< T >::P().

28  {
29  Eigen::Matrix<T,Eigen::Dynamic,1> ret(E.size());
30  for(auto i = 0u; i < E.size(); i++) {
31  ret(i) = this->P(flavBefore, flavAfter, E[i]);
32  }
33  return ret.array().isNaN().select(0, ret);
34  }
Float_t E
Definition: plot.C:20
virtual T P(int flavBefore, int flavAfter, double E)=0
E in GeV; flavors as PDG codes (so, neg==>antinu)
template<class T >
Eigen::Array< T, Eigen::Dynamic, 1 > osc::_IOscCalc< T >::P ( int  flavBefore,
int  flavAfter,
const Eigen::ArrayXd &  E 
)
virtualinherited

Default implementation forawrds to vector<double> version. Override if your calculator has a more efficient implementation.

Reimplemented in osc::analytic::_OscCalc< T >.

Definition at line 37 of file IOscCalc.cxx.

References P.

38  {
39  return P(flavBefore, flavAfter, std::vector<double>(&E[0], &E[0]+E.size()));
40  }
Float_t E
Definition: plot.C:20
virtual T P(int flavBefore, int flavAfter, double E)=0
E in GeV; flavors as PDG codes (so, neg==>antinu)
double osc::OscCalcSterile::P ( int  flavBefore,
int  flavAfter,
double  E 
)
overridevirtualinherited

E in GeV; flavors as PDG codes (so, neg==>antinu)

Implements osc::_IOscCalc< T >.

Reimplemented in osc::OscCalcSterileTrivial.

Definition at line 155 of file OscCalcSterile.cxx.

References abs(), ana::assert(), E, e, osc::OscCalcSterile::fDirty, osc::_IOscCalcAdjustable< double >::fL, osc::OscCalcSterile::fPMNS_Sterile, osc::OscCalcSterile::fPrevAnti, osc::OscCalcSterile::fPrevE, osc::OscCalcSterile::fPrevFlavBefore, osc::OscCalcSterile::fRho, MECModelEnuComparisons::i, calib::j, osc::PMNS_Sterile::P(), osc::PMNS_Sterile::PropMatter(), and osc::PMNS_Sterile::ResetToFlavour().

Referenced by LOverEPlot(), ana::ToEigenSterile(), and osc::OscCalcSterileTrivial::~OscCalcSterileTrivial().

156  {
157  const int anti = (flavBefore > 0) ? +1 : -1;
158  //anti must be +/- 1 but flavAfter can be zero
159  assert(flavAfter/anti >= 0);
160  if (anti != fPrevAnti) fDirty = true;
161  fPrevAnti = anti;
162 
163  if (flavBefore != fPrevFlavBefore) fDirty = true;
164  fPrevFlavBefore = flavBefore;
165 
166  if (abs(fPrevE - E) > 1e-8) fDirty = true;
167  fPrevE = E;
168 
169  int i = -1, j = -1;
170  if(abs(flavBefore) == 12) i = 0;
171  if(abs(flavBefore) == 14) i = 1;
172  if(abs(flavBefore) == 16) i = 2;
173  if(abs(flavAfter) == 12) j = 0;
174  if(abs(flavAfter) == 14) j = 1;
175  if(abs(flavAfter) == 16) j = 2;
176  if(abs(flavAfter) == 0) j = 3;
177  assert(i >= 0 && j >= 0);
178 
179  if (fDirty) {
181  // Assume Z/A=0.5
182  const double Ne = fRho/2;
183  fPMNS_Sterile->PropMatter(fL, E, Ne, anti);
184  }
185 
186  // Return the active fraction
187  if (j == 3) return fPMNS_Sterile->P(0) + fPMNS_Sterile->P(1) + fPMNS_Sterile->P(2);
188  else return fPMNS_Sterile->P(j);
189  }
virtual double P(int flv) const
virtual void PropMatter(double L, double E, double Ne, int anti=1)
void abs(TH1 *hist)
PMNS_Sterile * fPMNS_Sterile
Float_t E
Definition: plot.C:20
const double j
Definition: BetheBloch.cxx:29
virtual void ResetToFlavour(int flv=1)
assert(nhit_max >=nhit_nbins)
Float_t e
Definition: plot.C:35
void osc::OscCalcSterile::SetAngle ( int  i,
int  j,
double  th 
)
inherited

Definition at line 92 of file OscCalcSterile.cxx.

References osc::OscCalcSterile::fDirty, osc::OscCalcSterile::fPMNS_Sterile, and osc::PMNS_Sterile::SetAngle().

Referenced by BlessedPlotsAna(), BlessedPlotsAnaByPeriod(), FitSystEffectsAna(), LOverEPlot(), MiniBooNEParameters(), PlotNus17Prediction(), ana::PredictionSterile::PredictUnoscillated(), ResetAngles(), ana::ResetSterileCalcToDefault(), SetAngles(), SetCalcParam(), SetFakeSignalParams(), SetNus20Params(), osc::OscCalcSterile::SetRho(), osc::OscCalcSterile::SetState(), ana::FitTheta13Sterile::SetValue(), ana::FitSinSqTheta13Sterile::SetValue(), ana::FitSinSq2Theta13Sterile::SetValue(), ana::FitTheta23Sterile::SetValue(), ana::FitSinSqTheta23Sterile::SetValue(), ana::FitTheta14Sterile::SetValue(), ana::FitSinSqTheta14Sterile::SetValue(), ana::FitTheta24Sterile::SetValue(), ana::FitSinSqTheta24Sterile::SetValue(), ana::FitTheta34Sterile::SetValue(), ana::FitSinSqTheta34Sterile::SetValue(), ana::FitTheta13InDegreesSterile::SetValue(), ana::FitTheta23InDegreesSterile::SetValue(), ana::FitTheta14InDegreesSterile::SetValue(), ana::FitTheta24InDegreesSterile::SetValue(), ana::FitTheta34InDegreesSterile::SetValue(), sterile_demo(), SterileOscillator(), and SystsOscParamAna().

93  {
94  fDirty = true;
95  fPMNS_Sterile->SetAngle(i, j, th);
96  }
virtual void SetAngle(int i, int j, double th)
PMNS_Sterile * fPMNS_Sterile
const double j
Definition: BetheBloch.cxx:29
void osc::OscCalcSterile::SetdCP ( const double &  dCP)
overrideprotectedvirtualinherited

Implements osc::_IOscCalcAdjustable< double >.

Definition at line 148 of file OscCalcSterile.cxx.

References ana::assert(), om::cerr, and allTimeWatchdog::endl.

149  {
150  std::cerr << "Must use SetDelta!" << std::endl;
151  assert(false);
152  }
OStream cerr
Definition: OStream.cxx:7
assert(nhit_max >=nhit_nbins)
void osc::OscCalcSterile::SetDelta ( int  i,
int  j,
double  delta 
)
inherited
void osc::OscCalcSterile::SetDm ( int  i,
double  dm 
)
inherited
void osc::OscCalcSterile::SetDmsq21 ( const double &  dmsq21)
overrideprotectedvirtualinherited

Implements osc::_IOscCalcAdjustable< double >.

Definition at line 113 of file OscCalcSterile.cxx.

References ana::assert(), om::cerr, and allTimeWatchdog::endl.

114  {
115  std::cerr << "Must use SetDm!" << std::endl;
116  assert(false);
117  }
OStream cerr
Definition: OStream.cxx:7
assert(nhit_max >=nhit_nbins)
void osc::OscCalcSterile::SetDmsq32 ( const double &  dmsq32)
overrideprotectedvirtualinherited

Implements osc::_IOscCalcAdjustable< double >.

Definition at line 120 of file OscCalcSterile.cxx.

References ana::assert(), om::cerr, and allTimeWatchdog::endl.

121  {
122  std::cerr << "Must use SetDm!" << std::endl;
123  assert(false);
124  }
OStream cerr
Definition: OStream.cxx:7
assert(nhit_max >=nhit_nbins)
void osc::OscCalcSterileBeam::SetKaonScale ( double  scale)
virtual

Definition at line 36 of file OscCalcSterileBeam.cxx.

References fKaonscale, and scale.

37  {
39  //assert(fKaonscale!=0.0);
40  }
Double_t scale
Definition: plot.C:25
virtual void osc::OscCalcSterile::SetL ( double  L)
inlineoverridevirtualinherited
void osc::OscCalcSterileBeam::SetMuonScale ( double  scale)
virtual

Definition at line 50 of file OscCalcSterileBeam.cxx.

References fMuonscale, and scale.

51  {
53  //assert(fMuonscale!=0.0);
54  }
Double_t scale
Definition: plot.C:25
void osc::OscCalcSterile::SetNFlavors ( int  nflavors)
inherited
void osc::OscCalcSterileBeam::SetPionScale ( double  scale)
virtual

Definition at line 43 of file OscCalcSterileBeam.cxx.

References fPionscale, and scale.

44  {
46  //assert(fPionscale!=0.0);
47  }
Double_t scale
Definition: plot.C:25
virtual void osc::OscCalcSterile::SetRho ( double  rho)
inlineoverridevirtualinherited
void osc::OscCalcSterile::SetState ( std::vector< double >  state)
inherited

Definition at line 34 of file OscCalcSterile.cxx.

References osc::OscCalcSterile::fDirty, osc::OscCalcSterile::fNFlavors, MECModelEnuComparisons::i, calib::j, osc::OscCalcSterile::SetAngle(), osc::OscCalcSterile::SetDelta(), osc::OscCalcSterile::SetDm(), osc::OscCalcSterile::SetL(), osc::OscCalcSterile::SetNFlavors(), and osc::OscCalcSterile::SetRho().

Referenced by osc::OscCalcSterile::OscCalcSterile(), osc::OscCalcSterileTrivial::OscCalcSterileTrivial(), and osc::OscCalcSterile::SetRho().

35  {
36  int iState(0);
37  fDirty = true ;
38  SetNFlavors((int)state[iState++]);
39  SetL(state[iState++]);
40  SetRho(state[iState++]);
41  for (int i = 2; i <= fNFlavors; ++i) SetDm(i, state[iState++]);
42  for(int j = 2; j <= fNFlavors; ++j) {
43  for(int i = 1; i < j; ++i) {
44  SetAngle(i, j, state[iState++]);
45  if(i+1 != j) SetDelta(i, j, state[iState++]);
46  }
47  }
48  }
void SetNFlavors(int nflavors)
void SetDelta(int i, int j, double delta)
const double j
Definition: BetheBloch.cxx:29
void SetAngle(int i, int j, double th)
void SetDm(int i, double dm)
virtual void SetL(double L) override
virtual void SetRho(double rho) override
void osc::OscCalcSterile::SetTh12 ( const double &  th12)
overrideprotectedvirtualinherited

Implements osc::_IOscCalcAdjustable< double >.

Definition at line 127 of file OscCalcSterile.cxx.

References ana::assert(), om::cerr, and allTimeWatchdog::endl.

128  {
129  std::cerr << "Must use SetAngle!" << std::endl;
130  assert(false);
131  }
OStream cerr
Definition: OStream.cxx:7
assert(nhit_max >=nhit_nbins)
void osc::OscCalcSterile::SetTh13 ( const double &  th13)
overrideprotectedvirtualinherited

Implements osc::_IOscCalcAdjustable< double >.

Definition at line 134 of file OscCalcSterile.cxx.

References ana::assert(), om::cerr, and allTimeWatchdog::endl.

135  {
136  std::cerr << "Must use SetAngle!" << std::endl;
137  assert(false);
138  }
OStream cerr
Definition: OStream.cxx:7
assert(nhit_max >=nhit_nbins)
void osc::OscCalcSterile::SetTh23 ( const double &  th23)
overrideprotectedvirtualinherited

Implements osc::_IOscCalcAdjustable< double >.

Definition at line 141 of file OscCalcSterile.cxx.

References ana::assert(), om::cerr, and allTimeWatchdog::endl.

142  {
143  std::cerr << "Must use SetAngle!" << std::endl;
144  assert(false);
145  }
OStream cerr
Definition: OStream.cxx:7
assert(nhit_max >=nhit_nbins)

Member Data Documentation

double osc::_IOscCalcAdjustable< double >::fdCP
protectedinherited
bool osc::OscCalcSterile::fDirty
protectedinherited
double osc::_IOscCalcAdjustable< double >::fDmsq21
protectedinherited
double osc::_IOscCalcAdjustable< double >::fDmsq32
protectedinherited
double osc::OscCalcSterileBeam::fKaonscale
protected

Definition at line 48 of file OscCalcSterileBeam.h.

Referenced by GetKaonScale(), GetParamsHash(), OscCalcSterileBeam(), and SetKaonScale().

double osc::_IOscCalcAdjustable< double >::fL
protectedinherited
double osc::OscCalcSterileBeam::fMuonscale
protected

Definition at line 50 of file OscCalcSterileBeam.h.

Referenced by GetMuonScale(), GetParamsHash(), OscCalcSterileBeam(), and SetMuonScale().

int osc::OscCalcSterile::fNFlavors
protectedinherited
double osc::OscCalcSterileBeam::fPionscale
protected

Definition at line 49 of file OscCalcSterileBeam.h.

Referenced by GetParamsHash(), GetPionScale(), OscCalcSterileBeam(), and SetPionScale().

PMNS_Sterile* osc::OscCalcSterile::fPMNS_Sterile
protectedinherited
int osc::OscCalcSterile::fPrevAnti
protectedinherited

Definition at line 71 of file OscCalcSterile.h.

Referenced by osc::OscCalcSterile::P().

double osc::OscCalcSterile::fPrevE
protectedinherited

Definition at line 70 of file OscCalcSterile.h.

Referenced by osc::OscCalcSterile::P().

int osc::OscCalcSterile::fPrevFlavBefore
protectedinherited

Definition at line 72 of file OscCalcSterile.h.

Referenced by osc::OscCalcSterile::P().

double osc::OscCalcSterile::fRho
protectedinherited
double osc::_IOscCalcAdjustable< double >::fTh12
protectedinherited
double osc::_IOscCalcAdjustable< double >::fTh13
protectedinherited
double osc::_IOscCalcAdjustable< double >::fTh23
protectedinherited
std::string osc::OscCalcSterileBeam::kBeamMode

Definition at line 34 of file OscCalcSterileBeam.h.


The documentation for this class was generated from the following files: