00001 #ifndef DD_DDPartSelectionExpander_h 00002 #define DD_DDPartSelectionExpander_h 00003 00004 #include "DetectorDescription/Core/interface/adjgraph.h" 00005 #include "DetectorDescription/Core/interface/DDPartSelection.h" 00006 #include "DetectorDescription/Core/interface/DDCompactView.h" 00007 00008 00009 typedef graph<DDPartSelectionLevel,char> PartSelectionTree; 00010 00011 00012 class DDPartSelectionExpander 00013 { 00014 public: 00015 explicit DDPartSelectionExpander(const DDCompactView &); 00016 00017 size_t expand(const DDPartSelection & input, PartSelectionTree & result) const; 00018 00019 private: 00020 const DDCompactView::graph_type & graph_; 00021 }; 00022 00023 #endif