ATLAS Offline Software
BTagAugmenterTool.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_flipTagConfig("STANDARD"),
13  m_aug(nullptr),
14  m_useIpxd(false)
15  {
16  declareProperty("flipTagConfig", m_flipTagConfig);
17  declareProperty("trackAssociator", m_trackAssociator);
18  declareProperty("useIpxd", m_useIpxd);
19  }
21 
23  m_aug.reset(
26  m_useIpxd));
27  return StatusCode::SUCCESS;
28  }
29 
30  void BTagAugmenterTool::decorate(const xAOD::BTagging& btag) const {
31  m_aug->augment(btag);
32  }
33 
34  std::set<std::string> BTagAugmenterTool::getDecoratorKeys() const {
35  return m_aug->getDecoratorKeys();
36  }
37 
38  std::set<std::string> BTagAugmenterTool::getAuxInputKeys() const {
39  return m_aug->getAuxInputKeys();
40  }
41  std::set<std::string> BTagAugmenterTool::getConstituentAuxInputKeys() const {
42  return {};
43  }
44 
45 }
FlavorTagDiscriminants::BTagAugmenterTool::m_useIpxd
bool m_useIpxd
Definition: BTagAugmenterTool.h:35
BTagJetAugmenter.h
FlavorTagDiscriminants::BTagAugmenterTool::getDecoratorKeys
virtual std::set< std::string > getDecoratorKeys() const override
Definition: BTagAugmenterTool.cxx:34
FlavorTagDiscriminants::BTagAugmenterTool::m_aug
std::unique_ptr< BTagJetAugmenter > m_aug
Definition: BTagAugmenterTool.h:34
BTagAugmenterTool.h
FlavorTagDiscriminants
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition: AssociationEnums.h:11
FlavorTagDiscriminants::BTagAugmenterTool::getAuxInputKeys
virtual std::set< std::string > getAuxInputKeys() const override
Definition: BTagAugmenterTool.cxx:38
BTagJetAugmenter
Definition: BTagJetAugmenter.h:16
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
asg
Definition: DataHandleTestTool.h:28
FlavorTagDiscriminants::BTagAugmenterTool::~BTagAugmenterTool
~BTagAugmenterTool()
Definition: BTagAugmenterTool.cxx:20
FlavorTagDiscriminants::BTagAugmenterTool::BTagAugmenterTool
BTagAugmenterTool(const std::string &name)
Definition: BTagAugmenterTool.cxx:10
FlavorTagDiscriminants::BTagAugmenterTool::decorate
virtual void decorate(const xAOD::BTagging &btag) const override
Method to decorate a jet.
Definition: BTagAugmenterTool.cxx:30
FlavorTagDiscriminants::BTagAugmenterTool::initialize
StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: BTagAugmenterTool.cxx:22
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FlavorTagDiscriminants::BTagAugmenterTool::m_flipTagConfig
std::string m_flipTagConfig
Definition: BTagAugmenterTool.h:32
FlavorTagDiscriminants::flipTagConfigFromString
FlipTagConfig flipTagConfigFromString(const std::string &)
Definition: FlipTagEnums.cxx:15
xAOD::BTagging_v1
Definition: BTagging_v1.h:39
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
FlavorTagDiscriminants::BTagAugmenterTool::m_trackAssociator
std::string m_trackAssociator
Definition: BTagAugmenterTool.h:33
FlavorTagDiscriminants::BTagAugmenterTool::getConstituentAuxInputKeys
virtual std::set< std::string > getConstituentAuxInputKeys() const override
Definition: BTagAugmenterTool.cxx:41