IOscCalculator.cxx
Go to the documentation of this file.
1 #include "OscLib/func/IOscCalculator.h"
2 
3 namespace osc
4 {
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 }
std::string string
Definition: nybbler.cc:12
TMD5 * GetParamsHashDefault(const std::string &txt) const
Definition: EarthModel.h:12