FastJet 3.0.2
|
The structure for a jet made of pieces. More...
#include <fastjet/CompositeJetStructure.hh>
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< PseudoJet > | constituents (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< PseudoJet > | pieces (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 |
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.
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.