ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
CaloD3PDMaker
src
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
19
#include "
D3PDMakerUtils/MultiAssociationTool.h
"
20
#include "
xAODCaloEvent/CaloCluster.h
"
21
#include "CaloEvent/CaloCluster.h"
22
#include "
CaloEvent/CaloCell.h
"
23
24
25
26
namespace
D3PD
{
27
28
32
class
CaloClusterCellAssociationTool
33
:
public
MultiAssociationTool
<Types<CaloCluster, xAOD::CaloCluster>, CaloCell>
34
{
35
public
:
36
typedef
MultiAssociationTool<Types<CaloCluster, xAOD::CaloCluster>
,
CaloCell
>
Base
;
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
78
private
:
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
CaloCell.h
CaloCluster.h
MultiAssociationTool.h
Type-safe wrapper for multiple-target associator tools.
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
CaloCluster
Principal data class for CaloCell clusters.
Definition
Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
D3PD::CaloClusterCellAssociationTool::m_icell
size_t m_icell
Definition
CaloClusterCellAssociationTool.h:80
D3PD::CaloClusterCellAssociationTool::reset
virtual StatusCode reset(const CaloCluster &p)
Return the target object.
Definition
CaloClusterCellAssociationTool.cxx:46
D3PD::CaloClusterCellAssociationTool::next
virtual const CaloCell * next()
Return a pointer to the next element in the association.
Definition
CaloClusterCellAssociationTool.cxx:83
D3PD::CaloClusterCellAssociationTool::m_cells
std::vector< const CaloCell * > m_cells
Definition
CaloClusterCellAssociationTool.h:79
D3PD::CaloClusterCellAssociationTool::Base
MultiAssociationTool< Types< CaloCluster, xAOD::CaloCluster >, CaloCell > Base
Definition
CaloClusterCellAssociationTool.h:36
D3PD::CaloClusterCellAssociationTool::CaloClusterCellAssociationTool
CaloClusterCellAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
CaloClusterCellAssociationTool.cxx:29
D3PD::MultiAssociationTool
Type-safe wrapper for multiple-target associator tools.
Definition
MultiAssociationTool.h:153
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
type
Generated on
for ATLAS Offline Software by
1.17.0