CMS 3D CMS Logo

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, const 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 31 of file PFClusterSpecificAlgo.h.

Member Typedef Documentation

Definition at line 38 of file PFClusterSpecificAlgo.h.

Definition at line 39 of file PFClusterSpecificAlgo.h.

Constructor & Destructor Documentation

PFClusterSpecificAlgo::PFClusterSpecificAlgo ( )
inline

Definition at line 34 of file PFClusterSpecificAlgo.h.

References addInfo(), and RazorAnalyzer::met.

34 {;}

Member Function Documentation

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

Definition at line 15 of file PFClusterSpecificAlgo.cc.

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

Referenced by PFClusterSpecificAlgo(), and cms::PFClusterMETProducer::produce().

16 {
17  const LorentzVector p4(met.mex , met.mey, 0.0, met.met);
18  const Point vtx(0.0,0.0,0.0);
19  reco::PFClusterMET pfClusterMET(met.sumet, p4, vtx);
20  return pfClusterMET;
21 }
double p4[4]
Definition: TauolaWrapper.h:92
math::XYZTLorentzVector LorentzVector
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:55