ATLAS Offline Software
Loading...
Searching...
No Matches
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
28#include "GaudiKernel/EventContext.h"
29
30
31static const InterfaceID IID_CaloClusterProcessor ("CaloClusterProcessor", 1 , 0);
32
34public:
43 CaloClusterProcessor (const std::string& type,
44 const std::string& name,
45 const IInterface* parent);
46
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
Base class for cluster processing tools called from CaloClusterMaker.
static const InterfaceID IID_CaloClusterProcessor("CaloClusterProcessor", 1, 0)
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
static const InterfaceID & interfaceID()
Standard Gaudi interface ID method.
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.