ATLAS Offline Software
Loading...
Searching...
No Matches
TrigMuonEFIdtpInvMassHypoTool.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 TRIGMUONHYPO_TRIGMUONEFIDTPINVMASSHYPOTOOL_H
6#define TRIGMUONHYPO_TRIGMUONEFIDTPINVMASSHYPOTOOL_H
7
8#include <string>
14
16
17class StoreGateSvc;
18
20{
21public:
22 TrigMuonEFIdtpInvMassHypoTool(const std::string& type, const std::string & name, const IInterface* parent);
24
25 virtual StatusCode initialize() override;
26
27private:
28
29 bool executeAlg(const std::vector<Combo::LegDecision>& combinaiton, const EventContext& ctx) const override;
30
31 StatusCode doTPIdperf(const xAOD::TrackParticle* metrack, const std::vector<const xAOD::TrackParticle*>& tracks_pt, const std::vector<const xAOD::TrackParticle*>& tracks_ftf) const;
32
33 float qOverPMatching(const xAOD::TrackParticle* metrack, const xAOD::TrackParticle* idtrack) const;
34 bool passedCBQualityCuts(const xAOD::Muon* muon) const;
35 bool passedSAQualityCuts(const xAOD::Muon* muon) const;
36
37 // Properties:
38 Gaudi::Property< double> m_invMassLow {
39 this, "InvMassLow", -1.0, "Low threshold for invariant mass cut" };
40 Gaudi::Property< double> m_invMassHigh {
41 this, "InvMassHigh", -1.0, "High threshold for invariant mass cut" };
42 Gaudi::Property< bool > m_acceptAll {
43 this, "AcceptAll", false, "Ignore selection" };
44 Gaudi::Property< bool > m_selOS {
45 this, "SelectOppositeSign", false, "Select only oppositly charged pairs" };
46 Gaudi::Property< bool > m_muonqualityCut {
47 this, "MuonQualityCut", false, "Ignore selection" };
48
49 // Other members:
50 ToolHandle< GenericMonitoringTool > m_monTool {this, "MonTool", "", "Monitoring tool" };
51 ToolHandle<CP::IMuonSelectionTool> m_muonSelTool{this, "MuonSelectionTool", "CP::MuonSelectionTool/MuonSelectionTool", "Tool for muon quality selection"};
52};
53
54#endif
ComboHypoToolBase(const std::string &type, const std::string &name, const IInterface *parent)
The Athena Transient Store API.
bool executeAlg(const std::vector< Combo::LegDecision > &combinaiton, const EventContext &ctx) const override
Only a dummy implementation exists in ComboHypoToolBase.
ToolHandle< CP::IMuonSelectionTool > m_muonSelTool
StatusCode doTPIdperf(const xAOD::TrackParticle *metrack, const std::vector< const xAOD::TrackParticle * > &tracks_pt, const std::vector< const xAOD::TrackParticle * > &tracks_ftf) const
bool passedSAQualityCuts(const xAOD::Muon *muon) const
ToolHandle< GenericMonitoringTool > m_monTool
float qOverPMatching(const xAOD::TrackParticle *metrack, const xAOD::TrackParticle *idtrack) const
bool passedCBQualityCuts(const xAOD::Muon *muon) const
TrigMuonEFIdtpInvMassHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Muon_v1 Muon
Reference the current persistent version: