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 #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
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
mps_splice.entry
entry
Definition: mps_splice.py:68
BenchmarkTreeEntry::operator=
BenchmarkTreeEntry & operator=(const BenchmarkTreeEntry &other)
Definition: BenchmarkTree.h:10
BenchmarkTree::Fill
void Fill(const BenchmarkTreeEntry &entry)
Definition: BenchmarkTree.cc:7
BenchmarkTree::entry_
BenchmarkTreeEntry * entry_
Definition: BenchmarkTree.h:32
BenchmarkTree
Definition: BenchmarkTree.h:25
trackingPlots.other
other
Definition: trackingPlots.py:1467
BenchmarkTreeEntry::deltaEta
float deltaEta
Definition: BenchmarkTree.h:20
BenchmarkTreeEntry
Definition: BenchmarkTree.h:6
BenchmarkTree::BenchmarkTree
BenchmarkTree(const char *name, const char *title)
Definition: BenchmarkTree.cc:3
HcalObjRepresent::Fill
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
Definition: HcalObjRepresent.h:1053
BenchmarkTreeEntry::eta
float eta
Definition: BenchmarkTree.h:21
BenchmarkTreeEntry::deltaEt
float deltaEt
Definition: BenchmarkTree.h:19
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
BenchmarkTreeEntry::et
float et
Definition: BenchmarkTree.h:22
BenchmarkTreeEntry::BenchmarkTreeEntry
BenchmarkTreeEntry()
Definition: BenchmarkTree.h:8