CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/RecoMET/METAlgorithms/src/PFClusterSpecificAlgo.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:    METAlgorithms
00004 // Class:      PFClusterSpecificAlgo
00005 // 
00006 // Original Authors:  R. Remington (UF), R. Cavanaugh (UIC/Fermilab)
00007 //          Created:  October 27, 2008
00008 // $Id: PFClusterSpecificAlgo.cc,v 1.4 2012/06/11 04:27:43 sakuma Exp $
00009 //
00010 //
00011 //____________________________________________________________________________||
00012 #include "RecoMET/METAlgorithms/interface/PFClusterSpecificAlgo.h"
00013 #include "DataFormats/ParticleFlowReco/interface/RecoPFClusterRefCandidate.h"
00014 
00015 //____________________________________________________________________________||
00016 reco::PFClusterMET PFClusterSpecificAlgo::addInfo(edm::Handle<edm::View<reco::Candidate> > PFClusterCandidates, CommonMETData met)
00017 {  
00018   const LorentzVector p4(met.mex , met.mey, 0.0, met.met);
00019   const Point vtx(0.0,0.0,0.0);
00020   reco::PFClusterMET pfClusterMET(met.sumet, p4, vtx);
00021   return pfClusterMET;
00022 }