1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/** \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
|