ATLAS Offline Software
Loading...
Searching...
No Matches
TowerLoader.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
4 Loader for CaloCalFwdTopoTowers accessed via GhostTower ElementLinks.
5 Single-hop navigation: jet -> GhostTower -> CaloCluster.
6*/
7
8#ifndef TOWER_LOADER_H
9#define TOWER_LOADER_H
10
13
15
16#include <string>
17#include <vector>
18#include <set>
19#include <functional>
20
21namespace FlavorTagInference {
22
24 public:
26 const FTagOptions& options);
27 Inputs getData(const xAOD::IParticle& jet) const override;
28 const FTagDataDependencyNames& getDependencies() const override;
29 const std::set<std::string>& getUsedRemap() const override;
30 const std::string& getName() const override;
31 const ConstituentsType& getType() const override;
32 private:
34 using PartLinks = std::vector<ElementLink<IPC>>;
35 using Towers = std::vector<const xAOD::CaloCluster*>;
36
37 using SortVar = std::function<double(const xAOD::CaloCluster*,
38 const xAOD::IParticle&)>;
41
43 };
44}
45
46#endif
const FTagDataDependencyNames & getDependencies() const override
Towers getTowersFromJet(const xAOD::IParticle &jet) const
std::function< double(const xAOD::CaloCluster *, const xAOD::IParticle &)> SortVar
Definition TowerLoader.h:37
const std::set< std::string > & getUsedRemap() const override
xAOD::IParticleContainer IPC
Definition TowerLoader.h:33
getter_utils::SeqGetter< xAOD::CaloCluster > m_seqGetter
Definition TowerLoader.h:40
std::vector< const xAOD::CaloCluster * > Towers
Definition TowerLoader.h:35
const std::string & getName() const override
Inputs getData(const xAOD::IParticle &jet) const override
std::vector< ElementLink< IPC > > PartLinks
Definition TowerLoader.h:34
TowerLoader(const ConstituentsInputConfig &cfg, const FTagOptions &options)
const ConstituentsType & getType() const override
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
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.