ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
FlavorTagInference
FlavorTagInference
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
11
#include "
FlavorTagInference/ConstituentsLoader.h
"
12
#include "
FlavorTagInference/CustomGetterUtils.h
"
13
14
#include "
xAODCaloEvent/CaloCluster.h
"
15
16
#include <string>
17
#include <vector>
18
#include <set>
19
#include <functional>
20
21
namespace
FlavorTagInference
{
22
23
class
TowerLoader
:
public
IConstituentsLoader
{
24
public
:
25
TowerLoader
(
const
ConstituentsInputConfig
& cfg,
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
:
33
using
IPC
=
xAOD::IParticleContainer
;
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
&)>;
39
SortVar
m_sortVar
;
40
getter_utils::SeqGetter<xAOD::CaloCluster>
m_seqGetter
;
41
42
Towers
getTowersFromJet
(
const
xAOD::IParticle
&
jet
)
const
;
43
};
44
}
45
46
#endif
CaloCluster.h
ConstituentsLoader.h
CustomGetterUtils.h
FlavorTagInference::IConstituentsLoader::IConstituentsLoader
IConstituentsLoader(const ConstituentsInputConfig &cfg)
Definition
PhysicsAnalysis/JetTagging/FlavorTagInference/FlavorTagInference/ConstituentsLoader.h:87
FlavorTagInference::TowerLoader::getDependencies
const FTagDataDependencyNames & getDependencies() const override
Definition
TowerLoader.cxx:64
FlavorTagInference::TowerLoader::getTowersFromJet
Towers getTowersFromJet(const xAOD::IParticle &jet) const
Definition
TowerLoader.cxx:27
FlavorTagInference::TowerLoader::SortVar
std::function< double(const xAOD::CaloCluster *, const xAOD::IParticle &)> SortVar
Definition
TowerLoader.h:37
FlavorTagInference::TowerLoader::getUsedRemap
const std::set< std::string > & getUsedRemap() const override
Definition
TowerLoader.cxx:67
FlavorTagInference::TowerLoader::IPC
xAOD::IParticleContainer IPC
Definition
TowerLoader.h:33
FlavorTagInference::TowerLoader::m_seqGetter
getter_utils::SeqGetter< xAOD::CaloCluster > m_seqGetter
Definition
TowerLoader.h:40
FlavorTagInference::TowerLoader::m_sortVar
SortVar m_sortVar
Definition
TowerLoader.h:39
FlavorTagInference::TowerLoader::Towers
std::vector< const xAOD::CaloCluster * > Towers
Definition
TowerLoader.h:35
FlavorTagInference::TowerLoader::getName
const std::string & getName() const override
Definition
TowerLoader.cxx:70
FlavorTagInference::TowerLoader::getData
Inputs getData(const xAOD::IParticle &jet) const override
Definition
TowerLoader.cxx:59
FlavorTagInference::TowerLoader::PartLinks
std::vector< ElementLink< IPC > > PartLinks
Definition
TowerLoader.h:34
FlavorTagInference::TowerLoader::TowerLoader
TowerLoader(const ConstituentsInputConfig &cfg, const FTagOptions &options)
Definition
TowerLoader.cxx:12
FlavorTagInference::TowerLoader::getType
const ConstituentsType & getType() const override
Definition
TowerLoader.cxx:73
FlavorTagInference::getter_utils::SeqGetter
Template class to extract features from sequence of constituents.
Definition
PhysicsAnalysis/JetTagging/FlavorTagInference/FlavorTagInference/CustomGetterUtils.h:70
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
FlavorTagInference
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition
CaloClusterLoader.h:27
FlavorTagInference::ConstituentsType
ConstituentsType
Definition
PhysicsAnalysis/JetTagging/FlavorTagInference/FlavorTagInference/ConstituentsLoader.h:49
FlavorTagInference::Inputs
std::pair< std::vector< float >, std::vector< int64_t > > Inputs
Definition
SaltModelEDMLoaderBase.h:25
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
xAOD::IParticleContainer
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.
Definition
xAOD/xAODBase/xAODBase/IParticleContainer.h:32
FlavorTagInference::ConstituentsInputConfig
Definition
PhysicsAnalysis/JetTagging/FlavorTagInference/FlavorTagInference/ConstituentsLoader.h:68
FlavorTagInference::FTagDataDependencyNames
Definition
FTagDataDependencyNames.h:12
FlavorTagInference::FTagOptions
Definition
PhysicsAnalysis/JetTagging/FlavorTagInference/FlavorTagInference/DataPrepUtilities.h:45
Generated on
for ATLAS Offline Software by
1.16.1