ATLAS Offline Software
|
#include <IMuonLRTOverlapRemovalTool.h>
Public Types | |
enum | overlapStrategy { defaultStrategy =0, passThroughAndDecorate =1 } |
Allow to specify a number of MCP-supported overlap removal strategies. More... | |
Public Member Functions | |
virtual std::pair< bool, bool > | resolveOverlap (const xAOD::Muon *promptMuon, const xAOD::Muon *lrtMuon) const =0 |
resolve the overlap between a pair of muons, one from the prompt and one from the LRT pass. More... | |
virtual std::tuple< int, int > | checkOverlapForDecor (const xAOD::Muon *promptMuon, const xAOD::Muon *lrtMuon) const =0 |
checks for overlap between a pair of muons, one from the prompt and one from the LRT pass. More... | |
virtual void | checkOverlap (const xAOD::MuonContainer &promptCollection, const xAOD::MuonContainer &lrtCollection, std::vector< bool > &promptMuonsSelectedToKeep, std::vector< bool > &lrtMuonsSelectedToKeep) const =0 |
check the overlap between the prompt and LRT muon collections. More... | |
virtual bool | hasOverlap (const xAOD::Muon *promptMuon, const xAOD::Muon *lrtMuon) const =0 |
checks the overlap between a pair of muons, one from the prompt and one from the LRT pass. More... | |
virtual void | print () const =0 |
Print the state of the tool. More... | |
Definition at line 25 of file IMuonLRTOverlapRemovalTool.h.
Allow to specify a number of MCP-supported overlap removal strategies.
Enumerator | |
---|---|
defaultStrategy | |
passThroughAndDecorate |
Definition at line 37 of file IMuonLRTOverlapRemovalTool.h.
|
pure virtual |
check the overlap between the prompt and LRT muon collections.
Will populate the two vectors passed by ref with a decision for each muon in each collection. "true" entries are to be kept, "false" to be discarded. If the strategy passThroughAndDecorate
is selected, muons are decorated with a variable MuonLRTOverlapDecision
which is 0 for muons which don't overlap, 1 if they overlap and are discareded, and 2 if they overlap and are retained. In this strategy, the two vectors will be returned with all elements "true" i.e. no muons should be discarded.
Implemented in CP::MuonLRTOverlapRemovalTool.
|
pure virtual |
checks for overlap between a pair of muons, one from the prompt and one from the LRT pass.
using the same set of rules as resolveOverlap, it returns a tuple for the prompt and LRT muon resp. with value 0 for muons which don't overlap, 1 if they overlap and are discareded, and 2 if they overlap and are retained.
Implemented in CP::MuonLRTOverlapRemovalTool.
|
pure virtual |
checks the overlap between a pair of muons, one from the prompt and one from the LRT pass.
returns true if they do overlap and false if they don't.
Implemented in CP::MuonLRTOverlapRemovalTool.
|
pure virtualinherited |
Print the state of the tool.
Implemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, asg::AsgTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
|
pure virtual |
resolve the overlap between a pair of muons, one from the prompt and one from the LRT pass.
returns a pair of booleans, indicating whether the prompt and LRT muon, respectively, should be retained based on a minimal set of rules.
Implemented in CP::MuonLRTOverlapRemovalTool.