ATLAS Offline Software
CaloTopoTowerBuilderTool.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 CALOREC_CALOTOPOTOWERBUILDERTOOL_H
6 #define CALOREC_CALOTOPOTOWERBUILDERTOOL_H
7 
18 
20 
21 #include <string>
22 #include <vector>
23 
24 class CaloTowerStore;
25 
29 class StoreGateSvc;
30 
31 
32 #include "CaloEvent/CaloClusterContainer.h"
33 
34 class MsgStream;
35 
37 {
38  public:
39 
41  CaloTopoTowerBuilderTool(const std::string& name, const std::string& type,
42  const IInterface* parent);
44 
46  virtual StatusCode execute(const EventContext& ctx,
47  CaloTopoTowerContainer* theContainer,const CaloCellContainer* theCell=0) const override;
48  //virtual StatusCode initialize();
49 
50  virtual StatusCode initializeTool() override;
51 
52  virtual void handle(const Incident&) override;
53 
55 
56  protected:
57 
59  // Specific Initialization //
61 
62  std::vector<CaloCell_ID::SUBCALO> m_caloIndices;
63 
64 
65  private:
67 
69  // Type definitions
71 
72 
73 
74 };
75 #endif
CaloCell2ClusterMap
map of CaloCluster objects each CaloCell belongs to
Definition: CaloCell2ClusterMap.h:27
CaloTopoTowerBuilderTool::m_caloIndices
std::vector< CaloCell_ID::SUBCALO > m_caloIndices
Definition: CaloTopoTowerBuilderTool.h:62
CaloTopoTowerBuilderTool::initializeTool
virtual StatusCode initializeTool() override
Definition: CaloTopoTowerBuilderTool.cxx:52
CaloClusterContainer
Storable container for CaloCluster.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
CaloTopoTowerBuilderTool::execute
virtual StatusCode execute(const EventContext &ctx, CaloTopoTowerContainer *theContainer, const CaloCellContainer *theCell=0) const override
execute
Definition: CaloTopoTowerBuilderTool.cxx:65
CaloTopoTowerBuilderTool
Definition: CaloTopoTowerBuilderTool.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
CaloCell_ID.h
CaloTopoTowerBuilderToolBase
CaloTopoTowerBuilderToolBase is abstract base class for tower builders.
Definition: CaloTopoTowerBuilderToolBase.h:22
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
CaloTopoTowerBuilderTool::CaloTopoTowerBuilderTool
CaloTopoTowerBuilderTool(const std::string &name, const std::string &type, const IInterface *parent)
AlgTool constructor.
Definition: CaloTopoTowerBuilderTool.cxx:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloTopoTowerContainer
Storable container class for CaloTower.
Definition: CaloTopoTowerContainer.h:51
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
CaloTowerStore
Definition: CaloTowerStore.h:157
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloTopoTowerBuilderTool::handle
virtual void handle(const Incident &) override
Definition: CaloTopoTowerBuilderTool.cxx:314
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
Navigable
Navigable template generalization to handle navigation.
Definition: Navigable.h:93
CaloTopoTowerBuilderTool::m_calo_id
const CaloCell_ID * m_calo_id
Definition: CaloTopoTowerBuilderTool.h:68
CaloTopoTowerBuilderTool::~CaloTopoTowerBuilderTool
virtual ~CaloTopoTowerBuilderTool()
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloTopoTowerBuilderTool::CreateCaloCell2ClusterMap
const CaloCell2ClusterMap * CreateCaloCell2ClusterMap(const CaloClusterContainer *c) const
Definition: CaloTopoTowerBuilderTool.cxx:326
CaloTopoTowerBuilderTool::nav_t
Navigable< CaloClusterContainer > nav_t
Definition: CaloTopoTowerBuilderTool.h:70
CaloTopoTowerBuilderToolBase.h
python.compressB64.c
def c
Definition: compressB64.py:93
CaloTopoTowerBuilderTool::LoadCalibration
virtual StatusCode LoadCalibration(IOVSVC_CALLBACK_ARGS) override
Definition: CaloTopoTowerBuilderTool.cxx:318