From 271875a75ed33a7f8adf397170f2877ed69535be Mon Sep 17 00:00:00 2001 From: agrigora Date: Thu, 9 Oct 2014 16:40:17 +0200 Subject: [PATCH] ITS UPGRADE --- ITS/CMakeLists.txt | 1 + ITS/UPGRADE/CMakeLists.txt | 29 +++++-- ITS/UPGRADE/CMakelibITSUpgradeRec.pkg | 67 -------------- ITS/UPGRADE/CMakelibITSUpgradeSim.pkg | 52 ----------- .../AliITSDigitUpgrade.cxx | 0 .../AliITSDigitUpgrade.h | 0 .../AliITSRecPointU.cxx | 0 .../{v0 => ITSUpgradeBase}/AliITSRecPointU.h | 0 .../{ => ITSUpgradeBase}/AliITSUAux.cxx | 0 ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUAux.h | 0 .../AliITSUCalibrationPix.cxx | 0 .../AliITSUCalibrationPix.h | 0 .../{ => ITSUpgradeBase}/AliITSUGeomTGeo.cxx | 0 .../{ => ITSUpgradeBase}/AliITSUGeomTGeo.h | 0 .../{ => ITSUpgradeBase}/AliITSULoader.cxx | 0 .../{ => ITSUpgradeBase}/AliITSULoader.h | 0 .../{ => ITSUpgradeBase}/AliITSUParamList.cxx | 0 .../{ => ITSUpgradeBase}/AliITSUParamList.h | 0 .../{ => ITSUpgradeBase}/AliITSUSDigit.cxx | 0 .../{ => ITSUpgradeBase}/AliITSUSDigit.h | 0 .../AliITSUSegmentationPix.cxx | 0 .../AliITSUSegmentationPix.h | 0 .../{ => ITSUpgradeBase}/AliITSUSensMap.cxx | 0 .../{ => ITSUpgradeBase}/AliITSUSensMap.h | 0 .../AliITSsegmentationUpgrade.cxx | 0 .../AliITSsegmentationUpgrade.h | 0 ITS/UPGRADE/ITSUpgradeBase/CMakeLists.txt | 75 ++++++++++++++++ .../ITSUpgradeBaseLinkDef.h | 0 .../{ => ITSUpgradeRec}/AliITSUCACell.h | 0 .../{ => ITSUpgradeRec}/AliITSUCATracker.cxx | 0 .../{ => ITSUpgradeRec}/AliITSUCATracker.h | 0 .../AliITSUCATrackingStation.cxx | 0 .../AliITSUCATrackingStation.h | 0 .../AliITSUClusterLines.cxx | 0 .../{ => ITSUpgradeRec}/AliITSUClusterLines.h | 0 .../{ => ITSUpgradeRec}/AliITSUClusterPix.cxx | 0 .../{ => ITSUpgradeRec}/AliITSUClusterPix.h | 0 .../AliITSUClusterizer.cxx | 0 .../{ => ITSUpgradeRec}/AliITSUClusterizer.h | 0 .../{ => ITSUpgradeRec}/AliITSUMatLUT.cxx | 0 .../{ => ITSUpgradeRec}/AliITSUMatLUT.h | 0 .../{ => ITSUpgradeRec}/AliITSURecoDet.cxx | 0 .../{ => ITSUpgradeRec}/AliITSURecoDet.h | 0 .../{ => ITSUpgradeRec}/AliITSURecoLayer.cxx | 0 .../{ => ITSUpgradeRec}/AliITSURecoLayer.h | 0 .../{ => ITSUpgradeRec}/AliITSURecoParam.cxx | 0 .../{ => ITSUpgradeRec}/AliITSURecoParam.h | 0 .../{ => ITSUpgradeRec}/AliITSURecoSens.cxx | 0 .../{ => ITSUpgradeRec}/AliITSURecoSens.h | 0 .../AliITSUReconstructor.cxx | 0 .../AliITSUReconstructor.h | 0 .../{ => ITSUpgradeRec}/AliITSUSeed.cxx | 0 ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUSeed.h | 0 .../{ => ITSUpgradeRec}/AliITSUTrackCond.cxx | 0 .../{ => ITSUpgradeRec}/AliITSUTrackCond.h | 0 .../AliITSUTrackCooked.cxx | 0 .../{ => ITSUpgradeRec}/AliITSUTrackCooked.h | 0 .../{ => ITSUpgradeRec}/AliITSUTrackHyp.cxx | 0 .../{ => ITSUpgradeRec}/AliITSUTrackHyp.h | 0 .../AliITSUTrackerCooked.cxx | 0 .../AliITSUTrackerCooked.h | 0 .../{ => ITSUpgradeRec}/AliITSUTrackerGlo.cxx | 0 .../{ => ITSUpgradeRec}/AliITSUTrackerGlo.h | 0 .../{ => ITSUpgradeRec}/AliITSUVertexer.cxx | 0 .../{ => ITSUpgradeRec}/AliITSUVertexer.h | 0 ITS/UPGRADE/ITSUpgradeRec/CMakeLists.txt | 87 +++++++++++++++++++ .../ITSUpgradeRecLinkDef.h | 0 ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSU.cxx | 0 ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSU.h | 0 .../{ => ITSUpgradeSim}/AliITSUChip.cxx | 0 ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUChip.h | 0 .../{ => ITSUpgradeSim}/AliITSUDigitPix.cxx | 0 .../{ => ITSUpgradeSim}/AliITSUDigitPix.h | 0 .../{ => ITSUpgradeSim}/AliITSUDigitizer.cxx | 0 .../{ => ITSUpgradeSim}/AliITSUDigitizer.h | 0 .../{ => ITSUpgradeSim}/AliITSUHit.cxx | 0 ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUHit.h | 0 .../{ => ITSUpgradeSim}/AliITSUSimuParam.cxx | 0 .../{ => ITSUpgradeSim}/AliITSUSimuParam.h | 0 .../{ => ITSUpgradeSim}/AliITSUSimulation.cxx | 0 .../{ => ITSUpgradeSim}/AliITSUSimulation.h | 0 .../AliITSUSimulationPix.cxx | 0 .../AliITSUSimulationPix.h | 0 .../{ => ITSUpgradeSim}/AliITSUSuze02.cxx | 0 .../{ => ITSUpgradeSim}/AliITSUSuze02.h | 0 ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv0.cxx | 0 ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv0.h | 0 .../{ => ITSUpgradeSim}/AliITSUv0Layer.cxx | 0 .../{ => ITSUpgradeSim}/AliITSUv0Layer.h | 0 ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv1.cxx | 0 ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv1.h | 0 .../{ => ITSUpgradeSim}/AliITSUv1Layer.cxx | 0 .../{ => ITSUpgradeSim}/AliITSUv1Layer.h | 0 ITS/UPGRADE/ITSUpgradeSim/CMakeLists.txt | 82 +++++++++++++++++ .../ITSUpgradeSimLinkDef.h | 0 ITS/UPGRADE/macros/CMakeLists.txt | 29 +++++++ ITS/UPGRADE/macros/QA/CMakeLists.txt | 29 +++++++ cmake/CMakeALICE.cmake | 5 +- 98 files changed, 327 insertions(+), 129 deletions(-) delete mode 100644 ITS/UPGRADE/CMakelibITSUpgradeRec.pkg delete mode 100644 ITS/UPGRADE/CMakelibITSUpgradeSim.pkg rename ITS/UPGRADE/{v0 => ITSUpgradeBase}/AliITSDigitUpgrade.cxx (100%) rename ITS/UPGRADE/{v0 => ITSUpgradeBase}/AliITSDigitUpgrade.h (100%) rename ITS/UPGRADE/{v0 => ITSUpgradeBase}/AliITSRecPointU.cxx (100%) rename ITS/UPGRADE/{v0 => ITSUpgradeBase}/AliITSRecPointU.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUAux.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUAux.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUCalibrationPix.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUCalibrationPix.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUGeomTGeo.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUGeomTGeo.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSULoader.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSULoader.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUParamList.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUParamList.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUSDigit.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUSDigit.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUSegmentationPix.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUSegmentationPix.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUSensMap.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeBase}/AliITSUSensMap.h (100%) rename ITS/UPGRADE/{v0 => ITSUpgradeBase}/AliITSsegmentationUpgrade.cxx (100%) rename ITS/UPGRADE/{v0 => ITSUpgradeBase}/AliITSsegmentationUpgrade.h (100%) create mode 100644 ITS/UPGRADE/ITSUpgradeBase/CMakeLists.txt rename ITS/UPGRADE/{ => ITSUpgradeBase}/ITSUpgradeBaseLinkDef.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUCACell.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUCATracker.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUCATracker.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUCATrackingStation.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUCATrackingStation.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUClusterLines.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUClusterLines.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUClusterPix.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUClusterPix.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUClusterizer.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUClusterizer.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUMatLUT.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUMatLUT.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSURecoDet.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSURecoDet.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSURecoLayer.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSURecoLayer.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSURecoParam.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSURecoParam.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSURecoSens.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSURecoSens.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUReconstructor.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUReconstructor.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUSeed.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUSeed.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUTrackCond.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUTrackCond.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUTrackCooked.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUTrackCooked.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUTrackHyp.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUTrackHyp.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUTrackerCooked.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUTrackerCooked.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUTrackerGlo.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUTrackerGlo.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUVertexer.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeRec}/AliITSUVertexer.h (100%) create mode 100644 ITS/UPGRADE/ITSUpgradeRec/CMakeLists.txt rename ITS/UPGRADE/{ => ITSUpgradeRec}/ITSUpgradeRecLinkDef.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSU.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSU.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUChip.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUChip.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUDigitPix.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUDigitPix.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUDigitizer.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUDigitizer.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUHit.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUHit.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUSimuParam.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUSimuParam.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUSimulation.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUSimulation.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUSimulationPix.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUSimulationPix.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUSuze02.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUSuze02.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv0.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv0.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv0Layer.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv0Layer.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv1.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv1.h (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv1Layer.cxx (100%) rename ITS/UPGRADE/{ => ITSUpgradeSim}/AliITSUv1Layer.h (100%) create mode 100644 ITS/UPGRADE/ITSUpgradeSim/CMakeLists.txt rename ITS/UPGRADE/{ => ITSUpgradeSim}/ITSUpgradeSimLinkDef.h (100%) create mode 100644 ITS/UPGRADE/macros/CMakeLists.txt create mode 100644 ITS/UPGRADE/macros/QA/CMakeLists.txt diff --git a/ITS/CMakeLists.txt b/ITS/CMakeLists.txt index a1a97182950..4c6bfdb593c 100644 --- a/ITS/CMakeLists.txt +++ b/ITS/CMakeLists.txt @@ -16,5 +16,6 @@ add_subdirectory(ITSbase) add_subdirectory(ITSrec) add_subdirectory(ITSsim) +add_subdirectory(UPGRADE) message(STATUS "ITS enabled") diff --git a/ITS/UPGRADE/CMakeLists.txt b/ITS/UPGRADE/CMakeLists.txt index 49956ae3a9f..8004011e2b1 100644 --- a/ITS/UPGRADE/CMakeLists.txt +++ b/ITS/UPGRADE/CMakeLists.txt @@ -1,10 +1,25 @@ -# AliRoot Build System CMakeLists for ITS -# -# Author: Johny Jose m(johny.jose@cern.ch) -# Port of previous Makefile build to cmake +# ************************************************************************** +# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. * +# * * +# * Author: The ALICE Off-line Project. * +# * Contributors are mentioned in the code where appropriate. * +# * * +# * Permission to use, copy, modify and distribute this software and its * +# * documentation strictly for non-commercial purposes is hereby granted * +# * without fee, provided that the above copyright notice appears in all * +# * copies and that both the copyright notice and this permission notice * +# * appear in the supporting documentation. The authors make no claims * +# * about the suitability of this software for any purpose. It is * +# * provided "as is" without express or implied warranty. * +# ************************************************************************** -cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR) +# Libraries +add_subdirectory(ITSUpgradeBase) +add_subdirectory(ITSUpgradeRec) +add_subdirectory(ITSUpgradeSim) -file(GLOB PACKAGES CMake*.pkg) +# Macros +add_subdirectory(macros) +add_subdirectory(macros/QA) -ALICE_BuildModule() +message(STATUS "ITS UPGRADE enabled") diff --git a/ITS/UPGRADE/CMakelibITSUpgradeRec.pkg b/ITS/UPGRADE/CMakelibITSUpgradeRec.pkg deleted file mode 100644 index a84ba8585fe..00000000000 --- a/ITS/UPGRADE/CMakelibITSUpgradeRec.pkg +++ /dev/null @@ -1,67 +0,0 @@ -# -*- mode: CMake -*- -#--------------------------------------------------------------------------------# -# Package File for ITSrec # -# Author : Johny Jose (johny.jose@cern.ch) # -# Variables Defined : # -# # -# SRCS - C++ source files # -# HDRS - C++ header files # -# DHDR - ROOT Dictionary Linkdef header file # -# CSRCS - C source files # -# CHDRS - C header files # -# EINCLUDE - Include directories # -# EDEFINE - Compiler definitions # -# ELIBS - Extra libraries to link # -# ELIBSDIR - Extra library directories # -# PACKFFLAGS - Fortran compiler flags for package # -# PACKCXXFLAGS - C++ compiler flags for package # -# PACKCFLAGS - C compiler flags for package # -# PACKSOFLAGS - Shared library linking flags # -# PACKLDFLAGS - Module linker flags # -# PACKBLIBS - Libraries to link (Executables only) # -# EXPORT - Header files to be exported # -# CINTHDRS - Dictionary header files # -# CINTAUTOLINK - Set automatic dictionary generation # -# ARLIBS - Archive Libraries and objects for linking (Executables only) # -# SHLIBS - Shared Libraries and objects for linking (Executables only) # -#--------------------------------------------------------------------------------# - -set ( SRCS - AliITSURecoParam.cxx - AliITSUReconstructor.cxx - AliITSUClusterizer.cxx - AliITSUClusterLines.cxx - AliITSURecoSens.cxx - AliITSURecoLayer.cxx - AliITSURecoDet.cxx - AliITSUClusterPix.cxx - AliITSUSeed.cxx - AliITSUTrackerGlo.cxx - AliITSUCATracker.cxx - AliITSUCATrackingStation.cxx - AliITSUTrackerCooked.cxx - AliITSUTrackCooked.cxx - AliITSUTrackCond.cxx - AliITSUTrackHyp.cxx - AliITSUMatLUT.cxx - AliITSUVertexer.cxx - -# -# v0/AliITSlayerUpgrade.cxx -# v0/AliITStrackerUpgrade.cxx -# v0/AliITStrackU.cxx -# v0/AliITStrackerU.cxx -# v0/AliITSUpgradeReconstructor.cxx -# v0/AliITSUpgradeClusterList.cxx -# v0/AliITSUpgradeClusterListNode.cxx -# v0/AliITSUPixelModule.cxx -# v0/AliITSUpgradeClusterFinder.cxx - ) - -string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" ) - -set ( DHDR ITSUpgradeRecLinkDef.h) - -set ( EINCLUDE TPC RAW ITS ITS/UPGRADE ITS/UPGRADE/v0 STEER/STEER STEER/ESD STEER/STEERBase) - -# set ( EXPORT AliITStrackV2.h AliITSVertexer.h AliITSRecoParam.h) diff --git a/ITS/UPGRADE/CMakelibITSUpgradeSim.pkg b/ITS/UPGRADE/CMakelibITSUpgradeSim.pkg deleted file mode 100644 index f509db7fec4..00000000000 --- a/ITS/UPGRADE/CMakelibITSUpgradeSim.pkg +++ /dev/null @@ -1,52 +0,0 @@ -#--------------------------------------------------------------------------------# -# Package File for ITSsim # -# Author : Johny Jose (johny.jose@cern.ch) # -# Variables Defined : # -# # -# SRCS - C++ source files # -# HDRS - C++ header files # -# DHDR - ROOT Dictionary Linkdef header file # -# CSRCS - C source files # -# CHDRS - C header files # -# EINCLUDE - Include directories # -# EDEFINE - Compiler definitions # -# ELIBS - Extra libraries to link # -# ELIBSDIR - Extra library directories # -# PACKFFLAGS - Fortran compiler flags for package # -# PACKCXXFLAGS - C++ compiler flags for package # -# PACKCFLAGS - C compiler flags for package # -# PACKSOFLAGS - Shared library linking flags # -# PACKLDFLAGS - Module linker flags # -# PACKBLIBS - Libraries to link (Executables only) # -# EXPORT - Header files to be exported # -# CINTHDRS - Dictionary header files # -# CINTAUTOLINK - Set automatic dictionary generation # -# ARLIBS - Archive Libraries and objects for linking (Executables only) # -# SHLIBS - Shared Libraries and objects for linking (Executables only) # -#--------------------------------------------------------------------------------# - -set ( SRCS -#v0/AliITSupgrade.cxx -#v0/AliITSupgradeDigitizer.cxx -# -AliITSU.cxx -AliITSUv0.cxx -AliITSUv0Layer.cxx -AliITSUv1.cxx -AliITSUv1Layer.cxx -AliITSUChip.cxx -AliITSUSimuParam.cxx -AliITSUSimulation.cxx -AliITSUSimulationPix.cxx -AliITSUDigitPix.cxx -AliITSUDigitizer.cxx -AliITSUHit.cxx -AliITSUSuze02.cxx -) - -string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" ) - -set ( DHDR ITSUpgradeSimLinkDef.h) - -#set ( EINCLUDE TPC RAW ITS ITS/UPGRADE ITS/UPGRADE/v0 STEER/STEER STEER/ESD STEER/STEERBase ) -set ( EINCLUDE TPC RAW ITS ITS/UPGRADE STEER/STEER STEER/ESD STEER/STEERBase ) diff --git a/ITS/UPGRADE/v0/AliITSDigitUpgrade.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSDigitUpgrade.cxx similarity index 100% rename from ITS/UPGRADE/v0/AliITSDigitUpgrade.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSDigitUpgrade.cxx diff --git a/ITS/UPGRADE/v0/AliITSDigitUpgrade.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSDigitUpgrade.h similarity index 100% rename from ITS/UPGRADE/v0/AliITSDigitUpgrade.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSDigitUpgrade.h diff --git a/ITS/UPGRADE/v0/AliITSRecPointU.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSRecPointU.cxx similarity index 100% rename from ITS/UPGRADE/v0/AliITSRecPointU.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSRecPointU.cxx diff --git a/ITS/UPGRADE/v0/AliITSRecPointU.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSRecPointU.h similarity index 100% rename from ITS/UPGRADE/v0/AliITSRecPointU.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSRecPointU.h diff --git a/ITS/UPGRADE/AliITSUAux.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSUAux.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUAux.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUAux.cxx diff --git a/ITS/UPGRADE/AliITSUAux.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSUAux.h similarity index 100% rename from ITS/UPGRADE/AliITSUAux.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUAux.h diff --git a/ITS/UPGRADE/AliITSUCalibrationPix.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSUCalibrationPix.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUCalibrationPix.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUCalibrationPix.cxx diff --git a/ITS/UPGRADE/AliITSUCalibrationPix.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSUCalibrationPix.h similarity index 100% rename from ITS/UPGRADE/AliITSUCalibrationPix.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUCalibrationPix.h diff --git a/ITS/UPGRADE/AliITSUGeomTGeo.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSUGeomTGeo.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUGeomTGeo.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUGeomTGeo.cxx diff --git a/ITS/UPGRADE/AliITSUGeomTGeo.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSUGeomTGeo.h similarity index 100% rename from ITS/UPGRADE/AliITSUGeomTGeo.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUGeomTGeo.h diff --git a/ITS/UPGRADE/AliITSULoader.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSULoader.cxx similarity index 100% rename from ITS/UPGRADE/AliITSULoader.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSULoader.cxx diff --git a/ITS/UPGRADE/AliITSULoader.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSULoader.h similarity index 100% rename from ITS/UPGRADE/AliITSULoader.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSULoader.h diff --git a/ITS/UPGRADE/AliITSUParamList.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSUParamList.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUParamList.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUParamList.cxx diff --git a/ITS/UPGRADE/AliITSUParamList.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSUParamList.h similarity index 100% rename from ITS/UPGRADE/AliITSUParamList.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUParamList.h diff --git a/ITS/UPGRADE/AliITSUSDigit.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSUSDigit.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUSDigit.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUSDigit.cxx diff --git a/ITS/UPGRADE/AliITSUSDigit.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSUSDigit.h similarity index 100% rename from ITS/UPGRADE/AliITSUSDigit.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUSDigit.h diff --git a/ITS/UPGRADE/AliITSUSegmentationPix.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSUSegmentationPix.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUSegmentationPix.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUSegmentationPix.cxx diff --git a/ITS/UPGRADE/AliITSUSegmentationPix.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSUSegmentationPix.h similarity index 100% rename from ITS/UPGRADE/AliITSUSegmentationPix.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUSegmentationPix.h diff --git a/ITS/UPGRADE/AliITSUSensMap.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSUSensMap.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUSensMap.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUSensMap.cxx diff --git a/ITS/UPGRADE/AliITSUSensMap.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSUSensMap.h similarity index 100% rename from ITS/UPGRADE/AliITSUSensMap.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSUSensMap.h diff --git a/ITS/UPGRADE/v0/AliITSsegmentationUpgrade.cxx b/ITS/UPGRADE/ITSUpgradeBase/AliITSsegmentationUpgrade.cxx similarity index 100% rename from ITS/UPGRADE/v0/AliITSsegmentationUpgrade.cxx rename to ITS/UPGRADE/ITSUpgradeBase/AliITSsegmentationUpgrade.cxx diff --git a/ITS/UPGRADE/v0/AliITSsegmentationUpgrade.h b/ITS/UPGRADE/ITSUpgradeBase/AliITSsegmentationUpgrade.h similarity index 100% rename from ITS/UPGRADE/v0/AliITSsegmentationUpgrade.h rename to ITS/UPGRADE/ITSUpgradeBase/AliITSsegmentationUpgrade.h diff --git a/ITS/UPGRADE/ITSUpgradeBase/CMakeLists.txt b/ITS/UPGRADE/ITSUpgradeBase/CMakeLists.txt new file mode 100644 index 00000000000..2c2b2186995 --- /dev/null +++ b/ITS/UPGRADE/ITSUpgradeBase/CMakeLists.txt @@ -0,0 +1,75 @@ +# ************************************************************************** +# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. * +# * * +# * Author: The ALICE Off-line Project. * +# * Contributors are mentioned in the code where appropriate. * +# * * +# * Permission to use, copy, modify and distribute this software and its * +# * documentation strictly for non-commercial purposes is hereby granted * +# * without fee, provided that the above copyright notice appears in all * +# * copies and that both the copyright notice and this permission notice * +# * appear in the supporting documentation. The authors make no claims * +# * about the suitability of this software for any purpose. It is * +# * provided "as is" without express or implied warranty. * +# ************************************************************************** + +# Module +set(MODULE ITSUpgradeBase) + +# Module include folder +include_directories(${CMAKE_SOURCE_DIR}/ITS/UPGRADE/${MODULE}) + +# Additional include folders in alphabetical order except ROOT +include_directories(${ROOT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/ITS/ITSbase + ${CMAKE_SOURCE_DIR}/STEER/ESD + ${CMAKE_SOURCE_DIR}/STEER/STEER + ${CMAKE_SOURCE_DIR}/STEER/STEERBase + ) + +# Sources in alphabetical order +set(SRCS + AliITSDigitUpgrade.cxx + AliITSRecPointU.cxx + AliITSsegmentationUpgrade.cxx + AliITSUAux.cxx + AliITSUCalibrationPix.cxx + AliITSUGeomTGeo.cxx + AliITSULoader.cxx + AliITSUParamList.cxx + AliITSUSDigit.cxx + AliITSUSegmentationPix.cxx + AliITSUSensMap.cxx + ) + +# Headers from sources +string(REPLACE ".cxx" ".h" HDRS "${SRCS}") + +# Generate the dictionary +# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument +get_directory_property(incdirs INCLUDE_DIRECTORIES) +generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}") + +# Generate the ROOT map +# Dependecies +set(LIBDEPS STEERBase STEER ESD ITSbase) +generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h") + + +# Add a library to the project using the specified source files +add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx) + +# Additional compilation flags +set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g") + +# System dependent: Modify the way the library is build +if(${CMAKE_SYSTEM} MATCHES Darwin) + set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup") +endif(${CMAKE_SYSTEM} MATCHES Darwin) + +# Installation +install(TARGETS ${MODULE} + ARCHIVE DESTINATION lib + LIBRARY DESTINATION lib) + +install(FILES ${HDRS} DESTINATION include) \ No newline at end of file diff --git a/ITS/UPGRADE/ITSUpgradeBaseLinkDef.h b/ITS/UPGRADE/ITSUpgradeBase/ITSUpgradeBaseLinkDef.h similarity index 100% rename from ITS/UPGRADE/ITSUpgradeBaseLinkDef.h rename to ITS/UPGRADE/ITSUpgradeBase/ITSUpgradeBaseLinkDef.h diff --git a/ITS/UPGRADE/AliITSUCACell.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUCACell.h similarity index 100% rename from ITS/UPGRADE/AliITSUCACell.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUCACell.h diff --git a/ITS/UPGRADE/AliITSUCATracker.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUCATracker.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUCATracker.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUCATracker.cxx diff --git a/ITS/UPGRADE/AliITSUCATracker.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUCATracker.h similarity index 100% rename from ITS/UPGRADE/AliITSUCATracker.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUCATracker.h diff --git a/ITS/UPGRADE/AliITSUCATrackingStation.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUCATrackingStation.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUCATrackingStation.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUCATrackingStation.cxx diff --git a/ITS/UPGRADE/AliITSUCATrackingStation.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUCATrackingStation.h similarity index 100% rename from ITS/UPGRADE/AliITSUCATrackingStation.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUCATrackingStation.h diff --git a/ITS/UPGRADE/AliITSUClusterLines.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterLines.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUClusterLines.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterLines.cxx diff --git a/ITS/UPGRADE/AliITSUClusterLines.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterLines.h similarity index 100% rename from ITS/UPGRADE/AliITSUClusterLines.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterLines.h diff --git a/ITS/UPGRADE/AliITSUClusterPix.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterPix.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUClusterPix.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterPix.cxx diff --git a/ITS/UPGRADE/AliITSUClusterPix.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterPix.h similarity index 100% rename from ITS/UPGRADE/AliITSUClusterPix.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterPix.h diff --git a/ITS/UPGRADE/AliITSUClusterizer.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterizer.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUClusterizer.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterizer.cxx diff --git a/ITS/UPGRADE/AliITSUClusterizer.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterizer.h similarity index 100% rename from ITS/UPGRADE/AliITSUClusterizer.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterizer.h diff --git a/ITS/UPGRADE/AliITSUMatLUT.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUMatLUT.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUMatLUT.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUMatLUT.cxx diff --git a/ITS/UPGRADE/AliITSUMatLUT.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUMatLUT.h similarity index 100% rename from ITS/UPGRADE/AliITSUMatLUT.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUMatLUT.h diff --git a/ITS/UPGRADE/AliITSURecoDet.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSURecoDet.cxx similarity index 100% rename from ITS/UPGRADE/AliITSURecoDet.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSURecoDet.cxx diff --git a/ITS/UPGRADE/AliITSURecoDet.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSURecoDet.h similarity index 100% rename from ITS/UPGRADE/AliITSURecoDet.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSURecoDet.h diff --git a/ITS/UPGRADE/AliITSURecoLayer.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSURecoLayer.cxx similarity index 100% rename from ITS/UPGRADE/AliITSURecoLayer.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSURecoLayer.cxx diff --git a/ITS/UPGRADE/AliITSURecoLayer.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSURecoLayer.h similarity index 100% rename from ITS/UPGRADE/AliITSURecoLayer.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSURecoLayer.h diff --git a/ITS/UPGRADE/AliITSURecoParam.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSURecoParam.cxx similarity index 100% rename from ITS/UPGRADE/AliITSURecoParam.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSURecoParam.cxx diff --git a/ITS/UPGRADE/AliITSURecoParam.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSURecoParam.h similarity index 100% rename from ITS/UPGRADE/AliITSURecoParam.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSURecoParam.h diff --git a/ITS/UPGRADE/AliITSURecoSens.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSURecoSens.cxx similarity index 100% rename from ITS/UPGRADE/AliITSURecoSens.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSURecoSens.cxx diff --git a/ITS/UPGRADE/AliITSURecoSens.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSURecoSens.h similarity index 100% rename from ITS/UPGRADE/AliITSURecoSens.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSURecoSens.h diff --git a/ITS/UPGRADE/AliITSUReconstructor.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUReconstructor.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUReconstructor.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUReconstructor.cxx diff --git a/ITS/UPGRADE/AliITSUReconstructor.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUReconstructor.h similarity index 100% rename from ITS/UPGRADE/AliITSUReconstructor.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUReconstructor.h diff --git a/ITS/UPGRADE/AliITSUSeed.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUSeed.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUSeed.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUSeed.cxx diff --git a/ITS/UPGRADE/AliITSUSeed.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUSeed.h similarity index 100% rename from ITS/UPGRADE/AliITSUSeed.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUSeed.h diff --git a/ITS/UPGRADE/AliITSUTrackCond.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCond.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUTrackCond.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCond.cxx diff --git a/ITS/UPGRADE/AliITSUTrackCond.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCond.h similarity index 100% rename from ITS/UPGRADE/AliITSUTrackCond.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCond.h diff --git a/ITS/UPGRADE/AliITSUTrackCooked.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCooked.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUTrackCooked.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCooked.cxx diff --git a/ITS/UPGRADE/AliITSUTrackCooked.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCooked.h similarity index 100% rename from ITS/UPGRADE/AliITSUTrackCooked.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCooked.h diff --git a/ITS/UPGRADE/AliITSUTrackHyp.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackHyp.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUTrackHyp.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackHyp.cxx diff --git a/ITS/UPGRADE/AliITSUTrackHyp.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackHyp.h similarity index 100% rename from ITS/UPGRADE/AliITSUTrackHyp.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackHyp.h diff --git a/ITS/UPGRADE/AliITSUTrackerCooked.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerCooked.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUTrackerCooked.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerCooked.cxx diff --git a/ITS/UPGRADE/AliITSUTrackerCooked.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerCooked.h similarity index 100% rename from ITS/UPGRADE/AliITSUTrackerCooked.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerCooked.h diff --git a/ITS/UPGRADE/AliITSUTrackerGlo.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerGlo.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUTrackerGlo.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerGlo.cxx diff --git a/ITS/UPGRADE/AliITSUTrackerGlo.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerGlo.h similarity index 100% rename from ITS/UPGRADE/AliITSUTrackerGlo.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerGlo.h diff --git a/ITS/UPGRADE/AliITSUVertexer.cxx b/ITS/UPGRADE/ITSUpgradeRec/AliITSUVertexer.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUVertexer.cxx rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUVertexer.cxx diff --git a/ITS/UPGRADE/AliITSUVertexer.h b/ITS/UPGRADE/ITSUpgradeRec/AliITSUVertexer.h similarity index 100% rename from ITS/UPGRADE/AliITSUVertexer.h rename to ITS/UPGRADE/ITSUpgradeRec/AliITSUVertexer.h diff --git a/ITS/UPGRADE/ITSUpgradeRec/CMakeLists.txt b/ITS/UPGRADE/ITSUpgradeRec/CMakeLists.txt new file mode 100644 index 00000000000..afad6f9124d --- /dev/null +++ b/ITS/UPGRADE/ITSUpgradeRec/CMakeLists.txt @@ -0,0 +1,87 @@ +# ************************************************************************** +# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. * +# * * +# * Author: The ALICE Off-line Project. * +# * Contributors are mentioned in the code where appropriate. * +# * * +# * Permission to use, copy, modify and distribute this software and its * +# * documentation strictly for non-commercial purposes is hereby granted * +# * without fee, provided that the above copyright notice appears in all * +# * copies and that both the copyright notice and this permission notice * +# * appear in the supporting documentation. The authors make no claims * +# * about the suitability of this software for any purpose. It is * +# * provided "as is" without express or implied warranty. * +# ************************************************************************** + +# Module +set(MODULE ITSUpgradeRec) + +# Module include folder +include_directories(${CMAKE_SOURCE_DIR}/ITS/UPGRADE/${MODULE}) + +# Additional include folders in alphabetical order except ROOT +include_directories(${ROOT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/ITS/ITSbase + ${CMAKE_SOURCE_DIR}/ITS/ITSrec + ${CMAKE_SOURCE_DIR}/ITS/UPGRADE/ITSUpgradeBase + ${CMAKE_SOURCE_DIR}/ITS/UPGRADE/ITSUpgradeSim + ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase + ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec + ${CMAKE_SOURCE_DIR}/STEER/ESD + ${CMAKE_SOURCE_DIR}/STEER/STEER + ${CMAKE_SOURCE_DIR}/STEER/STEERBase + ) + +# Sources in alphabetical order +set(SRCS + AliITSUCATracker.cxx + AliITSUCATrackingStation.cxx + AliITSUClusterizer.cxx + AliITSUClusterLines.cxx + AliITSUClusterPix.cxx + AliITSUMatLUT.cxx + AliITSURecoDet.cxx + AliITSURecoLayer.cxx + AliITSUReconstructor.cxx + AliITSURecoParam.cxx + AliITSURecoSens.cxx + AliITSUSeed.cxx + AliITSUTrackCond.cxx + AliITSUTrackCooked.cxx + AliITSUTrackerCooked.cxx + AliITSUTrackerGlo.cxx + AliITSUTrackHyp.cxx + AliITSUVertexer.cxx + ) + +# Headers from sources +string(REPLACE ".cxx" ".h" HDRS "${SRCS}") + +# Generate the dictionary +# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument +get_directory_property(incdirs INCLUDE_DIRECTORIES) +generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}") + +# Generate the ROOT map +# Dependecies +set(LIBDEPS STEERBase STEER ESD RAWDatabase RAWDatarec ITSbase ITSrec ITSUpgradeBase ITSUpgradeSim) +generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h") + + +# Add a library to the project using the specified source files +add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx) + +# Additional compilation flags +set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g") + +# System dependent: Modify the way the library is build +if(${CMAKE_SYSTEM} MATCHES Darwin) + set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup") +endif(${CMAKE_SYSTEM} MATCHES Darwin) + +# Installation +install(TARGETS ${MODULE} + ARCHIVE DESTINATION lib + LIBRARY DESTINATION lib) + +install(FILES ${HDRS} DESTINATION include) \ No newline at end of file diff --git a/ITS/UPGRADE/ITSUpgradeRecLinkDef.h b/ITS/UPGRADE/ITSUpgradeRec/ITSUpgradeRecLinkDef.h similarity index 100% rename from ITS/UPGRADE/ITSUpgradeRecLinkDef.h rename to ITS/UPGRADE/ITSUpgradeRec/ITSUpgradeRecLinkDef.h diff --git a/ITS/UPGRADE/AliITSU.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSU.cxx similarity index 100% rename from ITS/UPGRADE/AliITSU.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSU.cxx diff --git a/ITS/UPGRADE/AliITSU.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSU.h similarity index 100% rename from ITS/UPGRADE/AliITSU.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSU.h diff --git a/ITS/UPGRADE/AliITSUChip.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUChip.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUChip.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUChip.cxx diff --git a/ITS/UPGRADE/AliITSUChip.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUChip.h similarity index 100% rename from ITS/UPGRADE/AliITSUChip.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUChip.h diff --git a/ITS/UPGRADE/AliITSUDigitPix.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitPix.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUDigitPix.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitPix.cxx diff --git a/ITS/UPGRADE/AliITSUDigitPix.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitPix.h similarity index 100% rename from ITS/UPGRADE/AliITSUDigitPix.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitPix.h diff --git a/ITS/UPGRADE/AliITSUDigitizer.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitizer.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUDigitizer.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitizer.cxx diff --git a/ITS/UPGRADE/AliITSUDigitizer.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitizer.h similarity index 100% rename from ITS/UPGRADE/AliITSUDigitizer.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitizer.h diff --git a/ITS/UPGRADE/AliITSUHit.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUHit.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUHit.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUHit.cxx diff --git a/ITS/UPGRADE/AliITSUHit.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUHit.h similarity index 100% rename from ITS/UPGRADE/AliITSUHit.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUHit.h diff --git a/ITS/UPGRADE/AliITSUSimuParam.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUSimuParam.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUSimuParam.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUSimuParam.cxx diff --git a/ITS/UPGRADE/AliITSUSimuParam.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUSimuParam.h similarity index 100% rename from ITS/UPGRADE/AliITSUSimuParam.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUSimuParam.h diff --git a/ITS/UPGRADE/AliITSUSimulation.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulation.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUSimulation.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulation.cxx diff --git a/ITS/UPGRADE/AliITSUSimulation.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulation.h similarity index 100% rename from ITS/UPGRADE/AliITSUSimulation.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulation.h diff --git a/ITS/UPGRADE/AliITSUSimulationPix.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulationPix.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUSimulationPix.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulationPix.cxx diff --git a/ITS/UPGRADE/AliITSUSimulationPix.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulationPix.h similarity index 100% rename from ITS/UPGRADE/AliITSUSimulationPix.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulationPix.h diff --git a/ITS/UPGRADE/AliITSUSuze02.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUSuze02.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUSuze02.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUSuze02.cxx diff --git a/ITS/UPGRADE/AliITSUSuze02.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUSuze02.h similarity index 100% rename from ITS/UPGRADE/AliITSUSuze02.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUSuze02.h diff --git a/ITS/UPGRADE/AliITSUv0.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUv0.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUv0.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUv0.cxx diff --git a/ITS/UPGRADE/AliITSUv0.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUv0.h similarity index 100% rename from ITS/UPGRADE/AliITSUv0.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUv0.h diff --git a/ITS/UPGRADE/AliITSUv0Layer.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUv0Layer.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUv0Layer.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUv0Layer.cxx diff --git a/ITS/UPGRADE/AliITSUv0Layer.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUv0Layer.h similarity index 100% rename from ITS/UPGRADE/AliITSUv0Layer.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUv0Layer.h diff --git a/ITS/UPGRADE/AliITSUv1.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUv1.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUv1.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUv1.cxx diff --git a/ITS/UPGRADE/AliITSUv1.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUv1.h similarity index 100% rename from ITS/UPGRADE/AliITSUv1.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUv1.h diff --git a/ITS/UPGRADE/AliITSUv1Layer.cxx b/ITS/UPGRADE/ITSUpgradeSim/AliITSUv1Layer.cxx similarity index 100% rename from ITS/UPGRADE/AliITSUv1Layer.cxx rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUv1Layer.cxx diff --git a/ITS/UPGRADE/AliITSUv1Layer.h b/ITS/UPGRADE/ITSUpgradeSim/AliITSUv1Layer.h similarity index 100% rename from ITS/UPGRADE/AliITSUv1Layer.h rename to ITS/UPGRADE/ITSUpgradeSim/AliITSUv1Layer.h diff --git a/ITS/UPGRADE/ITSUpgradeSim/CMakeLists.txt b/ITS/UPGRADE/ITSUpgradeSim/CMakeLists.txt new file mode 100644 index 00000000000..607a211dff3 --- /dev/null +++ b/ITS/UPGRADE/ITSUpgradeSim/CMakeLists.txt @@ -0,0 +1,82 @@ +# ************************************************************************** +# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. * +# * * +# * Author: The ALICE Off-line Project. * +# * Contributors are mentioned in the code where appropriate. * +# * * +# * Permission to use, copy, modify and distribute this software and its * +# * documentation strictly for non-commercial purposes is hereby granted * +# * without fee, provided that the above copyright notice appears in all * +# * copies and that both the copyright notice and this permission notice * +# * appear in the supporting documentation. The authors make no claims * +# * about the suitability of this software for any purpose. It is * +# * provided "as is" without express or implied warranty. * +# ************************************************************************** + +# Module +set(MODULE ITSUpgradeSim) + +# Module include folder +include_directories(${CMAKE_SOURCE_DIR}/ITS/UPGRADE/${MODULE}) + +# Additional include folders in alphabetical order except ROOT +include_directories(${ROOT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/ITS/ITSbase + ${CMAKE_SOURCE_DIR}/ITS/ITSsim + ${CMAKE_SOURCE_DIR}/ITS/UPGRADE/ITSUpgradeBase + ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase + ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec + ${CMAKE_SOURCE_DIR}/STEER/CDB + ${CMAKE_SOURCE_DIR}/STEER/ESD + ${CMAKE_SOURCE_DIR}/STEER/STEER + ${CMAKE_SOURCE_DIR}/STEER/STEERBase + ) + +# Sources in alphabetical order +set(SRCS + AliITSUChip.cxx + AliITSU.cxx + AliITSUDigitizer.cxx + AliITSUDigitPix.cxx + AliITSUHit.cxx + AliITSUSimulation.cxx + AliITSUSimulationPix.cxx + AliITSUSimuParam.cxx + AliITSUSuze02.cxx + AliITSUv0.cxx + AliITSUv0Layer.cxx + AliITSUv1.cxx + AliITSUv1Layer.cxx + ) + +# Headers from sources +string(REPLACE ".cxx" ".h" HDRS "${SRCS}") + +# Generate the dictionary +# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument +get_directory_property(incdirs INCLUDE_DIRECTORIES) +generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}") + +# Generate the ROOT map +# Dependecies +set(LIBDEPS STEERBase STEER CDB ESD RAWDatabase RAWDatarec ITSbase ITSsim ITSUpgradeBase) +generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h") + + +# Add a library to the project using the specified source files +add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx) + +# Additional compilation flags +set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g") + +# System dependent: Modify the way the library is build +if(${CMAKE_SYSTEM} MATCHES Darwin) + set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup") +endif(${CMAKE_SYSTEM} MATCHES Darwin) + +# Installation +install(TARGETS ${MODULE} + ARCHIVE DESTINATION lib + LIBRARY DESTINATION lib) + +install(FILES ${HDRS} DESTINATION include) \ No newline at end of file diff --git a/ITS/UPGRADE/ITSUpgradeSimLinkDef.h b/ITS/UPGRADE/ITSUpgradeSim/ITSUpgradeSimLinkDef.h similarity index 100% rename from ITS/UPGRADE/ITSUpgradeSimLinkDef.h rename to ITS/UPGRADE/ITSUpgradeSim/ITSUpgradeSimLinkDef.h diff --git a/ITS/UPGRADE/macros/CMakeLists.txt b/ITS/UPGRADE/macros/CMakeLists.txt new file mode 100644 index 00000000000..cfc74b7047d --- /dev/null +++ b/ITS/UPGRADE/macros/CMakeLists.txt @@ -0,0 +1,29 @@ +# ************************************************************************** +# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. * +# * * +# * Author: The ALICE Off-line Project. * +# * Contributors are mentioned in the code where appropriate. * +# * * +# * Permission to use, copy, modify and distribute this software and its * +# * documentation strictly for non-commercial purposes is hereby granted * +# * without fee, provided that the above copyright notice appears in all * +# * copies and that both the copyright notice and this permission notice * +# * appear in the supporting documentation. The authors make no claims * +# * about the suitability of this software for any purpose. It is * +# * provided "as is" without express or implied warranty. * +# ************************************************************************** + +# Macros in alphabetical order +set(MACRO_SRCS + Config_pileup.C + efficiency.C + FastVsSlowSim.C + PlotDoseExtrapolat.C + PlotOptimizeLenght.C + recGloCooked.C + ScanDigitsSuze02_v15.C + testTrackerCA.C + testTrackerCooked.C +) + +install(FILES ${MACRO_SRCS} DESTINATION macros/ITS/UPGRADE) \ No newline at end of file diff --git a/ITS/UPGRADE/macros/QA/CMakeLists.txt b/ITS/UPGRADE/macros/QA/CMakeLists.txt new file mode 100644 index 00000000000..669fa486bbf --- /dev/null +++ b/ITS/UPGRADE/macros/QA/CMakeLists.txt @@ -0,0 +1,29 @@ +# ************************************************************************** +# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. * +# * * +# * Author: The ALICE Off-line Project. * +# * Contributors are mentioned in the code where appropriate. * +# * * +# * Permission to use, copy, modify and distribute this software and its * +# * documentation strictly for non-commercial purposes is hereby granted * +# * without fee, provided that the above copyright notice appears in all * +# * copies and that both the copyright notice and this permission notice * +# * appear in the supporting documentation. The authors make no claims * +# * about the suitability of this software for any purpose. It is * +# * provided "as is" without express or implied warranty. * +# ************************************************************************** + +# Macros in alphabetical order +set(MACRO_SRCS + AliITSUComparison.C + AliITSUComparisonCooked.C + AliITSUComparisonPileup.C + AliTPCUComparison.C + CheckPileupVerticesMC.C + check_radii.C + CMakeLists.txt + compClusHits.C + plotHits.C +) + +install(FILES ${MACRO_SRCS} DESTINATION macros/ITS/UPGRADE/QA) \ No newline at end of file diff --git a/cmake/CMakeALICE.cmake b/cmake/CMakeALICE.cmake index 6cb09370ba9..a13728714ba 100644 --- a/cmake/CMakeALICE.cmake +++ b/cmake/CMakeALICE.cmake @@ -38,15 +38,14 @@ macro(generate_rootmap LIBNAME LIBDEPS LINKDEF) # message(STATUS "LIBNAME = ${LIBNAME}") # message(STATUS "LIBDEPS = ${LIBDEPS}") # message(STATUS "LINKDEF = ${LINKDEF}") - # message(STATUS "ROOT_LIBMAP=${ROOT_LIBMAP}") foreach(file ${LIBDEPS}) get_filename_component(ext ${file} EXT) if(ext) - set(LOCAL_DEPS ${DEPENDENCIES} ${file}) + set(LOCAL_DEPS ${LOCAL_DEPS} ${file}) else() - set(LOCAL_DEPS ${DEPENDENCIES} lib${file}.so) + set(LOCAL_DEPS ${LOCAL_DEPS} lib${file}.so) endif() endforeach() -- 2.43.0