ATLAS Offline Software
PhysicsAnalysis
AnalysisCommon
AssociationUtils
Root
BJetHelper.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Local includes
6
#include "
AssociationUtils/BJetHelper.h
"
7
8
namespace
ORUtils
9
{
10
11
//---------------------------------------------------------------------------
12
// Constructor
13
//---------------------------------------------------------------------------
14
BJetHelper::BJetHelper
(
const
std::string&
bJetLabel
)
15
: m_bJetAccessor(
bJetLabel
)
16
{}
17
18
//---------------------------------------------------------------------------
19
// Determine if jet is flagged as a bjet
20
//---------------------------------------------------------------------------
21
bool
BJetHelper::isBJet
(
const
xAOD::Jet
&
jet
)
const
22
{
23
return
m_bJetAccessor
(
jet
);
24
}
25
26
}
// namespace ORUtils
bJetLabel
const std::string bJetLabel
Definition:
OverlapRemovalTester.cxx:70
BJetHelper.h
ORUtils::BJetHelper::m_bJetAccessor
ort::inputAccessor_t m_bJetAccessor
BJet label accessor.
Definition:
BJetHelper.h:35
ORUtils::BJetHelper::BJetHelper
BJetHelper(const std::string &bJetLabel)
Constructor.
Definition:
BJetHelper.cxx:14
ORUtils
Definition:
AltMuJetOverlapTool.h:20
ORUtils::BJetHelper::isBJet
bool isBJet(const xAOD::Jet &jet) const
Check if an object is labeled as a b-jet.
Definition:
BJetHelper.cxx:21
jet
Definition:
JetCalibTools_PlotJESFactors.cxx:23
xAOD::Jet_v1
Class describing a jet.
Definition:
Jet_v1.h:57
Generated on Thu Nov 7 2024 21:10:49 for ATLAS Offline Software by
1.8.18