Skip to content

Commit

Permalink
set MET significance matrix elements in constructor that takes srcMET…
Browse files Browse the repository at this point in the history
… and corrMET as input (constructor used by CorrectedPATMETProducer)
  • Loading branch information
veelken authored and mariadalfonso committed Sep 5, 2016
1 parent 2a1978e commit b742cc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/PatCandidates/interface/MET.h
Expand Up @@ -54,7 +54,7 @@ namespace pat {
MET(const edm::Ptr<reco::MET> & aMETRef);
/// copy constructor
MET( MET const&);
/// cosntructor for corrected METs (keeping specific informations from src MET)
/// constructor for corrected METs (keeping specific informations from src MET)
MET(const reco::MET & corMET, const MET& srcMET );
/// destructor
virtual ~MET();
Expand Down
2 changes: 2 additions & 0 deletions DataFormats/PatCandidates/src/MET.cc
Expand Up @@ -80,6 +80,8 @@ pfMET_(srcMET.pfMET_),
metSig_(srcMET.metSig_),
caloPackedMet_(srcMET.caloPackedMet_) {

setSignificanceMatrix(srcMET.getSignificanceMatrix());

initCorMap();
}

Expand Down

0 comments on commit b742cc1

Please sign in to comment.