Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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,
const
CommonMETData
&
met
)
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
}
edm::Handle
Definition:
AssociativeIterator.h:47
RecoPFClusterRefCandidate.h
CommonMETData::sumet
double sumet
Definition:
CommonMETData.h:19
reco::PFClusterMET
Definition:
PFClusterMET.h:14
PFClusterSpecificAlgo::addInfo
reco::PFClusterMET addInfo(edm::Handle< edm::View< reco::Candidate > > PFClusterCandidates, const CommonMETData &met)
Definition:
PFClusterSpecificAlgo.cc:15
edm::View< reco::Candidate >
p4
double p4[4]
Definition:
TauolaWrapper.h:92
PFClusterSpecificAlgo::Point
math::XYZPoint Point
Definition:
PFClusterSpecificAlgo.h:39
CommonMETData
Structure containing data common to all types of MET.
Definition:
CommonMETData.h:12
CommonMETData::met
double met
Definition:
CommonMETData.h:15
CommonMETData::mey
double mey
Definition:
CommonMETData.h:17
PFClusterSpecificAlgo.h
CommonMETData::mex
double mex
Definition:
CommonMETData.h:16
objects.METAnalyzer.met
met
Definition:
METAnalyzer.py:154
PFClusterSpecificAlgo::LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
PFClusterSpecificAlgo.h:38
Generated for CMSSW Reference Manual by
1.8.5