ATLAS Offline Software
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 */
13 #ifndef D3PDMAKERTEST_DEFAULTFILLERTOOL2_H
14 #define D3PDMAKERTEST_DEFAULTFILLERTOOL2_H
15 
16 
18 
19 
20 namespace D3PDTest {
21 
22 
23 class Obj1;
24 
25 
30  : public D3PD::BlockFillerTool<Obj1>
31 {
32 public:
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 
59 private:
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
D3PDTest::DefaultFillerTool2::m_s1
short * m_s1
Definition: DefaultFillerTool2.h:65
D3PDTest::DefaultFillerTool2::m_i2
int * m_i2
Definition: DefaultFillerTool2.h:70
D3PDTest::Obj1
Test class for D3PD maker.
Definition: Obj1.h:38
D3PDTest::DefaultFillerTool2::m_c1
char * m_c1
Variables.
Definition: DefaultFillerTool2.h:61
D3PDTest::DefaultFillerTool2::m_s2
short * m_s2
Definition: DefaultFillerTool2.h:66
D3PDTest::DefaultFillerTool2::m_b1
bool * m_b1
Definition: DefaultFillerTool2.h:77
D3PDTest::DefaultFillerTool2::m_f1
float * m_f1
Definition: DefaultFillerTool2.h:73
D3PDTest::DefaultFillerTool2::m_c2
char * m_c2
Definition: DefaultFillerTool2.h:62
D3PDTest::DefaultFillerTool2::m_d2
double * m_d2
Definition: DefaultFillerTool2.h:76
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PDTest::DefaultFillerTool2::m_b2
bool * m_b2
Definition: DefaultFillerTool2.h:78
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PDTest::DefaultFillerTool2::m_i1
int * m_i1
Definition: DefaultFillerTool2.h:69
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::DefaultFillerTool2::m_ui2
unsigned int * m_ui2
Definition: DefaultFillerTool2.h:72
D3PDTest::DefaultFillerTool2::book
virtual StatusCode book() final
Book variables for this block.
Definition: DefaultFillerTool2.cxx:40
D3PDTest::DefaultFillerTool2
Test setting default values in d3pds.
Definition: DefaultFillerTool2.h:31
D3PDTest::DefaultFillerTool2::m_ui1
unsigned int * m_ui1
Definition: DefaultFillerTool2.h:71
D3PDTest::DefaultFillerTool2::m_uc2
unsigned char * m_uc2
Definition: DefaultFillerTool2.h:64
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
D3PDTest::DefaultFillerTool2::DefaultFillerTool2
DefaultFillerTool2(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: DefaultFillerTool2.cxx:28
D3PDTest::DefaultFillerTool2::m_d1
double * m_d1
Definition: DefaultFillerTool2.h:75
D3PDTest::DefaultFillerTool2::fill
virtual StatusCode fill(const Obj1 &p) override
Fill one block — type-safe version.
Definition: DefaultFillerTool2.cxx:73
D3PDTest::DefaultFillerTool2::m_us1
unsigned short * m_us1
Definition: DefaultFillerTool2.h:67
D3PDTest::DefaultFillerTool2::m_uc1
unsigned char * m_uc1
Definition: DefaultFillerTool2.h:63
D3PDTest::DefaultFillerTool2::m_f2
float * m_f2
Definition: DefaultFillerTool2.h:74
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PDTest
Definition: MapDumper.h:25
D3PDTest::DefaultFillerTool2::m_us2
unsigned short * m_us2
Definition: DefaultFillerTool2.h:68