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 30 of file PFClusterSpecificAlgo.h.

Member Typedef Documentation

◆ LorentzVector

Definition at line 36 of file PFClusterSpecificAlgo.h.

◆ Point

Definition at line 37 of file PFClusterSpecificAlgo.h.

Constructor & Destructor Documentation

◆ PFClusterSpecificAlgo()

PFClusterSpecificAlgo::PFClusterSpecificAlgo ( )
inline

Definition at line 32 of file PFClusterSpecificAlgo.h.

32 { ; }

Member Function Documentation

◆ addInfo()

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

Definition at line 15 of file PFClusterSpecificAlgo.cc.

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 }

References BTaggingMonitor_cfi::met, p4, and extraflags_cff::vtx.

Referenced by cms::PFClusterMETProducer::produce().

BTaggingMonitor_cfi.met
met
Definition: BTaggingMonitor_cfi.py:84
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
p4
double p4[4]
Definition: TauolaWrapper.h:92
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition: HLTMuonMatchAndPlot.h:49
reco::PFClusterMET
Definition: PFClusterMET.h:13