src
RecoMET
METAlgorithms
src
PFClusterSpecificAlgo.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: METAlgorithms
4
// Class: PFClusterSpecificAlgo
5
//
6
// Original Authors: R. Remington (UF), R. Cavanaugh (UIC/Fermilab)
7
// Created: October 27, 2008
8
//
9
//
10
//____________________________________________________________________________||
11
#include "
RecoMET/METAlgorithms/interface/PFClusterSpecificAlgo.h
"
12
#include "
DataFormats/ParticleFlowReco/interface/RecoPFClusterRefCandidate.h
"
13
14
//____________________________________________________________________________||
15
reco::PFClusterMET
PFClusterSpecificAlgo::addInfo
(
edm::Handle
<
edm::View<reco::Candidate>
> PFClusterCandidates,
16
const
CommonMETData
&
met
) {
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
}
extraflags_cff.vtx
vtx
Definition:
extraflags_cff.py:19
edm::Handle
Definition:
AssociativeIterator.h:50
reco::PFClusterMET
Definition:
PFClusterMET.h:13
PFClusterSpecificAlgo::addInfo
reco::PFClusterMET addInfo(edm::Handle< edm::View< reco::Candidate > > PFClusterCandidates, const CommonMETData &met)
Definition:
PFClusterSpecificAlgo.cc:15
RecoPFClusterRefCandidate.h
edm::View
Definition:
CaloClusterFwd.h:14
CommonMETData
Structure containing data common to all types of MET.
Definition:
CommonMETData.h:12
BTaggingMonitor_cfi.met
met
Definition:
BTaggingMonitor_cfi.py:74
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition:
PrepareDMRTrends.h:54
PFClusterSpecificAlgo.h
PFClusterSpecificAlgo::LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
PFClusterSpecificAlgo.h:36
Generated for CMSSW Reference Manual by
1.8.14