CMS 3D CMS Logo

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