ATLAS Offline Software
ICaloTowerBuilderToolBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 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"
25 
26 #include <string>
27 
28 class CaloTowerContainer;
29 class CaloTowerSeg;
30 class CaloCellContainer;
31 class EventContext;
32 
33 
34 // Declaration of the interface ID ( interface id, major version, minor version)
35 static const InterfaceID IID_ICaloTowerBuilderToolBase("ICaloTowerBuilderToolBase", 1 , 0);
36 
37 class ICaloTowerBuilderToolBase : virtual public IAlgTool
38 {
39  public:
40 
41  //Virtual destructor
43 
45 
61  virtual StatusCode execute(const EventContext& ctx,
62  CaloTowerContainer* theContainer,
63  const CaloCellContainer* theCell=0,
64  const CaloTowerSeg::SubSeg* subseg = 0) const = 0;
66 
67  virtual StatusCode initializeTool() = 0;
68 
69  virtual void setTowerSeg(const CaloTowerSeg& theTowerSeg) = 0;
70 
71  static const InterfaceID& interfaceID() {
72  static const InterfaceID IID("ICaloTowerBuilderToolBase", 1 , 0);
73  return IID;
74  }
75 };
76 #endif
initialize
void initialize()
Definition: run_EoverP.cxx:894
ICaloTowerBuilderToolBase::~ICaloTowerBuilderToolBase
virtual ~ICaloTowerBuilderToolBase()
Definition: ICaloTowerBuilderToolBase.h:42
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:38
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:71
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
IOVSvcDefs.h
defines and typedefs for IOVSvc
checker_macros.h
Define macros for attributes used to control the static checker.