ATLAS Offline Software
DummyVarFillerTool.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 D3PDMAKERCORECOMPS_DUMMYVARFILLERTOOL_H
14 #define D3PDMAKERCORECOMPS_DUMMYVARFILLERTOOL_H
15 
16 
18 #include <string>
19 
20 
21 namespace D3PD {
22 
23 
30  : public BlockFillerTool<void>
31 {
32 public:
39  DummyVarFillerTool (const std::string& type,
40  const std::string& name,
41  const IInterface* parent);
42 
43 
49  virtual StatusCode book() final;
50 
51 
59  virtual StatusCode fill() override;
60 
61 
62 private:
64  std::string m_varName;
65 
67  char* m_var;
68 };
69 
70 
71 } // namespace D3PD
72 
73 
74 #endif // not D3PDMAKERCORECOMPS_DUMMYVARFILLERTOOL_H
D3PD::DummyVarFillerTool::m_varName
std::string m_varName
Property: Name of the variable to create.
Definition: DummyVarFillerTool.h:64
D3PD::DummyVarFillerTool::book
virtual StatusCode book() final
Declare tuple variables.
Definition: DummyVarFillerTool.cxx:42
D3PD::DummyVarFillerTool::m_var
char * m_var
Variable: The created variable.
Definition: DummyVarFillerTool.h:67
D3PD::DummyVarFillerTool::DummyVarFillerTool
DummyVarFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: DummyVarFillerTool.cxx:27
D3PD::DummyVarFillerTool
Create an empty variable in the D3PD.
Definition: DummyVarFillerTool.h:31
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
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:65
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
D3PD::DummyVarFillerTool::fill
virtual StatusCode fill() override
Fill one block — type-safe version.
Definition: DummyVarFillerTool.cxx:56
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
VoidBlockFillerTool.h
Type-safe wrapper for block filler tools, for tools taking no input.