Commit c906f7da authored by Plaszczynski Stephane's avatar Plaszczynski Stephane
Browse files

No commit message

No commit message
parent a1c70af3
......@@ -17,6 +17,8 @@ JLA_chi2::JLA_chi2(const std::string& parfile,const Parameters& par, Engine * kl
//1define name
Chi2Data::_name=basename(const_cast<char*>(parfile.c_str()));
read_par_file(parfile);
buildIndex();
//local indices
_M_index=index["Mabs"];
......@@ -55,7 +57,7 @@ double JLA_chi2::chi2_eff(const std::vector<double>& par) const
_jla_nuisance[3] = par[_DeltaM_index];
// gets distance moduli from class
if (_verbosity>3)
cout << " nuisance params : "<< _jla_nuisance[0] <<" "<< _jla_nuisance[1] <<" "<< _jla_nuisance[2] << " "<< _jla_nuisance[3]<<endl;
cout << name() << " chi2_eff nuisance params : "<< _jla_nuisance[0] <<" "<< _jla_nuisance[1] <<" "<< _jla_nuisance[2] << " "<< _jla_nuisance[3]<<endl;
double mu[ _jlalike->size()];
for (int i=0; i < _jlalike->size(); i++)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment