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 
63  virtual StatusCode execute (xAOD::CaloCluster* cluster) final;
64 
65 
73  virtual StatusCode execute (const EventContext& ctx,
74  xAOD::CaloClusterContainer* collection) const;
75 
76 
80  static const InterfaceID& interfaceID() {return IID_CaloClusterProcessor;}
81 };
82 
83 
84 #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:80
CaloClusterCollectionProcessor
Definition: CaloClusterCollectionProcessor.h:32
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
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:581
CaloClusterProcessor::CaloClusterProcessor
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: CaloClusterProcessor.cxx:28
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
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.