Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoMET
METPUSubtraction
interface
noPileUpMEtAuxFunctions.h
Go to the documentation of this file.
1
#ifndef RecoMET_METPUSubtraction_noPileUpMEtAuxFunctions_h
2
#define RecoMET_METPUSubtraction_noPileUpMEtAuxFunctions_h
3
4
#include "
DataFormats/Common/interface/AssociationMap.h
"
5
#include "
DataFormats/Common/interface/OneToManyWithQuality.h
"
6
#include "
DataFormats/Common/interface/Ref.h
"
7
8
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidate.h
"
9
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h
"
10
#include "
DataFormats/VertexReco/interface/Vertex.h
"
11
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
12
13
#include "
CommonTools/RecoUtils/interface/PFCand_AssoMapAlgos.h
"
14
15
// 0 = neutral particle,
16
// 1 = charged particle not associated to any vertex
17
// 2 = charged particle associated to pile-up vertex
18
// 3 = charged particle associated to vertex of hard-scatter event
19
namespace
noPuUtils {
20
enum
{
kNeutral
=0,
kChNoAssoc
,
kChPUAssoc
,
kChHSAssoc
};
21
}
22
23
typedef
edm::AssociationMap<edm::OneToManyWithQuality<reco::PFCandidateCollection, reco::VertexCollection, int>
>
24
reversedPFCandidateToVertexAssociationMap
;
25
26
int
isVertexAssociated
(
const
reco::PFCandidate
&,
const
PFCandToVertexAssMap
&,
const
reco::VertexCollection
&,
double
);
27
28
reversedPFCandidateToVertexAssociationMap
reversePFCandToVertexAssociation
(
const
PFCandToVertexAssMap
&);
29
30
int
isVertexAssociated_fast
(
const
reco::PFCandidateRef
&,
const
reversedPFCandidateToVertexAssociationMap
&,
const
reco::VertexCollection
&,
double
,
int
&,
int
);
31
32
#endif
AssociationMap.h
edm::Ref
Definition:
AssociativeIterator.h:51
noPuUtils::kChNoAssoc
Definition:
noPileUpMEtAuxFunctions.h:20
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition:
VertexFwd.h:9
VertexFwd.h
reversedPFCandidateToVertexAssociationMap
edm::AssociationMap< edm::OneToManyWithQuality< reco::PFCandidateCollection, reco::VertexCollection, int > > reversedPFCandidateToVertexAssociationMap
Definition:
noPileUpMEtAuxFunctions.h:24
reversePFCandToVertexAssociation
reversedPFCandidateToVertexAssociationMap reversePFCandToVertexAssociation(const PFCandToVertexAssMap &)
Definition:
noPileUpMEtAuxFunctions.cc:42
OneToManyWithQuality.h
PFCandidate.h
noPuUtils::kChPUAssoc
Definition:
noPileUpMEtAuxFunctions.h:20
edm::AssociationMap
Definition:
AssociationMap.h:20
noPuUtils::kChHSAssoc
Definition:
noPileUpMEtAuxFunctions.h:20
isVertexAssociated
int isVertexAssociated(const reco::PFCandidate &, const PFCandToVertexAssMap &, const reco::VertexCollection &, double)
Definition:
noPileUpMEtAuxFunctions.cc:11
Vertex.h
noPuUtils::kNeutral
Definition:
noPileUpMEtAuxFunctions.h:20
Ref.h
PFCand_AssoMapAlgos.h
reco::PFCandidate
Particle reconstructed by the particle flow algorithm.
Definition:
PFCandidate.h:39
isVertexAssociated_fast
int isVertexAssociated_fast(const reco::PFCandidateRef &, const reversedPFCandidateToVertexAssociationMap &, const reco::VertexCollection &, double, int &, int)
Definition:
noPileUpMEtAuxFunctions.cc:60
PFCandidateFwd.h
Generated for CMSSW Reference Manual by
1.8.5