Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:41

0001 // -*- C++ -*-
0002 //
0003 // Package:    METAlgorithms
0004 // Class:      PFClusterSpecificAlgo
0005 //
0006 // Original Authors:  R. Remington (UF), R. Cavanaugh (UIC/Fermilab)
0007 //          Created:  October 27, 2008
0008 //
0009 //
0010 //____________________________________________________________________________||
0011 #include "RecoMET/METAlgorithms/interface/PFClusterSpecificAlgo.h"
0012 #include "DataFormats/ParticleFlowReco/interface/RecoPFClusterRefCandidate.h"
0013 
0014 //____________________________________________________________________________||
0015 reco::PFClusterMET PFClusterSpecificAlgo::addInfo(edm::Handle<edm::View<reco::Candidate> > PFClusterCandidates,
0016                                                   const CommonMETData& met) {
0017   const LorentzVector p4(met.mex, met.mey, 0.0, met.met);
0018   const Point vtx(0.0, 0.0, 0.0);
0019   reco::PFClusterMET pfClusterMET(met.sumet, p4, vtx);
0020   return pfClusterMET;
0021 }