ATLAS Offline Software
Loading...
Searching...
No Matches
gSuperCellTowerMapper.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4//***************************************************************************
5// gSuperCellTowerMapper - supercells and Tile tower assignment to gTowers
6// -------------------
7// begin : 01 04 2021
8// email : cecilia.tosciri@cern.ch
9//***************************************************************************
10
11
12#ifndef GSUPERCELLTOWERMAPPER_H
13#define GSUPERCELLTOWERMAPPER_H
14
17
18#include <string>
19
20class CaloIdManager;
21
22namespace LVL1 {
23
24
26{
27 public:
28 gSuperCellTowerMapper(const std::string& type,const std::string& name,const IInterface* parent);
29 virtual ~gSuperCellTowerMapper();
30
32 virtual StatusCode initialize() override;
33
34 virtual StatusCode AssignSuperCellsToTowers(std::unique_ptr<gTowerContainer> & my_gTowerContainerRaw) const override;
35 virtual StatusCode AssignTriggerTowerMapper(std::unique_ptr<gTowerContainer> & my_gTowerContainerRaw) const override;
36
37
38 private:
39
41 SG::ReadHandleKey<xAOD::TriggerTowerContainer> m_triggerTowerCollectionSGKey {this, "xODTriggerTowers", "xAODTriggerTowers", "xAODTriggerTowers"};
42
43 Gaudi::Property<bool> m_apply_masking {this, "SCellMasking", false, "Applies masking. Only use for data"};
44
45 virtual int FindAndConnectTower(std::unique_ptr<gTowerContainer> & my_gTowerContainerRaw,CaloSampling::CaloSample sample,
46 const int region, const int pos_neg, const int eta_index, const int phi_index, Identifier ID,
47 float et, int prov, bool doPrint) const override;
48
49 virtual void ConnectSuperCellToTower(std::unique_ptr<gTowerContainer> & my_gTowerContainerRaw,
50 int iGTower, Identifier ID, float et) const override;
51
52 virtual int FindTowerIDForSuperCell(int towereta, int towerphi, int nphi) const override;
53
54 virtual void PrintCellSpec(const CaloSampling::CaloSample sample, const int region,
55 const int eta_index, const int phi_index, const int pos_neg,
56 int towereta, int towerphi, int nphi, int towerID_Modifier,
57 int iGTower, int prov, Identifier ID) const override;
58};
59
60
61} // end of LVL1 namespace
62#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This class initializes the Calo (LAr and Tile) offline identifiers.
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerCollectionSGKey
virtual void PrintCellSpec(const CaloSampling::CaloSample sample, const int region, const int eta_index, const int phi_index, const int pos_neg, int towereta, int towerphi, int nphi, int towerID_Modifier, int iGTower, int prov, Identifier ID) const override
virtual StatusCode AssignTriggerTowerMapper(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw) const override
Gaudi::Property< bool > m_apply_masking
gSuperCellTowerMapper(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override
standard Athena-Algorithm method
SG::ReadHandleKey< CaloCellContainer > m_scellsCollectionSGKey
virtual void ConnectSuperCellToTower(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw, int iGTower, Identifier ID, float et) const override
virtual int FindAndConnectTower(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw, CaloSampling::CaloSample sample, const int region, const int pos_neg, const int eta_index, const int phi_index, Identifier ID, float et, int prov, bool doPrint) const override
virtual int FindTowerIDForSuperCell(int towereta, int towerphi, int nphi) const override
virtual StatusCode AssignSuperCellsToTowers(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw) const override
Property holding a SG store/key/clid from which a ReadHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Extra patterns decribing particle interation process.