ATLAS Offline Software
Loading...
Searching...
No Matches
PflowIsolationDecorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef DERIVATIONFRAMEWORKMUONS_PFLOWISOLATIONDECORALG_H
5#define DERIVATIONFRAMEWORKMUONS_PFLOWISOLATIONDECORALG_H
6
14
16
17namespace DerivationFramework {
19 public:
21 PflowIsolationDecorAlg(const std::string& name, ISvcLocator* pSvcLocator);
22
25
27 StatusCode initialize() override;
28 StatusCode execute(const EventContext& ctx) const override;
29
30 private:
32 ToolHandle<xAOD::INeutralEFlowIsolationTool> m_isoTool{this, "IsolationTool", ""};
34
36 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_trk_key{this, "TrackCollection", "InDetTrackParticles"};
37
39 Gaudi::Property<float> m_pt_min{this, "PtMin", 3. * Gaudi::Units::GeV};
40
41 Gaudi::Property<std::string> m_customName{this, "customName", ""};
42
45 Gaudi::Property<std::vector<std::string>> m_trkSel_Decors{this, "TrackSelections", {},
46 "List of decorator names of which one needs to be true to run the isolation" };
48 "Will be overwritten in initialize"};
49
51 "Will be overwritten in initialize"};
53 "Will be overwritten in initialize"};
55 "Will be overwritten in initialize"};
56
58 };
59}
60#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.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_neflowCone30_key
Gaudi::Property< float > m_pt_min
pt threshold to apply
std::vector< xAOD::Iso::IsolationType > m_pflow_isos
PflowIsolationDecorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ToolHandle< xAOD::INeutralEFlowIsolationTool > m_isoTool
Athena configured tools.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_neflowCone40_key
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trk_key
track collection to decorate
SG::ReadDecorHandleKeyArray< xAOD::TrackParticleContainer > m_trkSel_keys
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_neflowCone20_key
StatusCode initialize() override
Athena algorithm's Hooks.
Gaudi::Property< std::vector< std::string > > m_trkSel_Decors
Optional list of decorators to select only the good tracks for the isolation decoration.
StatusCode execute(const EventContext &ctx) const override
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.
THE reconstruction tool.
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray
@ neflowisol20
Neutral eflow isolation.