30 #ifndef __FASTJET_WRAPPED_STRUCTURE_HH__
31 #define __FASTJET_WRAPPED_STRUCTURE_HH__
33 #include "fastjet/PseudoJetStructureBase.hh"
34 #include "fastjet/Error.hh"
36 FASTJET_BEGIN_NAMESPACE
56 : _structure(to_be_shared){
58 throw Error(
"Trying to construct a wrapped structure around an empty (NULL) structure");
66 return "PseudoJet wrapping the structure ("+_structure->description()+
")";
77 return _structure->has_associated_cluster_sequence();
83 return _structure->associated_cluster_sequence();
89 return _structure->has_valid_cluster_sequence();
95 return _structure->validated_cs();
101 return _structure->validated_csab();
121 return _structure->has_partner(reference, partner);
130 return _structure->has_child(reference, child);
139 return _structure->has_parents(reference, parent1, parent2);
147 return _structure->object_in_jet(reference, jet);
155 return _structure->has_constituents();
162 return _structure->constituents(reference);
167 return _structure->has_exclusive_subjets();
181 return _structure->exclusive_subjets(reference, dcut);
190 return _structure->n_exclusive_subjets(reference, dcut);
199 return _structure->exclusive_subjets_up_to (reference, nsub);
207 return _structure->exclusive_subdmerge(reference, nsub);
216 return _structure->exclusive_subdmerge_max(reference, nsub);
227 return _structure->has_pieces(reference);
234 return _structure->pieces(reference);
245 return _structure->has_area();
252 return _structure->area(reference);
260 return _structure->area_error(reference);
274 return _structure->is_pure_ghost(reference);
283 FASTJET_END_NAMESPACE
285 #endif // __FASTJET_PSEUDOJET_STRUCTURE_BASE_HH__