some more work towards Nonlocal fitting

This commit is contained in:
nemu
2009-06-30 07:13:01 +00:00
parent dc0f343062
commit 9234cde7dd
6 changed files with 38 additions and 10 deletions

View File

@@ -77,6 +77,10 @@ PNL_PippardFitter::PNL_PippardFitter()
saxParser = 0;
}
// check if everything went fine with the startup handler
if (!fStartupHandler->IsValid())
assert(false);
// load all the TRIM.SP rge-files
fRgeHandler = new PNL_RgeHandler(fStartupHandler->GetTrimSpDataPathList());
if (!fRgeHandler->IsValid())
@@ -106,7 +110,7 @@ PNL_PippardFitter::~PNL_PippardFitter()
Double_t PNL_PippardFitter::operator()(Double_t t, const std::vector<Double_t> &param) const
{
// expected parameters: energy, temp, thickness, meanFreePath, xi0, lambdaL
assert(param.size() != 6);
assert(param.size() == 6);
return 0.0;
}