ATLAS Offline Software
CaloTowerCollectionProcessor.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-2020 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: CaloTowerCollectionProcessor.h, 2020-09-16 03:49:56 ssnyder Exp $
17 #ifndef CALOREC_CALOTOWERCOLLECTIONPROCESSOR_H
18 #define CALOREC_CALOTOWERCOLLECTIONPROCESSOR_H
19 
20 
23 #include "GaudiKernel/EventContext.h"
24 #include "GaudiKernel/ThreadLocalContext.h"
26 
27 static const InterfaceID IID_CaloTowerCollectionProcessor ("CaloTowerCollectionProcessor", 1 , 0);
28 
30  : virtual public IAlgTool
31 {
32 public:
33 
39  virtual StatusCode execute (const EventContext& ctx,
40  xAOD::CaloClusterContainer* collection,
41  CaloCellClusterWeights* cellWeights) const = 0;
45  static const InterfaceID& interfaceID() {return IID_CaloTowerCollectionProcessor;}
46 };
47 
48 
49 #endif // not CALOREC_CaloTowerCollectionProcessor_H
CaloTowerCollectionProcessor::interfaceID
static const InterfaceID & interfaceID()
Standard Gaudi interface ID method.
Definition: CaloTowerCollectionProcessor.h:45
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
CaloTowerCollectionProcessor
Definition: CaloTowerCollectionProcessor.h:31
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
CaloCellClusterWeights
Hash lookup of calibration weights for calorimeter cells.
Definition: CaloCellClusterWeights.h:23
CaloTowerCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection, CaloCellClusterWeights *cellWeights) const =0
Execute on an entire collection of clusters.
CaloClusterContainer.h
CaloCellClusterWeights.h