ATLAS Offline Software
PhysicsAnalysis/AnalysisCommon/FsrUtils/src/ToolTester.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef FSRUTILS_TOOLTESTER_H
6 #define FSRUTILS_TOOLTESTER_H
7 
8 // Gaudi/Athena include(s):
10 #include "GaudiKernel/ToolHandle.h"
11 
12 // Local include(s):
14 
15 // to make histogram
16 #include "TLorentzVector.h"
17 
18 
19 namespace FSR {
20 
26  class ToolTester : public AthAlgorithm {
27 
28  public:
30  ToolTester( const std::string& name, ISvcLocator* svcLoc );
31 
33  virtual StatusCode initialize();
35  virtual StatusCode execute();
36 
37  private:
39  std::string m_sgMuonKey;
40  std::string m_sgPhotonKey;
41  std::string m_sgElectronKey;
42 
44  ToolHandle< IFsrPhotonTool > m_fsrTool;
45 
47 
48  }; // class ToolTester
49 
50 } // namespace FSR
51 
52 #endif // FSRUTILS_TOOLTESTER_H
FSR
Definition: FsrPhotonTool.h:23
FSR::ToolTester::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: PhysicsAnalysis/AnalysisCommon/FsrUtils/src/ToolTester.cxx:43
FSR::ToolTester::ToolTester
ToolTester(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition: PhysicsAnalysis/AnalysisCommon/FsrUtils/src/ToolTester.cxx:16
FSR::ToolTester::m_sgPhotonKey
std::string m_sgPhotonKey
Definition: PhysicsAnalysis/AnalysisCommon/FsrUtils/src/ToolTester.h:40
FSR::ToolTester::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: PhysicsAnalysis/AnalysisCommon/FsrUtils/src/ToolTester.cxx:28
IFsrPhotonTool.h
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FSR::ToolTester::m_fsrTool
ToolHandle< IFsrPhotonTool > m_fsrTool
Connection to the fsr tool.
Definition: PhysicsAnalysis/AnalysisCommon/FsrUtils/src/ToolTester.h:44
FSR::ToolTester::m_sgElectronKey
std::string m_sgElectronKey
Definition: PhysicsAnalysis/AnalysisCommon/FsrUtils/src/ToolTester.h:41
FSR::ToolTester
Simple algorithm for using the FSR tool in Athena.
Definition: PhysicsAnalysis/AnalysisCommon/FsrUtils/src/ToolTester.h:26
FSR::ToolTester::m_candidate
FsrCandidate m_candidate
Definition: PhysicsAnalysis/AnalysisCommon/FsrUtils/src/ToolTester.h:46
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
FSR::FsrCandidate
Simple interface for searching the FSR candidate.
Definition: IFsrPhotonTool.h:27
FSR::ToolTester::m_sgMuonKey
std::string m_sgMuonKey
StoreGate keys for the muon, photon and electron containers to investigate.
Definition: PhysicsAnalysis/AnalysisCommon/FsrUtils/src/ToolTester.h:39