CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PattRecoNode.h
Go to the documentation of this file.
1 
11 #ifndef DataFormats_JetReco_PattRecoNode_h
12 #define DataFormats_JetReco_PattRecoNode_h
13 
14 namespace reco {
15  template <class Cluster>
16  class PattRecoNode {
17  public:
18  inline PattRecoNode() : originalLevel_(0), nodeMask_(0), parent_(0) {}
19 
20  inline PattRecoNode(const Cluster& j, const unsigned level, const unsigned mask, const unsigned parent)
21  : jet_(j), originalLevel_(level), nodeMask_(mask), parent_(parent) {}
22 
23  inline const Cluster& getCluster() const { return jet_; }
24  inline unsigned originalLevel() const { return originalLevel_; }
25  inline unsigned mask() const { return nodeMask_; }
26  inline unsigned parent() const { return parent_; }
27 
28  private:
29  Cluster jet_;
30  unsigned originalLevel_;
31  unsigned nodeMask_;
32  unsigned parent_;
33  };
34 } // namespace reco
35 
36 #endif // JetReco_PattRecoNode_h
Tree nodes for storing FFTJet preclusters.
Definition: PattRecoNode.h:16
const Cluster & getCluster() const
Definition: PattRecoNode.h:23
unsigned originalLevel() const
Definition: PattRecoNode.h:24
unsigned parent() const
Definition: PattRecoNode.h:26
unsigned mask() const
Definition: PattRecoNode.h:25
PattRecoNode(const Cluster &j, const unsigned level, const unsigned mask, const unsigned parent)
Definition: PattRecoNode.h:20
unsigned originalLevel_
Definition: PattRecoNode.h:30
tuple level
Definition: testEve_cfg.py:47