Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoMET
METAlgorithms
src
PFClusterSpecificAlgo.cc
Go to the documentation of this file.
1
/*
2
class: PFClusterSpecificAlgo.cc
3
description: MET made from Particle Flow candidates
4
authors: R. Remington (UF), R. Cavanaugh (UIC/Fermilab)
5
date: 10/27/08
6
*/
7
8
#include "
DataFormats/Math/interface/LorentzVector.h
"
9
#include "
RecoMET/METAlgorithms/interface/PFClusterSpecificAlgo.h
"
10
#include "
RecoMET/METAlgorithms/interface/significanceAlgo.h
"
11
#include "
DataFormats/RecoCandidate/interface/RecoCandidate.h
"
12
#include "
DataFormats/ParticleFlowReco/interface/RecoPFClusterRefCandidate.h
"
13
using namespace
reco
;
14
using namespace
std;
15
16
//--------------------------------------------------------------------------------------
17
// This algorithm adds Particle Flow specific global event information to the MET object
18
//--------------------------------------------------------------------------------------
19
20
reco::PFClusterMET
PFClusterSpecificAlgo::addInfo
(
edm::Handle
<
edm::View<Candidate>
> PFClusterCandidates,
CommonMETData
met
)
21
{
22
const
LorentzVector
p4
(met.
mex
, met.
mey
, 0.0, met.
met
);
23
const
Point
vtx(0.0,0.0,0.0);
24
PFClusterMET
specificPFClusterMET( met.
sumet
, p4, vtx );
25
return
specificPFClusterMET;
26
}
CaloMET_cfi.met
tuple met
Definition:
CaloMET_cfi.py:18
PFClusterSpecificAlgo::addInfo
reco::PFClusterMET addInfo(edm::Handle< edm::View< reco::Candidate > > PFClusterCandidates, CommonMETData met)
Definition:
PFClusterSpecificAlgo.cc:20
edm::View
Definition:
AssociativeIterator.h:47
RecoPFClusterRefCandidate.h
edm::Handle
Definition:
AssociativeIterator.h:48
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
CommonMETData::sumet
double sumet
Definition:
CommonMETData.h:30
reco::PFClusterMET
Definition:
PFClusterMET.h:14
p4
double p4[4]
Definition:
TauolaWrapper.h:92
PFClusterSpecificAlgo::Point
math::XYZPoint Point
Definition:
PFClusterSpecificAlgo.h:22
CommonMETData
Structure containing data common to all types of MET.
Definition:
CommonMETData.h:22
LorentzVector.h
CommonMETData::met
double met
Definition:
CommonMETData.h:26
CommonMETData::mey
double mey
Definition:
CommonMETData.h:28
PFClusterSpecificAlgo.h
CommonMETData::mex
double mex
Definition:
CommonMETData.h:27
significanceAlgo.h
RecoCandidate.h
PFClusterSpecificAlgo::LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
PFClusterSpecificAlgo.h:21
Generated for CMSSW Reference Manual by
1.8.5