ATLAS Offline Software
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 */
12 #ifndef D3PDMAKERTEST_OBJ1FILLERTOOL_H
13 #define D3PDMAKERTEST_OBJ1FILLERTOOL_H
14 
15 
17 
18 
19 namespace D3PDTest {
20 
21 
22 class Obj1;
23 
24 
29  : public D3PD::BlockFillerTool<Obj1>
30 {
31 public:
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 
58 private:
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
D3PDTest::Obj1FillerTool::m_c
char * m_c
Variables.
Definition: Obj1FillerTool.h:62
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
D3PDTest::Obj1
Test class for D3PD maker.
Definition: Obj1.h:38
D3PDTest::Obj1FillerTool::Obj1FillerTool
Obj1FillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: Obj1FillerTool.cxx:28
D3PDTest::Obj1FillerTool
D3PD maker regression tests.
Definition: Obj1FillerTool.h:30
D3PDTest::Obj1FillerTool::m_ui
unsigned int * m_ui
Definition: Obj1FillerTool.h:67
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PDTest::Obj1FillerTool::m_d
double * m_d
Definition: Obj1FillerTool.h:69
D3PDTest::Obj1FillerTool::m_f
float * m_f
Definition: Obj1FillerTool.h:68
D3PDTest::Obj1FillerTool::m_us
unsigned short * m_us
Definition: Obj1FillerTool.h:65
D3PDTest::Obj1FillerTool::m_i
int * m_i
Definition: Obj1FillerTool.h:66
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:68
D3PDTest::Obj1FillerTool::m_uc
unsigned char * m_uc
Definition: Obj1FillerTool.h:63
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
D3PDTest::Obj1FillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition: Obj1FillerTool.cxx:40
D3PDTest::Obj1FillerTool::m_b
bool * m_b
Definition: Obj1FillerTool.h:72
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PDTest::Obj1FillerTool::m_s
short * m_s
Definition: Obj1FillerTool.h:64
D3PDTest
Definition: MapDumper.h:25
D3PDTest::Obj1FillerTool::fill
virtual StatusCode fill(const Obj1 &p) override
Fill one block — type-safe version.
Definition: Obj1FillerTool.cxx:66