ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerCoreComps
src
DummyVarFillerTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id: DummyVarFillerTool.cxx 491462 2012-03-28 23:35:19Z ssnyder $
12
13
14
#include "
DummyVarFillerTool.h
"
15
#include "
AthenaKernel/errorcheck.h
"
16
17
18
namespace
D3PD
{
19
20
27
DummyVarFillerTool::DummyVarFillerTool
(
const
std::string&
type
,
28
const
std::string& name,
29
const
IInterface* parent)
30
:
BlockFillerTool
<void> (
type
, name, parent)
31
{
32
declareProperty (
"VarName"
,
m_varName
,
"Name of the variable to create."
);
33
book
().ignore();
// Clear variables.
34
}
35
36
42
StatusCode
DummyVarFillerTool::book
()
43
{
44
CHECK
(
addVariable
(
m_varName
,
m_var
,
"(Dummy variable.)"
) );
45
return
StatusCode::SUCCESS;
46
}
47
48
56
StatusCode
DummyVarFillerTool::fill
()
57
{
58
return
StatusCode::SUCCESS;
59
}
60
61
62
}
// namespace D3PD
errorcheck.h
Helpers for checking error return status codes and reporting errors.
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
DummyVarFillerTool.h
Create an empty variable in the D3PD.
D3PD::BlockFillerTool< void >::addVariable
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Definition
AddVariable.cxx:85
D3PD::BlockFillerTool< void >::BlockFillerTool
BlockFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
VoidBlockFillerTool.cxx:26
D3PD::DummyVarFillerTool::fill
virtual StatusCode fill() override
Fill one block — type-safe version.
Definition
DummyVarFillerTool.cxx:56
D3PD::DummyVarFillerTool::m_var
char * m_var
Variable: The created variable.
Definition
DummyVarFillerTool.h:67
D3PD::DummyVarFillerTool::book
virtual StatusCode book() final
Declare tuple variables.
Definition
DummyVarFillerTool.cxx:42
D3PD::DummyVarFillerTool::m_varName
std::string m_varName
Property: Name of the variable to create.
Definition
DummyVarFillerTool.h:64
D3PD::DummyVarFillerTool::DummyVarFillerTool
DummyVarFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
DummyVarFillerTool.cxx:27
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
type
Generated on
for ATLAS Offline Software by
1.17.0