CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BenchmarkTree.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_Benchmark_BenchmarkTree_h
2 #define RecoParticleFlow_Benchmark_BenchmarkTree_h
3 
4 #include <TTree.h>
5 
7 public:
8  BenchmarkTreeEntry() : deltaEt(999), deltaEta(-9), eta(-10), et(-1) {}
9 
11  deltaEt = other.deltaEt;
12  deltaEta = other.deltaEta;
13  eta = other.eta;
14  et = other.et;
15 
16  return *this;
17  }
18 
19  float deltaEt;
20  float deltaEta;
21  float eta;
22  float et;
23 };
24 
25 class BenchmarkTree : public TTree {
26 public:
27  BenchmarkTree(const char* name, const char* title);
28  using TTree::Fill;
29  void Fill(const BenchmarkTreeEntry& entry);
30 
31 private:
33 };
34 
35 #endif
BenchmarkTreeEntry & operator=(const BenchmarkTreeEntry &other)
Definition: BenchmarkTree.h:10
BenchmarkTreeEntry * entry_
Definition: BenchmarkTree.h:32
void Fill(const BenchmarkTreeEntry &entry)
Definition: BenchmarkTree.cc:7
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
BenchmarkTree(const char *name, const char *title)
Definition: BenchmarkTree.cc:3
list entry
Definition: mps_splice.py:68