|
ATLAS Offline Software
|
Go to the documentation of this file.
19 if (
m_config->isTruthDxAOD())
return true;
21 for (
const auto*
const muPtr :
event.m_muons) {
23 event.m_info->auxdecor<
char>(
"AnalysisTop_HASBADMUON") = 1;
TopConfig A simple configuration that is NOT a singleton.
std::string name() const override
The name of the tool.
bool apply(const top::Event &event) const override
Events with a muon flagged bad are rejected.
POOL::TEvent event(POOL::TEvent::kClassAccess)
void check(bool thingToCheck, const std::string &usefulFailureMessage)
Print an error message and terminate if thingToCheck is false.
NoBadMuonSelector(std::shared_ptr< top::TopConfig > m_config)
Event selection if bad muon detected using the official muon selector tool.
ToolHandle< CP::IMuonSelectionTool > m_muonSelectionTool
std::shared_ptr< top::TopConfig > m_config
Very simple class to hold event data after reading from a file.