Skip to content
Snippets Groups Projects
Commit 292d138f authored by Markus Frank's avatar Markus Frank
Browse files

Move to DD4hep segmentations ready for testing...

parent e2e3390d
No related branches found
No related tags found
No related merge requests found
...@@ -124,8 +124,8 @@ void SegmentationObject::neighbours(const CellID& cell, std::set<CellID>& nb) co ...@@ -124,8 +124,8 @@ void SegmentationObject::neighbours(const CellID& cell, std::set<CellID>& nb) co
/// Constructor to used when creating a new object /// Constructor to used when creating a new object
Segmentation::Segmentation(const string& typ, const string& nam, BitField64* dec) : Handle<Object>() Segmentation::Segmentation(const string& typ, const string& nam, BitField64* dec) : Handle<Object>()
{ {
string type = "segmentation_constructor__"+typ; string seg_type = "segmentation_constructor__"+typ;
SegmentationObject* obj = PluginService::Create<SegmentationObject*>(type, dec); SegmentationObject* obj = PluginService::Create<SegmentationObject*>(seg_type, dec);
if ( obj != 0 ) { if ( obj != 0 ) {
assign(obj, nam, typ); assign(obj, nam, typ);
if ( !nam.empty() ) obj->setName(nam); if ( !nam.empty() ) obj->setName(nam);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment