ATLAS Offline Software
Loading...
Searching...
No Matches
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
20
22#include "GaudiKernel/IAlgTool.h"
24
25#include <string>
26
28class CaloTowerSeg;
30class EventContext;
31
32
33// Declaration of the interface ID ( interface id, major version, minor version)
34static const InterfaceID IID_ICaloTowerBuilderToolBase("ICaloTowerBuilderToolBase", 1 , 0);
35
36class 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;
64 virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE () =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
static const InterfaceID IID_ICaloTowerBuilderToolBase("ICaloTowerBuilderToolBase", 1, 0)
Define macros for attributes used to control the static checker.
Container class for CaloCell.
Storable container class for CaloTower.
A rectangular window within the segmentation.
Data object stores CaloTower segmentation.
static const InterfaceID & interfaceID()
virtual StatusCode initializeTool()=0
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE()=0
virtual void setTowerSeg(const CaloTowerSeg &theTowerSeg)=0
virtual StatusCode execute(const EventContext &ctx, CaloTowerContainer *theContainer, const CaloCellContainer *theCell=0, const CaloTowerSeg::SubSeg *subseg=0) const =0
common initialization
void initialize()