Base (abstract) class for a jet transformer. More...
#include <Transformer.hh>
Public Types | |
typedef PseudoJetStructureBase | StructureType |
information about the associated structure type | |
Public Member Functions | |
Transformer () | |
default ctor | |
virtual | ~Transformer () |
default dtor | |
virtual std::string | description () const |
description of the transformer | |
virtual PseudoJet | operator() (const PseudoJet &original) const |
action of the transformer on a single jet | |
virtual std::vector< PseudoJet > | operator() (const std::vector< PseudoJet > &originals) const |
action of the transformer on each jet from the vector |
Base (abstract) class for a jet transformer.
The idea of a transformer is that applied to a jet, it somehow modifies its momentum and/or contents.. If applied to a vector of jets, the Transformer is applied to each one individually.
This class here is a base class that provides a basic template on which actual Transformers may be built (one example is a filter).
Any new transformer must implement the operator().
In addition many transformers will want to associated extra information on the resulting jet's substructure, by setting a shared pointer to some class derived from PseudoJetInterfaceBase. It is the user's responsability to implement this and also set up a typedef so that DerivedTransformer::InterfaceType is the corresponding Interface type.
[.......comments still under preparation......]
transformation on them and return the list of modified jets This base class sets the fundamental requirements for all the transformers.
Similarly, to gain access to the information relative to the transformation, a "transformed" PseudoJet will have a corresponding PropertyInterface. Any transformer thus must provide (at least) 2 classes:
Definition at line 75 of file Transformer.hh.