32 #ifndef __FASTJET_WRAPPED_STRUCTURE_HH__
33 #define __FASTJET_WRAPPED_STRUCTURE_HH__
35 #include "fastjet/PseudoJetStructureBase.hh"
36 #include "fastjet/Error.hh"
38 FASTJET_BEGIN_NAMESPACE
58 : _structure(to_be_shared){
60 throw Error(
"Trying to construct a wrapped structure around an empty (NULL) structure");
68 return "PseudoJet wrapping the structure ("+_structure->description()+
")";
79 return _structure->has_associated_cluster_sequence();
85 return _structure->associated_cluster_sequence();
91 return _structure->has_valid_cluster_sequence();
97 return _structure->validated_cs();
103 return _structure->validated_csab();
123 return _structure->has_partner(reference, partner);
132 return _structure->has_child(reference, child);
141 return _structure->has_parents(reference, parent1, parent2);
149 return _structure->object_in_jet(reference, jet);
157 return _structure->has_constituents();
164 return _structure->constituents(reference);
169 return _structure->has_exclusive_subjets();
183 return _structure->exclusive_subjets(reference, dcut);
192 return _structure->n_exclusive_subjets(reference, dcut);
201 return _structure->exclusive_subjets_up_to (reference, nsub);
209 return _structure->exclusive_subdmerge(reference, nsub);
218 return _structure->exclusive_subdmerge_max(reference, nsub);
229 return _structure->has_pieces(reference);
236 return _structure->pieces(reference);
247 return _structure->has_area();
254 return _structure->area(reference);
262 return _structure->area_error(reference);
276 return _structure->is_pure_ghost(reference);
285 FASTJET_END_NAMESPACE
287 #endif // __FASTJET_PSEUDOJET_STRUCTURE_BASE_HH__