ATLAS Offline Software
Loading...
Searching...
No Matches
TrackLeptonDecoratorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRACK_LEPTON_DECORATOR_ALG_HH
6#define TRACK_LEPTON_DECORATOR_ALG_HH
7
9#include "GaudiKernel/ToolHandle.h"
13
20
21
22
23
24namespace FlavorTagDiscriminants {
25
26
28 public:
29 TrackLeptonDecoratorAlg(const std::string& name,
30 ISvcLocator* pSvcLocator );
31
32 virtual StatusCode initialize() override;
33 virtual StatusCode execute(const EventContext& ) const override;
34
35 private:
36
37 // electron ID tool
38 ToolHandle<IAsgElectronLikelihoodTool> m_electronID_tool{this, "electronSelectionTool", "", "Applying preselection on electrons"};
39
40 // muon ID tool
41 ToolHandle<CP::IMuonSelectionTool> m_muonID_tool{this, "muonSelectionTool", "", "Applying preselection on muons"};
42
43 // Input Containers
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"};
53
54 // Decorators for tracks
56 this, "leptonID", m_TrackContainerKey, "leptonID", "pdgID of reconstruction lepton "};
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"};
65
66 };
67
68}
69
70#endif
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
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