ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
D3PDTest::Obj1 Class Reference

Test class for D3PD maker. More...

#include <Obj1.h>

Inheritance diagram for D3PDTest::Obj1:
Collaboration diagram for D3PDTest::Obj1:

Public Member Functions

 Obj1 ()
 
 Obj1 (int x)
 

Public Attributes

std::string m_str
 
const char * m_cstr
 
char m_c
 
unsigned char m_uc
 
short m_s
 
unsigned short m_us
 
int m_i
 
unsigned int m_ui
 
float m_f
 
double m_d
 
long long m_ll
 
unsigned long long m_ull
 
bool m_b
 
Obj2 m_o2
 
std::vector< Obj2m_vo2
 
std::vector< Obj2m_vo3
 

Detailed Description

Test class for D3PD maker.

This gets put into StoreGate and we fill tuples from it.

Definition at line 37 of file Obj1.h.

Constructor & Destructor Documentation

◆ Obj1() [1/2]

D3PDTest::Obj1::Obj1 ( )

Definition at line 21 of file Obj1.cxx.

22  : m_cstr(0),
23  m_c(0),
24  m_uc(0),
25  m_s(0),
26  m_us(0),
27  m_i(0),
28  m_ui(0),
29  m_f(0),
30  m_d(0),
31  m_ll(0),
32  m_ull(0),
33  m_b(0)
34 {
35 }

◆ Obj1() [2/2]

D3PDTest::Obj1::Obj1 ( int  x)

Definition at line 38 of file Obj1.cxx.

39  : m_o2 (x + 50)
40 {
41  std::ostringstream ss;
42  ss << x;
43  m_str = ss.str();
44  m_cstr = m_str.c_str();
45 
46  m_c = x;
47  m_uc = x+1;
48  m_s = x+2;
49  m_us = x+3;
50  m_i = x+4;
51  m_ui = x+5;
52  m_f = x+6.5;
53  m_d = x+7.5;
54  m_ll = x+8;
55  m_ull = x+9;
56  m_b = !!x;
57 }

Member Data Documentation

◆ m_b

bool D3PDTest::Obj1::m_b

Definition at line 55 of file Obj1.h.

◆ m_c

char D3PDTest::Obj1::m_c

Definition at line 45 of file Obj1.h.

◆ m_cstr

const char* D3PDTest::Obj1::m_cstr

Definition at line 44 of file Obj1.h.

◆ m_d

double D3PDTest::Obj1::m_d

Definition at line 52 of file Obj1.h.

◆ m_f

float D3PDTest::Obj1::m_f

Definition at line 51 of file Obj1.h.

◆ m_i

int D3PDTest::Obj1::m_i

Definition at line 49 of file Obj1.h.

◆ m_ll

long long D3PDTest::Obj1::m_ll

Definition at line 53 of file Obj1.h.

◆ m_o2

Obj2 D3PDTest::Obj1::m_o2

Definition at line 57 of file Obj1.h.

◆ m_s

short D3PDTest::Obj1::m_s

Definition at line 47 of file Obj1.h.

◆ m_str

std::string D3PDTest::Obj1::m_str

Definition at line 43 of file Obj1.h.

◆ m_uc

unsigned char D3PDTest::Obj1::m_uc

Definition at line 46 of file Obj1.h.

◆ m_ui

unsigned int D3PDTest::Obj1::m_ui

Definition at line 50 of file Obj1.h.

◆ m_ull

unsigned long long D3PDTest::Obj1::m_ull

Definition at line 54 of file Obj1.h.

◆ m_us

unsigned short D3PDTest::Obj1::m_us

Definition at line 48 of file Obj1.h.

◆ m_vo2

std::vector<Obj2> D3PDTest::Obj1::m_vo2

Definition at line 58 of file Obj1.h.

◆ m_vo3

std::vector<Obj2> D3PDTest::Obj1::m_vo3

Definition at line 59 of file Obj1.h.


The documentation for this class was generated from the following files:
D3PDTest::Obj1::m_c
char m_c
Definition: Obj1.h:45
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
D3PDTest::Obj1::m_b
bool m_b
Definition: Obj1.h:55
x
#define x
D3PDTest::Obj1::m_str
std::string m_str
Definition: Obj1.h:43
D3PDTest::Obj1::m_us
unsigned short m_us
Definition: Obj1.h:48
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_i
int m_i
Definition: Obj1.h:49
D3PDTest::Obj1::m_cstr
const char * m_cstr
Definition: Obj1.h:44
D3PDTest::Obj1::m_s
short m_s
Definition: Obj1.h:47
D3PDTest::Obj1::m_f
float m_f
Definition: Obj1.h:51
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
D3PDTest::Obj1::m_o2
Obj2 m_o2
Definition: Obj1.h:57
D3PDTest::Obj1::m_d
double m_d
Definition: Obj1.h:52