ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloUtils
CaloUtils
CaloClusterProcessor.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: CaloClusterProcessor.h,v 1.2 2006-07-07 03:50:28 ssnyder Exp $
21
22
#ifndef CALOREC_CALOCLUSTERPROCESSOR_H
23
#define CALOREC_CALOCLUSTERPROCESSOR_H
24
25
26
#include "
CaloUtils/CaloClusterCollectionProcessor.h
"
27
#include "
xAODCaloEvent/CaloClusterContainer.h
"
28
#include "GaudiKernel/EventContext.h"
29
30
31
static
const
InterfaceID
IID_CaloClusterProcessor
(
"CaloClusterProcessor"
, 1 , 0);
32
33
class
CaloClusterProcessor
:
public
AthAlgTool
,
virtual
public
CaloClusterCollectionProcessor
{
34
public
:
43
CaloClusterProcessor
(
const
std::string&
type
,
44
const
std::string& name,
45
const
IInterface* parent);
46
47
using
CaloClusterCollectionProcessor::execute
;
48
54
virtual
StatusCode
execute
(
const
EventContext& ctx,
55
xAOD::CaloCluster
* cluster)
const
= 0;
56
57
65
virtual
StatusCode
execute
(
const
EventContext& ctx,
66
xAOD::CaloClusterContainer
* collection)
const
;
67
68
72
static
const
InterfaceID&
interfaceID
() {
return
IID_CaloClusterProcessor
;}
73
};
74
75
76
#endif
// not CALOREC_CALOCLUSTERPROCESSOR_H
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
IID_CaloClusterProcessor
static const InterfaceID IID_CaloClusterProcessor("CaloClusterProcessor", 1, 0)
CaloClusterContainer.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloClusterCollectionProcessor
Definition
CaloClusterCollectionProcessor.h:29
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
CaloClusterProcessor::interfaceID
static const InterfaceID & interfaceID()
Standard Gaudi interface ID method.
Definition
CaloClusterProcessor.h:72
CaloClusterProcessor::CaloClusterProcessor
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition
CaloClusterProcessor.cxx:26
CaloClusterProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0