ATLAS Offline Software
Loading...
Searching...
No Matches
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
12#include "GaudiKernel/ToolHandle.h"
14
15namespace CP {
16
18 public:
19 MuonSelectionAlg(const std::string& name, ISvcLocator* svcloc);
20
21 virtual StatusCode initialize();
22 virtual StatusCode execute();
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(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ToolHandle< CP::IMuonSelectionTool > m_tool
MuonSelectionAlg(const std::string &name, ISvcLocator *svcloc)
Select isolated Photons, Electrons and Muons.