ATLAS Offline Software
L1CaloTriggerTowerDecoratorAlg.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef TRIGGER_TRIGT1_TRIGT1CALOXAODCALIBTOOLS_DECORATETRIGGERTOWERSALG_H
8 #define TRIGGER_TRIGT1_TRIGT1CALOXAODCALIBTOOLS_DECORATETRIGGERTOWERSALG_H
9 
10 // Gaudi/Athena include(s):
13 #include "AsgTools/ToolHandle.h"
14 
17 
18 // Local include(s):
21 
22 #include <memory>
23 
24 namespace LVL1 {
26  public:
27  L1CaloTriggerTowerDecoratorAlg(const std::string& name, ISvcLocator* svcLoc);
28 
30  virtual StatusCode initialize() override;
32  virtual StatusCode execute() override;
33 
34  private:
36  { this, "sgKey_TriggerTowers", LVL1::TrigT1CaloDefs::xAODTriggerTowerLocation, "" };
37  std::string m_sgKey_TriggerTowers;
38 
39  ToolHandle<LVL1::IL1CaloxAODOfflineTriggerTowerTools> m_ttTools;
40 
43 
45  SG::WriteDecorHandleKey<xAOD::TriggerTowerContainer> m_caloCellEnergyByLayerKey{this, "caloCellEnergyByLayerKey", m_triggerTowerContainerKey.key()+".CaloCellEnergyByLayer",""};
46  SG::WriteDecorHandleKey<xAOD::TriggerTowerContainer> m_caloCellETByLayerKey{ this, "caloCellETByLayerKey", m_triggerTowerContainerKey.key()+".CaloCellETByLayer", "" };
47 
50 };
51 }
52 #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::L1CaloTriggerTowerDecoratorAlg::m_caloCellEnergyByLayerByReceiverKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellEnergyByLayerByReceiverKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:48
LVL1::L1CaloTriggerTowerDecoratorAlg::m_ttTools
ToolHandle< LVL1::IL1CaloxAODOfflineTriggerTowerTools > m_ttTools
Definition: L1CaloTriggerTowerDecoratorAlg.h:39
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellETByLayerByReceiverKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellETByLayerByReceiverKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:49
TriggerTowerContainer.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
LVL1::L1CaloTriggerTowerDecoratorAlg::m_triggerTowerContainerKey
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerContainerKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:36
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellEnergyByLayerKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellEnergyByLayerKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:45
AthAlgorithm.h
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellEnergyKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellEnergyKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:41
IL1CaloxAODOfflineTriggerTowerTools.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::L1CaloTriggerTowerDecoratorAlg
Definition: L1CaloTriggerTowerDecoratorAlg.h:25
WriteDecorHandle.h
Handle class for adding a decoration to an object.
LVL1::L1CaloTriggerTowerDecoratorAlg::m_sgKey_TriggerTowers
std::string m_sgKey_TriggerTowers
Definition: L1CaloTriggerTowerDecoratorAlg.h:37
LVL1::L1CaloTriggerTowerDecoratorAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition: L1CaloTriggerTowerDecoratorAlg.cxx:26
LVL1::L1CaloTriggerTowerDecoratorAlg::L1CaloTriggerTowerDecoratorAlg
L1CaloTriggerTowerDecoratorAlg(const std::string &name, ISvcLocator *svcLoc)
Definition: L1CaloTriggerTowerDecoratorAlg.cxx:18
AthAlgorithm
Definition: AthAlgorithm.h:47
TrigConf::name
Definition: HLTChainList.h:35
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellETKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellETKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:42
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellETByLayerKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellETByLayerKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:46
LVL1::TrigT1CaloDefs::xAODTriggerTowerLocation
static const std::string xAODTriggerTowerLocation
Definition: TrigT1CaloDefs.h:36
TrigT1CaloDefs.h
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellsQualityKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellsQualityKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:44
ToolHandle.h
LVL1::L1CaloTriggerTowerDecoratorAlg::execute
virtual StatusCode execute() override
Function executing the algorithm.
Definition: L1CaloTriggerTowerDecoratorAlg.cxx:63