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 
40  std::string m_caloCellEnergy;
41  std::string m_caloCellET;
43  std::string m_caloCellETByLayer;
44  std::string m_caloCellsQuality;
47 
48  ToolHandle<LVL1::IL1CaloxAODOfflineTriggerTowerTools> m_ttTools;
49 
50  // The following are set automatically based on input and the string
51  // properties
53  m_caloCellEnergyKey{ this, "caloCellEnergyKey_doNoSet", "", "" };
55  m_caloCellETKey{ this, "caloCellETKey_doNoSet", "", "" };
57  m_caloCellsQualityKey{ this, "caloCellsQualityKey_doNoSet", "", "" };
59  this,
60  "caloCellEnergyByLayerKey_doNoSet",
61  "",
62  ""
63  };
65  m_caloCellETByLayerKey{ this, "caloCellETByLayerKey_doNoSet", "", "" };
68  this,
69  "caloCellEnergyByLayerByReceiverKey_doNoSet",
70  "",
71  ""
72  };
75  "caloCellETByLayerByReceiverKey_doNotSet",
76  "",
77  "" };
78 };
79 }
80 #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:67
LVL1::L1CaloTriggerTowerDecoratorAlg::m_ttTools
ToolHandle< LVL1::IL1CaloxAODOfflineTriggerTowerTools > m_ttTools
Definition: L1CaloTriggerTowerDecoratorAlg.h:48
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellET
std::string m_caloCellET
Definition: L1CaloTriggerTowerDecoratorAlg.h:41
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellETByLayer
std::string m_caloCellETByLayer
Definition: L1CaloTriggerTowerDecoratorAlg.h:43
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellETByLayerByReceiverKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellETByLayerByReceiverKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:74
TriggerTowerContainer.h
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellETByLayerByReceiver
std::string m_caloCellETByLayerByReceiver
Definition: L1CaloTriggerTowerDecoratorAlg.h:46
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:58
AthAlgorithm.h
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellsQuality
std::string m_caloCellsQuality
Definition: L1CaloTriggerTowerDecoratorAlg.h:44
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellEnergyKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellEnergyKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:53
IL1CaloxAODOfflineTriggerTowerTools.h
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellEnergyByLayer
std::string m_caloCellEnergyByLayer
Definition: L1CaloTriggerTowerDecoratorAlg.h:42
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:52
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:55
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellETByLayerKey
SG::WriteDecorHandleKey< xAOD::TriggerTowerContainer > m_caloCellETByLayerKey
Definition: L1CaloTriggerTowerDecoratorAlg.h:65
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:57
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellEnergyByLayerByReceiver
std::string m_caloCellEnergyByLayerByReceiver
Definition: L1CaloTriggerTowerDecoratorAlg.h:45
LVL1::L1CaloTriggerTowerDecoratorAlg::m_caloCellEnergy
std::string m_caloCellEnergy
Decoration strings (leave empty to disable the decoration)
Definition: L1CaloTriggerTowerDecoratorAlg.h:40
ToolHandle.h
LVL1::L1CaloTriggerTowerDecoratorAlg::execute
virtual StatusCode execute() override
Function executing the algorithm.
Definition: L1CaloTriggerTowerDecoratorAlg.cxx:97