ATLAS Offline Software
Loading...
Searching...
No Matches
DefaultFillerTool2.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
13#ifndef D3PDMAKERTEST_DEFAULTFILLERTOOL2_H
14#define D3PDMAKERTEST_DEFAULTFILLERTOOL2_H
15
16
18
19
20namespace D3PDTest {
21
22
23class Obj1;
24
25
30 : public D3PD::BlockFillerTool<Obj1>
31{
32public:
39 DefaultFillerTool2 (const std::string& type,
40 const std::string& name,
41 const IInterface* parent);
42
43
45 virtual StatusCode book() final;
46
47
56 virtual StatusCode fill (const Obj1& p) override;
57
58
59private:
61 char *m_c1;
62 char *m_c2;
63 unsigned char *m_uc1;
64 unsigned char *m_uc2;
65 short *m_s1;
66 short *m_s2;
67 unsigned short *m_us1;
68 unsigned short *m_us2;
69 int *m_i1;
70 int *m_i2;
71 unsigned int *m_ui1;
72 unsigned int *m_ui2;
73 float *m_f1;
74 float *m_f2;
75 double *m_d1;
76 double *m_d2;
77 bool *m_b1;
78 bool *m_b2;
79};
80
81
82} // namespace D3PDTest
83
84
85
86#endif // not D3PDMAKERTEST_DEFAULTFILLERTOOL2_H
Type-safe wrapper for block filler tools.
virtual StatusCode fill(const Obj1 &p) override
Fill one block — type-safe version.
virtual StatusCode book() final
Book variables for this block.
DefaultFillerTool2(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Test class for D3PD maker.
Definition Obj1.h:38
Type-safe wrapper for block filler tools.