ATLAS Offline Software
Loading...
Searching...
No Matches
Obj1FillerTool.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 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4*/
11
12#ifndef D3PDMAKERTEST_OBJ1FILLERTOOL_H
13#define D3PDMAKERTEST_OBJ1FILLERTOOL_H
14
15
17
18
19namespace D3PDTest {
20
21
22class Obj1;
23
24
29 : public D3PD::BlockFillerTool<Obj1>
30{
31public:
38 Obj1FillerTool (const std::string& type,
39 const std::string& name,
40 const IInterface* parent);
41
42
44 virtual StatusCode book() final;
45
46
55 virtual StatusCode fill (const Obj1& p) override;
56
57
58private:
60 //std::string m_str;
61 //const char* m_cstr;
62 char *m_c;
63 unsigned char *m_uc;
64 short *m_s;
65 unsigned short *m_us;
66 int *m_i;
67 unsigned int *m_ui;
68 float *m_f;
69 double *m_d;
70 //long long *m_ll; // problem???
71 //unsigned long long *m_ull; // problem???
72 bool *m_b;
73};
74
75
76} // namespace D3PDTest
77
78
79#endif // not D3PDMAKERTEST_OBJ1FILLERTOOL_H
Type-safe wrapper for block filler tools.
Obj1FillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
virtual StatusCode book() final
Book variables for this block.
virtual StatusCode fill(const Obj1 &p) override
Fill one block — type-safe version.
Test class for D3PD maker.
Definition Obj1.h:38
Type-safe wrapper for block filler tools.