ATLAS Offline Software
Loading...
Searching...
No Matches
DRConeAssociationTool.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 EVENTCOMMOND3PDMAKER_DRCONEASSOCIATIONTOOL_H
17#define EVENTCOMMOND3PDMAKER_DRCONEASSOCIATIONTOOL_H
18
19
22#include "GaudiKernel/ToolHandle.h"
24
25
26namespace D3PD {
27
28
42 : public MultiAssociationTool<INavigable4Momentum>
43{
44public:
46
47
54 DRConeAssociationTool (const std::string& type,
55 const std::string& name,
56 const IInterface* parent);
57
58
60 virtual StatusCode initialize();
61
62
67 virtual StatusCode reset (const INavigable4Momentum& p);
68
69
75 virtual const INavigable4Momentum* next();
76
77
78private:
80 ToolHandle<ICollectionGetterTool> m_getter;
81
83 float m_drcut;
84
87};
88
89
90} // namespace D3PD
91
92
93#endif // not EVENTCOMMOND3PDMAKER_DRCONEASSOCIATIONTOOL_H
94
Abstract interface to get a collection of objects and iterate over it.
Type-safe wrapper for multiple-target associator tools.
ToolHandle< ICollectionGetterTool > m_getter
Property: The getter for the target collection.
virtual StatusCode initialize()
Standard Gaudi initialize method.
const INavigable4Momentum * m_p
The input object.
virtual const INavigable4Momentum * next()
Return a pointer to the next element in the association.
DRConeAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
virtual StatusCode reset(const INavigable4Momentum &p)
Start the iteration for a new association.
MultiAssociationTool< INavigable4Momentum > Base
Type-safe wrapper for multiple-target associator tools.
Block filler tool for noisy FEB information.