/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/ParticleFlowReco/interface/RecoPFClusterRefCandidate.h
25 строк
855 B
Cms Build
Clang-Format
03 июн 2019, 06:34
03 июн 2019, 06:34
08e36f7
Код
Авторство
О чём код?
#ifndef RecoCandidate_RecoPFClusterRefCandidate_h #define RecoCandidate_RecoPFClusterRefCandidate_h #include "DataFormats/Candidate/interface/LeafRefCandidateT.h" #include "DataFormats/ParticleFlowReco/interface/PFClusterFwd.h" #include "DataFormats/ParticleFlowReco/interface/PFCluster.h" namespace reco { typedef LeafRefCandidateT RecoPFClusterRefCandidateBase; class RecoPFClusterRefCandidate : public LeafRefCandidateT { public: RecoPFClusterRefCandidate() : LeafRefCandidateT() {} RecoPFClusterRefCandidate(PFClusterRef ref, float m) : LeafRefCandidateT(ref, m) {} ~RecoPFClusterRefCandidate() override {} RecoPFClusterRefCandidate* clone() const override { return new RecoPFClusterRefCandidate(*this); } reco::PFClusterRef pfCluster() const { return getRef<reco::PFClusterRef>(); } }; } // namespace reco #endif