ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerUtils
D3PDMakerUtils
SGCollectionGetterTool.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$
14
15
16
#ifndef D3PDMAKERUTILS_SGCOLLECTIONGETTERTOOL_H
17
#define D3PDMAKERUTILS_SGCOLLECTIONGETTERTOOL_H
18
19
20
#include "
D3PDMakerUtils/CollectionGetterTool.h
"
21
#include "
D3PDMakerUtils/SGGetterImpl.h
"
22
#include "
AthenaKernel/errorcheck.h
"
23
24
25
namespace
D3PD
{
26
27
38
template
<
class
CONT>
39
class
SGCollectionGetterTool
40
:
public
SGGetterImpl
,
public
CollectionGetterTool
<CONT>
41
{
42
public
:
49
SGCollectionGetterTool
(
const
std::string&
type
,
50
const
std::string& name,
51
const
IInterface* parent);
52
53
55
virtual
StatusCode
initialize
();
56
57
61
virtual
const
std::type_info&
typeinfo
()
const
;
62
63
72
virtual
const
void
*
getUntyped
(
bool
allowMissing =
false
);
73
74
83
virtual
const
CONT*
get
(
bool
allowMissing =
false
);
84
};
85
86
87
}
// namespace D3PD
88
89
90
#include "
D3PDMakerUtils/SGCollectionGetterTool.icc
"
91
92
93
#endif
// not D3PDMAKERUTILS_SGCOLLECTIONGETTERTOOL_H
CollectionGetterTool.h
Type-safe wrapper for collection getter tools.
errorcheck.h
Helpers for checking error return status codes and reporting errors.
SGCollectionGetterTool.icc
SGGetterImpl.h
Common object getter code for retrieving from StoreGate.
D3PD::CollectionGetterTool
Type-safe wrapper for ICollectionGetterTool.
Definition
CollectionGetterTool.h:37
D3PD::SGCollectionGetterTool::get
virtual const CONT * get(bool allowMissing=false)
Type-safe wrapper for get.
D3PD::SGCollectionGetterTool::typeinfo
virtual const std::type_info & typeinfo() const
Return the type of object retrieved by this tool.
D3PD::SGCollectionGetterTool::SGCollectionGetterTool
SGCollectionGetterTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
D3PD::SGCollectionGetterTool::getUntyped
virtual const void * getUntyped(bool allowMissing=false)
Return the target object.
D3PD::SGCollectionGetterTool::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
D3PD::SGGetterImpl::SGGetterImpl
SGGetterImpl(const std::string &name, ServiceHandle< StoreGateSvc > &sg)
Constructor.
Definition
SGGetterImpl.cxx:26
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
type
Generated on
for ATLAS Offline Software by
1.17.0