ATLAS Offline Software
Loading...
Searching...
No Matches
eFexTOBSuperCellDecorator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5//***************************************************************************
6// eFexTOBSuperCellDecorator - description:
7// This algorithm decorates the eFEX TOBs with the SuperCells Energies - suitable info for ML
8// -------------------
9// begin : 26 09 2023
10// email : panagiotis.bellos@cern.ch
11//***************************************************************************/
12
13#ifndef EFEXTOBMLDECORATORTOOL_H
14#define EFEXTOBMLDECORATORTOOL_H
15
17#include "AsgTools/ToolHandle.h"
20
21
25
26namespace LVL1 {
27
29 public:
30 eFexTOBSuperCellDecorator(const std::string& name, ISvcLocator* svc);
31
32 // Function initialising the algorithm
33 virtual StatusCode initialize();
34 // Function executing the algorithm
35 virtual StatusCode execute();
36
37 private:
38 // Readhandles for eFEX TOBs
39 SG::ReadHandleKey<xAOD::eFexEMRoIContainer> m_eFEXegEDMContainerKey{this,"eFexEMRoIContainer","L1_eEMRoI","SG key of the input eFex RoI container"};
40 SG::ReadHandleKey<xAOD::eFexTauRoIContainer> m_eFEXtauEDMContainerKey{this,"eFexTauRoIContainer","L1_eTauRoI","SG key of the input eFex Tau RoI container"};
41
42 // WriteDecor handles
43 SG::WriteDecorHandleKey<xAOD::eFexEMRoIContainer> m_SCEtVec_ele { this, "EMDecorKey" , m_eFEXegEDMContainerKey, "SuperCells", "name of the decoration key for eFexEMRoI"};
44 SG::WriteDecorHandleKey<xAOD::eFexTauRoIContainer> m_SCEtVec_tau { this, "TauDecorKey" , m_eFEXtauEDMContainerKey, "SuperCells", "name of the decoration key for eFexTauRoI"};
45
46
47 ToolHandle<eFEXTOBEtTool> m_eFEXTOBEtTool {this, "eFEXTOBEtTool", "LVL1::eFEXTOBEtTool", "Tool for reconstructing TOB ET s"};
48 };
49}
50#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Handle class for adding a decoration to an object.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ToolHandle< eFEXTOBEtTool > m_eFEXTOBEtTool
eFexTOBSuperCellDecorator(const std::string &name, ISvcLocator *svc)
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eFEXtauEDMContainerKey
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFEXegEDMContainerKey
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_SCEtVec_ele
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_SCEtVec_tau
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...