FastJet 3.4.1
Public Member Functions | List of all members
fastjet::FilterStructure Class Reference

Class to contain structure information for a filtered jet. More...

#include <fastjet/tools/Filter.hh>

Inheritance diagram for fastjet::FilterStructure:
Inheritance graph
[legend]
Collaboration diagram for fastjet::FilterStructure:
Collaboration graph
[legend]

Public Member Functions

 FilterStructure (const std::vector< PseudoJet > &pieces_in, const JetDefinition::Recombiner *rec=0)
 constructor from an original ClusterSequenceInfo We just share the original ClusterSequenceWrapper and initialise the rest More...
 
virtual ~FilterStructure ()
 virtual dtor to allow further overloading
More...
 
virtual std::string description () const
 description More...
 
- Public Member Functions inherited from fastjet::CompositeJetStructure
 CompositeJetStructure ()
 default ctor More...
 
 CompositeJetStructure (const std::vector< PseudoJet > &initial_pieces, const JetDefinition::Recombiner *recombiner=0)
 ctor with initialisation More...
 
virtual ~CompositeJetStructure ()
 default dtor More...
 
virtual std::string description () const override
 description More...
 
virtual bool has_constituents () const override
 true unless the jet has no pieces (see also the description of constituents() below) More...
 
virtual std::vector< PseudoJetconstituents (const PseudoJet &jet) const override
 return the constituents (i.e. More...
 
virtual bool has_pieces (const PseudoJet &) const override
 true if it has pieces (always the case) More...
 
virtual std::vector< PseudoJetpieces (const PseudoJet &jet) const override
 returns the pieces More...
 
virtual bool has_area () const override
 check if it has a well-defined area More...
 
virtual double area (const PseudoJet &reference) const override
 return the jet (scalar) area. More...
 
virtual double area_error (const PseudoJet &reference) const override
 return the error (uncertainty) associated with the determination of the area of this jet. More...
 
virtual PseudoJet area_4vector (const PseudoJet &reference) const override
 return the jet 4-vector area. More...
 
virtual bool is_pure_ghost (const PseudoJet &reference) const override
 true if this jet is made exclusively of ghosts. More...
 
void discard_area ()
 disable the area of the composite jet More...
 
- Public Member Functions inherited from fastjet::PseudoJetStructureBase
 PseudoJetStructureBase ()
 default ctor More...
 
virtual ~PseudoJetStructureBase ()
 default (virtual) dtor More...
 
virtual std::string description () const
 description More...
 
virtual bool has_associated_cluster_sequence () const
 returns true if there is an associated ClusterSequence More...
 
virtual const ClusterSequenceassociated_cluster_sequence () const
 get a (const) pointer to the parent ClusterSequence (NULL if inexistent) More...
 
virtual bool has_valid_cluster_sequence () const
 returns true if this PseudoJet has an associated and still valid ClusterSequence. More...
 
virtual const ClusterSequencevalidated_cs () const
 if the jet has a valid associated cluster sequence then return a pointer to it; otherwise throw an error More...
 
virtual const ClusterSequenceAreaBasevalidated_csab () const
 if the jet has valid area information then return a pointer to the associated ClusterSequenceAreaBase object; otherwise throw an error More...
 
virtual bool has_partner (const PseudoJet &reference, PseudoJet &partner) const
 check if it has been recombined with another PseudoJet in which case, return its partner through the argument. More...
 
virtual bool has_child (const PseudoJet &reference, PseudoJet &child) const
 check if it has been recombined with another PseudoJet in which case, return its child through the argument. More...
 
virtual bool has_parents (const PseudoJet &reference, PseudoJet &parent1, PseudoJet &parent2) const
 check if it is the product of a recombination, in which case return the 2 parents through the 'parent1' and 'parent2' arguments. More...
 
virtual bool object_in_jet (const PseudoJet &reference, const PseudoJet &jet) const
 check if the reference PseudoJet is contained the second one passed as argument. More...
 
virtual bool has_exclusive_subjets () const
 return true if the structure supports exclusive_subjets. More...
 
virtual std::vector< PseudoJetexclusive_subjets (const PseudoJet &reference, const double &dcut) const
 return a vector of all subjets of the current jet (in the sense of the exclusive algorithm) that would be obtained when running the algorithm with the given dcut. More...
 
virtual int n_exclusive_subjets (const PseudoJet &reference, const double &dcut) const
 return the size of exclusive_subjets(...); still n ln n with same coefficient, but marginally more efficient than manually taking exclusive_subjets.size() More...
 
virtual std::vector< PseudoJetexclusive_subjets_up_to (const PseudoJet &reference, int nsub) const
 return the list of subjets obtained by unclustering the supplied jet down to nsub subjets (or all constituents if there are fewer than nsub). More...
 
virtual double exclusive_subdmerge (const PseudoJet &reference, int nsub) const
 return the dij that was present in the merging nsub+1 -> nsub subjets inside this jet. More...
 
virtual double exclusive_subdmerge_max (const PseudoJet &reference, int nsub) const
 return the maximum dij that occurred in the whole event at the stage that the nsub+1 -> nsub merge of subjets occurred inside this jet. More...
 

The filter-specific information

class Filter
 
std::vector< PseudoJet_rejected
 the subjets rejected by the filter More...
 
const std::vector< PseudoJet > & rejected () const
 returns the subjets that were not kept during the filtering procedure (subtracted if the filter requests it, and valid in the original cs) More...
 

Additional Inherited Members

- Protected Attributes inherited from fastjet::CompositeJetStructure
std::vector< PseudoJet_pieces
 the pieces building the jet More...
 
PseudoJet_area_4vector_ptr
 pointer to the 4-vector jet area More...
 

Detailed Description

Class to contain structure information for a filtered jet.

Definition at line 203 of file Filter.hh.

Constructor & Destructor Documentation

◆ FilterStructure()

fastjet::FilterStructure::FilterStructure ( const std::vector< PseudoJet > &  pieces_in,
const JetDefinition::Recombiner rec = 0 
)
inline

constructor from an original ClusterSequenceInfo We just share the original ClusterSequenceWrapper and initialise the rest

Definition at line 208 of file Filter.hh.

◆ ~FilterStructure()

virtual fastjet::FilterStructure::~FilterStructure ( )
inlinevirtual

virtual dtor to allow further overloading

Definition at line 213 of file Filter.hh.

Member Function Documentation

◆ description()

virtual std::string fastjet::FilterStructure::description ( ) const
inlinevirtual

description

Reimplemented from fastjet::CompositeJetStructure.

Definition at line 216 of file Filter.hh.

◆ rejected()

const std::vector< PseudoJet > & fastjet::FilterStructure::rejected ( ) const
inline

returns the subjets that were not kept during the filtering procedure (subtracted if the filter requests it, and valid in the original cs)

Definition at line 228 of file Filter.hh.

Friends And Related Function Documentation

◆ Filter

friend class Filter
friend

Definition at line 230 of file Filter.hh.

Member Data Documentation

◆ _rejected

std::vector<PseudoJet> fastjet::FilterStructure::_rejected
protected

the subjets rejected by the filter

Definition at line 234 of file Filter.hh.


The documentation for this class was generated from the following file: