|
FastJet 3.5.0
|
base class providing interface for a generic function of a PseudoJet More...
#include <fastjet/FunctionOfPseudoJet.hh>

Public Member Functions | |
| FunctionOfPseudoJet () | |
| default ctor | |
| virtual | ~FunctionOfPseudoJet () |
| default dtor (virtual to allow safe polymorphism) | |
| virtual std::string | description () const |
| returns a description of the function (an empty string by default) | |
| virtual TOut | result (const PseudoJet &pj) const =0 |
| the action of the function this has to be overloaded in derived classes | |
| TOut | operator() (const PseudoJet &pj) const |
| apply the function using the "traditional" () operator. | |
| std::vector< TOut > | operator() (const std::vector< PseudoJet > &pjs) const |
| apply the function on a vector of PseudoJet, returning a vector of the results. | |
base class providing interface for a generic function of a PseudoJet
This class serves as a base class to provide a standard interface for a function that returns an object of a given (templated) type that depends on a PseudoJet argument. The rationale for using a class (rather than a pointer to a function) is that a class can be constructed with (and store) additional arguments.
Definition at line 48 of file FunctionOfPseudoJet.hh.
|
inline |
default ctor
Definition at line 51 of file FunctionOfPseudoJet.hh.
|
inlinevirtual |
default dtor (virtual to allow safe polymorphism)
Definition at line 61 of file FunctionOfPseudoJet.hh.
|
inlinevirtual |
returns a description of the function (an empty string by default)
Reimplemented in fastjet::CASubJetTagger, fastjet::Filter, fastjet::BackgroundJetPtDensity, fastjet::BackgroundJetScalarPtDensity, fastjet::BackgroundJetPtMDensity, fastjet::JHTopTagger, fastjet::MassDropTagger, fastjet::Pruner, fastjet::Recluster, fastjet::RestFrameNSubjettinessTagger, fastjet::Subtractor, and fastjet::Transformer.
Definition at line 65 of file FunctionOfPseudoJet.hh.
|
pure virtual |
the action of the function this has to be overloaded in derived classes
| pj | the PseudoJet input to the function |
Implemented in fastjet::BackgroundRescalingYPolynomial, fastjet::CASubJetTagger, fastjet::Filter, fastjet::BackgroundJetPtDensity, fastjet::BackgroundJetScalarPtDensity, fastjet::BackgroundJetPtMDensity, fastjet::JHTopTagger, fastjet::MassDropTagger, fastjet::Pruner, fastjet::Recluster, fastjet::RestFrameNSubjettinessTagger, fastjet::Subtractor, fastjet::SISConeBasePlugin::UserScaleBase, fastjet::Boost, fastjet::Unboost, and fastjet::Transformer.
|
inline |
apply the function using the "traditional" () operator.
By default, this just calls the apply(...) method above.
| pj | the PseudoJet input to the function |
Definition at line 75 of file FunctionOfPseudoJet.hh.
|
inline |
apply the function on a vector of PseudoJet, returning a vector of the results.
This just calls apply on every PseudoJet in the vector.
| pjs | the vector of PseudoJet inputs to the function |
Definition at line 81 of file FunctionOfPseudoJet.hh.