Optimized version of OscCalcPMNS. More...
#include "/cvmfs/nova.opensciencegrid.org/externals/osclib/v00.07/src/OscLib/OscCalcPMNS_NSI.h"
Public Member Functions | |
OscCalcPMNS_NSI () | |
virtual | ~OscCalcPMNS_NSI () |
IOscCalcAdjustable * | Copy () const override |
virtual double | P (int flavBefore, int flavAfter, double E) override |
E in GeV; flavors as PDG codes (so, neg==>antinu) More... | |
virtual void | SetL (double L) override |
virtual void | SetRho (double rho) override |
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 |
virtual void | SetEps_ee (double eps_ee) |
virtual void | SetEps_emu (double eps_emu) |
virtual void | SetEps_etau (double eps_etau) |
virtual void | SetEps_mumu (double eps_mumu) |
virtual void | SetEps_mutau (double eps_mutau) |
virtual void | SetEps_tautau (double eps_tautau) |
virtual void | SetDelta_emu (double Delta_emu) |
virtual void | SetDelta_etau (double Delta_etau) |
virtual void | SetDelta_mutau (double Delta_mutau) |
void | SetState (std::vector< double > state) |
double | GetEps_ee () const |
double | GetEps_emu () const |
double | GetEps_etau () const |
double | GetEps_mumu () const |
double | GetEps_mutau () const |
double | GetEps_tautau () const |
double | GetDelta_emu () const |
double | GetDelta_etau () const |
double | GetDelta_mutau () const |
std::vector< double > | GetState () const |
virtual double | GetL () const |
virtual double | GetRho () 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... | |
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 TMD5 * | GetParamsHash () const |
Use to check two calculators are in the same state. More... | |
Protected Member Functions | |
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 | |
PMNS_NSI | fPMNS_NSI |
bool | fMixDirty |
bool | fDmDirty |
bool | fPropDirty |
bool | fEpsDirty |
double | fPrevE |
int | fPrevAnti |
double | fEps_ee |
double | fEps_mumu |
double | fEps_tautau |
double | fEps_emu |
double | fEps_etau |
double | fEps_mutau |
double | fDelta_emu |
double | fDelta_etau |
double | fDelta_mutau |
double | fRho |
double | fL |
double | fDmsq21 |
double | fDmsq32 |
double | fTh12 |
double | fTh13 |
double | fTh23 |
double | fdCP |
Optimized version of OscCalcPMNS.
Adapt the PMNS_NSI calculator to standard interface
Definition at line 21 of file OscCalcPMNS_NSI.h.
osc::OscCalcPMNS_NSI::OscCalcPMNS_NSI | ( | ) |
|
virtual |
Definition at line 68 of file OscCalcPMNS_NSI.cxx.
|
overridevirtual |
Implements osc::_IOscCalcAdjustable< double >.
Definition at line 111 of file OscCalcPMNS_NSI.cxx.
References OscCalcPMNS_NSI().
|
inlinevirtualinherited |
|
inline |
|
inline |
|
inline |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 61 of file OscCalcPMNS_NSI.h.
References fEps_mutau.
Referenced by ana::FitEpsMuTau::GetValue().
|
inline |
|
inlinevirtualinherited |
Reimplemented in osc::OscCalcCPT, and osc::OscCalcSterile.
Definition at line 88 of file IOscCalc.h.
|
inlinevirtualinherited |
Use to check two calculators are in the same state.
Reimplemented in osc::analytic::_OscCalc< T >, osc::OscCalcCPT, osc::OscCalcPMNSOptEigen, osc::_OscCalcDMP< T >, osc::OscCalc, osc::_NoOscillations< T >, osc::OscCalcSterile, osc::OscCalcPMNS_CPT, osc::OscCalcGeneral, osc::_OscCalcPMNSOpt< T >, osc::OscCalcSterileBeam, and osc::_OscCalcPMNS< T >.
Definition at line 39 of file IOscCalc.h.
Referenced by ana::OscillatableSpectrum::_Oscillated(), ana::PredictionInterp::_PredictComponentSyst(), and osc::OscCalcCPT::GetParamsHash().
|
protectedinherited |
This is only a safe implementation if your calculator only depends on these eight parameters.
txt | A string to uniquely identify your calculator class |
Referenced by osc::OscCalcGeneral::GetParamsHash(), osc::OscCalcPMNS_CPT::GetParamsHash(), and osc::OscCalc::GetParamsHash().
|
inlinevirtualinherited |
Reimplemented in osc::OscCalcCPT, and osc::OscCalcSterile.
Definition at line 89 of file IOscCalc.h.
std::vector< double > osc::OscCalcPMNS_NSI::GetState | ( | ) | const |
Definition at line 17 of file OscCalcPMNS_NSI.cxx.
References osc::_IOscCalcAdjustable< double >::fdCP, fDelta_emu, fDelta_etau, fDelta_mutau, osc::_IOscCalcAdjustable< double >::fDmsq21, osc::_IOscCalcAdjustable< double >::fDmsq32, fEps_ee, fEps_emu, fEps_etau, fEps_mumu, fEps_mutau, fEps_tautau, osc::_IOscCalcAdjustable< double >::fL, osc::_IOscCalcAdjustable< double >::fRho, osc::_IOscCalcAdjustable< double >::fTh12, osc::_IOscCalcAdjustable< double >::fTh13, osc::_IOscCalcAdjustable< double >::fTh23, and makeDatasetsPage::state.
Referenced by GetDelta_mutau(), and ana::SaveTo().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
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.
E in GeV; flavors as PDG codes (so, neg==>antinu)
Implements osc::_IOscCalc< T >.
Definition at line 72 of file OscCalcPMNS_NSI.cxx.
References abs(), ana::assert(), osc::_IOscCalcAdjustable< double >::fdCP, fDelta_emu, fDelta_etau, fDelta_mutau, fDmDirty, osc::_IOscCalcAdjustable< double >::fDmsq21, osc::_IOscCalcAdjustable< double >::fDmsq32, fEps_ee, fEps_emu, fEps_etau, fEps_mumu, fEps_mutau, fEps_tautau, fEpsDirty, osc::_IOscCalcAdjustable< double >::fL, fMixDirty, fPMNS_NSI, fPrevAnti, fPropDirty, osc::_IOscCalcAdjustable< double >::fRho, osc::_IOscCalcAdjustable< double >::fTh12, osc::_IOscCalcAdjustable< double >::fTh13, osc::_IOscCalcAdjustable< double >::fTh23, MECModelEnuComparisons::i, calib::j, osc::_PMNSOpt< T >::P(), osc::_PMNSOpt< T >::PropMatter(), osc::_PMNSOpt< T >::ResetToFlavour(), osc::_PMNSOpt< T >::SetDeltaMsqrs(), osc::_PMNSOpt< T >::SetMix(), and osc::PMNS_NSI::SetNSI().
|
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().
|
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.
|
inlineoverridevirtual |
Implements osc::_IOscCalcAdjustable< double >.
Definition at line 40 of file OscCalcPMNS_NSI.h.
References dCP, osc::_IOscCalcAdjustable< double >::fdCP, and fMixDirty.
Referenced by SetState().
|
inlinevirtual |
Definition at line 49 of file OscCalcPMNS_NSI.h.
References fDelta_emu, and fEpsDirty.
Referenced by SetState().
|
inlinevirtual |
Definition at line 50 of file OscCalcPMNS_NSI.h.
References fDelta_etau, and fEpsDirty.
Referenced by SetState().
|
inlinevirtual |
Definition at line 51 of file OscCalcPMNS_NSI.h.
References fDelta_mutau, fEpsDirty, SetState(), and makeDatasetsPage::state.
Referenced by SetState().
|
inlineoverridevirtual |
Implements osc::_IOscCalcAdjustable< double >.
Definition at line 35 of file OscCalcPMNS_NSI.h.
References fDmDirty, and osc::_IOscCalcAdjustable< double >::fDmsq21.
Referenced by SetState().
|
inlineoverridevirtual |
Implements osc::_IOscCalcAdjustable< double >.
Definition at line 36 of file OscCalcPMNS_NSI.h.
References dmsq32, fDmDirty, and osc::_IOscCalcAdjustable< double >::fDmsq32.
Referenced by SetState().
|
inlinevirtual |
Definition at line 43 of file OscCalcPMNS_NSI.h.
References fEps_ee, and fEpsDirty.
Referenced by SetState().
|
inlinevirtual |
Definition at line 44 of file OscCalcPMNS_NSI.h.
References fEps_emu, and fEpsDirty.
Referenced by SetState().
|
inlinevirtual |
Definition at line 45 of file OscCalcPMNS_NSI.h.
References fEps_etau, and fEpsDirty.
Referenced by SetState().
|
inlinevirtual |
Definition at line 46 of file OscCalcPMNS_NSI.h.
References fEps_mumu, and fEpsDirty.
Referenced by SetState().
|
inlinevirtual |
Definition at line 47 of file OscCalcPMNS_NSI.h.
References fEps_mutau, and fEpsDirty.
Referenced by SetState(), and ana::FitEpsMuTau::SetValue().
|
inlinevirtual |
Definition at line 48 of file OscCalcPMNS_NSI.h.
References fEps_tautau, and fEpsDirty.
Referenced by SetState().
|
inlineoverridevirtual |
Implements osc::_IOscCalcAdjustable< double >.
Definition at line 33 of file OscCalcPMNS_NSI.h.
References osc::_IOscCalcAdjustable< double >::fL, fPropDirty, and CLHEP::L.
Referenced by SetState().
|
inlineoverridevirtual |
Implements osc::_IOscCalcAdjustable< double >.
Definition at line 34 of file OscCalcPMNS_NSI.h.
References fPropDirty, and osc::_IOscCalcAdjustable< double >::fRho.
Referenced by SetState().
void osc::OscCalcPMNS_NSI::SetState | ( | std::vector< double > | state | ) |
Definition at line 44 of file OscCalcPMNS_NSI.cxx.
References fMixDirty, SetdCP(), SetDelta_emu(), SetDelta_etau(), SetDelta_mutau(), SetDmsq21(), SetDmsq32(), SetEps_ee(), SetEps_emu(), SetEps_etau(), SetEps_mumu(), SetEps_mutau(), SetEps_tautau(), SetL(), SetRho(), SetTh12(), SetTh13(), and SetTh23().
Referenced by SetDelta_mutau().
|
inlineoverridevirtual |
Implements osc::_IOscCalcAdjustable< double >.
Definition at line 37 of file OscCalcPMNS_NSI.h.
References fMixDirty, osc::_IOscCalcAdjustable< double >::fTh12, and th12.
Referenced by SetState().
|
inlineoverridevirtual |
Implements osc::_IOscCalcAdjustable< double >.
Definition at line 38 of file OscCalcPMNS_NSI.h.
References fMixDirty, osc::_IOscCalcAdjustable< double >::fTh13, and th13.
Referenced by SetState().
|
inlineoverridevirtual |
Implements osc::_IOscCalcAdjustable< double >.
Definition at line 39 of file OscCalcPMNS_NSI.h.
References fMixDirty, osc::_IOscCalcAdjustable< double >::fTh23, and th23.
Referenced by SetState().
|
protectedinherited |
Definition at line 119 of file IOscCalc.h.
Referenced by osc::OscCalcPMNSOptEigen::FillCache(), osc::OscCalcPMNSOptEigen::GetParamsHash(), GetState(), P(), osc::OscCalcPMNSOptEigen::P(), osc::OscCalcPMNSOptEigen::ParamsAreCached(), osc::OscCalcPMNSOptEigen::SaveLastParams(), and SetdCP().
|
protected |
Definition at line 86 of file OscCalcPMNS_NSI.h.
Referenced by GetDelta_emu(), GetState(), P(), and SetDelta_emu().
|
protected |
Definition at line 87 of file OscCalcPMNS_NSI.h.
Referenced by GetDelta_etau(), GetState(), P(), and SetDelta_etau().
|
protected |
Definition at line 88 of file OscCalcPMNS_NSI.h.
Referenced by GetDelta_mutau(), GetState(), P(), and SetDelta_mutau().
|
protected |
Definition at line 74 of file OscCalcPMNS_NSI.h.
Referenced by P(), SetDmsq21(), and SetDmsq32().
|
protectedinherited |
Definition at line 114 of file IOscCalc.h.
Referenced by osc::OscCalcPMNSOptEigen::FillCache(), osc::OscCalcPMNSOptEigen::GetParamsHash(), GetState(), P(), osc::OscCalcPMNSOptEigen::P(), osc::OscCalcPMNSOptEigen::ParamsAreCached(), osc::OscCalcPMNSOptEigen::SaveLastParams(), and SetDmsq21().
|
protectedinherited |
Definition at line 115 of file IOscCalc.h.
Referenced by osc::OscCalcPMNSOptEigen::FillCache(), osc::OscCalcPMNSOptEigen::GetParamsHash(), GetState(), P(), osc::OscCalcPMNSOptEigen::P(), osc::OscCalcPMNSOptEigen::ParamsAreCached(), osc::OscCalcPMNSOptEigen::SaveLastParams(), and SetDmsq32().
|
protected |
Definition at line 80 of file OscCalcPMNS_NSI.h.
Referenced by GetEps_ee(), GetState(), P(), and SetEps_ee().
|
protected |
Definition at line 83 of file OscCalcPMNS_NSI.h.
Referenced by GetEps_emu(), GetState(), P(), and SetEps_emu().
|
protected |
Definition at line 84 of file OscCalcPMNS_NSI.h.
Referenced by GetEps_etau(), GetState(), P(), and SetEps_etau().
|
protected |
Definition at line 81 of file OscCalcPMNS_NSI.h.
Referenced by GetEps_mumu(), GetState(), P(), and SetEps_mumu().
|
protected |
Definition at line 85 of file OscCalcPMNS_NSI.h.
Referenced by GetEps_mutau(), GetState(), P(), and SetEps_mutau().
|
protected |
Definition at line 82 of file OscCalcPMNS_NSI.h.
Referenced by GetEps_tautau(), GetState(), P(), and SetEps_tautau().
|
protected |
Definition at line 76 of file OscCalcPMNS_NSI.h.
Referenced by P(), SetDelta_emu(), SetDelta_etau(), SetDelta_mutau(), SetEps_ee(), SetEps_emu(), SetEps_etau(), SetEps_mumu(), SetEps_mutau(), and SetEps_tautau().
|
protectedinherited |
Definition at line 113 of file IOscCalc.h.
Referenced by osc::OscCalcPMNSOptEigen::FillCache(), osc::OscCalcSterile::GetL(), osc::OscCalcSterileBeam::GetParamsHash(), osc::OscCalcPMNSOptEigen::GetParamsHash(), osc::OscCalcSterile::GetState(), GetState(), P(), osc::OscCalcSterile::P(), osc::OscCalcPMNSOptEigen::P(), osc::OscCalcPMNSOptEigen::ParamsAreCached(), osc::OscCalcPMNSOptEigen::SaveLastParams(), SetL(), and osc::OscCalcSterile::SetL().
|
protected |
Definition at line 73 of file OscCalcPMNS_NSI.h.
Referenced by P(), SetdCP(), SetState(), SetTh12(), SetTh13(), and SetTh23().
|
protected |
Definition at line 71 of file OscCalcPMNS_NSI.h.
Referenced by P().
|
protected |
Definition at line 78 of file OscCalcPMNS_NSI.h.
Referenced by P().
|
protected |
Definition at line 77 of file OscCalcPMNS_NSI.h.
|
protected |
Definition at line 75 of file OscCalcPMNS_NSI.h.
|
protectedinherited |
Definition at line 112 of file IOscCalc.h.
Referenced by osc::OscCalcPMNSOptEigen::FillCache(), osc::OscCalcPMNSOptEigen::GetParamsHash(), GetState(), P(), osc::OscCalcPMNSOptEigen::P(), osc::OscCalcPMNSOptEigen::ParamsAreCached(), osc::OscCalcPMNSOptEigen::SaveLastParams(), and SetRho().
|
protectedinherited |
Definition at line 116 of file IOscCalc.h.
Referenced by osc::OscCalcPMNSOptEigen::FillCache(), osc::OscCalcPMNSOptEigen::GetParamsHash(), GetState(), P(), osc::OscCalcPMNSOptEigen::P(), osc::OscCalcPMNSOptEigen::ParamsAreCached(), osc::OscCalcPMNSOptEigen::SaveLastParams(), and SetTh12().
|
protectedinherited |
Definition at line 117 of file IOscCalc.h.
Referenced by osc::OscCalcPMNSOptEigen::FillCache(), osc::OscCalcPMNSOptEigen::GetParamsHash(), GetState(), P(), osc::OscCalcPMNSOptEigen::P(), osc::OscCalcPMNSOptEigen::ParamsAreCached(), osc::OscCalcPMNSOptEigen::SaveLastParams(), and SetTh13().
|
protectedinherited |
Definition at line 118 of file IOscCalc.h.
Referenced by osc::OscCalcPMNSOptEigen::FillCache(), osc::OscCalcPMNSOptEigen::GetParamsHash(), GetState(), P(), osc::OscCalcPMNSOptEigen::P(), osc::OscCalcPMNSOptEigen::ParamsAreCached(), osc::OscCalcPMNSOptEigen::SaveLastParams(), and SetTh23().