ATLAS Offline Software
Loading...
Searching...
No Matches
TauRecToolBase.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8// ROOT include(s)
9#include "TEnv.h"
10#include "THashList.h"
11
12#include <sys/types.h>
13#include <unistd.h>
14#include <string>
15#include <sstream>
16#include <cstdlib>
17
18
19std::string TauRecToolBase::find_file(const std::string& fname) const {
20 std::string full_path;
21 //offline calib files are in GroupData
22 //online calib files are in release
23 full_path = PathResolverFindCalibFile(m_tauRecToolsTag+"/"+fname);
24 if(full_path.empty()) full_path = PathResolverFindCalibFile(fname);
25 return full_path;
26}
27
28TauRecToolBase::TauRecToolBase(const std::string& name) :
29 asg::AsgTool(name) {
30}
31
33 return StatusCode::SUCCESS;
34}
35
37 return StatusCode::SUCCESS;
38}
39
40//________________________________________
42 const EventContext&) const {
43 ATH_MSG_ERROR("function not implemented");
44 return StatusCode::FAILURE;
45}
46
47#ifdef XAOD_ANALYSIS
48StatusCode TauRecToolBase::executeDev(xAOD::TauJet&) {
49 ATH_MSG_ERROR("function not implemented");
50 return StatusCode::FAILURE;
51}
52#else
54 const EventContext& ,
56 boost::dynamic_bitset<>& ) const {
57 ATH_MSG_ERROR("function not implemented");
58 return StatusCode::FAILURE;
59}
60#endif
61
63 const EventContext& ,
64 const xAOD::VertexContainer*) const {
65 ATH_MSG_ERROR("function not implemented");
66 return StatusCode::FAILURE;
67}
68
70 const EventContext& ,
72 ATH_MSG_ERROR("function not implemented");
73 return StatusCode::FAILURE;
74}
75
77 const EventContext& ,
79 ATH_MSG_ERROR("function not implemented");
80 return StatusCode::FAILURE;
81}
84 const EventContext& ,
87 ATH_MSG_ERROR("function not implemented");
88 return StatusCode::FAILURE;
89}
90
92 const EventContext& ,
95 const xAOD::CaloClusterContainer& ) const {
96 ATH_MSG_ERROR("function not implemented");
97 return StatusCode::FAILURE;
98}
99
101 const EventContext& ,
103 xAOD::PFOContainer& ) const {
104 ATH_MSG_ERROR("function not implemented");
105 return StatusCode::FAILURE;
106}
107
109 const EventContext& ,
110 xAOD::PFOContainer& ) const {
111 ATH_MSG_ERROR("function not implemented");
112 return StatusCode::FAILURE;
113}
114
116 const EventContext& ,
118 xAOD::PFOContainer& ) const {
119 ATH_MSG_ERROR("function not implemented");
120 return StatusCode::FAILURE;
121}
122
124 return StatusCode::SUCCESS;
125}
126
128 return StatusCode::SUCCESS;
129}
#define ATH_MSG_ERROR(x,...)
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
CaloCellContainer that can accept const cell pointers.
Gaudi::Property< std::string > m_tauRecToolsTag
virtual StatusCode eventInitialize() override
Event initializer - called at the beginning of each event.
TauRecToolBase(const std::string &name)
virtual StatusCode executeTool(xAOD::TauJet &, const EventContext &) const override
Execute - called for each tau candidate.
virtual StatusCode initialize() override
Tool initializer.
virtual StatusCode eventFinalize() override
Event finalizer - called at the end of each event.
virtual StatusCode finalize() override
Finalizer.
std::string find_file(const std::string &fname) const
AsgTool(const std::string &name)
Constructor specifying the tool instance's name.
Definition AsgTool.cxx:58
PFOContainer_v1 PFOContainer
Definition of the current "pfo container version".
ParticleContainer_v1 ParticleContainer
Define the latest version of the particle class.
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
TauJet_v3 TauJet
Definition of the current "tau version".
Definition TauJet.h:17
TauTrackContainer_v1 TauTrackContainer
Definition of the current TauTrack container version.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.