ATLAS Offline Software
Loading...
Searching...
No Matches
Tool_TauConstituentSelector.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_TAUCONSTITUENTSELECTOR
6#define PANTAUALGS_TOOL_TAUCONSTITUENTSELECTOR
7
8#include <map>
9#include <vector>
10#include <string>
11
13#include "AsgTools/AsgTool.h"
14#include "AsgTools/ToolHandle.h"
16
20
21namespace PanTau {
22
24
26
27 public:
28
29 Tool_TauConstituentSelector(const std::string &name);
31
32 virtual StatusCode initialize();
33
34 virtual StatusCode SelectTauConstituents(const std::vector<TauConstituent*>& inputList,
35 std::vector<TauConstituent*>& outputList) const;
36
37
38 protected:
39
40 virtual bool passesSelection_NeutralConstituent(TauConstituent* tauConstituent) const;
41
42 virtual double getEtCut(double eta, PanTau::TauConstituent::Type constituentType) const;
43
44
45 //member variables
46 ToolHandle<PanTau::ITool_InformationStore> m_Tool_InformationStore{this, "Tool_InformationStore", "PanTau::Tool_InformationStore/Tool_InformationStore","Link to tool with all information"};
47 Gaudi::Property<std::string> m_Tool_InformationStoreName{this, "Tool_InformationStoreName", "", "Link to tool with all information"};
48
49 double m_MaxEta = 0.0;
50 std::vector<double> m_BinEdges_Eta;
52
53 bool m_init=false;
54
55 public:
56 inline bool isInitialized(){return m_init;}
57
58 }; //end class ConstituentGetter
59
60
61}//end namespace PanTau
62
63#endif // PANTAUALGS_TOOL_TAUCONSTITUENTSELECTOR
Scalar eta() const
pseudorapidity method
#define ASG_TOOL_CLASS1
Interface for Tool_TauConstituentSelector.
Input object for PanTau.
Type
Type enumeration to specify type of this tau constituent.
Gaudi::Property< std::string > m_Tool_InformationStoreName
virtual double getEtCut(double eta, PanTau::TauConstituent::Type constituentType) const
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
virtual StatusCode SelectTauConstituents(const std::vector< TauConstituent * > &inputList, std::vector< TauConstituent * > &outputList) const
Function to further select PFOs of the various categories (basically apply additional ET cuts):
virtual bool passesSelection_NeutralConstituent(TauConstituent *tauConstituent) const
ToolHandle< PanTau::ITool_InformationStore > m_Tool_InformationStore
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47