CMS 3D CMS Logo

BenchmarkTree.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_Benchmark_BenchmarkTree_h
2 #define RecoParticleFlow_Benchmark_BenchmarkTree_h
3 
4 
5 #include <TTree.h>
6 
8 
9  public:
11  deltaEt(999),
12  deltaEta(-9),
13  eta(-10),
14  et(-1)
15  {}
16 
18  deltaEt= other.deltaEt;
19  deltaEta= other.deltaEta;
20  eta= other.eta;
21  et= other.et;
22 
23  return *this;
24  }
25 
26  float deltaEt;
27  float deltaEta;
28  float eta;
29  float et;
30 };
31 
32 
33 class BenchmarkTree : public TTree {
34 
35  public:
36  BenchmarkTree( const char* name,
37  const char* title);
38  using TTree::Fill;
39  void Fill( const BenchmarkTreeEntry& entry );
40 
41  private:
43 };
44 
45 #endif
BenchmarkTreeEntry & operator=(const BenchmarkTreeEntry &other)
Definition: BenchmarkTree.h:17
BenchmarkTreeEntry * entry_
Definition: BenchmarkTree.h:42
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)