4#ifndef DERIVATIONFRAMEWORKMUONS_CALOISOLATIONDECORALG_H_
5#define DERIVATIONFRAMEWORKMUONS_CALOISOLATIONDECORALG_H_
27 StatusCode
execute(
const EventContext& ctx)
const override;
31 ToolHandle<xAOD::ICaloTopoClusterIsolationTool>
m_isoTool{
this,
"IsolationTool",
""};
38 Gaudi::Property<float>
m_pt_min{
this,
"PtMin", 3. * Gaudi::Units::GeV};
44 Gaudi::Property<std::vector<std::string>>
m_trkSel_Decors{
this,
"TrackSelections", {},
45 "List of decorator names of which one needs to be true to run the isolation" };
47 "Will be overwritten in initialize"};
50 "Will be overwritten in initialize"};
52 "Will be overwritten in initialize"};
54 "Will be overwritten in initialize"};
56 "Will be overwritten in initialize"};
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.
Gaudi::Property< std::vector< std::string > > m_trkSel_Decors
Optional list of decorators to select only the good tracks for the isolation decoration.
Gaudi::Property< float > m_pt_min
pt threshold to apply
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trk_key
track collection to decorate
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_topocone20_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_corr_key
CaloIsolationDecorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
~CaloIsolationDecorAlg()=default
Destructor:
xAOD::CaloCorrection m_calo_corr
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_topocone30_key
Gaudi::Property< std::string > m_customName
SG::ReadDecorHandleKeyArray< xAOD::TrackParticleContainer > m_trkSel_keys
StatusCode initialize() override
Athena algorithm's Hooks.
std::vector< xAOD::Iso::IsolationType > m_calo_isos
ToolHandle< xAOD::ICaloTopoClusterIsolationTool > m_isoTool
Athena configured tools.
StatusCode execute(const EventContext &ctx) const override
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_topocone40_key
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.
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray
@ topoetcone20
Topo-cluster ET-sum.