CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/JetReco/interface/PattRecoNode.h

Go to the documentation of this file.
00001 
00012 #ifndef DataFormats_JetReco_PattRecoNode_h
00013 #define DataFormats_JetReco_PattRecoNode_h
00014 
00015 namespace reco {
00016     template<class Cluster>
00017     class PattRecoNode
00018     {
00019     public:
00020         inline PattRecoNode() : originalLevel_(0), nodeMask_(0), parent_(0) {}
00021 
00022         inline PattRecoNode(const Cluster& j, const unsigned level,
00023                             const unsigned mask, const unsigned parent)
00024             : jet_(j), originalLevel_(level),
00025               nodeMask_(mask), parent_(parent) {}
00026 
00027         inline const Cluster& getCluster() const {return jet_;}
00028         inline unsigned originalLevel() const {return originalLevel_;}
00029         inline unsigned mask() const {return nodeMask_;}
00030         inline unsigned parent() const {return parent_;}
00031 
00032     private:
00033         Cluster jet_;
00034         unsigned originalLevel_;
00035         unsigned nodeMask_;
00036         unsigned parent_;
00037     };
00038 }
00039 
00040 #endif // JetReco_PattRecoNode_h