diff --git a/DDG4/examples/initAClick.C b/DDG4/examples/initAClick.C index 79873df28fd2313c846dbd2363fa5844f344645e..605270ec2404768499776ff6bcdc4b8bec461975 100644 --- a/DDG4/examples/initAClick.C +++ b/DDG4/examples/initAClick.C @@ -19,13 +19,13 @@ int initAClick(const char* command=0) { string dd4hep = make_str(gSystem->Getenv("DD4hepINSTALL")); string inc = " -I"+dd4hep+"/include -I"+g4_base+"/include/Geant4 -Wno-shadow -g -O0"; string libs = (" -L"+rootsys+"/lib"); - libs += " -lCore -lCint -lMathCore -L"+dd4hep+"/lib -lDD4hepCore -lDD4hepG4 -lDDSegmentation"; + libs += " -lCore -lCint -lMathCore -L"+dd4hep+"/lib -lDDCore -lDDG4 -lDDSegmentation"; libs += (" -L"+g4_base+"/lib -L"+g4_base+"/lib64 -lG4event -lG4tracking -lG4particles"); gSystem->AddIncludePath(inc.c_str()); gSystem->AddLinkedLibs(libs.c_str()); cout << "Includes: " << gSystem->GetIncludePath() << endl; cout << "Linked libs:" << gSystem->GetLinkedLibs() << endl; - int ret = gSystem->Load("libDD4hepG4Plugins"); + int ret = gSystem->Load("libDDG4Plugins"); return ret; } diff --git a/DDG4/examples/run.C b/DDG4/examples/run.C index ecfef7b36bb2428a2a5f8bd0790802dd7d084d21..ac61809cd02f7d8e64306d0180547e595f695846 100644 --- a/DDG4/examples/run.C +++ b/DDG4/examples/run.C @@ -4,8 +4,8 @@ void run() { //gInterpreter->ProcessLine(".L exampleAClick.C+"); gInterpreter->ProcessLine(".L xmlAClick.C+"); //gInterpreter->ProcessLine(".L TEve.C+"); - //gSystem->Load("libDD4hepCore"); - //gSystem->Load("libDD4hepG4"); + //gSystem->Load("libDDCore"); + //gSystem->Load("libDDG4"); //gInterpreter->ProcessLine(".L FCC_Hcal.C+"); //gInterpreter->ProcessLine(".X DDG4Dump.C+"); //gInterpreter->ProcessLine(".X a.C++"); diff --git a/DDG4/python/DD4hep.py b/DDG4/python/DD4hep.py index 2545d7bb2d4ef60a35d60005a2cf99cff1472ea1..d2a4177c7f10a0bf3b87bbfb74f31f89580c6805 100644 --- a/DDG4/python/DD4hep.py +++ b/DDG4/python/DD4hep.py @@ -6,7 +6,7 @@ def compileAClick(dictionary,g4=True): import os.path dd4hep = os.environ['DD4hepINSTALL'] inc = ' -I'+os.environ['ROOTSYS']+'/include -I'+dd4hep+'/include ' - lib = ' -L'+dd4hep+'/lib -lDD4hepCore -lDD4hepG4 -lDDSegmentation ' + lib = ' -L'+dd4hep+'/lib -lDDCore -lDDG4 -lDDSegmentation ' if g4: geant4 = os.environ['G4INSTALL'] inc = inc + ' -I'+geant4+'/include/Geant4 -Wno-shadow -g -O0 ' @@ -29,9 +29,9 @@ def loadDD4hep(): sys.path.append(os.environ['ROOTSYS']+os.sep+'lib') import ROOT from ROOT import gSystem - result = gSystem.Load("libDD4hepCore") + result = gSystem.Load("libDDCore") if 0 != result: - raise Exception('DDG4.py: Failed to load the Geant4 library libDD4hepCore: '+gSystem.GetErrorStr()) + raise Exception('DDG4.py: Failed to load the Geant4 library libDDCore: '+gSystem.GetErrorStr()) from ROOT import DD4hep as module return module diff --git a/DDG4/python/DDG4.py b/DDG4/python/DDG4.py index db6f79114cebc86a0e5f007b5cb472879173c48c..1ea3529cd5acce69ecef12c285f947a0b971d057 100644 --- a/DDG4/python/DDG4.py +++ b/DDG4/python/DDG4.py @@ -2,9 +2,9 @@ from DD4hep import * def loadDDG4(): from ROOT import gSystem - result = gSystem.Load("libDD4hepG4Plugins") + result = gSystem.Load("libDDG4Plugins") if 0 != result: - raise Exception('DDG4.py: Failed to load the Geant4 library libDD4hepG4: '+gSystem.GetErrorStr()) + raise Exception('DDG4.py: Failed to load the Geant4 library libDDG4: '+gSystem.GetErrorStr()) from ROOT import DD4hep as module return module diff --git a/DDG4/scripts/dumpDDG4.C b/DDG4/scripts/dumpDDG4.C index a0c2290ad2749c540274f9f52f695c2c35806ce8..943e3b6b8fb30b90930963f046bdbee9b2f0e5d5 100644 --- a/DDG4/scripts/dumpDDG4.C +++ b/DDG4/scripts/dumpDDG4.C @@ -209,7 +209,7 @@ int dumpDDG4(const char* fname, int event_num) { int dumpddg4_load_geometry(const char* fname) { if ( !have_geometry ) { have_geometry = true; - gSystem->Load("libDD4hepG4Plugins"); + gSystem->Load("libDDG4Plugins"); LCDD& lcdd = LCDD::getInstance(); lcdd.fromXML(fname); lcdd.apply("DD4hepVolumeManager",0,(char**)0); diff --git a/examples/ClientTests/scripts/BoxTrafos.C b/examples/ClientTests/scripts/BoxTrafos.C index 4974f481a3491555b647689f2bb15f43b6e901e0..6f9d7b7989e06fb2a5876d823e414ae821edea98 100644 --- a/examples/ClientTests/scripts/BoxTrafos.C +++ b/examples/ClientTests/scripts/BoxTrafos.C @@ -14,7 +14,7 @@ //==================================================================== namespace { - struct Loader { Loader() { gSystem->Load("libDD4hepCore"); } } _load; + struct Loader { Loader() { gSystem->Load("libDDCore"); } } _load; } using namespace DD4hep::Geometry; @@ -52,7 +52,7 @@ int BoxTrafos() { xml += "/examples/ClientTests/compact/BoxTrafos.xml"; const char* argv[] = {xml.c_str(), "BUILD_DEFAULT", 0}; - gSystem->Load("libDD4hepCore"); + gSystem->Load("libDDCore"); LCDD& lcdd = LCDD::getInstance(); lcdd.apply("DD4hepCompactLoader",2,(char**)argv); lcdd.apply("DD4hepGeometryDisplay",0,0);