ATLAS Offline Software
Database
CoolLumiUtilities
src
CoolLumiUtilsTest.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
CoolLumiUtilities/CoolLumiUtilsTest.h
"
6
7
8
MyTestClass::MyTestClass
()
9
: m_value(0)
10
{
11
}
12
13
void
14
MyTestClass::setValue
(
int
value
) {
15
m_value =
value
;
16
}
17
18
int
19
MyTestClass::getValue
()
const
{
20
return
m_value;
21
}
22
23
CoolLumiUtilsTestObj::CoolLumiUtilsTestObj
() {
24
m_value = 0;
25
}
26
27
void
28
CoolLumiUtilsTestObj::setValue
(
float
value
) {
29
m_value =
value
;
30
}
31
32
float
33
CoolLumiUtilsTestObj::getValue
()
const
{
34
return
m_value;
35
}
36
37
void
38
CoolLumiUtilsTestObj::append
(
float
value
) {
39
m_list.push_back(
value
);
40
}
41
42
const
std::vector<float>&
43
CoolLumiUtilsTestObj::getList
() {
44
return
m_list;
45
}
46
47
CoolLumiUtilsVector::CoolLumiUtilsVector
()
48
: std::
vector
<
double
>(1000, 0.) {
49
}
50
51
void
52
CoolLumiUtilsVector::append
(
double
value
) {
53
this->push_back(
value
);
54
}
55
56
// boost::python::list
57
// CoolLumiUtilsTestObj::getList() {
58
// return m_list;
59
// }
MyTestClass::MyTestClass
MyTestClass()
Definition:
MyTestClass.h:10
CoolLumiUtilsVector::CoolLumiUtilsVector
CoolLumiUtilsVector()
Definition:
CoolLumiUtilsTest.cxx:47
CoolLumiUtilsTestObj::CoolLumiUtilsTestObj
CoolLumiUtilsTestObj()
Definition:
CoolLumiUtilsTest.cxx:23
CoolLumiUtilsTestObj::getList
const std::vector< float > & getList()
Definition:
CoolLumiUtilsTest.cxx:43
athena.value
value
Definition:
athena.py:124
MyTestClass::getValue
int getValue() const
Definition:
CoolLumiUtilsTest.cxx:19
vector
Definition:
MultiHisto.h:13
xAOD::double
double
Definition:
CompositeParticle_v1.cxx:159
CoolLumiUtilsTestObj::getValue
float getValue() const
Definition:
CoolLumiUtilsTest.cxx:33
CoolLumiUtilsTest.h
MyTestClass::setValue
void setValue(int)
Definition:
CoolLumiUtilsTest.cxx:14
CoolLumiUtilsTestObj::setValue
void setValue(float)
Definition:
CoolLumiUtilsTest.cxx:28
CoolLumiUtilsVector::append
void append(double)
Definition:
CoolLumiUtilsTest.cxx:52
CoolLumiUtilsTestObj::append
void append(float)
Definition:
CoolLumiUtilsTest.cxx:38
Generated on Tue Dec 24 2024 21:08:37 for ATLAS Offline Software by
1.8.18