ATLAS Offline Software
Loading...
Searching...
No Matches
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
24namespace 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:
38
39 ToolHandle<LVL1::IL1CaloxAODOfflineTriggerTowerTools> m_ttTools;
40
41 SG::WriteDecorHandleKey<xAOD::TriggerTowerContainer> m_caloCellEnergyKey {this, "caloCellEnergyKey", m_triggerTowerContainerKey, "", "Offline Calo Cell Energy of the Tower in GeV"};
42 SG::WriteDecorHandleKey<xAOD::TriggerTowerContainer> m_caloCellETKey {this, "caloCellETKey", m_triggerTowerContainerKey, "", "Offline Calo Cell Et of the Tower in GeV"};
43
44 SG::WriteDecorHandleKey<xAOD::TriggerTowerContainer> m_caloCellsQualityKey {this, "caloCellsQualityKey", m_triggerTowerContainerKey, "CaloCellQuality", "Offline Calo Cell Quality of the Tower"};
45 SG::WriteDecorHandleKey<xAOD::TriggerTowerContainer> m_caloCellEnergyByLayerKey{this, "caloCellEnergyByLayerKey", m_triggerTowerContainerKey, "CaloCellEnergyByLayer", "Offline Calo Cell Energy by layer in GeV"};
46 SG::WriteDecorHandleKey<xAOD::TriggerTowerContainer> m_caloCellETByLayerKey{this, "caloCellETByLayerKey", m_triggerTowerContainerKey, "CaloCellETByLayer", "Offline Calo Cell Et by layer in GeV"};
47
48 SG::WriteDecorHandleKey<xAOD::TriggerTowerContainer> m_caloCellEnergyByLayerByReceiverKey {this, "caloCellEnergyByLayerByReceiverKey", m_triggerTowerContainerKey, "", "Offline Calo Cell Energy by layer by receiver key"};
49 SG::WriteDecorHandleKey<xAOD::TriggerTowerContainer> m_caloCellETByLayerByReceiverKey {this, "caloCellETByLayerByReceiverKey", m_triggerTowerContainerKey, "", "Offline Calo Cell Et by layer by receiver key"};
50
51};
52}
53#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::TriggerTowerContainer > m_caloCellETByLayerKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellEnergyKey
ToolHandle< LVL1::IL1CaloxAODOfflineTriggerTowerTools > m_ttTools
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellsQualityKey
virtual StatusCode initialize() override
Function initialising the algorithm.
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerContainerKey
L1CaloTriggerTowerDecoratorAlg(const std::string &name, ISvcLocator *svcLoc)
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellEnergyByLayerByReceiverKey
virtual StatusCode execute() override
Function executing the algorithm.
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellETKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellETByLayerByReceiverKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellEnergyByLayerKey
static const std::string xAODTriggerTowerLocation
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...