Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
26 namespace 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<IeFEXTOBEtTool> m_eFEXTOBEtTool {this, "eFEXTOBEtTool", "LVL1::eFEXTOBEtTool", "Tool for reconstructing TOB ET sums"};
59  };
60 }
61 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
LVL1::eFexTOBDecorator::m_RhadHadDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_RhadHadDec
Definition: eFexTOBDecorator.h:46
LVL1::eFexTOBDecorator::m_RetaEnvDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_RetaEnvDec
Definition: eFexTOBDecorator.h:44
LVL1::eFexTOBDecorator::eFexTOBDecorator
eFexTOBDecorator(const std::string &name, ISvcLocator *svc)
Definition: eFexTOBDecorator.cxx:21
eFexTauRoIContainer.h
LVL1::eFexTOBDecorator::m_RCoreDec
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_RCoreDec
Definition: eFexTOBDecorator.h:53
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
LVL1::eFexTOBDecorator::execute
virtual StatusCode execute()
Definition: eFexTOBDecorator.cxx:50
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::eFexTOBDecorator::m_WstotNumDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_WstotNumDec
Definition: eFexTOBDecorator.h:48
AthAlgorithm.h
LVL1::eFexTOBDecorator::m_RetaCoreDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_RetaCoreDec
Definition: eFexTOBDecorator.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
WriteDecorHandle.h
Handle class for adding a decoration to an object.
LVL1::eFexTOBDecorator::m_eFEXegEDMContainerKey
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFEXegEDMContainerKey
Definition: eFexTOBDecorator.h:39
LVL1::eFexTOBDecorator::m_REnvDec
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_REnvDec
Definition: eFexTOBDecorator.h:54
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
LVL1::eFexTOBDecorator
Definition: eFexTOBDecorator.h:28
AthAlgorithm
Definition: AthAlgorithm.h:47
TrigConf::name
Definition: HLTChainList.h:35
LVL1::eFexTOBDecorator::m_REMCoreDec
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_REMCoreDec
Definition: eFexTOBDecorator.h:55
LVL1::eFexTOBDecorator::initialize
virtual StatusCode initialize()
Definition: eFexTOBDecorator.cxx:23
LVL1::eFexTOBDecorator::m_REMHadDec
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_REMHadDec
Definition: eFexTOBDecorator.h:56
LVL1::eFexTOBDecorator::m_eFEXTOBEtTool
ToolHandle< IeFEXTOBEtTool > m_eFEXTOBEtTool
Definition: eFexTOBDecorator.h:58
LVL1::eFexTOBDecorator::m_ClusterSCellEtSumsDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_ClusterSCellEtSumsDec
Definition: eFexTOBDecorator.h:50
IeFEXTOBEtTool.h
LVL1::eFexTOBDecorator::m_RhadEMDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_RhadEMDec
Definition: eFexTOBDecorator.h:45
ToolHandle.h
LVL1::eFexTOBDecorator::m_eFEXtauEDMContainerKey
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eFEXtauEDMContainerKey
Definition: eFexTOBDecorator.h:40
LVL1::eFexTOBDecorator::m_WstotDenDec
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_WstotDenDec
Definition: eFexTOBDecorator.h:47
eFexEMRoIContainer.h