ATLAS Offline Software
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 
6 
7 
9  : m_value(0)
10 {
11 }
12 
13 void
15  m_value = value;
16 }
17 
18 int
20  return m_value;
21 }
22 
24  m_value = 0;
25 }
26 
27 void
29  m_value = value;
30 }
31 
32 float
34  return m_value;
35 }
36 
37 void
39  m_list.push_back(value);
40 }
41 
42 const std::vector<float>&
44  return m_list;
45 }
46 
48  : std::vector<double>(1000, 0.) {
49 }
50 
51 void
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