4#ifndef IDTRACKCALODEPOSITSDECORATORALG_H_
5#define IDTRACKCALODEPOSITSDECORATORALG_H_
30 StatusCode
execute(
const EventContext& ctx)
const override;
34 ToolHandle<ITrackDepositInCaloTool>
m_trkDepositInCalo{
this,
"TrackDepositInCaloTool",
"TrackDepositInCaloTool/TrackDepositInCaloTool"};
39 Gaudi::Property<float>
m_ptMin{
this,
"PtMin", 2.5 * Gaudi::Units::GeV,
40 "Minimal track pt required to decorate the ID track"};
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"};
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."};
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.
virtual ~IDTrackCaloDepositsDecoratorAlg()=default
ToolHandle< ITrackDepositInCaloTool > m_trkDepositInCalo
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
StatusCode initialize() override
SG::ReadDecorHandleKeyArray< xAOD::IParticleContainer > m_trkSelKeys
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_depositKey
Gaudi::Property< float > m_ptMin
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