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
13 constituentAcc( "constituentLinks" );
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.
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:572
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
Jet_v1 Jet
Definition of the current "jet version".