FastJet 3.0.2
Public Member Functions | Protected Attributes
fastjet::CompositeJetStructure Class Reference

The structure for a jet made of pieces. More...

#include <fastjet/CompositeJetStructure.hh>

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

List of all members.

Public Member Functions

 CompositeJetStructure ()
 default ctor
 CompositeJetStructure (const std::vector< PseudoJet > &initial_pieces, const JetDefinition::Recombiner *recombiner=0)
 ctor with initialisation
virtual ~CompositeJetStructure ()
 default dtor
virtual std::string description () const
 description
virtual bool has_constituents () const
 true unless the jet has no pieces (see also the description of constituents() below)
virtual std::vector< PseudoJetconstituents (const PseudoJet &jet) const
 return the constituents (i.e.
virtual bool has_pieces (const PseudoJet &) const
 true if it has pieces (always the case)
virtual std::vector< PseudoJetpieces (const PseudoJet &jet) const
 returns the pieces
virtual bool has_area () const
 check if it has a well-defined area
virtual double area (const PseudoJet &reference) const
 return the jet (scalar) area.
virtual double area_error (const PseudoJet &reference) const
 return the error (uncertainty) associated with the determination of the area of this jet.
virtual PseudoJet area_4vector (const PseudoJet &reference) const
 return the jet 4-vector area.
virtual bool is_pure_ghost (const PseudoJet &reference) const
 true if this jet is made exclusively of ghosts.
void set_area_information (PseudoJet *area_4vector_ptr)

Protected Attributes

std::vector< PseudoJet_pieces
 the pieces building the jet
PseudoJet_area_4vector_ptr
 pointer to the 4-vector jet area

Detailed Description

The structure for a jet made of pieces.

This stores the vector of the pieces that make the jet and provide the methods to access them

Definition at line 47 of file CompositeJetStructure.hh.


Member Function Documentation

std::vector< PseudoJet > fastjet::CompositeJetStructure::constituents ( const PseudoJet jet) const [virtual]

return the constituents (i.e.

the union of the constituents of each piece)

If any of the pieces has no constituent, the piece itself is considered as a constituent Note that as a consequence, a composite jet with no pieces will have an empty vector as constituents

Reimplemented from fastjet::PseudoJetStructureBase.

Definition at line 95 of file CompositeJetStructure.cc.

double fastjet::CompositeJetStructure::area_error ( const PseudoJet reference) const [virtual]

return the error (uncertainty) associated with the determination of the area of this jet.

Be conservative: return the sum of the errors

Reimplemented from fastjet::PseudoJetStructureBase.

Definition at line 140 of file CompositeJetStructure.cc.

bool fastjet::CompositeJetStructure::is_pure_ghost ( const PseudoJet reference) const [virtual]

true if this jet is made exclusively of ghosts.

In this case, it will be true if all pieces are pure ghost

Reimplemented from fastjet::PseudoJetStructureBase.

Definition at line 162 of file CompositeJetStructure.cc.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends