Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
g4lbne
ProductionScripts
OscLib
IOscCalculator.cxx
Go to the documentation of this file.
1
#include "OscLib/func/IOscCalculator.h"
2
3
namespace
osc
4
{
5
TMD5*
IOscCalculatorAdjustable::GetParamsHashDefault
(
const
std::string
& txt)
const
6
{
7
TMD5* ret =
new
TMD5;
8
ret->Update((
unsigned
char
*)txt.c_str(), txt.size());
9
const
int
kNumParams = 8;
10
double
buf[kNumParams] = {
fRho
,
fL
,
fDmsq21
,
fDmsq32
,
11
fTh12
,
fTh13
,
fTh23
,
fdCP
};
12
ret->Update((
unsigned
char
*)buf,
sizeof
(
double
)*kNumParams);
13
ret->Final();
14
return
ret;
15
}
16
}
osc::IOscCalculatorAdjustable::fDmsq21
double fDmsq21
Definition:
IOscCalculator.h:73
osc::IOscCalculatorAdjustable::fTh13
double fTh13
Definition:
IOscCalculator.h:76
osc::IOscCalculatorAdjustable::fdCP
double fdCP
Definition:
IOscCalculator.h:78
string
std::string string
Definition:
nybbler.cc:12
osc::IOscCalculatorAdjustable::fDmsq32
double fDmsq32
Definition:
IOscCalculator.h:74
osc::IOscCalculatorAdjustable::GetParamsHashDefault
TMD5 * GetParamsHashDefault(const std::string &txt) const
Definition:
IOscCalculator.cxx:5
osc::IOscCalculatorAdjustable::fTh23
double fTh23
Definition:
IOscCalculator.h:77
osc::IOscCalculatorAdjustable::fRho
double fRho
Definition:
IOscCalculator.h:71
osc
Definition:
EarthModel.h:12
osc::IOscCalculatorAdjustable::fL
double fL
Definition:
IOscCalculator.h:72
osc::IOscCalculatorAdjustable::fTh12
double fTh12
Definition:
IOscCalculator.h:75
Generated by
1.8.11