|
ATLAS Offline Software
|
Go to the documentation of this file.
34 return StatusCode::SUCCESS;
41 if (!tracks.isValid()) {
43 return StatusCode::FAILURE;
50 std::vector<SelDecorator> selDecors;
52 selDecors.emplace_back(
key, ctx);
61 if (!selDecors.empty() && std::find_if(selDecors.begin(), selDecors.end(), [trk](
const SelDecorator& dec){
63 }) == selDecors.end())
continue;
68 return StatusCode::FAILURE;
70 neflowCone40_dec(*trk) = resultCalo.
etcones[0];
71 neflowCone30_dec(*trk) = resultCalo.
etcones[1];
72 neflowCone20_dec(*trk) = resultCalo.
etcones[2];
74 return StatusCode::SUCCESS;
Gaudi::Property< std::vector< std::string > > m_trkSel_Decors
Optional list of decorators to select only the good tracks for the isolation decoration.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_neflowCone30_key
An algorithm that can be simultaneously executed in multiple threads.
PflowIsolationDecorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::vector< xAOD::Iso::IsolationType > m_pflow_isos
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_neflowCone20_key
SG::ReadDecorHandleKeyArray< xAOD::TrackParticleContainer > m_trkSel_keys
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_neflowCone40_key
Handle class for reading a decoration on an object.
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
std::vector< float > etcones
@ coreCone
core energy (in dR<0.1).
ToolHandle< xAOD::INeutralEFlowIsolationTool > m_isoTool
Athena configured tools.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trk_key
track collection to decorate
Gaudi::Property< float > m_pt_min
pt threshold to apply
StatusCode initialize() override
Athena algorithm's Hooks.
Class describing a TrackParticle.
Handle class for reading from StoreGate.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< std::string > m_customName
xAOD::CaloCorrection m_calo_corr
Iso::IsolationCaloCorrectionBitset calobitset
@ pileupCorrection
fully corrected