ATLAS Offline Software
CollectionGetterFilterTool.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$
16 #ifndef D3PDMAKERUTILS_COLLECTIONGETTERFILTERTOOL_H
17 #define D3PDMAKERUTILS_COLLECTIONGETTERFILTERTOOL_H
18 
19 
21 #include "GaudiKernel/ToolHandle.h"
22 
23 
24 namespace D3PD {
25 
26 
39 template <class T>
42 {
43 public:
50  CollectionGetterFilterTool (const std::string& type,
51  const std::string& name,
52  const IInterface* parent);
53 
54 
60  virtual bool filter (const T* p) const = 0;
61 
62 
68  virtual const std::type_info& elementTypeinfo() const;
69 
70 
76  virtual const void* nextUntyped();
77 
78 
88  virtual void releaseElementUntyped (const void* p);
89 };
90 
91 
92 } // namespace D3PD
93 
94 
96 
97 
98 #endif // not D3PDMAKERUTILS_COLLECTIONGETTERFILTERTOOL_H
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
D3PD::CollectionGetterFilterTool::filter
virtual bool filter(const T *p) const =0
Apply filtering to one element.
D3PD::CollectionGetterFilterTool::elementTypeinfo
virtual const std::type_info & elementTypeinfo() const
Return the element type of the collection.
D3PD::CollectionGetterFilterTool::CollectionGetterFilterTool
CollectionGetterFilterTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
D3PD
Block filler tool for noisy FEB information.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
D3PD::CollectionGetterFilterTool
A collection getter that filters the results of another.
Definition: CollectionGetterFilterTool.h:42
D3PD::CollectionGetterFilterToolImpl
Non-template parts of CollectionGetterFilterTool.
Definition: CollectionGetterFilterToolImpl.h:37
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CollectionGetterFilterToolImpl.h
Non-template parts of CollectionGetterFilterTool.
D3PD::CollectionGetterFilterTool::releaseElementUntyped
virtual void releaseElementUntyped(const void *p)
Release an object retrieved from the getter.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CollectionGetterFilterTool.icc
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::CollectionGetterFilterTool::nextUntyped
virtual const void * nextUntyped()
Return a pointer to the next element in the collection.