ATLAS Offline Software
Loading...
Searching...
No Matches
IDTrackCaloDepositsDecoratorAlg.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 IDTRACKCALODEPOSITSDECORATORALG_H_
5#define IDTRACKCALODEPOSITSDECORATORALG_H_
6
20
21namespace DerivationFramework {
22
24public:
25 IDTrackCaloDepositsDecoratorAlg(const std::string& name, ISvcLocator* pSvcLocator);
26
28 StatusCode initialize() override;
29
30 StatusCode execute(const EventContext& ctx) const override;
31
32private:
33
34 ToolHandle<ITrackDepositInCaloTool> m_trkDepositInCalo{this, "TrackDepositInCaloTool", "TrackDepositInCaloTool/TrackDepositInCaloTool"};
35
37 SG::ReadHandleKey<xAOD::IParticleContainer> m_partKey{this, "ContainerKey", "RandomParticle"};
38
39 Gaudi::Property<float> m_ptMin{this, "PtMin", 2.5 * Gaudi::Units::GeV,
40 "Minimal track pt required to decorate the ID track"};
41
44 Gaudi::Property<std::vector<std::string>> m_trkSelDecors{this, "TrackSelections", {},
45 "List of decorator names of which one needs to be true to run the isolation" };
47 "Will be overwritten in initialize"};
48
50 "Name of the decorator to store all the energy deposits in the calorimeter"};
52 "Name of the decorator to store the energy loss from EMB1."};
54 "Name of the decorator to store the energy deposit from EMB2."};
55};
56
57}
58
59#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::IParticleContainer > m_typeKey
IDTrackCaloDepositsDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::IParticleContainer > m_partKey
Particle container to decorate the Pivot plane coordinates to.
StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< std::vector< std::string > > m_trkSelDecors
Optional list of decorators to select only the good tracks for the isolation decoration.
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_elossKey
SG::ReadDecorHandleKeyArray< xAOD::IParticleContainer > m_trkSelKeys
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_depositKey
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