ATLAS Offline Software
TestIsolationAthenaAlg.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5  */
6 
7 // $Id: TestIsolationAthenaAlg.h 764207 2016-07-25 18:16:03Z alesage $
8 #ifndef ISOLATIONSELECTION_TESTISOLATIONATHENAALG_H
9 #define ISOLATIONSELECTION_TESTISOLATIONATHENAALG_H
10 
11 // Gaudi/Athena include(s):
12 #include "AsgTools/ToolHandle.h"
14 
15 // Local include(s):
17 
18 namespace CP {
20  public:
21  TestIsolationAthenaAlg(const std::string& name, ISvcLocator* svcLoc);
22 
24  virtual StatusCode initialize();
26  virtual StatusCode execute();
27 
28  private:
29  std::string m_sgKeyPhotons;
30  std::string m_sgKeyElectrons;
31  std::string m_sgKeyMuons;
32  ToolHandle<CP::IIsolationSelectionTool> m_isoTool;
33  };
34 } // namespace CP
35 #endif
CP::TestIsolationAthenaAlg
Definition: TestIsolationAthenaAlg.h:19
CP::TestIsolationAthenaAlg::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: TestIsolationAthenaAlg.cxx:28
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
AthAlgorithm.h
CP::TestIsolationAthenaAlg::m_sgKeyMuons
std::string m_sgKeyMuons
Definition: TestIsolationAthenaAlg.h:31
CP::TestIsolationAthenaAlg::m_sgKeyElectrons
std::string m_sgKeyElectrons
Definition: TestIsolationAthenaAlg.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::TestIsolationAthenaAlg::m_sgKeyPhotons
std::string m_sgKeyPhotons
Definition: TestIsolationAthenaAlg.h:29
CP::TestIsolationAthenaAlg::m_isoTool
ToolHandle< CP::IIsolationSelectionTool > m_isoTool
Definition: TestIsolationAthenaAlg.h:32
CP::TestIsolationAthenaAlg::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: TestIsolationAthenaAlg.cxx:35
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
IIsolationSelectionTool.h
CP::TestIsolationAthenaAlg::TestIsolationAthenaAlg
TestIsolationAthenaAlg(const std::string &name, ISvcLocator *svcLoc)
Definition: TestIsolationAthenaAlg.cxx:20
ToolHandle.h