Main Page
Namespaces
Classes
Package Documentation
DataFormats
PatCandidates
interface
PFParticle.h
Go to the documentation of this file.
1
//
2
//
3
4
#ifndef DataFormats_PatCandidates_PFParticle_h
5
#define DataFormats_PatCandidates_PFParticle_h
6
18
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidate.h
"
19
#include "
DataFormats/PatCandidates/interface/PATObject.h
"
20
21
22
// Define typedefs for convenience
23
namespace
pat
{
24
class
PFParticle
;
25
typedef
std::vector<PFParticle>
PFParticleCollection
;
26
typedef
edm::Ref<PFParticleCollection>
PFParticleRef
;
27
typedef
edm::RefVector<PFParticleCollection>
PFParticleRefVector
;
28
}
29
30
31
// Class definition
32
namespace
pat
{
33
34
35
class
PFParticle
:
public
PATObject
<reco::PFCandidate> {
36
37
public
:
38
40
PFParticle
() {}
42
PFParticle
(
const
edm::RefToBase<reco::PFCandidate>
& aPFParticle);
44
~PFParticle
()
override
{}
45
47
PFParticle
*
clone
()
const override
{
return
new
PFParticle
(*
this
); }
48
49
};
50
51
52
}
53
54
#endif
pat::PFParticleCollection
std::vector< PFParticle > PFParticleCollection
Definition:
PFParticle.h:24
pat::PFParticle::~PFParticle
~PFParticle() override
destructor
Definition:
PFParticle.h:44
edm::Ref< PFParticleCollection >
pat::PFParticleRef
edm::Ref< PFParticleCollection > PFParticleRef
Definition:
PFParticle.h:26
edm::RefToBase
Definition:
AssociativeIterator.h:50
pat
Definition:
HeavyIon.h:7
PFCandidate.h
edm::RefVector
Definition:
EDProductfwd.h:23
pat::PFParticle::PFParticle
PFParticle()
default constructor
Definition:
PFParticle.h:40
pat::PFParticle
Analysis-level class for reconstructed particles.
Definition:
PFParticle.h:35
pat::PATObject
Templated PAT object container.
Definition:
PATObject.h:49
PATObject.h
pat::PFParticleRefVector
edm::RefVector< PFParticleCollection > PFParticleRefVector
Definition:
PFParticle.h:27
pat::PFParticle::clone
PFParticle * clone() const override
required reimplementation of the Candidate's clone method
Definition:
PFParticle.h:47
Generated for CMSSW Reference Manual by
1.8.11