ATLAS Offline Software
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-2017 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 static const InterfaceID IID_CaloClusterCollectionProcessor ("CaloClusterCollectionProcessor", 1 , 0);
29 
31  : virtual public IAlgTool
32 {
33 public:
34 
40  virtual StatusCode execute (const EventContext& ctx,
41  xAOD::CaloClusterContainer* collection) const = 0;
42 
43 
49  virtual StatusCode execute (xAOD::CaloClusterContainer* collection) final
50  {
51  return execute (Gaudi::Hive::currentContext(), collection);
52  }
53 
54 
58  static const InterfaceID& interfaceID() {return IID_CaloClusterCollectionProcessor;}
59 };
60 
61 
62 #endif // not CALOREC_CALOCLUSTERCOLLECTIONPROCESSOR_H
CaloClusterCollectionProcessor::interfaceID
static const InterfaceID & interfaceID()
Standard Gaudi interface ID method.
Definition: CaloClusterCollectionProcessor.h:58
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
CaloClusterCollectionProcessor
Definition: CaloClusterCollectionProcessor.h:32
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:581
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(xAOD::CaloClusterContainer *collection) final
Execute on an entire collection of clusters.
Definition: CaloClusterCollectionProcessor.h:49
CaloClusterContainer.h