ATLAS Offline Software
ConversionVertexAssociationTool.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: ConversionVertexAssociationTool.h 605545 2014-07-09 04:51:09Z ssnyder $
16 #ifndef PHOTOND3PDMAKER_CONVERSIONVERTEXASSOCIATIONTOOL_H
17 #define PHOTOND3PDMAKER_CONVERSIONVERTEXASSOCIATIONTOOL_H
18 
19 
21 #include "xAODEgamma/Photon.h"
22 #include "xAODTracking/Vertex.h"
23 
24 
25 
26 namespace D3PD {
27 
28 
33  : public MultiAssociationTool<xAOD::Photon, xAOD::Vertex>
34 {
35 public:
37 
38 
45  ConversionVertexAssociationTool (const std::string& type,
46  const std::string& name,
47  const IInterface* parent);
48 
49 
53  virtual StatusCode reset(const xAOD::Photon& ph);
54 
55 
61  virtual const xAOD::Vertex* next ();
62 
63 
64 private:
65  unsigned int m_vxCounter;
67 };
68 
69 
70 } // namespace D3PD
71 
72 
73 
74 #endif // not PHOTOND3PDMAKER_CONVERSIONVERTEXASSOCIATIONTOOL_H
75 
76 
D3PD::ConversionVertexAssociationTool::ConversionVertexAssociationTool
ConversionVertexAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: ConversionVertexAssociationTool.cxx:27
MultiAssociationTool.h
Type-safe wrapper for multiple-target associator tools.
D3PD::ConversionVertexAssociationTool::reset
virtual StatusCode reset(const xAOD::Photon &ph)
Start the iteration for a new association.
Definition: ConversionVertexAssociationTool.cxx:40
D3PD::ConversionVertexAssociationTool::next
virtual const xAOD::Vertex * next()
Return a pointer to the next associated object.
Definition: ConversionVertexAssociationTool.cxx:55
D3PD::MultiAssociationTool
Type-safe wrapper for multiple-target associator tools.
Definition: MultiAssociationTool.h:158
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
Photon.h
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
Vertex.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
D3PD::ConversionVertexAssociationTool
Associate from a conversion to its vertex.
Definition: ConversionVertexAssociationTool.h:34
D3PD::ConversionVertexAssociationTool::Base
MultiAssociationTool< xAOD::Photon, xAOD::Vertex > Base
Definition: ConversionVertexAssociationTool.h:36
D3PD::ConversionVertexAssociationTool::m_vxCounter
unsigned int m_vxCounter
Definition: ConversionVertexAssociationTool.h:65
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
xAOD::Photon_v1
Definition: Photon_v1.h:37
D3PD::ConversionVertexAssociationTool::m_ph
const xAOD::Photon * m_ph
Definition: ConversionVertexAssociationTool.h:66
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78