Namespace cleanup in DD4hep examples
The DD4hep examples need some cleanup in namespaces:
- remove
using namespace bla bla everywhere
- check if the
create()
factory methods can go into a namespace
The following discussion from !164 (merged) should be addressed:
-
@pagessin started a discussion: (+2 comments) This is not namespaced, and that's a bit dangerous I think. This symbol will clash with the one that's called the same in
ODDCylinder_geo.cpp
if they are linked together. I don't think they are at the moment, since they go into separate examples, but the fact that it's not possible bugs me a bit. Could you namespace them maybe?