23 m_used_remap = m_seqGetter.getUsedRemap();
32 static const SG::AuxElement::ConstAccessor<PartLinks> acc(
"GhostTower");
36 if (!acc.isAvailable(
jet)) {
41 if (!link.isValid()) {
42 throw std::logic_error(
"invalid GhostTower link in TowerLoader");
46 towers.push_back(cluster);
53 return m_sortVar(a, jet) > m_sortVar(b, jet);
Principal data class for CaloCell clusters.
ElementLink implementation for ROOT usage.
ConstituentsInputConfig m_config
std::set< std::string > m_used_remap
IConstituentsLoader(const ConstituentsInputConfig &cfg)
FTagDataDependencyNames m_deps
const FTagDataDependencyNames & getDependencies() const override
Towers getTowersFromJet(const xAOD::IParticle &jet) const
const std::set< std::string > & getUsedRemap() const override
getter_utils::SeqGetter< xAOD::CaloCluster > m_seqGetter
std::vector< const xAOD::CaloCluster * > Towers
const std::string & getName() const override
Inputs getData(const xAOD::IParticle &jet) const override
TowerLoader(const ConstituentsInputConfig &cfg, const FTagOptions &options)
const ConstituentsType & getType() const override
Template class to extract features from sequence of constituents.
Class providing the definition of the 4-vector interface.
This file contains "getter" functions used for accessing tagger inputs from the EDM.
std::pair< std::vector< float >, std::vector< int64_t > > Inputs
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.