Skip to content

Commit

Permalink
use of handle product
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu committed Oct 18, 2016
1 parent 823b68e commit 5dabd0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion RecoMET/METAlgorithms/src/METSignificance.cc
Expand Up @@ -39,13 +39,16 @@ metsig::METSignificance::~METSignificance() {
reco::METCovMatrix
metsig::METSignificance::getCovariance(const edm::View<reco::Jet>& jets,
const std::vector< edm::Handle<reco::CandidateView> >& leptons,
const edm::Handle<edm::View<reco::Candidate> >& pfCandidates,
const edm::Handle<edm::View<reco::Candidate> >& pfCandidatesH,
double rho,
JME::JetResolution& resPtObj,
JME::JetResolution& resPhiObj,
JME::JetResolutionScaleFactor& resSFObj,
bool isRealData) {

//pfcandidates
const edm::View<reco::Candidate>* pfCandidates=pfCandidatesH.product();

// metsig covariance
double cov_xx = 0;
double cov_xy = 0;
Expand Down

0 comments on commit 5dabd0d

Please sign in to comment.