ATLAS Offline Software
Loading...
Searching...
No Matches
Tool_TauConstituentGetter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PANTAUALGS_TOOL_TAUCONSTITUENTGETTER
6#define PANTAUALGS_TOOL_TAUCONSTITUENTGETTER
7
8#include <map>
9#include <vector>
10#include <string>
11
12#include "AsgTools/AsgTool.h"
13#include "AsgTools/ToolHandle.h"
15
20
21#include "xAODTau/TauJet.h"
22
23namespace PanTau {
24 class TauConstituent;
25}
26
27
28namespace PanTau {
29
31
33
34 public:
35
36 Tool_TauConstituentGetter(const std::string &name);
38
39 virtual StatusCode initialize();
40
41 virtual StatusCode GetTauConstituents(const xAOD::TauJet* tauJet,
42 std::vector<TauConstituent*>& outputList) const;
43
44
45 protected:
46
47 //member variables
48 ToolHandle<PanTau::ITool_InputConverter> m_Tool_InputConverter{this, "Tool_InputConverter", "PanTau::Tool_InputConverter/Tool_InputConverter", "Link to tool to convert into TauConstituents"};
49
50 Gaudi::Property<std::string> m_Tool_InputConverterName{this, "Tool_InputConverterName", "", "Link to tool to convert into TauConstituents"};
51
52 bool m_init=false;
53
54 public:
55 inline bool isInitialized(){return m_init;}
56
57 }; //end class ConstituentGetter
58
59}//end namespace PanTau
60
61
62#endif // PANTAUALGS_TOOL_TAUCONSTITUENTGETTER
#define ASG_TOOL_CLASS1
Interface for Tool_TauConstituentGetter.
Input object for PanTau.
Tool_TauConstituentGetter(const std::string &name)
Gaudi::Property< std::string > m_Tool_InputConverterName
ToolHandle< PanTau::ITool_InputConverter > m_Tool_InputConverter
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
virtual StatusCode GetTauConstituents(const xAOD::TauJet *tauJet, std::vector< TauConstituent * > &outputList) const
Function to get the PFOs for a given TauJet object (Shots in each PFO etc are collected in "ConvertTo...
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
TauJet_v3 TauJet
Definition of the current "tau version".