ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterCollectionProcessor.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-2025 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: CaloClusterCollectionProcessor.h,v 1.3 2006-07-07 03:49:56 ssnyder Exp $
19
20#ifndef CALOREC_CALOCLUSTERCOLLECTIONPROCESSOR_H
21#define CALOREC_CALOCLUSTERCOLLECTIONPROCESSOR_H
22
25#include "GaudiKernel/EventContext.h"
26#include "GaudiKernel/ThreadLocalContext.h"
27
28
30 : virtual public IAlgTool
31{
32public:
33
35
41 virtual StatusCode execute (const EventContext& ctx,
42 xAOD::CaloClusterContainer* collection) const = 0;
43
44
50 virtual StatusCode execute (xAOD::CaloClusterContainer* collection) final
51 {
52 return execute (Gaudi::Hive::currentContext(), collection);
53 }
54
55};
56
57
58#endif // not CALOREC_CALOCLUSTERCOLLECTIONPROCESSOR_H
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
virtual StatusCode execute(xAOD::CaloClusterContainer *collection) final
Execute on an entire collection of clusters.
DeclareInterfaceID(CaloClusterCollectionProcessor, 1, 0)
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.