CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFClusterSpecificAlgo.cc
Go to the documentation of this file.
1 /*
2 class: PFClusterSpecificAlgo.cc
3 description: MET made from Particle Flow candidates
4 authors: R. Remington (UF), R. Cavanaugh (UIC/Fermilab)
5  date: 10/27/08
6 */
7 
13 using namespace reco;
14 using namespace std;
15 
16 //--------------------------------------------------------------------------------------
17 // This algorithm adds Particle Flow specific global event information to the MET object
18 //--------------------------------------------------------------------------------------
19 
21 {
22  const LorentzVector p4(met.mex , met.mey, 0.0, met.met);
23  const Point vtx(0.0,0.0,0.0);
24  PFClusterMET specificPFClusterMET( met.sumet, p4, vtx );
25  return specificPFClusterMET;
26 }
reco::PFClusterMET addInfo(edm::Handle< edm::View< reco::Candidate > > PFClusterCandidates, CommonMETData met)
double p4[4]
Definition: TauolaWrapper.h:92
Structure containing data common to all types of MET.
Definition: CommonMETData.h:22
math::XYZTLorentzVector LorentzVector