5#ifndef TRACK_LEPTON_DECORATOR_ALG_HH
6#define TRACK_LEPTON_DECORATOR_ALG_HH
9#include "GaudiKernel/ToolHandle.h"
30 ISvcLocator* pSvcLocator );
33 virtual StatusCode
execute(
const EventContext& )
const override;
38 ToolHandle<IAsgElectronLikelihoodTool>
m_electronID_tool{
this,
"electronSelectionTool",
"",
"Applying preselection on electrons"};
41 ToolHandle<CP::IMuonSelectionTool>
m_muonID_tool{
this,
"muonSelectionTool",
"",
"Applying preselection on muons"};
45 this,
"trackContainer",
"InDetTrackParticles",
46 "Key for the input track collection"};
48 this,
"electronContainer",
"Electrons",
49 "Key for the input electron collection"};
51 this,
"muonContainer",
"Muons",
52 "Key for the input muon collection"};
58 this,
"muon_quality",
m_TrackContainerKey,
"muon_quality",
"Quality of the reconstructed muon: (0=Tight, 1=Medium, 2=Loose, 3=Veryloose, 4=HighPt, 5=LowPtEfficiency)"};
60 this,
"muon_qOverPratio",
m_TrackContainerKey,
"muon_qOverPratio",
"Ratio between q/p reconstructed by the ID and the MS"};
62 this,
"muon_momentumBalanceSignificance",
m_TrackContainerKey,
"muon_momentumBalanceSignificance",
"Significance of the momentum balance between ID and MS"};
64 this,
"muon_scatteringNeighbourSignificance",
m_TrackContainerKey,
"muon_scatteringNeighbourSignificance",
"Significance of the azimuthal angular difference between the two half tracks ending/starting at each of adjacent hist along the track"};
Base class for elements of a container that can have aux data.
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::TrackParticleContainer > m_dec_muon_qOverPratio
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_dec_lepton_id
ToolHandle< IAsgElectronLikelihoodTool > m_electronID_tool
ToolHandle< CP::IMuonSelectionTool > m_muonID_tool
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::ElectronContainer > m_ElectronContainerKey
virtual StatusCode execute(const EventContext &) const override
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_dec_muon_momentumBalanceSignificance
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_dec_muon_quality
TrackLeptonDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_dec_muon_scatteringNeighbourSignificance
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrackContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_MuonContainerKey