ATLAS Offline Software
Loading...
Searching...
No Matches
DL2Tool.h
Go to the documentation of this file.
1// for text editors: this file is -*- C++ -*-
2/*
3 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4*/
5
6#ifndef DL2_TOOL_H
7#define DL2_TOOL_H
8
9#include "AsgTools/AsgTool.h"
12
13namespace FlavorTagDiscriminants {
14
15 class DL2HighLevel;
16
18 std::string nnFile;
19 std::string flipTagConfig;
20 std::map<std::string,std::string> variableRemapping;
21 std::string trackLinkType;
23 };
24
25 class DL2Tool : public asg::AsgTool,
26 virtual public IJetTagConditionalDecorator
27 {
29 public:
31 DL2Tool(const std::string& name);
32 ~DL2Tool();
33
34 StatusCode initialize() override;
35
36 // returns 0 for success
37 virtual void decorate(const xAOD::IParticle& i_jet) const override;
38 virtual void decorateWithDefaults(const xAOD::IParticle& i_jet) const override;
39
40 virtual DataDependencyNames getDependencies() const override;
41 private:
43 std::unique_ptr<DL2HighLevel> m_dl2;
44 };
45
46}
47#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
DL2Tool(const std::string &name)
Definition DL2Tool.cxx:10
virtual void decorate(const xAOD::IParticle &i_jet) const override
Method to decorate a jet.
Definition DL2Tool.cxx:38
virtual void decorateWithDefaults(const xAOD::IParticle &i_jet) const override
Method to decorate a jet with defaults.
Definition DL2Tool.cxx:43
std::unique_ptr< DL2HighLevel > m_dl2
Definition DL2Tool.h:43
StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition DL2Tool.cxx:22
virtual DataDependencyNames getDependencies() const override
Definition DL2Tool.cxx:49
FlavorTagInference::FTagDataDependencyNames DataDependencyNames
Definition DL2Tool.h:30
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
Class providing the definition of the 4-vector interface.
std::map< std::string, std::string > variableRemapping
Definition DL2Tool.h:20