ATLAS Offline Software
DefaultFillerTool.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 */
13 #ifndef D3PDMAKERTEST_DEFAULTFILLERTOOL_H
14 #define D3PDMAKERTEST_DEFAULTFILLERTOOL_H
15 
16 
18 
19 
20 namespace D3PDTest {
21 
22 
27  : public D3PD::BlockFillerTool<void>
28 {
29 public:
36  DefaultFillerTool (const std::string& type,
37  const std::string& name,
38  const IInterface* parent);
39 
40 
42  virtual StatusCode book() final;
43 
44 
52  virtual StatusCode fill() override;
53 
54 
55 private:
57  char *m_c1;
58  char *m_c2;
59  unsigned char *m_uc1;
60  unsigned char *m_uc2;
61  short *m_s1;
62  short *m_s2;
63  unsigned short *m_us1;
64  unsigned short *m_us2;
65  int *m_i1;
66  int *m_i2;
67  unsigned int *m_ui1;
68  unsigned int *m_ui2;
69  float *m_f1;
70  float *m_f2;
71  double *m_d1;
72  double *m_d2;
73  bool *m_b1;
74  bool *m_b2;
75 };
76 
77 
78 } // namespace D3PDTest
79 
80 
81 
82 #endif // not D3PDMAKERTEST_DEFAULTFILLERTOOL_H
D3PDTest::DefaultFillerTool
Test setting default values in d3pds.
Definition: DefaultFillerTool.h:28
D3PDTest::DefaultFillerTool::m_uc2
unsigned char * m_uc2
Definition: DefaultFillerTool.h:60
D3PDTest::DefaultFillerTool::m_f1
float * m_f1
Definition: DefaultFillerTool.h:69
D3PDTest::DefaultFillerTool::m_c2
char * m_c2
Definition: DefaultFillerTool.h:58
D3PDTest::DefaultFillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition: DefaultFillerTool.cxx:39
D3PDTest::DefaultFillerTool::DefaultFillerTool
DefaultFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: DefaultFillerTool.cxx:27
D3PDTest::DefaultFillerTool::m_s2
short * m_s2
Definition: DefaultFillerTool.h:62
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PDTest::DefaultFillerTool::m_s1
short * m_s1
Definition: DefaultFillerTool.h:61
D3PDTest::DefaultFillerTool::m_d1
double * m_d1
Definition: DefaultFillerTool.h:71
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PDTest::DefaultFillerTool::m_uc1
unsigned char * m_uc1
Definition: DefaultFillerTool.h:59
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:65
D3PDTest::DefaultFillerTool::m_c1
char * m_c1
Variables.
Definition: DefaultFillerTool.h:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
D3PDTest::DefaultFillerTool::m_us1
unsigned short * m_us1
Definition: DefaultFillerTool.h:63
D3PDTest::DefaultFillerTool::m_b2
bool * m_b2
Definition: DefaultFillerTool.h:74
D3PDTest::DefaultFillerTool::m_i1
int * m_i1
Definition: DefaultFillerTool.h:65
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PDTest::DefaultFillerTool::m_ui2
unsigned int * m_ui2
Definition: DefaultFillerTool.h:68
D3PDTest::DefaultFillerTool::m_i2
int * m_i2
Definition: DefaultFillerTool.h:66
D3PDTest::DefaultFillerTool::m_ui1
unsigned int * m_ui1
Definition: DefaultFillerTool.h:67
D3PDTest::DefaultFillerTool::m_f2
float * m_f2
Definition: DefaultFillerTool.h:70
D3PDTest
Definition: MapDumper.h:25
D3PDTest::DefaultFillerTool::fill
virtual StatusCode fill() override
Fill one block — type-safe version.
Definition: DefaultFillerTool.cxx:71
D3PDTest::DefaultFillerTool::m_b1
bool * m_b1
Definition: DefaultFillerTool.h:73
D3PDTest::DefaultFillerTool::m_us2
unsigned short * m_us2
Definition: DefaultFillerTool.h:64
D3PDTest::DefaultFillerTool::m_d2
double * m_d2
Definition: DefaultFillerTool.h:72