ATLAS Offline Software
SelectedParticlesFilterTool.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: SelectedParticlesFilterTool.h 486128 2012-03-02 08:54:20Z krasznaa $
17 #ifndef SELECTEDPARTICLESFILTERTOOL_H
18 #define SELECTEDPARTICLESFILTERTOOL_H
19 
20 
22 #include "GaudiKernel/ToolHandle.h"
23 class SelectedParticles;
24 
25 
26 namespace D3PD {
27 
28 
29 class IObjGetterTool;
30 
31 
46 {
47 public:
54  SelectedParticlesFilterTool (const std::string& type,
55  const std::string& name,
56  const IInterface* parent);
57 
58 
63 
64 
70  virtual const std::type_info& elementTypeinfo() const;
71 
72 
80  virtual StatusCode reset (bool allowMissing = false);
81 
82 
88  virtual const void* nextUntyped();
89 
90 
100  virtual void releaseElementUntyped (const void* p);
101 
102 
103 private:
105  ToolHandle<IObjGetterTool> m_selgetter;
106 
109 
111  size_t m_index;
112 };
113 
114 
115 } // namespace D3PD
116 
117 
118 #endif // not SELECTEDPARTICLESFILTERTOOL_H
D3PD::SelectedParticlesFilterTool::m_selection
const SelectedParticles * m_selection
Current SelectedParticles object.
Definition: SelectedParticlesFilterTool.h:108
D3PD::SelectedParticlesFilterTool
A collection getter that filters the results of another based on the contents of a SelectedParticles ...
Definition: SelectedParticlesFilterTool.h:46
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
D3PD::SelectedParticlesFilterTool::releaseElementUntyped
virtual void releaseElementUntyped(const void *p)
Release an object retrieved from the getter.
Definition: SelectedParticlesFilterTool.cxx:117
D3PD::SelectedParticlesFilterTool::nextUntyped
virtual const void * nextUntyped()
Return a pointer to the next element in the collection.
Definition: SelectedParticlesFilterTool.cxx:90
D3PD
Block filler tool for noisy FEB information.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
D3PD::CollectionGetterFilterToolImpl
Non-template parts of CollectionGetterFilterTool.
Definition: CollectionGetterFilterToolImpl.h:37
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
D3PD::SelectedParticlesFilterTool::m_selgetter
ToolHandle< IObjGetterTool > m_selgetter
Property: Getter for the SelectedParticles object.
Definition: SelectedParticlesFilterTool.h:105
D3PD::SelectedParticlesFilterTool::reset
virtual StatusCode reset(bool allowMissing=false)
Reset the iteration to the start of the collection.
Definition: SelectedParticlesFilterTool.cxx:72
CollectionGetterFilterToolImpl.h
Non-template parts of CollectionGetterFilterTool.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
D3PD::SelectedParticlesFilterTool::elementTypeinfo
virtual const std::type_info & elementTypeinfo() const
Return the element type of the collection.
Definition: SelectedParticlesFilterTool.cxx:59
D3PD::SelectedParticlesFilterTool::initialize
StatusCode initialize()
Standard Gaudi initialize method.
Definition: SelectedParticlesFilterTool.cxx:46
D3PD::SelectedParticlesFilterTool::SelectedParticlesFilterTool
SelectedParticlesFilterTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: SelectedParticlesFilterTool.cxx:30
SelectedParticles
Definition: SelectedParticles.h:54
D3PD::SelectedParticlesFilterTool::m_index
size_t m_index
Current iteration index.
Definition: SelectedParticlesFilterTool.h:111
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78