ATLAS Offline Software
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 $
22 #ifndef CALOREC_CALOCLUSTERPROCESSOR_H
23 #define CALOREC_CALOCLUSTERPROCESSOR_H
24 
25 
28 #include "GaudiKernel/EventContext.h"
29 
30 
31 static const InterfaceID IID_CaloClusterProcessor ("CaloClusterProcessor", 1 , 0);
32 
34 public:
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
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
CaloClusterProcessor
Definition: CaloClusterProcessor.h:33
CaloClusterProcessor::interfaceID
static const InterfaceID & interfaceID()
Standard Gaudi interface ID method.
Definition: CaloClusterProcessor.h:72
CaloClusterCollectionProcessor
Definition: CaloClusterCollectionProcessor.h:31
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:62
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
CaloClusterProcessor::CaloClusterProcessor
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: CaloClusterProcessor.cxx:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
CaloClusterContainer.h
AthAlgTool
Definition: AthAlgTool.h:26
CaloClusterProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.