Skip to content
Snippets Groups Projects
Commit bbde8c0b authored by Julien Maurer's avatar Julien Maurer
Browse files

Merge branch 'pjt-in-ab-3' into '22.0'

Sweep 22.0: Sweep to master: Convert flavor tagging labeling tools to decorators

See merge request atlas/athena!56870
parents 7e132c3b 65a55773
No related branches found
No related tags found
4 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!56921Daily merge of 22.0 into master, Sept 21,!56870Sweep 22.0: Sweep to master: Convert flavor tagging labeling tools to decorators
......@@ -9,7 +9,7 @@
#include "xAODTruth/TruthParticle.h"
#include "xAODJet/Jet.h"
#include "xAODTruth/TruthVertex.h"
#include "StoreGate/ReadHandleKey.h"
#include "AsgDataHandles/ReadHandleKey.h"
#include <vector>
......@@ -35,7 +35,7 @@ namespace ParticleJetTools {
IParticleLinker(const SG::ReadHandleKey<xAOD::TruthParticleContainer>&,
const std::string& linkName);
void decorate(const xAOD::Jet&,
const std::vector<const xAOD::TruthParticle*>&);
const std::vector<const xAOD::TruthParticle*>&) const;
private:
using IPLV = std::vector<ElementLink<xAOD::IParticleContainer>>;
SG::AuxElement::Decorator<IPLV> m_dec;
......
......@@ -112,7 +112,7 @@ namespace ParticleJetTools {
}
void IParticleLinker::decorate(
const xAOD::Jet& jet,
const std::vector<const xAOD::TruthParticle*>& ipv)
const std::vector<const xAOD::TruthParticle*>& ipv) const
{
IPLV links;
for (const xAOD::TruthParticle* ip: ipv) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment