ATLAS Offline Software
VRJetOverlapDecoratorTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 namespace FlavorTagDiscriminants {
9 
11  asg::AsgTool(name),
12  m_dec(nullptr)
13  {
14  }
16 
18  m_dec.reset(new VRJetOverlapDecorator);
19  return StatusCode::SUCCESS;
20  }
21 
23  m_dec->decorate(jets);
24  return StatusCode::SUCCESS;
25  }
26 
27 }
FlavorTagDiscriminants::VRJetOverlapDecoratorTool::VRJetOverlapDecoratorTool
VRJetOverlapDecoratorTool(const std::string &name)
Definition: VRJetOverlapDecoratorTool.cxx:10
FlavorTagDiscriminants
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition: AssociationEnums.h:11
FlavorTagDiscriminants::VRJetOverlapDecoratorTool::decorate
StatusCode decorate(const xAOD::JetContainer &jets) const override
Decorate a jet collection without otherwise modifying it.
Definition: VRJetOverlapDecoratorTool.cxx:22
asg
Definition: DataHandleTestTool.h:28
VRJetOverlapDecorator.h
FlavorTagDiscriminants::VRJetOverlapDecoratorTool::~VRJetOverlapDecoratorTool
~VRJetOverlapDecoratorTool()
Definition: VRJetOverlapDecoratorTool.cxx:15
FlavorTagDiscriminants::VRJetOverlapDecoratorTool::m_dec
std::unique_ptr< VRJetOverlapDecorator > m_dec
Definition: VRJetOverlapDecoratorTool.h:29
FlavorTagDiscriminants::VRJetOverlapDecoratorTool::initialize
StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: VRJetOverlapDecoratorTool.cxx:17
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
VRJetOverlapDecorator
Definition: VRJetOverlapDecorator.h:19
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
VRJetOverlapDecoratorTool.h