#include <IParticlesLoader.h>
Definition at line 34 of file IParticlesLoader.h.
◆ AE
◆ IParticles
◆ IParticleSortVar
◆ IPC
◆ IPV
◆ Jet
◆ NamedSeq
◆ NamedVar
◆ PartLinks
◆ SeqFromIParticles
◆ IParticlesLoader()
Definition at line 27 of file IParticlesLoader.cxx.
33 m_seqGetter(getter_utils::SeqGetter<xAOD::IParticle>(
40 if (!link.isValid()) {
41 throw std::logic_error(
"invalid particle link");
48 if (
cfg.name.find(
"charged") != std::string::npos){
◆ getData()
◆ getDependencies()
◆ getIParticlesFromJet()
Definition at line 57 of file IParticlesLoader.cxx.
61 std::vector<std::pair<double, const xAOD::IParticle*>>
particles;
66 std::vector<const xAOD::IParticle*> only_particles;
71 throw std::runtime_error(
"IParticlesLoader: Dynamic cast to FlowElement failed");
85 only_particles.push_back(
obj);
87 return only_particles;
◆ getName()
std::string FlavorTagDiscriminants::IParticlesLoader::getName |
( |
| ) |
const |
|
overridevirtual |
◆ getType()
◆ getUsedRemap()
std::set< std::string > FlavorTagDiscriminants::IParticlesLoader::getUsedRemap |
( |
| ) |
const |
|
overridevirtual |
◆ iparticleSortVar()
Definition at line 13 of file IParticlesLoader.cxx.
20 return [](
const Ip*
tp,
const Jet&) {
return tp->pt();};
22 throw std::logic_error(
"Unknown sort function");
◆ m_associator
std::function<IPV(const Jet&)> FlavorTagDiscriminants::IParticlesLoader::m_associator |
|
protected |
◆ m_config
◆ m_deps
◆ m_iparticleSortVar
◆ m_isCharged
bool FlavorTagDiscriminants::IParticlesLoader::m_isCharged |
|
protected |
◆ m_name
std::string FlavorTagDiscriminants::IConstituentsLoader::m_name |
|
protectedinherited |
◆ m_seqGetter
◆ m_used_remap
std::set<std::string> FlavorTagDiscriminants::IConstituentsLoader::m_used_remap |
|
protectedinherited |
The documentation for this class was generated from the following files:
std::vector< const xAOD::IParticle * > getIParticlesFromJet(const xAOD::Jet &jet) const
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
std::vector< const xAOD::IParticle * > IParticles
Class providing the definition of the 4-vector interface.
IParticleSortVar iparticleSortVar(ConstituentsSortOrder)
IParticleSortVar m_iparticleSortVar
getter_utils::SeqGetter< xAOD::IParticle > m_seqGetter
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 * > IPV
std::function< IPV(const Jet &)> m_associator