Skip to content

Commit

Permalink
Merge pull request cms-sw#156 from nucleosynthesis/cherry-pick-from-slc6
Browse files Browse the repository at this point in the history
Cherry picking commit to SLC6 branch
  • Loading branch information
nucleosynthesis committed Nov 18, 2014
2 parents 84d3d5a + af25ad1 commit 518c4d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions interface/VerticalInterpHistPdf.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ class FastVerticalInterpHistPdf2Base : public RooAbsPdf {

// initialize the morphParams and the sentry. to be called by the daughter class, sets also _initBase to true
void initBase() const ;
virtual Bool_t importWorkspaceHook(RooWorkspace& ws);

private:
ClassDef(FastVerticalInterpHistPdf2Base,1) //
Expand Down
6 changes: 6 additions & 0 deletions src/VerticalInterpHistPdf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,12 @@ FastVerticalInterpHistPdf2Base::FastVerticalInterpHistPdf2Base(const FastVertica
}


Bool_t FastVerticalInterpHistPdf2Base::importWorkspaceHook(RooWorkspace& ws) {
_initBase = false;
_morphParams.clear();
_sentry.reset();
return kFALSE;
}


//_____________________________________________________________________________
Expand Down

0 comments on commit 518c4d1

Please sign in to comment.