Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCOMBINEDALGS_MUONCOMBINEDINDETCANDIDATEALG_H
6 #define MUONCOMBINEDALGS_MUONCOMBINEDINDETCANDIDATEALG_H
12 #include "GaudiKernel/ToolHandle.h"
31 this,
"TrackParticleLocation", {
"InDetTrackParticles"}};
34 "CaloExtensionLocation",
38 "InDetForwardTrackParticles"};
45 this,
"TrackSelector",
"InDet::InDetDetailedTrackSelectorTool/MuonCombinedInDetDetailedTrackSelectorTool",
"Track selector tool"};
47 this,
"InDetForwardTrackSelector",
"InDet::InDetDetailedTrackSelectorTool/MuonCombinedInDetDetailedForwardTrackSelectorTool",
48 "Forward track selector tool"};
49 ToolHandle<Muon::IMuonSystemExtensionTool>
m_muonSystemExtensionTool{
this,
"MuonSystemExtensionTool",
"",
"Muon system extension tool"};
64 StatusCode create(
const EventContext& ctx, InDetCandidateCache& output_cache)
const;
Property holding a SG store/key/clid from which a ReadHandle is made.
bool isValidTrackParticle(const Trk::ITrackSelectorTool *currentTrackSelector, const xAOD::TrackParticle *const tp) const
SG::ReadHandleKey< CaloExtensionCollection > m_caloFwdExtensionLocation
StatusCode initialize() override
StatusCode create(const EventContext &ctx, InDetCandidateCache &output_cache) const
ToolHandle< Trk::ITrackSelectorTool > m_trackSelector
Gaudi::Property< bool > m_requireExtension
Reject muon candidates without a muon system extension – only effective if the candidate shall actual...
~MuonCombinedInDetCandidateAlg()=default
bool flagAsSAF
Flag the candidates as sillicion forward associated.
Gaudi::Property< bool > m_doSiliconForwardMuons
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_indetTrackParticleLocation
SummaryType
Enumerates the different types of information stored in Summary.
Property holding a SG store/key/clid from which a WriteHandle is made.
@ OWN_ELEMENTS
this data object owns its elements
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode execute(const EventContext &ctx) const override
const CaloExtensionCollection * extensionContainer
Cache of the CaloExtensions.
Gaudi::Property< float > m_extThreshold
Minimum pt threshold of the IdCandidate to be extrapolated through the spectrometer.
Gaudi::Property< bool > m_extendSAF
Shall SAF tracks be equiped with a muon system extension used by MuGirl later.
int getCount(const xAOD::TrackParticle &tp, xAOD::SummaryType type) const
std::unique_ptr< InDetCandidateCollection > outputContainer
Output container for the StoreGate.
const Trk::ITrackSelectorTool * trackSelector
Corresponding track selector.
Property holding a SG store/key/clid from which a WriteHandle is made.
ToolHandle< Muon::IMuonSystemExtensionTool > m_muonSystemExtensionTool
SG::ReadHandleKeyArray< CaloExtensionCollection > m_caloExtensionLocation
void printTrackParticleInfo(const xAOD::TrackParticle *const tp, const std::string &what) const
SG::WriteHandleKey< InDetCandidateCollection > m_candidateCollectionName
Class describing a TrackParticle.
MuonCombinedInDetCandidateAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< Trk::ITrackSelectorTool > m_forwardTrackSelector
Gaudi::Property< bool > m_extendBulk
Shall ordinary ID tracks be equiped with a muon system extension used by MuGirl later.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_indetForwardTrackParticleLocation
const xAOD::TrackParticleContainer * inDetContainer
Track particle container.