Rivet API documentation
![]() |
Rivet 4.1.3
|
JetUtils.hh
244 CONTAINER& itrimJetsFrac(CONTAINER& jets, const double frac, const JetSorter& sortFunc = cmpMomByPt) {
292 template <typename... Args, typename CONTAINER, typename = std::enable_if_t<is_citerable_v<CONTAINER>, Jet>>
334 template <typename CONTAINER, typename = std::enable_if_t<is_citerable_v<CONTAINER>, PseudoJet>>
bool cTagged(const Cut &c=Cuts::open(), double dRmax=-1) const
Does this jet have at least one c-tag? (with optional Cut and dR restriction).
Definition Jet.hh:217
bool tauTagged(const Cut &c=Cuts::open(), double dRmax=-1) const
Does this jet have at least one tau-tag (with optional Cut and dR restriction).
Definition Jet.hh:246
bool bTagged(const Cut &c=Cuts::open(), double dRmax=-1) const
Does this jet have at least one b-tag? (with optional Cut and dR restriction).
Definition Jet.hh:188
Particle representation, either from a HepMC::GenEvent or reconstructed.
Definition Particle.hh:50
Jets & idiscard(Jets &jets, const Cut &c)
Filter a jet collection in-place to the subset that fails the supplied Cut.
Jets select(const Jets &jets, const Cut &c)
Filter a jet collection in-place to the subset that passes the supplied Cut.
Definition JetUtils.hh:183
Jets & iselect(Jets &jets, const Cut &c)
Filter a jet collection in-place to the subset that passes the supplied Cut.
Jets discard(const Jets &jets, const Cut &c)
Filter a jet collection in-place to the subset that fails the supplied Cut.
Definition JetUtils.hh:201
PseudoJet & ifilterPseudoJets(PseudoJet &pj, const fastjet::Filter &filter)
Apply given FastJet::Filter filter to PseudoJet pj in-place.
PseudoJet filterPseudoJets(const PseudoJet &pj, const fastjet::Filter &filter)
Apply given FastJet::Filter param filter to PseudoJet pj out-of-place.
Definition JetUtils.hh:353
function< bool(const Jet &, const Jet &)> JetSorter
std::function instantiation for functors taking two Jets and returning a bool
Definition JetUtils.hh:46
function< bool(const Jet &)> JetSelector
std::function instantiation for functors taking a Jet and returning a bool
Definition JetUtils.hh:44
Jet & itrimJetsFrac(Jet &jet, const double frac)
Trim subjets with insufficient pT fraction.
Jet trimJetsFrac(const Jet &jet, double frac)
Trim subjets with insufficient pT fraction.
Definition JetUtils.hh:278
MOMS & isortBy(MOMS &pbs, const CMP &cmp)
Sort a container of momenta by cmp and return by reference for non-const inputs.
Definition Vector4.hh:1422
bool cmpMomByPt(const FourMomentum &a, const FourMomentum &b)
Comparison to give a sorting by decreasing pT.
Definition Vector4.hh:1333
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:819
Definition LHCbCommon.hh:9
Cut operator&&(const Cut &aptr, const Cut &bptr)
Cut operator||(const Cut &aptr, const Cut &bptr)
B-tagging functor, with a tag selection cut as the stored state.
Definition JetUtils.hh:114
C-tagging functor, with a tag selection cut as the stored state.
Definition JetUtils.hh:128
Anti-B/C-tagging functor, with a tag selection cut as the stored state.
Definition JetUtils.hh:156
Tau-tagging functor, with a tag selection cut as the stored state.
Definition JetUtils.hh:142
Generated on for Rivet by
