/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/JetReco/interface/PattRecoNode.h
36 строк
1 KB
Cms Build
Clang-Format
03 июн 2019, 06:38
03 июн 2019, 06:38
0f65aee
Код
Авторство
О чём код?
/** \class reco::PattRecoNode * * \short Tree nodes for storing FFTJet preclusters * * This is a pure storage class with limited functionality. * Applications should use fftjet::SparseClusteringTree::Node * * \author Igor Volobouev, TTU, June 16, 2010 ************************************************************/ #ifndef DataFormats_JetReco_PattRecoNode_h #define DataFormats_JetReco_PattRecoNode_h namespace reco { template <class Cluster> class PattRecoNode { public: inline PattRecoNode() : originalLevel_(0), nodeMask_(0), parent_(0) {} inline PattRecoNode(const Cluster& j, const unsigned level, const unsigned mask, const unsigned parent) : jet_(j), originalLevel_(level), nodeMask_(mask), parent_(parent) {} inline const Cluster& getCluster() const { return jet_; } inline unsigned originalLevel() const { return originalLevel_; } inline unsigned mask() const { return nodeMask_; } inline unsigned parent() const { return parent_; } private: Cluster jet_; unsigned originalLevel_; unsigned nodeMask_; unsigned parent_; }; } // namespace reco #endif // JetReco_PattRecoNode_h