src
RecoParticleFlow
Benchmark
interface
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
6
class
BenchmarkTreeEntry
{
7
public
:
8
BenchmarkTreeEntry
() :
deltaEt
(999),
deltaEta
(-9),
eta
(-10),
et
(-1) {}
9
10
BenchmarkTreeEntry
&
operator=
(
const
BenchmarkTreeEntry
&
other
) {
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
:
32
BenchmarkTreeEntry
*
entry_
;
33
};
34
35
#endif
BenchmarkTreeEntry::operator=
BenchmarkTreeEntry & operator=(const BenchmarkTreeEntry &other)
Definition:
BenchmarkTree.h:10
BenchmarkTreeEntry::BenchmarkTreeEntry
BenchmarkTreeEntry()
Definition:
BenchmarkTree.h:8
BenchmarkTree::entry_
BenchmarkTreeEntry * entry_
Definition:
BenchmarkTree.h:32
BenchmarkTreeEntry
Definition:
BenchmarkTree.h:6
BenchmarkTreeEntry::deltaEt
float deltaEt
Definition:
BenchmarkTree.h:19
BenchmarkTree::Fill
void Fill(const BenchmarkTreeEntry &entry)
Definition:
BenchmarkTree.cc:7
mps_splice.entry
entry
Definition:
mps_splice.py:68
HcalObjRepresent::Fill
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
Definition:
HcalObjRepresent.h:1057
trackingPlots.other
other
Definition:
trackingPlots.py:1467
BenchmarkTreeEntry::deltaEta
float deltaEta
Definition:
BenchmarkTree.h:20
BenchmarkTree::BenchmarkTree
BenchmarkTree(const char *name, const char *title)
Definition:
BenchmarkTree.cc:3
runGCPTkAlMap.title
string title
Definition:
runGCPTkAlMap.py:94
BenchmarkTreeEntry::eta
float eta
Definition:
BenchmarkTree.h:21
BenchmarkTree
Definition:
BenchmarkTree.h:25
BenchmarkTreeEntry::et
float et
Definition:
BenchmarkTree.h:22
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14