ATLAS Offline Software
Obj1.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef D3PDMAKERTEST_OBJ1_H
17 #define D3PDMAKERTEST_OBJ1_H
18 
19 
20 #include "D3PDMakerTest/Obj2.h"
22 #include "AthenaKernel/BaseInfo.h"
23 #include "AthenaKernel/CLASS_DEF.h"
24 #include <string>
25 #include <vector>
26 
27 
28 namespace D3PDTest {
29 
30 
31 
37 class Obj1
38 {
39 public:
40  Obj1();
41  Obj1 (int x);
42 
43  std::string m_str;
44  const char* m_cstr;
45  char m_c;
46  unsigned char m_uc;
47  short m_s;
48  unsigned short m_us;
49  int m_i;
50  unsigned int m_ui;
51  float m_f;
52  double m_d;
53  long long m_ll;
54  unsigned long long m_ull;
55  bool m_b;
56 
58  std::vector<Obj2> m_vo2;
59  std::vector<Obj2> m_vo3;
60 };
61 
62 
63 
65  : public DataVector<Obj1>
66 {
67 public:
68 };
69 
70 
71 
72 } // namespace D3PDTest
73 
74 
76 
77 CLASS_DEF (D3PDTest::Obj1, 9372, 1)
78 CLASS_DEF (D3PDTest::Obj1Container, 9373, 1)
79 
80 
81 #endif // not D3PDMAKERTEST_OBJ1_H
D3PDTest::Obj1::m_c
char m_c
Definition: Obj1.h:45
SG_BASE
SG_BASE(D3PDTest::Obj1Container, DataVector< D3PDTest::Obj1 >)
D3PDTest::Obj1
Test class for D3PD maker.
Definition: Obj1.h:38
D3PDTest::Obj1::m_b
bool m_b
Definition: Obj1.h:55
D3PDTest::Obj1Container
Definition: Obj1.h:66
x
#define x
D3PDTest::Obj1::m_str
std::string m_str
Definition: Obj1.h:43
D3PDTest::Obj1::m_vo3
std::vector< Obj2 > m_vo3
Definition: Obj1.h:59
BaseInfo.h
Provide an interface for finding inheritance information at run time.
Obj2.h
Test class for D3PD maker.
D3PDTest::Obj1::Obj1
Obj1()
Definition: Obj1.cxx:21
D3PDTest::Obj1::m_us
unsigned short m_us
Definition: Obj1.h:48
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
D3PDTest::Obj1::m_uc
unsigned char m_uc
Definition: Obj1.h:46
D3PDTest::Obj1::m_vo2
std::vector< Obj2 > m_vo2
Definition: Obj1.h:58
D3PDTest::Obj1::m_ui
unsigned int m_ui
Definition: Obj1.h:50
D3PDTest::Obj1::m_i
int m_i
Definition: Obj1.h:49
D3PDTest::Obj1::m_cstr
const char * m_cstr
Definition: Obj1.h:44
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
D3PDTest::Obj1::m_s
short m_s
Definition: Obj1.h:47
D3PDTest::Obj1::m_f
float m_f
Definition: Obj1.h:51
D3PDTest
Definition: MapDumper.h:25
D3PDTest::Obj1::m_ll
long long m_ll
Definition: Obj1.h:53
D3PDTest::Obj1::m_ull
unsigned long long m_ull
Definition: Obj1.h:54
CLASS_DEF.h
macros to associate a CLID to a type
D3PDTest::Obj2
Test class for D3PD maker.
Definition: Obj2.h:28
D3PDTest::Obj1::m_o2
Obj2 m_o2
Definition: Obj1.h:57
D3PDTest::Obj1::m_d
double m_d
Definition: Obj1.h:52