ATLAS Offline Software
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 
26 namespace 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<IeFEXTOBEtTool> m_eFEXTOBEtTool {this, "eFEXTOBEtTool", "LVL1::eFEXTOBEtTool", "Tool for reconstructing TOB ET s"};
48  };
49 }
50 #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::eFexTOBSuperCellDecorator::m_eFEXTOBEtTool
ToolHandle< IeFEXTOBEtTool > m_eFEXTOBEtTool
Definition: eFexTOBSuperCellDecorator.h:47
eFexTauRoIContainer.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::eFexTOBSuperCellDecorator::m_eFEXegEDMContainerKey
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFEXegEDMContainerKey
Definition: eFexTOBSuperCellDecorator.h:39
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::eFexTOBSuperCellDecorator::execute
virtual StatusCode execute()
Definition: eFexTOBSuperCellDecorator.cxx:37
WriteDecorHandle.h
Handle class for adding a decoration to an object.
LVL1::eFexTOBSuperCellDecorator::initialize
virtual StatusCode initialize()
Definition: eFexTOBSuperCellDecorator.cxx:21
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
AthAlgorithm
Definition: AthAlgorithm.h:47
TrigConf::name
Definition: HLTChainList.h:35
LVL1::eFexTOBSuperCellDecorator
Definition: eFexTOBSuperCellDecorator.h:28
LVL1::eFexTOBSuperCellDecorator::eFexTOBSuperCellDecorator
eFexTOBSuperCellDecorator(const std::string &name, ISvcLocator *svc)
Definition: eFexTOBSuperCellDecorator.cxx:19
LVL1::eFexTOBSuperCellDecorator::m_eFEXtauEDMContainerKey
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eFEXtauEDMContainerKey
Definition: eFexTOBSuperCellDecorator.h:40
LVL1::eFexTOBSuperCellDecorator::m_SCEtVec_ele
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_SCEtVec_ele
Definition: eFexTOBSuperCellDecorator.h:43
IeFEXTOBEtTool.h
ToolHandle.h
LVL1::eFexTOBSuperCellDecorator::m_SCEtVec_tau
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_SCEtVec_tau
Definition: eFexTOBSuperCellDecorator.h:44
eFexEMRoIContainer.h