ATLAS Offline Software
Loading...
Searching...
No Matches
MuonIsolationAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9#ifndef MUON_ANALYSIS_ALGORITHMS__MUON_ISOLATION_ALG_H
10#define MUON_ANALYSIS_ALGORITHMS__MUON_ISOLATION_ALG_H
11
20
21namespace CP
22{
24
26 {
28 public:
30 StatusCode initialize () override;
31 StatusCode execute () override;
32
33
34
36 private:
37 ToolHandle<IIsolationSelectionTool> m_isolationTool {this, "isolationTool", "CP::IsolationSelectionTool", "the isolation tool we apply"};
38
40 private:
42
44 private:
46 this, "muons", "Muons", "the muon collection to run on"};
47
49 private:
51 this, "preselection", "", "the preselection to apply"};
52
54 private:
56 this, "isolationDecoration", "", "the decoration for the muon isolation"};
57
59 private:
60 ServiceHandle<ISelectionNameSvc> m_nameSvc {"SelectionNameSvc", "MuonIsolationAlg"};
61
63 private:
65 };
66}
67
68#endif
an algorithm for calling IMuonSelectionTool
StatusCode execute() override
SelectionType m_setOnFail
the bits to set for an object failing the preselection
SysReadHandle< xAOD::MuonContainer > m_muonHandle
the muon collection we run on
ServiceHandle< ISelectionNameSvc > m_nameSvc
the ISelectionNameSvc
SysListHandle m_systematicsList
the systematics list we run
StatusCode initialize() override
SysReadSelectionHandle m_preselection
the preselection we apply to our input
ToolHandle< IIsolationSelectionTool > m_isolationTool
the smearing tool
SysWriteSelectionHandle m_isolationHandle
the decoration for the muon isolation
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
a data handle for writing systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData