ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterCellAssociationTool.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 CALOD3PDMAKER_CALOCLUSTERCELLASSOCIATIONTOOL_H
17#define CALOD3PDMAKER_CALOCLUSTERCELLASSOCIATIONTOOL_H
18
21#include "CaloEvent/CaloCluster.h"
22#include "CaloEvent/CaloCell.h"
23
24
25
26namespace D3PD {
27
28
33 : public MultiAssociationTool<Types<CaloCluster, xAOD::CaloCluster>, CaloCell>
34{
35public:
37
38
45 CaloClusterCellAssociationTool (const std::string& type,
46 const std::string& name,
47 const IInterface* parent);
48
49
56
57 virtual StatusCode reset (const CaloCluster& p);
58
59
66
67 virtual StatusCode reset (const xAOD::CaloCluster& p);
68
69
75 virtual const CaloCell* next();
76
77
78private:
79 std::vector<const CaloCell*> m_cells;
80 size_t m_icell;
81};
82
83} // namespace D3PD
84
85
86
87#endif // not EGAMMAD3PDMAKER_EGAMMACLUSTERASSOCIATIONTOOL_H
Type-safe wrapper for multiple-target associator tools.
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
Principal data class for CaloCell clusters.
virtual StatusCode reset(const CaloCluster &p)
Return the target object.
virtual const CaloCell * next()
Return a pointer to the next element in the association.
MultiAssociationTool< Types< CaloCluster, xAOD::CaloCluster >, CaloCell > Base
CaloClusterCellAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Type-safe wrapper for multiple-target associator tools.
Block filler tool for noisy FEB information.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.