ATLAS Offline Software
Loading...
Searching...
No Matches
JetConstitRemover.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7JetConstitRemover::JetConstitRemover(const std::string& myname): JetModifierBase(myname) { }
8
10
12 static const SG::AuxElement::Accessor< std::vector< ElementLink< xAOD::IParticleContainer > > >
13 constituentAcc( "constituentLinks" );
14 static const SG::AuxElement::Accessor< std::vector< float> >
15 constituentWeightAcc( "constituentWeights" );
16
17
18 if( constituentAcc.isAvailable(jet) ) constituentAcc( jet ).resize(0);
19 if( constituentWeightAcc.isAvailable(jet) ) constituentWeightAcc( jet ).resize(0);
20
21 return 0;
22}
JetConstitRemover(const std::string &myname)
virtual int modifyJet(xAOD::Jet &jet) const
Modify a single jet. This is obsolete and set to be removed.
JetModifierBase(const std::string &myname)
Ctor.
Jet_v1 Jet
Definition of the current "jet version".