ATLAS Offline Software
Functions
ORToolBoxTestAlg.cxx File Reference
#include "ORToolBoxTestAlg.h"
#include "AssociationUtils/OverlapRemovalDefs.h"
#include "AssociationUtils/OverlapRemovalInit.h"
#include "xAODBTagging/BTaggingContainer.h"
#include "xAODBTagging/BTaggingUtilities.h"
Include dependency graph for ORToolBoxTestAlg.cxx:

Go to the source code of this file.

Functions

template<>
bool ORToolBoxTestAlg::selectObject< xAOD::Jet > (const xAOD::Jet &jet)
 
template<>
bool ORToolBoxTestAlg::selectObject< xAOD::TauJet > (const xAOD::TauJet &obj)
 

Function Documentation

◆ ORToolBoxTestAlg::selectObject< xAOD::Jet >()

Definition at line 104 of file ORToolBoxTestAlg.cxx.

105 {
106  // Label bjets
107  const static ort::inputDecorator_t bJetDec(m_flags.bJetLabel);
108  bJetDec(jet) = false;
109  double mv2c10 = 0.;
111  if(btag->MVx_discriminant("MV2c10", mv2c10)){
112  if(mv2c10 > -0.1416) bJetDec(jet) = true;
113  }
114  else ATH_MSG_WARNING("BTag info unavailable!");
115  if(jet.pt() < 20.*GeV) return false;
116  if(std::abs(jet.eta()) > 2.5) return false;
117  return true;
118 }

◆ ORToolBoxTestAlg::selectObject< xAOD::TauJet >()

Definition at line 121 of file ORToolBoxTestAlg.cxx.

122 {
123  if(obj.pt() < 20.*GeV) return false;
124  if(std::abs(obj.eta()) > 2.5) return false;
125  return true;
126 }
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
SG::Decorator
Helper class to provide type-safe access to aux data.
Definition: Decorator.h:58
bJetDec
const ort::inputDecorator_t bJetDec(bJetLabel)
xAOD::BTagging_v1
Definition: BTagging_v1.h:39
xAOD::BTaggingUtilities::getBTagging
const BTagging * getBTagging(const SG::AuxElement &part)
Access the default xAOD::BTagging object associated to an object.
Definition: BTaggingUtilities.cxx:37
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
python.PyAthena.obj
obj
Definition: PyAthena.py:135
GeV
#define GeV
Definition: CaloTransverseBalanceVecMon.cxx:30
xAOD::BTagging_v1::MVx_discriminant
bool MVx_discriminant(const std::string &taggername, double &value) const
Definition: BTagging_v1.cxx:381