ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTowerAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CALOREC_CALOTOWERALGORITHM_H
6#define CALOREC_CALOTOWERALGORITHM_H
21
22#include "GaudiKernel/ToolHandle.h"
23
26
27#include <string>
28#include <vector>
29#include <map>
30
31class IChronoStatSvc;
34
36 public:
37
39 typedef std::vector<tool_type*> tool_store;
40 typedef tool_store::const_iterator tool_iterator;
41
43 CaloTowerAlgorithm(const std::string& name, ISvcLocator* pService);
44
46
48 virtual StatusCode initialize() override;
49 virtual StatusCode execute (const EventContext& ctx) const override;
50 virtual StatusCode finalize() override;
51
52 protected:
53
55 // Properties //
57
58 // ChronoStatSvc
61
62 // tower grid specs
63 unsigned int m_nEtaTowers;
64 unsigned int m_nPhiTowers;
66
67 // link output container
69
70 // tool collection
71 std::vector<std::string> m_toolNames;
72 ToolHandleArray<ICaloTowerBuilderToolBase> m_ptools;
73 // output tower container name
75
77 // Stores and Services //
79
80 // list of tools
82
83};
84#endif
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< CaloTowerContainer > m_towerContainerKey
tool_store::const_iterator tool_iterator
ServiceHandle< IChronoStatSvc > m_chrono
virtual StatusCode finalize() override
std::vector< tool_type * > tool_store
std::vector< std::string > m_toolNames
virtual ~CaloTowerAlgorithm()
virtual StatusCode initialize() override
inherited from Algorithm
CaloTowerBuilderToolBase tool_type
ToolHandleArray< ICaloTowerBuilderToolBase > m_ptools
virtual StatusCode execute(const EventContext &ctx) const override
CaloTowerAlgorithm(const std::string &name, ISvcLocator *pService)
Algorithm constructor.
Storable container class for CaloTower.
Property holding a SG store/key/clid from which a WriteHandle is made.