CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types
PFClusterSpecificAlgo Class Reference

#include <RecoMET/METAlgorithms/interface/PFClusterSpecificAlgo.h>

Public Member Functions

reco::PFClusterMET addInfo (edm::Handle< edm::View< reco::Candidate > > PFClusterCandidates, CommonMETData met)
 
 PFClusterSpecificAlgo ()
 

Private Types

typedef math::XYZTLorentzVector LorentzVector
 
typedef math::XYZPoint Point
 

Detailed Description

Description: Adds Particle Flow specific information to MET

Implementation: [Notes on implementation]

Definition at line 32 of file PFClusterSpecificAlgo.h.

Member Typedef Documentation

Definition at line 39 of file PFClusterSpecificAlgo.h.

Definition at line 40 of file PFClusterSpecificAlgo.h.

Constructor & Destructor Documentation

PFClusterSpecificAlgo::PFClusterSpecificAlgo ( )
inline

Definition at line 35 of file PFClusterSpecificAlgo.h.

35 {;}

Member Function Documentation

reco::PFClusterMET PFClusterSpecificAlgo::addInfo ( edm::Handle< edm::View< reco::Candidate > >  PFClusterCandidates,
CommonMETData  met 
)

Definition at line 16 of file PFClusterSpecificAlgo.cc.

References CommonMETData::met, CommonMETData::mex, CommonMETData::mey, p4, and CommonMETData::sumet.

Referenced by cms::METProducer::produce_PFClusterMET().

17 {
18  const LorentzVector p4(met.mex , met.mey, 0.0, met.met);
19  const Point vtx(0.0,0.0,0.0);
20  reco::PFClusterMET pfClusterMET(met.sumet, p4, vtx);
21  return pfClusterMET;
22 }
math::XYZTLorentzVector LorentzVector
double p4[4]
Definition: TauolaWrapper.h:92
math::XYZPoint Point