diff --git a/COPYING b/COPYING new file mode 100644 index 0000000000000000000000000000000000000000..ed8adc02f8ec0353ae1e4eeb22ee4daf8e04a277 --- /dev/null +++ b/COPYING @@ -0,0 +1,12 @@ +//========================================================================== +// AIDA Detector description implementation (DD4hep) +//-------------------------------------------------------------------------- +// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) +// All rights reserved. +// +// For the licensing terms see $DD4hepINSTALL/LICENSE. +// For the list of contributors see $DD4hepINSTALL/doc/CREDITS. +// +// Author : M.Frank et al. +// +//========================================================================== diff --git a/DDRec/python/DDRec.py b/DDRec/python/DDRec.py index ada9983e3466752adf582a8ff869f9a2cecb9fde..1496145cd98fea6a42c84783f0cf3107241f178c 100644 --- a/DDRec/python/DDRec.py +++ b/DDRec/python/DDRec.py @@ -9,7 +9,7 @@ # #========================================================================== import logging -import DD4hep as core +import dd4hep as core def loadDDRec(): from ROOT import gSystem diff --git a/DDRec/python/dumpDetectorData.py b/DDRec/python/dumpDetectorData.py index 25b5af6dcb0fba1d996ed5e72dfa21b1a954a9d8..443a18931d59a0751d5ec3bea7d8395bb30494fb 100644 --- a/DDRec/python/dumpDetectorData.py +++ b/DDRec/python/dumpDetectorData.py @@ -73,7 +73,7 @@ except ImportError,X: sys.exit(errno.ENOENT) try: - import DD4hep + import dd4hep except ImportError,X: logging.error('dd4hep python interface not accessible: %s',str(X)) logging.error("%s",parser.format_help()) @@ -87,12 +87,12 @@ except ImportError,X: sys.exit(errno.ENOENT) # -DD4hep.setPrintLevel(DD4hep.OutputLevel.ERROR) +dd4hep.setPrintLevel(dd4hep.OutputLevel.ERROR) logging.info('+++%s\n+++ Loading compact geometry:%s\n+++%s',120*'=',opts.compact,120*'=') -description = DD4hep.Detector.getInstance() +description = dd4hep.Detector.getInstance() description.fromXML(opts.compact)