Rivet API documentation
![]() |
Rivet 4.1.3
|
FastJets.hh
110 : FastJets(fsp, fastjet::JetDefinition(type, rparameter, recom), c, usemuons, useinvis, adef) { }
358 static CONTAINER reclusterJets(const CONTAINER& jetsIn, const fastjet::Filter& filter, Args&&... args) {
379 for (const auto& [key, jetsIn] : jetsMap) rtn[key] = reclusterJets(jetsIn, std::forward<Args>(args)...);
454 typename std::enable_if<Derefable<FILTER>::value, void>::type addFilters(const FILTERS& filters) {
584 static const std::map<JetAlg, std::pair<fastjet::JetAlgorithm, fastjet::RecombinationScheme>> jetAlgMap;
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
static Jet mkJet(const PseudoJet &pj, const Particles &fsparticles, const Particles &tagparticles=Particles())
Make a Rivet Jet from a PseudoJet holding a user_index code for lookup of Rivet fsparticle or tagpart...
FastJets(const FinalState &fsp, FJPluginPtr plugin, fastjet::AreaDefinition *adef, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE)
Explicitly pass in an externally-constructed plugin, with reordered args for easier specification of ...
Definition FastJets.hh:165
static PJetsParts reclusterJetsParts(const Jets &jetsIn, const fastjet::JetDefinition &jDef)
Aux function for reclustering.
PseudoJets pseudojetsByE(double ptmin=0.0) const
Get the pseudo jets, ordered by .
Definition FastJets.hh:482
FastJets(const FinalState &fsp, JetAlg alg, double rparameter=-1, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE, fastjet::AreaDefinition *adef=nullptr)
Convenience constructor using Rivet enums for most common jet algs (including some plugins).
Definition FastJets.hh:190
void clearTrfs()
Don't apply any jet transformers.
Definition FastJets.hh:459
FastJets(const FinalState &fsp, const fastjet::JetDefinition &jdef, fastjet::AreaDefinition *adef, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE)
Definition FastJets.hh:67
std::enable_if< Derefable< FILTER >::value, void >::type addFilters(const FILTERS &filters)
Add a list of grooming filters.
Definition FastJets.hh:454
PseudoJets pseudojetsByRapidity(double ptmin=0.0) const
Get the pseudo jets, ordered by rapidity.
Definition FastJets.hh:487
FastJets(const FinalState &fsp, const fastjet::JetDefinition &jdef, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE, fastjet::AreaDefinition *adef=nullptr)
Definition FastJets.hh:42
FastJets(const FinalState &fsp, const fastjet::JetDefinition &jdef, const Cut &c, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE, fastjet::AreaDefinition *adef=nullptr)
Definition FastJets.hh:54
FastJets(const FinalState &fsp, fastjet::JetAlgorithm type, fastjet::RecombinationScheme recom, double rparameter, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE, fastjet::AreaDefinition *adef=nullptr)
Definition FastJets.hh:90
FastJets(const FinalState &fsp, fastjet::JetAlgorithm type, fastjet::RecombinationScheme recom, double rparameter, const Cut &c, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE, fastjet::AreaDefinition *adef=nullptr)
Definition FastJets.hh:102
std::enable_if< Derefable< TRF >::value, void >::type addTrfs(const TRFS &trfs)
Add a list of grooming transformers.
Definition FastJets.hh:439
FastJets(const FinalState &fsp, const fastjet::JetDefinition &jdef, fastjet::AreaDefinition *adef, const Cut &c, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE)
Definition FastJets.hh:78
void clearJetArea()
Don't calculate a jet area.
Definition FastJets.hh:416
const shared_ptr< fastjet::ClusterSequence > clusterSeq() const
Definition FastJets.hh:499
void addFilter(fastjet::Filter *filter)
Add a grooming filter.
Definition FastJets.hh:446
static FJPluginPtr mkPlugin(JetAlg alg, double rparameter=-1)
Non-templated version only allowing to set rparameter.
FastJets(const FinalState &fsp, FJPluginPtr plugin, const Cut &c, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE, fastjet::AreaDefinition *adef=nullptr)
Explicitly pass in an externally-constructed plugin.
Definition FastJets.hh:152
FastJets(const FinalState &fsp, FJPluginPtr plugin, fastjet::AreaDefinition *adef, const Cut &c, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE)
Explicitly pass in an externally-constructed plugin, with reordered args for easier specification of ...
Definition FastJets.hh:175
PseudoJets pseudojets(double ptmin=0.0) const
FastJets(const FinalState &fsp, JetAlg alg, double rparameter, const Cut &c, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE, fastjet::AreaDefinition *adef=nullptr)
Convenience constructor using Cut argument and Rivet enums for most common jet algs (including some p...
Definition FastJets.hh:208
FastJets(const FinalState &fsp, FJPluginPtr plugin, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE, fastjet::AreaDefinition *adef=nullptr)
Explicitly pass in an externally-constructed plugin.
Definition FastJets.hh:140
static fastjet::JetDefinition mkJetDef(JetAlg alg, double rparameter)
Make a FastJet JetDefinition according to enum JetAlg.
static Jets mkTaggedJets(const Jets &jetsIn, const PJetsParts &pJetsParts)
Aux function for reclustering.
void calc(const Particles &fsparticles, const Particles &tagparticles=Particles())
Do the calculation locally (no caching).
typename mapJetAlg2Plugin< JETALG, void >::type mapJetAlg2Plugin_t
Make usage of "map" a bit more convenient.
Definition FastJets.hh:627
static const std::map< JetAlg, std::pair< fastjet::JetAlgorithm, fastjet::RecombinationScheme > > jetAlgMap
Map of Rivet::JetAlg to targeted fastjet::JetAlgorithm and fastjet::RecombinationScheme.
Definition FastJets.hh:584
const shared_ptr< fastjet::ClusterSequenceArea > clusterSeqArea() const
Definition FastJets.hh:505
void useJetArea(fastjet::AreaDefinition *adef)
Use provided jet area definition.
Definition FastJets.hh:411
static PseudoJets mkClusterInputs(const Particles &fsparticles, const Particles &tagparticles=Particles())
Make PseudoJets for input to a ClusterSequence, with user_index codes for constituent- and tag-partic...
const fastjet::JetDefinition & jetDef() const
Return the jet definition.
Definition FastJets.hh:510
void addTrf(fastjet::Transformer *trf)
Add a grooming transformer (base class of fastjet::Filter, etc.).
Definition FastJets.hh:430
static Jets mkJets(const PseudoJets &pjs, const Particles &fsparticles=Particles(), const Particles &tagparticles=Particles())
Convert a whole list of PseudoJets to a list of Jets, with mkJet-style unpacking.
PseudoJets pseudojetsByPt(double ptmin=0.0) const
Get the pseudo jets, ordered by .
Definition FastJets.hh:477
FastJets(const FinalState &fsp, fastjet::JetAlgorithm type, fastjet::RecombinationScheme recom, double rparameter, fastjet::AreaDefinition *adef, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE)
Definition FastJets.hh:115
const shared_ptr< fastjet::AreaDefinition > areaDef() const
Return the area definition.
Definition FastJets.hh:518
FastJets(const FinalState &fsp, fastjet::JetAlgorithm type, fastjet::RecombinationScheme recom, double rparameter, fastjet::AreaDefinition *adef, const Cut &c, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE)
Definition FastJets.hh:127
Project out all final-state particles in an event. Probably the most important projection in Rivet!
Definition FinalState.hh:12
JetFinder(const FinalState &fs, JetMuons usemuons=JetMuons::ALL, JetInvisibles useinvis=JetInvisibles::NONE)
Constructor.
const PROJ & get(const std::string &name) const
Definition ProjectionApplier.hh:84
PseudoJet & ifilterPseudoJets(PseudoJet &pj, const fastjet::Filter &filter)
Apply given FastJet::Filter filter to PseudoJet pj in-place.
static CONTAINER reclusterJets(const CONTAINER &jetsIn, const fastjet::JetDefinition &jDef, const fastjet::Filter &filter)
Recluster Rivet::Jets.
Definition FastJets.hh:292
static CONTAINER reclusterJets(const CONTAINER &jetsIn, Args &&... args)
Apply the JETALG (given as an template-enum JetAlg and arbitrary param args...) to the given jetsIn j...
Definition FastJets.hh:333
static CONTAINER reclusterJets(const CONTAINER &jetsIn, const fastjet::Filter &filter, Args &&... args)
Apply the JETALG (given as an template-enum JetAlg and arbitrary param args...) to the given jetsIn j...
Definition FastJets.hh:358
static CONTAINER reclusterJets(const CONTAINER &jetsIn, const fastjet::JetDefinition &jDef)
Recluster Rivet::Jets.
Definition FastJets.hh:278
static CONTAINER reclusterJets(const CONTAINER &jetsIn, const FJPluginPtr &jetAlg)
Apply the.
Definition FastJets.hh:304
static CONTAINER reclusterJets(const CONTAINER &jetsIn, const FJPluginPtr &jetAlg, const fastjet::Filter &filter)
Apply the.
Definition FastJets.hh:316
static std::map< T, U > reclusterJets(const std::map< T, U > &jetsMap, Args &&... args)
Apply the JETALG (given as an template-enum JetAlg and arbitrary param args...) to the given jetsMap ...
Definition FastJets.hh:390
static std::map< T, U > reclusterJets(const std::map< T, U > &jetsMap, Args &&... args)
Apply the args... to the given param jetsMap map of jets.
Definition FastJets.hh:377
#define MSG_DEBUG(x)
Debug messaging, not enabled by default, using MSG_LVL.
Definition Logging.hh:195
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:819
Definition LHCbCommon.hh:9
JetInvisibles
Enum for the treatment of invisible particles: whether to include all, some, or none in jet-finding.
Definition JetFinder.hh:18
JetMuons
Enum for the treatment of muons: whether to include all, some, or none in jet-finding.
Definition JetFinder.hh:15
Definition FastJets.hh:589
Generated on for Rivet by
