ATLAS Offline Software
Loading...
Searching...
No Matches
Tool_InputConverter.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_INPUTCONVERTER_H
6#define PANTAUALGS_TOOL_INPUTCONVERTER_H
7
8#include <map>
9#include <vector>
10#include <string>
11
12#include "AsgTools/AsgTool.h"
13#include "AsgTools/ToolHandle.h"
15
18
19#include "xAODPFlow/PFO.h"
20#include "xAODTau/TauJet.h"
21#include "xAODPFlow/PFODefs.h"
22
23namespace Rec {
24 class TrackParticle;
25}
26
27namespace PanTau {
28 class TauConstituent;
29}
30
31
32namespace PanTau {
33
35
37
38 public:
39
40 Tool_InputConverter(const std::string &name);
42
43 virtual StatusCode initialize();
44
45 virtual StatusCode ConvertToTauConstituent(const xAOD::PFO* pfo,
46 PanTau::TauConstituent* &tauConstituent,
47 const xAOD::TauJet* tauJet) const;
48
49 protected:
50
51 //member variables
52 ToolHandle<PanTau::ITool_InformationStore> m_Tool_InformationStore{this, "Tool_InformationStore", "PanTau::Tool_InformationStore/Tool_InformationStore","Link to tool with all information"};
53 Gaudi::Property<std::string> m_Tool_InformationStoreName{this, "Tool_InformationStoreName", "", "Optional Name for InformationStore instance in ABR"};
54
55 virtual bool passesPreselectionEnergy(double energy) const;
56
58
61
62 bool m_init=false;
63 public:
64 inline bool isInitialized(){return m_init;}
65
66 }; //end class Tool_InputConverter
67
68
69} //end namespace PanTau
70
71
72#endif // PANTAUALGS_TOOL_INPUTCONVERTER_H
#define ASG_TOOL_CLASS1
Interface for Tool_InputConverter.
Input object for PanTau.
Tool_InputConverter(const std::string &name)
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
virtual bool passesPreselectionEnergy(double energy) const
Gaudi::Property< std::string > m_Tool_InformationStoreName
virtual StatusCode ConvertToTauConstituent(const xAOD::PFO *pfo, PanTau::TauConstituent *&tauConstituent, const xAOD::TauJet *tauJet) const
ToolHandle< PanTau::ITool_InformationStore > m_Tool_InformationStore
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
Gaudi Tools.
PFO_v1 PFO
Definition of the current "pfo version".
Definition PFO.h:17
TauJet_v3 TauJet
Definition of the current "tau version".