![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef DERIVATIONFRAMEWORK_DIMUONTAGGINGALG_H
6 #define DERIVATIONFRAMEWORK_DIMUONTAGGINGALG_H
51 "Flag deciding whether the trigger selection should be applied"};
54 Gaudi::Property<std::vector<std::string>>
m_orTrigs{
this,
"OrTrigs", {}};
56 Gaudi::Property<std::vector<std::string>>
m_andTrigs{
this,
"AndTrigs", {}};
60 "Tool to access the trigger decision"};
74 "Key to whitelist the muon for writeout. Will be overwritten by BranchPrefix property"};
76 "Key to whitelist the tracks for writeout. Will be overwritten by BranchPreFix property"};
81 ToolHandle<CP::IMuonSelectionTool>
m_muonSelTool{
this,
"SelectionTool",
""};
97 Gaudi::Property<bool>
m_isMC{
this,
"isMC",
false};
102 Gaudi::Property<std::string>
m_br_prefix{
this,
"BranchPrefix",
""};
107 Gaudi::Property<float>
m_dPhiMin{
this,
"PairDPhiMin", -1};
120 #endif // DERIVATIONFRAMEWORK_SKIMMINGTOOLEXAMPLE_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< bool > m_applyQualityMu1
Flag to toggle whether selection working point should be applied on the first muon.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Gaudi::Property< float > m_dPhiMin
Require a minimal delta Phi between the two selected candidates.
ToolHandle< CP::IMuonSelectionTool > m_muonSelTool
Selection tool to filter muons with poor quality.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trkKeepKey
Gaudi::Property< bool > m_requireOS
Both particles have to be of opposite charge.
bool passMuonCuts(const xAOD::Muon *muon, const float ptMin, const float absEtaMax, const bool applyQuality) const
Gaudi::Property< float > m_thinningConeSize
Gaudi::Property< bool > m_applyQualityMu2
Flag to toggle whether the selection working point should be applied on the second muon.
float m_thinningConeSize2
Gaudi::Property< std::string > m_br_prefix
Name of the ouput selection flag.
Gaudi::Property< float > m_mu1PtMin
Pt cut on the primary muon in the event.
Gaudi::Property< bool > m_applyTrig
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthSGKey
Gaudi::Property< float > m_mu2PtMin
Pt cut on the second muon in the event.
Gaudi::Property< bool > m_isMC
Flag whether it's MC.
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< float > m_invariantMassHigh
Upper invariant mass selection window (Negative number refers to disable)
Class providing the definition of the 4-vector interface.
Gaudi::Property< float > m_triggerMatchDeltaR
bool passKinematicCuts(const xAOD::IParticle *mu, const float ptMin, const float absEtaMax) const
Returns true of the pointer is valid and also whether the pt and absEta are above and below the thres...
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< float > m_invariantMassLow
Lower invariant mass selection window.
virtual ~DiMuonTaggingAlg()=default
Destructor.
Gaudi::Property< float > m_mu2AbsEtaMax
Eta cut on the second muon in the event.
Gaudi::Property< std::vector< std::string > > m_orTrigs
List of triggers in which at least one muon in the pair needs to pass.
::StatusCode StatusCode
StatusCode definition for legacy code.
float m_invariantMassHigh2
Handle class for adding a decoration to an object.
virtual StatusCode execute(const EventContext &ctx) const override
bool muonPairCheck(const xAOD::Muon *mu1, const probe_type *mu2) const
Handle class for adding a decoration to an object.
float m_invariantMassLow2
SG::WriteHandleKey< int > m_skimmingKey
Event Decision Key.
Gaudi::Property< float > m_mu1AbsEtaMax
Eta cut on the primary muon in the event.
SG::ReadHandleKey< xAOD::MuonContainer > m_muonSGKey
StatusCode initialize() override
ToolHandle< Trig::IMatchingTool > m_matchingTool
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackSGKey
Gaudi::Property< bool > m_useTrackProbe
Run the analysis with a Muon <--> Track pair — Muon has to hold criteria 1 and track to satisfy kinem...
void maskNearbyIDtracks(const xAOD::IParticle *mu, TrackPassDecor &decor) const
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_muonKeepKey
Keys to whitelist the muons & tracks needed for MCP studies to output.
DiMuonTaggingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
bool passTrigger(const xAOD::Muon *muon, const std::vector< std::string > &trigList) const
Gaudi::Property< std::vector< std::string > > m_andTrigs
List of trigger in which both muons need to pass the selection.