ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
MuonID
MuonSelectorTools
src
MuonID/MuonSelectorTools/src/MuonSelectionAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Simple alg to wrap the selectiontool
6
// outputs a view container of the selected muons, if m_outputMuons different to m_inputMuons
7
8
#ifndef MUONSELECTORTOOLS_MUONSELECTIONALG
9
#define MUONSELECTORTOOLS_MUONSELECTIONALG
10
11
#include "
AthenaBaseComps/AthAlgorithm.h
"
12
#include "GaudiKernel/ToolHandle.h"
13
#include "
MuonAnalysisInterfaces/IMuonSelectionTool.h
"
14
15
namespace
CP
{
16
17
class
MuonSelectionAlg
:
public
AthAlgorithm
{
18
public
:
19
MuonSelectionAlg
(
const
std::string&
name
, ISvcLocator* svcloc);
20
21
virtual
StatusCode
initialize
();
22
virtual
StatusCode
execute
(
const
EventContext& ctx);
23
24
private
:
25
std::string
m_inputMuons
;
26
std::string
m_outputMuons
;
27
ToolHandle<CP::IMuonSelectionTool>
m_tool
;
28
};
29
30
}
// namespace CP
31
32
#endif
AthAlgorithm.h
IMuonSelectionTool.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CP::MuonSelectionAlg::m_tool
ToolHandle< CP::IMuonSelectionTool > m_tool
Definition
MuonID/MuonSelectorTools/src/MuonSelectionAlg.h:27
CP::MuonSelectionAlg::initialize
virtual StatusCode initialize()
Definition
MuonID/MuonSelectorTools/src/MuonSelectionAlg.cxx:18
CP::MuonSelectionAlg::m_outputMuons
std::string m_outputMuons
Definition
MuonID/MuonSelectorTools/src/MuonSelectionAlg.h:26
CP::MuonSelectionAlg::m_inputMuons
std::string m_inputMuons
Definition
MuonID/MuonSelectorTools/src/MuonSelectionAlg.h:25
CP::MuonSelectionAlg::execute
virtual StatusCode execute(const EventContext &ctx)
Execute method.
Definition
MuonID/MuonSelectorTools/src/MuonSelectionAlg.cxx:32
CP::MuonSelectionAlg::MuonSelectionAlg
MuonSelectionAlg(const std::string &name, ISvcLocator *svcloc)
Definition
MuonID/MuonSelectorTools/src/MuonSelectionAlg.cxx:11
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0