ATLAS Offline Software
DL2HighLevel.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DL2_HIGH_LEVEL_HH
6 #define DL2_HIGH_LEVEL_HH
7 
11 
12 // EDM includes
14 #include "xAODJet/JetFwd.h"
16 
17 #include <memory>
18 #include <string>
19 #include <map>
20 #include <cmath>
21 
22 namespace FlavorTagDiscriminants {
23 
24  class DL2;
25 
27  {
28  public:
29  DL2HighLevel(const std::string& nn_file_name,
31  std::map<std::string, std::string> remap_scalar = {},
33  float default_output_value = NAN);
37  void decorate(const xAOD::BTagging& btag) const;
38  void decorate(const xAOD::Jet& jet) const;
39  void decorateWithDefaults(const SG::AuxElement& jet) const;
41  private:
42  std::shared_ptr<const DL2> m_dl2;
43  };
44 
45 }
46 
47 #endif
FlavorTagDiscriminants::FlipTagConfig::STANDARD
@ STANDARD
FlavorTagDiscriminants::DL2HighLevel::getDataDependencyNames
FTagDataDependencyNames getDataDependencyNames() const
Definition: DL2HighLevel.cxx:70
FlavorTagDiscriminants
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition: AssociationEnums.h:11
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
FlavorTagDiscriminants::DL2HighLevel::~DL2HighLevel
~DL2HighLevel()
FlavorTagDiscriminants::DL2HighLevel
Definition: DL2HighLevel.h:27
FlipTagEnums.h
FlavorTagDiscriminants::DL2HighLevel::decorate
void decorate(const xAOD::BTagging &btag) const
Definition: DL2HighLevel.cxx:60
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
FlavorTagDiscriminants::FTagDataDependencyNames
Definition: FTagDataDependencyNames.h:12
FlavorTagDiscriminants::TrackLinkType
TrackLinkType
Definition: AssociationEnums.h:12
xAOD::BTagging_v1
Definition: BTagging_v1.h:39
FTagDataDependencyNames.h
FlavorTagDiscriminants::DL2HighLevel::decorateWithDefaults
void decorateWithDefaults(const SG::AuxElement &jet) const
Definition: DL2HighLevel.cxx:66
JetFwd.h
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
FlavorTagDiscriminants::DL2HighLevel::DL2HighLevel
DL2HighLevel(DL2HighLevel &&)
FlavorTagDiscriminants::DL2HighLevel::DL2HighLevel
DL2HighLevel(const DL2HighLevel &)
FlavorTagDiscriminants::FlipTagConfig
FlipTagConfig
Definition: FlipTagEnums.h:14
AssociationEnums.h
FlavorTagDiscriminants::DL2HighLevel::m_dl2
std::shared_ptr< const DL2 > m_dl2
Definition: DL2HighLevel.h:42
BTaggingFwd.h
AuxElement.h
Base class for elements of a container that can have aux data.
FlavorTagDiscriminants::DL2HighLevel::DL2HighLevel
DL2HighLevel(const std::string &nn_file_name, FlipTagConfig=FlipTagConfig::STANDARD, std::map< std::string, std::string > remap_scalar={}, TrackLinkType=TrackLinkType::TRACK_PARTICLE, float default_output_value=NAN)
Definition: DL2HighLevel.cxx:24
FlavorTagDiscriminants::TrackLinkType::TRACK_PARTICLE
@ TRACK_PARTICLE