Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
PatCandidates
interface
PFParticle.h
Go to the documentation of this file.
1
//
2
// $Id: PFParticle.h,v 1.3 2008/11/28 19:02:15 lowette Exp $
3
//
4
5
#ifndef DataFormats_PatCandidates_PFParticle_h
6
#define DataFormats_PatCandidates_PFParticle_h
7
20
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidate.h
"
21
#include "
DataFormats/PatCandidates/interface/PATObject.h
"
22
23
24
// Define typedefs for convenience
25
namespace
pat {
26
class
PFParticle
;
27
typedef
std::vector<PFParticle>
PFParticleCollection
;
28
typedef
edm::Ref<PFParticleCollection>
PFParticleRef
;
29
typedef
edm::RefVector<PFParticleCollection>
PFParticleRefVector
;
30
}
31
32
33
// Class definition
34
namespace
pat {
35
36
37
class
PFParticle
:
public
PATObject
<reco::PFCandidate> {
38
39
public
:
40
42
PFParticle
() {}
44
PFParticle
(
const
edm::RefToBase<reco::PFCandidate>
& aPFParticle);
46
virtual
~PFParticle
() {}
47
49
virtual
PFParticle
*
clone
()
const
{
return
new
PFParticle
(*
this
); }
50
51
};
52
53
54
}
55
56
#endif
pat::PFParticleCollection
std::vector< PFParticle > PFParticleCollection
Definition:
PFParticle.h:26
pat::PFParticle::clone
virtual PFParticle * clone() const
required reimplementation of the Candidate's clone method
Definition:
PFParticle.h:49
pat::PFParticle::~PFParticle
virtual ~PFParticle()
destructor
Definition:
PFParticle.h:46
edm::RefToBase
Definition:
AssociativeIterator.h:50
pat::PFParticleRef
edm::Ref< PFParticleCollection > PFParticleRef
Definition:
PFParticle.h:28
PFCandidate.h
edm::RefVector
Definition:
EDProductfwd.h:25
pat::PFParticle::PFParticle
PFParticle()
default constructor
Definition:
PFParticle.h:42
pat::PFParticle
Analysis-level class for reconstructed particles.
Definition:
PFParticle.h:37
pat::PATObject
Templated PAT object container.
Definition:
PATObject.h:43
PATObject.h
pat::PFParticleRefVector
edm::RefVector< PFParticleCollection > PFParticleRefVector
Definition:
PFParticle.h:29
edm::Ref
Definition:
AssociativeIterator.h:52
Generated for CMSSW Reference Manual by
1.8.5