ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerTest
D3PDMakerTest
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$
14
15
16
#ifndef D3PDMAKERTEST_OBJ1_H
17
#define D3PDMAKERTEST_OBJ1_H
18
19
20
#include "
D3PDMakerTest/Obj2.h
"
21
#include "
AthContainers/DataVector.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
57
Obj2
m_o2
;
58
std::vector<Obj2>
m_vo2
;
59
std::vector<Obj2>
m_vo3
;
60
};
61
62
63
64
class
Obj1Container
65
:
public
DataVector
<Obj1>
66
{
67
public
:
68
};
69
70
71
72
}
// namespace D3PDTest
73
74
75
SG_BASE
(
D3PDTest::Obj1Container
,
DataVector<D3PDTest::Obj1>
);
76
77
CLASS_DEF
(
D3PDTest::Obj1
, 9372, 1)
78
CLASS_DEF
(
D3PDTest
::Obj1Container, 9373, 1)
79
80
81
#endif
// not D3PDMAKERTEST_OBJ1_H
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
CLASS_DEF.h
macros to associate a CLID to a type
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:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Obj2.h
Test class for D3PD maker.
x
#define x
D3PDTest::Obj1Container
Definition
Obj1.h:66
D3PDTest::Obj1
Test class for D3PD maker.
Definition
Obj1.h:38
D3PDTest::Obj1::m_f
float m_f
Definition
Obj1.h:51
D3PDTest::Obj1::m_vo3
std::vector< Obj2 > m_vo3
Definition
Obj1.h:59
D3PDTest::Obj1::Obj1
Obj1()
Definition
Obj1.cxx:21
D3PDTest::Obj1::m_ll
long long m_ll
Definition
Obj1.h:53
D3PDTest::Obj1::m_uc
unsigned char m_uc
Definition
Obj1.h:46
D3PDTest::Obj1::m_ui
unsigned int m_ui
Definition
Obj1.h:50
D3PDTest::Obj1::m_b
bool m_b
Definition
Obj1.h:55
D3PDTest::Obj1::m_str
std::string m_str
Definition
Obj1.h:43
D3PDTest::Obj1::m_vo2
std::vector< Obj2 > m_vo2
Definition
Obj1.h:58
D3PDTest::Obj1::m_i
int m_i
Definition
Obj1.h:49
D3PDTest::Obj1::m_s
short m_s
Definition
Obj1.h:47
D3PDTest::Obj1::m_ull
unsigned long long m_ull
Definition
Obj1.h:54
D3PDTest::Obj1::m_c
char m_c
Definition
Obj1.h:45
D3PDTest::Obj1::m_us
unsigned short m_us
Definition
Obj1.h:48
D3PDTest::Obj1::m_o2
Obj2 m_o2
Definition
Obj1.h:57
D3PDTest::Obj1::m_cstr
const char * m_cstr
Definition
Obj1.h:44
D3PDTest::Obj1::m_d
double m_d
Definition
Obj1.h:52
D3PDTest::Obj2
Test class for D3PD maker.
Definition
Obj2.h:28
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
DataVector< Obj1 >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
D3PDTest
Definition
MapDumper.h:25
Generated on
for ATLAS Offline Software by
1.17.0