Skip to content

Commit

Permalink
update to new covariance interface with parameter type enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Pickering committed Oct 31, 2024
1 parent 2313d53 commit bc81ac9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions samplePDF/samplePDFFDBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -733,9 +733,9 @@ void samplePDFFDBase::SetXsecCov(covarianceXsec *xsec){

//DB Now get this information using the DetID from the config
xsec_norms = XsecCov->GetNormParsFromDetID(SampleDetID);
nFuncParams = XsecCov->GetNumFuncParamsFromDetID(SampleDetID);
funcParsNames = XsecCov->GetFuncParsNamesFromDetID(SampleDetID);
funcParsIndex = XsecCov->GetFuncParsIndexFromDetID(SampleDetID);
nFuncParams = XsecCov->GetNumParamsFromDetID(SampleDetID, SystType::kFunc);
funcParsNames = XsecCov->GetParsNamesFromDetID(SampleDetID, SystType::kFunc);
funcParsIndex = XsecCov->GetParsIndexFromDetID(SampleDetID, SystType::kFunc);

return;
}
Expand Down Expand Up @@ -1528,7 +1528,7 @@ void samplePDFFDBase::InitialiseSingleFDMCObject(int iSample, int nEvents_) {
fdobj->rw_lower_lower_xbinedge.resize(nEvents, -1);
fdobj->rw_upper_xbinedge.resize(nEvents, -1);
fdobj->rw_upper_upper_xbinedge.resize(nEvents, -1);
fdobj->mode.resize(nEvents, &fdobj->Unity_Int);
fdobj->mode.resize(nEvents, &fdobj->Unity);
fdobj->nxsec_norm_pointers.resize(nEvents);
fdobj->xsec_norm_pointers.resize(nEvents);
fdobj->xsec_norms_bins.resize(nEvents);
Expand Down

0 comments on commit bc81ac9

Please sign in to comment.