ATLAS Offline Software
Loading...
Searching...
No Matches
LArFCalTowerBuilderToolTestAlg.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
12
13
14#ifndef LARRECUTILS_LARFCALTOWERBUILDERTOOLTESTALG_H
15#define LARRECUTILS_LARFCALTOWERBUILDERTOOLTESTALG_H
16
17
18
22#include "GaudiKernel/ToolHandle.h"
25#include <vector>
29
30
32 : public AthAlgorithm
33{
34public:
38 LArFCalTowerBuilderToolTestAlg (const std::string& name,
39 ISvcLocator* pSvcLocator);
40
41
45 virtual StatusCode initialize() override;
46
47
51 virtual StatusCode execute() override;
52
53
54private:
56 StatusCode test_subseg (const EventContext& ctx,
57 const CaloTowerSeg::SubSeg& subseg,
58 const CaloCellContainer* cells,
59 const CaloTowerContainer* tow0);
60 StatusCode test1();
61
62 ToolHandle<ICaloTowerBuilderToolBase> m_builder;
63 std::vector<CaloCell_ID::SUBCALO> m_calos;
65 uint32_t m_seed;
67 , "CaloDetDescrManager"
68 , "CaloDetDescrManager"
69 , "SG Key for CaloDetDescrManager in the Condition Store" };
70};
71
72
73
74
75#endif // not LARRECUTILS_LARFCALTOWERBUILDERTOOLTESTALG_H
Definition of CaloDetDescrManager.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Container class for CaloCell.
Storable container class for CaloTower.
A rectangular window within the segmentation.
Data object stores CaloTower segmentation.
ToolHandle< ICaloTowerBuilderToolBase > m_builder
StatusCode test_subseg(const EventContext &ctx, const CaloTowerSeg::SubSeg &subseg, const CaloCellContainer *cells, const CaloTowerContainer *tow0)
std::vector< CaloCell_ID::SUBCALO > m_calos
virtual StatusCode initialize() override
Standard Gaudi initialize method.
virtual StatusCode execute() override
Standard Gaudi execute method.
LArFCalTowerBuilderToolTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey