ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerCoreComps
src
VectorFillerTool.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
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: VectorFillerTool.h 618070 2014-09-22 19:05:34Z ssnyder $
14
15
16
#ifndef D3PDMAKERCORECOMPS_VECTORFILLERTOOL_H
17
#define D3PDMAKERCORECOMPS_VECTORFILLERTOOL_H
18
19
20
#include "
D3PDMakerUtils/VectorFillerToolBase.h
"
21
#include "
D3PDMakerInterfaces/IObjFillerTool.h
"
22
#include "
D3PDMakerInterfaces/ICollectionGetterTool.h
"
23
#include "GaudiKernel/ToolHandle.h"
24
#include "GaudiKernel/IIncidentListener.h"
25
26
27
namespace
D3PD
{
28
29
// Forward declaration(s):
30
class
ID3PD
;
31
68
class
VectorFillerTool
69
:
public
extends<VectorFillerToolBase, IObjFillerTool, IIncidentListener>
70
{
71
public
:
78
VectorFillerTool
(
const
std::string& type,
79
const
std::string& name,
80
const
IInterface* parent);
81
82
84
virtual
StatusCode
initialize
();
85
86
93
virtual
StatusCode
configureD3PD
(
IAddVariable
*
tree
);
94
95
101
virtual
StatusCode
book
();
102
103
112
virtual
StatusCode
fill
();
113
114
115
// addVariable() inherited from base.
116
117
124
virtual
bool
isContainerFiller
()
const
;
125
126
130
virtual
void
handle
(
const
Incident& inc );
131
132
133
private
:
135
ToolHandle<ICollectionGetterTool>
m_getter
;
136
138
std::string
m_objectName
;
139
141
bool
m_allowMissing
;
142
144
bool
m_saveMetadata
;
145
147
ID3PD
*
m_tree
;
148
};
149
150
151
}
// namespace D3PD
152
153
154
#endif
// not D3PDMAKERCORECOMPS_VECTORFILLERTOOL_H
ICollectionGetterTool.h
Abstract interface to get a collection of objects and iterate over it.
IObjFillerTool.h
Abstract interface for tool to fill an object in the D3PD.
VectorFillerToolBase.h
Common code for wrapping filled variables up into a vector.
D3PD::IAddVariable
Common interface for adding a variable to a tuple.
Definition
IAddVariable.h:70
D3PD::ID3PD
Define an abstract interface for building a D3PD tree.
Definition
ID3PD.h:37
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
D3PD::configureD3PD
virtual StatusCode configureD3PD(IAddVariable *tree, const std::type_info &ti)
Configure during initialization: type-check.
D3PD::isContainerFiller
virtual bool isContainerFiller() const
Find out if the filler handles containers or single objects.
D3PD::m_allowMissing
bool m_allowMissing
Property: Don't give an error if the target getter fails to find the input objects.
Definition
IndexAssociationFillerTool.h:149
D3PD::m_objectName
std::string m_objectName
Property: the name of the D3PDObject that created this tool.
Definition
VectorFillerTool.h:138
D3PD::book
virtual StatusCode book()
Declare tuple variables.
D3PD::m_tree
ID3PD * m_tree
Pointer to the ID3PD object used.
Definition
VectorFillerTool.h:147
D3PD::VectorFillerTool
VectorFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Object filler tool for a collection of objects, saved as vectors.
Definition
VectorFillerTool.cxx:30
D3PD::m_saveMetadata
bool m_saveMetadata
Property: If true, the metadata about the variables is saved.
Definition
VectorFillerTool.h:144
D3PD::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
D3PD::handle
virtual void handle(const Incident &inc)
Handle end of run incidents to save the metadata at that point.
D3PD::m_getter
ToolHandle< ICollectionGetterTool > m_getter
Property: The collection getter tool.
Definition
VectorFillerTool.h:135
D3PD::fill
virtual StatusCode fill()
Fill one object.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
tree
TChain * tree
Definition
tile_monitor.h:30
Generated on
for ATLAS Offline Software by
1.17.0