ATLAS Offline Software
Loading...
Searching...
No Matches
eFexTOBDecorator.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// eFexTOBDecorator - description:
7// This algorithm decorates the eFEX TOBs with the recalculated isolation variables
8// -------------------
9// begin : 13 02 2023
10// email : paul.daniel.thompson@cern.ch
11//***************************************************************************/
12
13#ifndef EFEXTOBDECORATORTOOL_H
14#define EFEXTOBDECORATORTOOL_H
15
17#include "AsgTools/ToolHandle.h"
20
21
25
26namespace LVL1 {
27
29 public:
30 eFexTOBDecorator(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 for the EM RoI decorations
43 SG::WriteDecorHandleKey<xAOD::eFexEMRoIContainer> m_RetaCoreDec { this, "RetaCoreDecDecorKey" , m_eFEXegEDMContainerKey,"RetaCoreDec" , "Recalculated EM RetaCore" };
44 SG::WriteDecorHandleKey<xAOD::eFexEMRoIContainer> m_RetaEnvDec { this, "RetaEnvDecDecorKey" , m_eFEXegEDMContainerKey,"RetaEnvDec" , "Recalculated EM RetaEnv" };
45 SG::WriteDecorHandleKey<xAOD::eFexEMRoIContainer> m_RhadEMDec { this, "RetaEMDecDecorKey" , m_eFEXegEDMContainerKey,"RhadEMDec" , "Recalculated EM RetaEM" };
46 SG::WriteDecorHandleKey<xAOD::eFexEMRoIContainer> m_RhadHadDec { this, "RhadHadDecDecorKey" , m_eFEXegEDMContainerKey,"RhadHadDec" , "Recalculated EM RhadHad" };
47 SG::WriteDecorHandleKey<xAOD::eFexEMRoIContainer> m_WstotDenDec { this, "WstotDenDecDecorKey" , m_eFEXegEDMContainerKey,"WstotDenDec" , "Recalculated EM WstotDen" };
48 SG::WriteDecorHandleKey<xAOD::eFexEMRoIContainer> m_WstotNumDec { this, "WstotNumDecDecorKey" , m_eFEXegEDMContainerKey,"WstotNumDec" , "Recalculated EM WstotNum" };
49
50 SG::WriteDecorHandleKey<xAOD::eFexEMRoIContainer> m_ClusterSCellEtSumsDec { this, "ClusterSCellEtSumsDecorKey" , m_eFEXegEDMContainerKey,"ClusterSCellEtSums", "name of the decoration key for SCell Ets of the cluster"};
51
52 // WriteDecor handles for the Tau RoI decorations
53 SG::WriteDecorHandleKey<xAOD::eFexTauRoIContainer> m_RCoreDec { this, "RCoreDecorKey" ,m_eFEXtauEDMContainerKey,"RCoreDec" , "Recalculated Tau RCore" };
54 SG::WriteDecorHandleKey<xAOD::eFexTauRoIContainer> m_REnvDec { this, "REnvDecorKey" , m_eFEXtauEDMContainerKey,"REnvDec" , "Recalculated Tau REnv" };
55 SG::WriteDecorHandleKey<xAOD::eFexTauRoIContainer> m_REMCoreDec { this, "REMCoreDecorKey" , m_eFEXtauEDMContainerKey,"REMCoreDec" , "Recalculated Tau REMCore" };
56 SG::WriteDecorHandleKey<xAOD::eFexTauRoIContainer> m_REMHadDec { this, "REMHadDecorKey" , m_eFEXtauEDMContainerKey,"REMHadDec" , "Recalculated Tau REMHad" };
57
58 ToolHandle<eFEXTOBEtTool> m_eFEXTOBEtTool {this, "eFEXTOBEtTool", "LVL1::eFEXTOBEtTool", "Tool for reconstructing TOB ET sums"};
59 };
60}
61#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:
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_ClusterSCellEtSumsDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_WstotDenDec
ToolHandle< eFEXTOBEtTool > m_eFEXTOBEtTool
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_REMHadDec
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eFEXtauEDMContainerKey
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFEXegEDMContainerKey
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_RhadHadDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_WstotNumDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_RetaCoreDec
virtual StatusCode execute()
virtual StatusCode initialize()
eFexTOBDecorator(const std::string &name, ISvcLocator *svc)
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_REnvDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_RetaEnvDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_RhadEMDec
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_REMCoreDec
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_RCoreDec
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...