Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
5
#include <TTree.h>
6
7
class
BenchmarkTreeEntry
{
8
9
public
:
10
BenchmarkTreeEntry
() :
11
deltaEt
(999),
12
deltaEta
(-9),
13
eta
(-10),
14
et
(-1)
15
{}
16
17
BenchmarkTreeEntry
&
operator=
(
const
BenchmarkTreeEntry
& other) {
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
void
Fill
(
const
BenchmarkTreeEntry
& entry );
39
40
private
:
41
BenchmarkTreeEntry
*
entry_
;
42
};
43
44
#endif
indexGen.title
title
Definition:
indexGen.py:48
BenchmarkTreeEntry::operator=
BenchmarkTreeEntry & operator=(const BenchmarkTreeEntry &other)
Definition:
BenchmarkTree.h:17
BenchmarkTreeEntry::BenchmarkTreeEntry
BenchmarkTreeEntry()
Definition:
BenchmarkTree.h:10
BenchmarkTree::entry_
BenchmarkTreeEntry * entry_
Definition:
BenchmarkTree.h:41
BenchmarkTreeEntry
Definition:
BenchmarkTree.h:7
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
BenchmarkTreeEntry::deltaEt
float deltaEt
Definition:
BenchmarkTree.h:26
BenchmarkTree::Fill
void Fill(const BenchmarkTreeEntry &entry)
Definition:
BenchmarkTree.cc:13
BenchmarkTreeEntry::deltaEta
float deltaEta
Definition:
BenchmarkTree.h:27
BenchmarkTree::BenchmarkTree
BenchmarkTree(const char *name, const char *title)
Definition:
BenchmarkTree.cc:5
BenchmarkTreeEntry::eta
float eta
Definition:
BenchmarkTree.h:28
BenchmarkTree
Definition:
BenchmarkTree.h:33
BenchmarkTreeEntry::et
float et
Definition:
BenchmarkTree.h:29
Generated for CMSSW Reference Manual by
1.8.5