ATLAS Offline Software
ICaloTopoTowerBuilderToolBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CALOINTERFACE_ICALOTOPOTOWERBUILDERTOOLBASE_H
6 #define CALOINTERFACE_ICALOTOPOTOWERBUILDERTOOLBASE_H
7 
21 #include "GaudiKernel/IAlgTool.h"
23 
24 #include <string>
25 
27 class CaloTowerSeg;
28 class CaloCellContainer;
30 class EventContext;
31 
32 // Declaration of the interface ID ( interface id, major version, minor version)
33 static const InterfaceID IID_ICaloTopoTowerBuilderToolBase("ICaloTopoTowerBuilderToolBase", 1 , 0);
34 
35 class ICaloTopoTowerBuilderToolBase : virtual public IAlgTool
36 {
37  public:
38 
39  //Virtual destructor
41 
43 
45  virtual StatusCode execute(const EventContext& ctx,
46  CaloTopoTowerContainer* theContainer,const CaloCellContainer* theCell=0) const = 0;
47  virtual StatusCode initialize() =0;
48 
49  virtual StatusCode initializeTool() = 0;
50 
51  virtual void setTowerSeg(const CaloTowerSeg& theTowerSeg) = 0;
52 
54 
55  static const InterfaceID& interfaceID() {
56  static const InterfaceID IID("ICaloTopoTowerBuilderToolBase", 1 , 0);
57  return IID;
58  }
59 
60 
61  protected:
62 
63 
64 };
65 #endif
ICaloTopoTowerBuilderToolBase::LoadCalibration
virtual StatusCode LoadCalibration(IOVSVC_CALLBACK_ARGS)=0
ICaloTopoTowerBuilderToolBase::interfaceID
static const InterfaceID & interfaceID()
Definition: ICaloTopoTowerBuilderToolBase.h:55
CaloClusterContainer
Storable container for CaloCluster.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
IOVSVC_CALLBACK_ARGS
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
Definition: IOVSvcDefs.h:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ICaloTopoTowerBuilderToolBase::execute
virtual StatusCode execute(const EventContext &ctx, CaloTopoTowerContainer *theContainer, const CaloCellContainer *theCell=0) const =0
common initialization
CaloTopoTowerContainer
Storable container class for CaloTower.
Definition: CaloTopoTowerContainer.h:51
ICaloTopoTowerBuilderToolBase
Definition: ICaloTopoTowerBuilderToolBase.h:36
ICaloTopoTowerBuilderToolBase::setTowerSeg
virtual void setTowerSeg(const CaloTowerSeg &theTowerSeg)=0
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
ICaloTopoTowerBuilderToolBase::~ICaloTopoTowerBuilderToolBase
virtual ~ICaloTopoTowerBuilderToolBase()
Definition: ICaloTopoTowerBuilderToolBase.h:40
ICaloTopoTowerBuilderToolBase::initialize
virtual StatusCode initialize()=0
ICaloTopoTowerBuilderToolBase::initializeTool
virtual StatusCode initializeTool()=0
CaloTowerSeg
Data object stores CaloTower segmentation.
Definition: CaloTowerSeg.h:37
IOVSvcDefs.h
defines and typedefs for IOVSvc