diff --git a/UtilityApps/CMakeLists.txt b/UtilityApps/CMakeLists.txt index a641363278a04f1cff85aac2d1bb749e400f9b8b..5104c8824da255ac9ceb0c02e82a988ccc214641 100644 --- a/UtilityApps/CMakeLists.txt +++ b/UtilityApps/CMakeLists.txt @@ -1,4 +1,3 @@ -# $Id: $ #========================================================================== # AIDA Detector description implementation for LCD #-------------------------------------------------------------------------- @@ -24,7 +23,7 @@ dd4hep_add_executable( print_materials src/print_materials.cpp USES DDRec ) #----------------------------------------------------------------------------------- dd4hep_add_executable( materialScan src/materialScan.cpp USES DDRec ) #----------------------------------------------------------------------------------- -dd4hep_add_executable( graphicalMaterialScan src/graphicalMaterialScan.cpp USES DDRec ) +dd4hep_add_executable( graphicalMaterialScan src/graphicalMaterialScan.cpp USES DDRec ROOT ) #----------------------------------------------------------------------------------- #dd4hep_add_executable( pydd4hep # USES [ROOT REQUIRED COMPONENTS PyROOT] diff --git a/UtilityApps/src/graphicalMaterialScan.cpp b/UtilityApps/src/graphicalMaterialScan.cpp index 00ec8406b77422655f85526a5d7c1d0d007e7e02..fdecc23111c02ced15fe905ee5eb1b2b38135ed0 100644 --- a/UtilityApps/src/graphicalMaterialScan.cpp +++ b/UtilityApps/src/graphicalMaterialScan.cpp @@ -89,7 +89,7 @@ int main(int argc, char** argv) { index[1] = 2; index[2] = 0; labx="Z [cm]"; - laby="Z [cm]"; + laby="X [cm]"; } else if ( XYZ=="z" || XYZ=="Z" ) { index[0] = 2; index[1] = 0;