RAIDA
1.9.0
Main Page
Namespaces
Classes
Files
File List
include
RAIDA
LeafPoint.h
1
#ifndef AIDA_LEAFPOINT_H
2
#define AIDA_LEAFPOINT_H 1
3
4
#include <string>
5
#include <TROOT.h>
6
7
using namespace
std;
8
9
namespace
AIDA {
10
16
class
LeafPoint
{
17
18
public
:
19
20
LeafPoint
();
21
22
LeafPoint
(
string
type);
23
24
LeafPoint
(
string
type,
string
name);
25
26
LeafPoint
(
const
LeafPoint
& rhs);
27
28
void
* getValue()
const
;
29
30
double
getDouble()
const
;
31
32
float
getFloat()
const
;
33
34
int
getInt()
const
;
35
36
short
getShort()
const
;
37
38
long
getLong()
const
;
39
40
char
getChar()
const
;
41
42
bool
getBool()
const
;
43
44
std::string getString()
const
;
45
46
char
getType()
const
;
47
48
string
getTypeLong()
const
;
49
50
string
getName()
const
;
51
52
string
getROOTNameType()
const
;
53
54
void
clear();
55
56
bool
set(
const
float
v);
57
58
bool
set(
const
double
v);
59
60
bool
set(
const
int
v);
61
62
bool
set(
const
short
v);
63
64
bool
set(
const
long
v);
65
66
bool
set(
const
char
v);
67
68
bool
set(
const
bool
v);
69
70
bool
set(
const
string
v);
71
72
//private:
73
74
char
_leafType;
75
76
string
_leafName;
77
78
Float_t _f;
79
80
Double_t _d;
81
82
Int_t _i;
83
84
Short_t _s;
// Signed Short integer
85
86
// Long64_t _l;
87
88
Int_t _l;
// Long is treated as int because there is no normal long in ROOT
89
90
Char_t _c;
91
92
Bool_t _b;
93
94
string
_st;
95
96
};
// end class
97
}
// namespace AIDA
98
#endif
/* ifndef AIDA_LEAFPOINT_H */
AIDA::LeafPoint
This class holds the values to be filled into a n-tuple.
Definition:
LeafPoint.h:16
Generated by
1.8.5