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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 110 of file OverlapRemovalTestAlg.cxx.

111 {
112  // Label bjets
113  const static ort::inputDecorator_t bJetDec(m_bJetLabel);
114  bJetDec(jet) = false;
115  double mv2c10 = 0.;
117  if(btag && btag->MVx_discriminant("MV2c10", mv2c10)){
118  if(mv2c10 > -0.1416) bJetDec(jet) = true;
119  }
120  else ATH_MSG_WARNING("BTag info unavailable!");
121  if(jet.pt() < 20.*GeV) return false;
122  if(std::abs(jet.eta()) > 2.5) return false;
123  return true;
124 }

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

Definition at line 127 of file OverlapRemovalTestAlg.cxx.

128 {
129  if(obj.pt() < 20.*GeV) return false;
130  if(std::abs(obj.eta()) > 2.5) return false;
131  return true;
132 }
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::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