Rivet::Particle Class Reference Particle representation, either from a HepMC::GenEvent or reconstructed. More...
Inheritance diagram for Rivet::Particle:
![]()
Detailed DescriptionParticle representation, either from a HepMC::GenEvent or reconstructed. Constructor & Destructor Documentation
Default constructor.
Member Function Documentation
Get a list of the ancestors of the current particle (with optional selection Cut)
Referenced by ancestors(), and hasAncestorWith().
Get a list of the direct parents of the current particle (with selector function)
References ancestors(), and Rivet::filter_select(). Get a list of the direct descendants from the current particle (with optional selection Cut)
Referenced by children(), hasChildWith(), isLastWith(), Rivet::isRadiative(), Rivet::PartonicTops::project(), Rivet::TAU_EFF_ATLAS_RUN1(), and Rivet::TAU_EFF_ATLAS_RUN2().
Find the point of closest approach to the primary vertex.
References origin(), Rivet::FourVector::perp(), Rivet::ParticleBase::phi(), and Rivet::ParticleBase::theta().
Direct constituents of this particle, returned by reference. The returned vector will be empty if this particle is non-composite, and its entries may themselves be composites. Referenced by constituents(), isComposite(), and Rivet::DressedLepton::photons().
Direct constituents of this particle, sorted by a functor.
References constituents(), and Rivet::sortBy(). Direct constituents of this particle, filtered by a Cut.
References constituents(), and Rivet::filter_select().
Direct constituents of this particle, sorted by a functor.
References constituents(), and Rivet::sortBy().
Direct constituents of this particle, filtered by a selection functor.
References constituents(), and Rivet::filter_select().
Direct constituents of this particle, filtered and sorted by functors.
References constituents(), and Rivet::sortBy().
Determine whether the particle is from a hadron or tau decay. Specifically, walk up the ancestor chain until a status 2 hadron or tau is found, if at all.
References fromHadron(), and fromPromptTau().
Flight length of the particle from origin to decay
Determine whether the particle is from a b-hadron decay.
Referenced by Rivet::fromBottom().
Determine whether the particle is from a c-hadron decay.
Referenced by Rivet::fromCharm().
Determine whether the particle is from a hadron decay.
Referenced by DEPRECATED(), and Rivet::fromHadron().
Determine whether the particle is from a tau which decayed hadronically.
Determine whether the particle is from a prompt tau decay.
References fromTau(). Referenced by DEPRECATED(), and Rivet::fromPromptTau().
Determine whether the particle is from a tau decay.
Referenced by fromPromptTau(), and Rivet::fromTau().
Check whether a given PID is found in the particle's ancestor list
Referenced by Rivet::hasAncestor(), and Rivet::PartonicTops::project().
Check whether any particle in the particle's ancestor list has the requested property
References ancestors(). Referenced by Rivet::hasAncestorWith(), and hasAncestorWithout().
Check whether any particle in the particle's ancestor list has the requested property
Check whether any particle in the particle's ancestor list does not have the requested property
References hasAncestorWith(), and Rivet::ParticleBase::p(). Referenced by Rivet::hasAncestorWithout().
Check whether any particle in the particle's ancestor list does not have the requested property
Check whether any direct child of this particle has the requested property
References children(). Referenced by Rivet::hasChildWith(), hasChildWithout(), Rivet::hasHadronicDecay(), and Rivet::hasLeptonicDecay().
Check whether any direct child of this particle has the requested property
Check whether any direct child of this particle does not have the requested property
References hasChildWith(), and Rivet::ParticleBase::p(). Referenced by Rivet::hasChildWithout().
Check whether any direct child of this particle does not have the requested property
Check whether any descendant of this particle has the requested property
References allDescendants(). Referenced by Rivet::hasDescendantWith(), and hasDescendantWithout().
Check whether any descendant of this particle has the requested property
Check whether any descendant of this particle does not have the requested property
References hasDescendantWith(), and Rivet::ParticleBase::p(). Referenced by Rivet::hasDescendantWithout().
Check whether any descendant of this particle does not have the requested property
Check whether a given PID is found in the particle's parent list
Check whether any particle in the particle's parent list has the requested property
References parents(). Referenced by Rivet::hasParentWith(), and hasParentWithout().
Check whether any particle in the particle's parent list has the requested property
Check whether any particle in the particle's parent list does not have the requested property
References hasParentWith(), and Rivet::ParticleBase::p(). Referenced by Rivet::hasParentWithout().
Check whether any particle in the particle's parent list does not have the requested property
Check whether any stable descendant of this particle has the requested property
References stableDescendants(). Referenced by Rivet::hasStableDescendantWith(), and hasStableDescendantWithout().
Check whether any stable descendant of this particle has the requested property
Check whether any stable descendant of this particle does not have the requested property
References hasStableDescendantWith(), and Rivet::ParticleBase::p(). Referenced by Rivet::hasStableDescendantWithout().
Check whether any stable descendant of this particle does not have the requested property
Shorthand definition of 'promptness' based on set definition flags. A "direct" particle is one directly connected to the hard process. It is a preferred alias for "prompt", since it has no confusing implications about distinguishability by timing information. The boolean arguments allow a decay lepton to be considered direct if its parent was a "real" direct lepton.
Referenced by Rivet::isDirect(), and isPrompt().
Compare particles, based on "external" characteristics, with a little angular tolerance
References Rivet::isZero(), Rivet::ParticleBase::mom(), origin(), and pid(). Referenced by Rivet::isSame().
Cast operator for conversion to GenParticle*
References genParticle(). Get a list of the direct parents of the current particle (with optional selection Cut)
Referenced by hasParentWith(), isFirstWith(), Rivet::isRadiative(), and parents().
Get a list of the direct parents of the current particle (with selector function)
References Rivet::filter_select(), and parents().
Fundamental constituents of this particle.
Referenced by rawConstituents().
Fundamental constituents of this particle, sorted by a functor.
References rawConstituents(), and Rivet::sortBy(). Fundamental constituents of this particle, filtered by a Cut.
References Rivet::filter_select(), and rawConstituents().
Fundamental constituents of this particle, sorted by a functor.
References rawConstituents(), and Rivet::sortBy().
Fundamental constituents of this particle, filtered by a selection functor.
References Rivet::filter_select(), and rawConstituents().
Fundamental constituents of this particle, filtered and sorted by functors.
References rawConstituents(), and Rivet::sortBy(). Get a list of all the stable descendants from the current particle (with optional selection Cut)
Referenced by hasStableDescendantWith(), and stableDescendants(). The documentation for this class was generated from the following file:
Generated by ![]() |