ATLAS Offline Software
Loading...
Searching...
No Matches
ContainedVectorMultiAssociationFillerTool.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: ContainedVectorMultiAssociationFillerTool.cxx 618070 2014-09-22 19:05:34Z ssnyder $
12
13
16
17
18namespace D3PD {
19
20
28 (const std::string& type,
29 const std::string& name,
30 const IInterface* parent)
31 : base_class (type, name, parent),
32 m_associator (this)
33{
34 declareProperty ("Associator", m_associator,
35 "The IMultiAssociationTool instance.");
36}
37
38
42StatusCode
49
50
59StatusCode
61 const std::type_info& ti)
62{
63 CHECK( m_associator->configureD3PD (this, ti) );
65
66 return StatusCode::SUCCESS;
67}
68
69
76{
77 CHECK( m_associator->book () );
79
80 return StatusCode::SUCCESS;
81}
82
83
110StatusCode
112 bool /*again = false*/)
113{
114 // Start the association.
115 CHECK( m_associator->resetUntyped (p) );
116
117 CHECK( doFill (*m_associator, 0) );
118
119 return StatusCode::SUCCESS;
120}
121
122
123
124} // namespace D3PD
Represent a multiple association by containment inside vectors.
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode initialize()
Standard Gaudi initialize method.
ToolHandle< IMultiAssociationTool > m_associator
Property: The association tool instance.
virtual StatusCode fillUntyped(const void *p, bool again=false)
Fill one block.
ContainedVectorMultiAssociationFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
virtual StatusCode configureD3PD(IAddVariable *tree, const std::type_info &ti)
Configure during initialization: type-check.
Common interface for adding a variable to a tuple.
StatusCode doBook()
Declare tuple variables.
StatusCode doConfigure(IAddVariable *tree, IIteration &it)
Configure the tool.
virtual StatusCode initialize()
Standard Gaudi initialize method.
Block filler tool for noisy FEB information.
TChain * tree