CMS 3D CMS Logo

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>
17  {
18  public:
19  inline PattRecoNode() : originalLevel_(0), nodeMask_(0), parent_(0) {}
20 
21  inline PattRecoNode(const Cluster& j, const unsigned level,
22  const unsigned mask, const unsigned parent)
23  : jet_(j), originalLevel_(level),
24  nodeMask_(mask), parent_(parent) {}
25 
26  inline const Cluster& getCluster() const {return jet_;}
27  inline unsigned originalLevel() const {return originalLevel_;}
28  inline unsigned mask() const {return nodeMask_;}
29  inline unsigned parent() const {return parent_;}
30 
31  private:
32  Cluster jet_;
33  unsigned originalLevel_;
34  unsigned nodeMask_;
35  unsigned parent_;
36  };
37 }
38 
39 #endif // JetReco_PattRecoNode_h
Tree nodes for storing FFTJet preclusters.
Definition: PattRecoNode.h:16
const Cluster & getCluster() const
Definition: PattRecoNode.h:26
unsigned originalLevel() const
Definition: PattRecoNode.h:27
unsigned parent() const
Definition: PattRecoNode.h:29
unsigned mask() const
Definition: PattRecoNode.h:28
PattRecoNode(const Cluster &j, const unsigned level, const unsigned mask, const unsigned parent)
Definition: PattRecoNode.h:21
unsigned originalLevel_
Definition: PattRecoNode.h:33
fixed size matrix