ATLAS Offline Software
GTowerRhoSubtractionAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOFEXPERF_GTOWERRHOSUBTRACTIONALG_H
6 #define TRIGT1CALOFEXPERF_GTOWERRHOSUBTRACTIONALG_H
7 
13 
14 namespace LVL1
15 {
17  {
18  public:
19  GTowerRhoSubtractionAlg(const std::string &name, ISvcLocator *pSvcLocator);
20  virtual ~GTowerRhoSubtractionAlg() override;
21 
22  virtual StatusCode initialize() override;
23  virtual StatusCode execute(const EventContext& ctx) const override;
24 
25  private:
30  float m_maxTowerEt;
32 
33  float calculateRho(const std::vector<const xAOD::JGTower *> &towers) const;
34  }; //> end class GTowerRhoSubtractionAlg
35 } // namespace LVL1
36 
37 #endif //> !TRIGT1CALOFEXPERF_JTOWERRHOSUBTRACTIONALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LVL1::GTowerRhoSubtractionAlg::m_forcePosRho
bool m_forcePosRho
Definition: GTowerRhoSubtractionAlg.h:31
LVL1::GTowerRhoSubtractionAlg::~GTowerRhoSubtractionAlg
virtual ~GTowerRhoSubtractionAlg() override
Definition: GTowerRhoSubtractionAlg.cxx:37
LVL1::GTowerRhoSubtractionAlg::m_useNegativeTowers
bool m_useNegativeTowers
Definition: GTowerRhoSubtractionAlg.h:29
LVL1::GTowerRhoSubtractionAlg::m_outputKey
SG::WriteHandleKey< xAOD::JGTowerContainer > m_outputKey
Definition: GTowerRhoSubtractionAlg.h:27
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::GTowerRhoSubtractionAlg
Definition: GTowerRhoSubtractionAlg.h:17
LVL1::GTowerRhoSubtractionAlg::m_maxTowerEt
float m_maxTowerEt
Definition: GTowerRhoSubtractionAlg.h:30
LVL1::GTowerRhoSubtractionAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: GTowerRhoSubtractionAlg.cxx:47
LVL1::GTowerRhoSubtractionAlg::calculateRho
float calculateRho(const std::vector< const xAOD::JGTower * > &towers) const
Definition: GTowerRhoSubtractionAlg.cxx:109
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LVL1::GTowerRhoSubtractionAlg::m_inputKey
SG::ReadHandleKey< xAOD::JGTowerContainer > m_inputKey
Definition: GTowerRhoSubtractionAlg.h:26
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigConf::name
Definition: HLTChainList.h:35
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
LVL1::GTowerRhoSubtractionAlg::m_outputRhoKey
SG::WriteHandleKey< xAOD::EnergySumRoI > m_outputRhoKey
Definition: GTowerRhoSubtractionAlg.h:28
RunTileMonitoring.towers
towers
Definition: RunTileMonitoring.py:133
LVL1::GTowerRhoSubtractionAlg::GTowerRhoSubtractionAlg
GTowerRhoSubtractionAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: GTowerRhoSubtractionAlg.cxx:26
JGTowerContainer.h
LVL1::GTowerRhoSubtractionAlg::initialize
virtual StatusCode initialize() override
Definition: GTowerRhoSubtractionAlg.cxx:39
EnergySumRoI.h