Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 $
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 {
32 public:
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
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
CaloClusterCollectionProcessor
Definition: CaloClusterCollectionProcessor.h:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(xAOD::CaloClusterContainer *collection) final
Execute on an entire collection of clusters.
Definition: CaloClusterCollectionProcessor.h:50
CaloClusterContainer.h
CaloClusterCollectionProcessor::DeclareInterfaceID
DeclareInterfaceID(CaloClusterCollectionProcessor, 1, 0)