CMS 3D CMS Logo

Public Types | Public Member Functions

PFClusterSpecificAlgo Class Reference

#include <PFClusterSpecificAlgo.h>

List of all members.

Public Types

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

Public Member Functions

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

Detailed Description

Definition at line 16 of file PFClusterSpecificAlgo.h.


Member Typedef Documentation

Definition at line 21 of file PFClusterSpecificAlgo.h.

Definition at line 22 of file PFClusterSpecificAlgo.h.


Constructor & Destructor Documentation

PFClusterSpecificAlgo::PFClusterSpecificAlgo ( ) [inline]

Definition at line 19 of file PFClusterSpecificAlgo.h.

{;}

Member Function Documentation

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

Definition at line 20 of file PFClusterSpecificAlgo.cc.

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

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

{  
  const LorentzVector p4(met.mex , met.mey, 0.0, met.met);
  const Point vtx(0.0,0.0,0.0);
  PFClusterMET specificPFClusterMET( met.sumet, p4, vtx );
  return specificPFClusterMET;
}