#include <IParticlesLoader.h>
Definition at line 29 of file IParticlesLoader.h.
◆ AE
◆ IParticles
◆ IParticleSortVar
◆ IPC
◆ IPV
◆ NamedSeq
◆ NamedVar
◆ PartLinks
◆ SeqFromIParticles
◆ Vertex
◆ IParticlesLoader()
Definition at line 27 of file IParticlesLoader.cxx.
39 if (!link.isValid()) {
40 throw std::logic_error(
"invalid particle link");
◆ getData()
◆ getIParticlesFromVertex()
Definition at line 49 of file IParticlesLoader.cxx.
53 std::vector<std::pair<double, const xAOD::IParticle*>>
particles;
58 std::vector<const xAOD::IParticle*> only_particles;
60 only_particles.push_back(
particle.second);
62 return only_particles;
◆ getName()
std::string InDetGNNHardScatterSelection::IParticlesLoader::getName |
( |
| ) |
const |
|
overridevirtual |
◆ getType()
ConstituentsType InDetGNNHardScatterSelection::IParticlesLoader::getType |
( |
| ) |
const |
|
overridevirtual |
◆ iparticleSortVar()
Definition at line 13 of file IParticlesLoader.cxx.
20 return [](
const Ip*
tp,
const Vertex&) {
return tp->pt();};
22 throw std::logic_error(
"Unknown sort function");
◆ m_associator
std::function<IPV(const Vertex&)> InDetGNNHardScatterSelection::IParticlesLoader::m_associator |
|
protected |
◆ m_config
◆ m_customSequenceGetter
◆ m_iparticleSortVar
IParticleSortVar InDetGNNHardScatterSelection::IParticlesLoader::m_iparticleSortVar |
|
protected |
◆ m_name
std::string InDetGNNHardScatterSelection::IConstituentsLoader::m_name |
|
protectedinherited |
The documentation for this class was generated from the following files:
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
std::vector< const xAOD::IParticle * > IPV
Class providing the definition of the 4-vector interface.
std::function< IPV(const Vertex &)> m_associator
IParticleSortVar iparticleSortVar(ConstituentsSortOrder)
getter_utils::CustomSequenceGetter< xAOD::IParticle > m_customSequenceGetter
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
std::vector< const xAOD::IParticle * > getIParticlesFromVertex(const xAOD::Vertex &vertex) const
std::vector< const xAOD::IParticle * > IParticles
IParticleSortVar m_iparticleSortVar