ATLAS Offline Software
ICaloTowerBuilderToolBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CALOINTERFACE_ICALOTOWERBUILDERTOOLBASE_H
6 #define CALOINTERFACE_ICALOTOWERBUILDERTOOLBASE_H
7 
21 #include "CaloEvent/CaloTowerSeg.h"
22 #include "GaudiKernel/IAlgTool.h"
24 
25 #include <string>
26 
27 class CaloTowerContainer;
28 class CaloTowerSeg;
29 class CaloCellContainer;
30 class EventContext;
31 
32 
33 // Declaration of the interface ID ( interface id, major version, minor version)
34 static const InterfaceID IID_ICaloTowerBuilderToolBase("ICaloTowerBuilderToolBase", 1 , 0);
35 
36 class ICaloTowerBuilderToolBase : virtual public IAlgTool
37 {
38  public:
39 
40  //Virtual destructor
42 
44 
60  virtual StatusCode execute(const EventContext& ctx,
61  CaloTowerContainer* theContainer,
62  const CaloCellContainer* theCell=0,
63  const CaloTowerSeg::SubSeg* subseg = 0) const = 0;
65 
66  virtual StatusCode initializeTool() = 0;
67 
68  virtual void setTowerSeg(const CaloTowerSeg& theTowerSeg) = 0;
69 
70  static const InterfaceID& interfaceID() {
71  static const InterfaceID IID("ICaloTowerBuilderToolBase", 1 , 0);
72  return IID;
73  }
74 };
75 #endif
initialize
void initialize()
Definition: run_EoverP.cxx:894
ICaloTowerBuilderToolBase::~ICaloTowerBuilderToolBase
virtual ~ICaloTowerBuilderToolBase()
Definition: ICaloTowerBuilderToolBase.h:41
CaloTowerSeg.h
ICaloTowerBuilderToolBase::ATLAS_NOT_THREAD_SAFE
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE()=0
CaloTowerSeg::SubSeg
A rectangular window within the segmentation.
Definition: CaloTowerSeg.h:220
ICaloTowerBuilderToolBase
Definition: ICaloTowerBuilderToolBase.h:37
CaloTowerContainer
Storable container class for CaloTower.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloTowerContainer.h:77
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ICaloTowerBuilderToolBase::interfaceID
static const InterfaceID & interfaceID()
Definition: ICaloTowerBuilderToolBase.h:70
ICaloTowerBuilderToolBase::initializeTool
virtual StatusCode initializeTool()=0
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
ICaloTowerBuilderToolBase::execute
virtual StatusCode execute(const EventContext &ctx, CaloTowerContainer *theContainer, const CaloCellContainer *theCell=0, const CaloTowerSeg::SubSeg *subseg=0) const =0
common initialization
CaloTowerSeg
Data object stores CaloTower segmentation.
Definition: CaloTowerSeg.h:37
ICaloTowerBuilderToolBase::setTowerSeg
virtual void setTowerSeg(const CaloTowerSeg &theTowerSeg)=0
checker_macros.h
Define macros for attributes used to control the static checker.