File indexing completed on 2024-04-06 12:04:55
0001
0002
0003
0004 #ifndef DataFormats_PatCandidates_PFParticle_h
0005 #define DataFormats_PatCandidates_PFParticle_h
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
0019 #include "DataFormats/PatCandidates/interface/PATObject.h"
0020
0021
0022 namespace pat {
0023 class PFParticle;
0024 typedef std::vector<PFParticle> PFParticleCollection;
0025 typedef edm::Ref<PFParticleCollection> PFParticleRef;
0026 typedef edm::RefVector<PFParticleCollection> PFParticleRefVector;
0027 }
0028
0029
0030 namespace pat {
0031
0032 class PFParticle : public PATObject<reco::PFCandidate> {
0033 public:
0034
0035 PFParticle() {}
0036
0037 PFParticle(const edm::RefToBase<reco::PFCandidate>& aPFParticle);
0038
0039 ~PFParticle() override {}
0040
0041
0042 PFParticle* clone() const override { return new PFParticle(*this); }
0043 };
0044
0045 }
0046
0047 #endif