ATLAS Offline Software
Loading...
Searching...
No Matches
GepEratioAlg.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4
5#ifndef TRIGGEPPERF_GEPERATIOALG_H
6#define TRIGGEPPERF_GEPERATIOALG_H
7
14
15namespace Gep {
16
17template <typename T>
19public:
20 GepEratioAlg(const std::string& name, ISvcLocator* pSvcLocator);
21
22 virtual StatusCode initialize() override;
23 virtual StatusCode execute(const EventContext& ctx) const override;
24
25private:
26 SG::ReadHandleKey<DataVector<T>> m_seedsKey{this, "SeedsKey", "L1_eEMRoI", "Input eFex seeds"};
27 SG::ReadHandleKey<Gep::GepCellMap> m_gepCellsKey{this, "gepCellMapKey", "GepCells", "Input calo cells map"};
28
30 this, "OutputEratioDecorKey", "Eratio", "Output variable decorated with Eratio result"};
31};
32
33}
34
35#include "GepEratioAlg.ixx"
36
37
38
39class GepEMEratioAlg: public Gep::GepEratioAlg<xAOD::eFexEMRoI>
40{
41public:
42 GepEMEratioAlg(const std::string& name, ISvcLocator* pSvcLocator) : Gep::GepEratioAlg<xAOD::eFexEMRoI>(name, pSvcLocator) {}
43};
44
45class GepTauEratioAlg: public Gep::GepEratioAlg<xAOD::eFexTauRoI>
46{
47public:
48 GepTauEratioAlg(const std::string& name, ISvcLocator* pSvcLocator) : Gep::GepEratioAlg<xAOD::eFexTauRoI>(name, pSvcLocator) {}
49};
50
51#endif
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.
An algorithm that can be simultaneously executed in multiple threads.
GepEMEratioAlg(const std::string &name, ISvcLocator *pSvcLocator)
GepTauEratioAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
GepEratioAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< DataVector< T > > m_seedsKey
SG::ReadHandleKey< Gep::GepCellMap > m_gepCellsKey
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteDecorHandleKey< DataVector< T > > m_eratioKey
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.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.