|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef IDTRACKCALODEPOSITSDECORATORALG_H_
5 #define IDTRACKCALODEPOSITSDECORATORALG_H_
34 ToolHandle<ITrackDepositInCaloTool>
m_trkDepositInCalo{
this,
"TrackDepositInCaloTool",
"TrackDepositInCaloTool/TrackDepositInCaloTool"};
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.
SG::ReadHandleKey< xAOD::IParticleContainer > m_partKey
Particle container to decorate the Pivot plane coordinates to.
SG::ReadDecorHandleKeyArray< xAOD::IParticleContainer > m_trkSelKeys
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_elossKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_typeKey
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
StatusCode initialize() override
IDTrackCaloDepositsDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Gaudi::Property< float > m_ptMin
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual ~IDTrackCaloDepositsDecoratorAlg()=default
Gaudi::Property< std::vector< std::string > > m_trkSelDecors
Optional list of decorators to select only the good tracks for the isolation decoration.
StatusCode execute(const EventContext &ctx) const override
ToolHandle< ITrackDepositInCaloTool > m_trkDepositInCalo
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_depositKey