ATLAS Offline Software
Loading...
Searching...
No Matches
TauAnalysisToolsExampleAthena.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef TAUANALYSISTOOLSEXAMPLEATHENA_H
8#define TAUANALYSISTOOLSEXAMPLEATHENA_H
9
10// Gaudi/Athena include(s):
12#include "AsgTools/ToolHandle.h"
14
15// Local include(s):
20
21namespace TauAnalysisTools
22{
23
25{
26
27public:
29 TauAnalysisToolsExampleAthena( const std::string& name, ISvcLocator* svcLoc );
30
32 virtual StatusCode initialize();
34 virtual StatusCode execute();
35
36private:
38 Gaudi::Property<std::string> m_sgKey_TauJets{this, "SGKey", "TauJets"};
42 Gaudi::Property<std::string> m_sgKey_TauJets_MuonRM{this, "SGKey_MuonRM", "TauJets_MuonRM"};
43 Gaudi::Property<bool> m_useMuonRemovalTaus{this, "UseMuonRemovalTaus", false};
44
46 ToolHandle< ITauSelectionTool > m_selTool {this, "TauSelectionTool", "TauAnalysisTools::TauSelectionTool/TauSelectionTool"};
48 ToolHandle< ITauSmearingTool > m_smearTool {this, "TauSmearingTool", "TauAnalysisTools::TauSmearingTool/TauSmearingTool"};
50 ToolHandle< ITauEfficiencyCorrectionsTool > m_effTool {this, "TauEfficiencyTool", "TauAnalysisTools::TauEfficiencyCorrectionsTool/TauEfficiencyCorrectionsTool"};
51
52}; // class TauAnalysisToolsExampleAthena
53
54} // namespace TauAnalysisTools
55
56#endif // TAUANALYSISTOOLSEXAMPLEATHENA_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Property< std::string > m_sgKey_TauJets
StoreGate key for the tau container to investigate.
ToolHandle< ITauSmearingTool > m_smearTool
Connection to the smearing tool.
virtual StatusCode initialize()
Function initialising the algorithm.
ToolHandle< ITauSelectionTool > m_selTool
Connection to the selection tool.
TauAnalysisToolsExampleAthena(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
ToolHandle< ITauEfficiencyCorrectionsTool > m_effTool
Connection to the efficiency correction tool.
virtual StatusCode execute()
Function executing the algorithm.
Gaudi::Property< std::string > m_sgKey_TauJets_MuonRM
Special StoreGate key for the muon-removed taus.