ATLAS Offline Software
Obj5FillerTool.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$
14 #include "Obj5FillerTool.h"
15 #include "D3PDMakerTest/Obj5.h"
17 
18 
19 namespace D3PDTest {
20 
21 
29  const std::string& name,
30  const IInterface* parent)
31  : D3PD::BlockFillerTool<Obj5> (type, name, parent)
32 {
33  book().ignore(); // Avoid coverity warnings
34 }
35 
36 
41 {
42  CHECK( addVariable ("obj5", m_obj5) );
43 
44  return StatusCode::SUCCESS;
45 }
46 
47 
57 {
58  *m_obj5 = p.m_obj5;
59 
60  return StatusCode::SUCCESS;
61 }
62 
63 
64 } // namespace D3PDTest
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
D3PDTest::Obj5FillerTool::m_obj5
int * m_obj5
Variables.
Definition: Obj5FillerTool.h:58
D3PDTest::Obj5FillerTool::fill
virtual StatusCode fill(const Obj5 &p) override
Fill one block — type-safe version.
Definition: Obj5FillerTool.cxx:56
D3PDTest::Obj5FillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition: Obj5FillerTool.cxx:40
D3PD::AddVariable::addVariable
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
Definition: AddVariable.cxx:85
D3PD
Block filler tool for noisy FEB information.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
Obj5.h
Test class for D3PD maker (aux data).
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
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
D3PDTest::Obj5FillerTool::Obj5FillerTool
Obj5FillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: Obj5FillerTool.cxx:28
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
errorcheck.h
Helpers for checking error return status codes and reporting errors.
D3PDTest::Obj5
Test class for D3PD maker (aux data).
Definition: Obj5.h:34
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PDTest
Definition: MapDumper.h:25
Obj5FillerTool.h
D3PD maker regression tests.