ATLAS Offline Software
Loading...
Searching...
No Matches
L1CaloMatchCell2Tower.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 * Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
4 */
19
20
21#ifndef TRIGT1CALOCALIBTOOLS_L1CALOMATCHCELL2TOWER_H
22#define TRIGT1CALOCALIBTOOLS_L1CALOMATCHCELL2TOWER_H
23
24
30#include "GaudiKernel/ToolHandle.h"
31class CaloIdManager;
32class TileID;
33class CaloLVL1_ID;
35
36
37namespace LVL1 {
38
39
41 : public extends<AthAlgTool, IL1CaloMatchCell2Tower>
42{
43public:
44 using base_class::base_class;
45
46 virtual StatusCode initialize() override;
47
48 virtual void matchCell2Tower (const CaloCell* caloCell,
49 Identifier& ttId1,
50 Identifier& ttId2) const override;
51 virtual void matchCell2Tower (const LArOnOffIdMapping& cabling,
52 const CaloCell* caloCell,
53 Identifier& ttId1,
54 Identifier& ttId2) const override;
55
56
57private:
58 const CaloIdManager* m_caloMgr = nullptr;
59 const TileID* m_tileID = nullptr;
60 const CaloLVL1_ID* m_lvl1Helper = nullptr;
62
63 ToolHandle<CaloTriggerTowerService> m_ttSvc
64 { this, "CaloTriggerTowerService", "CaloTriggerTowerService", "CaloTriggerTowerService" };
65
67 { this, "CablingKey", "LArOnOffIdMap", "SG Key of LArOnOffIdMapping object" };
68};
69
70
71} // namespace LVL1
72
73
74#endif // not TRIGT1CALOCALIBTOOLS_L1CALOMATCHCELL2TOWER_H
Map from calo cells to trigger towers.
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
This class initializes the Calo (LAr and Tile) offline identifiers.
Helper class for offline TT identifiers.
Definition CaloLVL1_ID.h:66
const TileCablingService * m_tileCablingService
ToolHandle< CaloTriggerTowerService > m_ttSvc
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual void matchCell2Tower(const CaloCell *caloCell, Identifier &ttId1, Identifier &ttId2) const override
Helper class for TileCal offline identifiers.
Definition TileID.h:67
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...