ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTopoTowerAlgorithm.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_CALOTOPOTOWERALGORITHM_H
6#define CALOREC_CALOTOPOTOWERALGORITHM_H
23
25#include "GaudiKernel/ToolHandle.h"
26
30#include <string>
31#include <vector>
32
35
37{
38 public:
39
41 typedef std::vector<tool_type*> tool_store;
42 typedef tool_store::const_iterator tool_iterator;
43
45 CaloTopoTowerAlgorithm(const std::string& name, ISvcLocator* pService);
46
48
50 virtual StatusCode initialize() override;
51 virtual StatusCode execute (const EventContext& ctx) const override;
52 virtual StatusCode finalize() override;
53
54 protected:
55
57 // Properties //
59
60 // link output container
62
63 // tool collection
64 std::vector<std::string> m_toolNames;
65 ToolHandleArray<ICaloTopoTowerBuilderToolBase> m_ptools;
66
68 // Stores and Services //
70
71 // list of tools
73
75 // CaloTopoTowerContainer variables
76 // Container name strings
82
83 // Selection criteria
87
88 // Noise tool stuff
91
92 // Type definitions
93 // typedef Navigable<CaloClusterContainer> nav_t;
94
95 // List of calorimeters from which to use cells
96 std::vector<std::string> m_includedCalos;
97 std::vector<CaloCell_ID::SUBCALO> m_caloIndices;
99
100 //END CaloTopoTowerContainer variables
102};
103#endif
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< CaloTowerContainer > m_towerContainerKey
CaloTopoTowerBuilderToolBase tool_type
tool_store::const_iterator tool_iterator
std::vector< std::string > m_toolNames
std::vector< tool_type * > tool_store
virtual StatusCode initialize() override
inherited from Algorithm
SG::ReadHandleKey< CaloClusterContainer > m_clusterKey
std::vector< CaloCell_ID::SUBCALO > m_caloIndices
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
CaloTopoTowerAlgorithm(const std::string &name, ISvcLocator *pService)
Algorithm constructor.
virtual StatusCode execute(const EventContext &ctx) const override
ToolHandleArray< ICaloTopoTowerBuilderToolBase > m_ptools
SG::ReadHandleKey< CaloCell2ClusterMap > m_cellToClusterMapKey
std::vector< std::string > m_includedCalos
SG::WriteHandleKey< CaloTopoTowerContainer > m_newTowerContainerKey
virtual ~CaloTopoTowerAlgorithm()
virtual StatusCode finalize() override
CaloTopoTowerBuilderToolBase is abstract base class for tower builders.
Storable container class for CaloTower.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.