ITS UPGRADE
authoragrigora <alina.grigoras@cern.ch>
Thu, 9 Oct 2014 14:40:17 +0000 (16:40 +0200)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:23 +0000 (13:51 +0100)
98 files changed:
ITS/CMakeLists.txt
ITS/UPGRADE/CMakeLists.txt
ITS/UPGRADE/CMakelibITSUpgradeRec.pkg [deleted file]
ITS/UPGRADE/CMakelibITSUpgradeSim.pkg [deleted file]
ITS/UPGRADE/ITSUpgradeBase/AliITSDigitUpgrade.cxx [moved from ITS/UPGRADE/v0/AliITSDigitUpgrade.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSDigitUpgrade.h [moved from ITS/UPGRADE/v0/AliITSDigitUpgrade.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSRecPointU.cxx [moved from ITS/UPGRADE/v0/AliITSRecPointU.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSRecPointU.h [moved from ITS/UPGRADE/v0/AliITSRecPointU.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUAux.cxx [moved from ITS/UPGRADE/AliITSUAux.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUAux.h [moved from ITS/UPGRADE/AliITSUAux.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUCalibrationPix.cxx [moved from ITS/UPGRADE/AliITSUCalibrationPix.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUCalibrationPix.h [moved from ITS/UPGRADE/AliITSUCalibrationPix.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUGeomTGeo.cxx [moved from ITS/UPGRADE/AliITSUGeomTGeo.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUGeomTGeo.h [moved from ITS/UPGRADE/AliITSUGeomTGeo.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSULoader.cxx [moved from ITS/UPGRADE/AliITSULoader.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSULoader.h [moved from ITS/UPGRADE/AliITSULoader.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUParamList.cxx [moved from ITS/UPGRADE/AliITSUParamList.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUParamList.h [moved from ITS/UPGRADE/AliITSUParamList.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUSDigit.cxx [moved from ITS/UPGRADE/AliITSUSDigit.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUSDigit.h [moved from ITS/UPGRADE/AliITSUSDigit.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUSegmentationPix.cxx [moved from ITS/UPGRADE/AliITSUSegmentationPix.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUSegmentationPix.h [moved from ITS/UPGRADE/AliITSUSegmentationPix.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUSensMap.cxx [moved from ITS/UPGRADE/AliITSUSensMap.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSUSensMap.h [moved from ITS/UPGRADE/AliITSUSensMap.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSsegmentationUpgrade.cxx [moved from ITS/UPGRADE/v0/AliITSsegmentationUpgrade.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/AliITSsegmentationUpgrade.h [moved from ITS/UPGRADE/v0/AliITSsegmentationUpgrade.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeBase/CMakeLists.txt [new file with mode: 0644]
ITS/UPGRADE/ITSUpgradeBase/ITSUpgradeBaseLinkDef.h [moved from ITS/UPGRADE/ITSUpgradeBaseLinkDef.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUCACell.h [moved from ITS/UPGRADE/AliITSUCACell.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUCATracker.cxx [moved from ITS/UPGRADE/AliITSUCATracker.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUCATracker.h [moved from ITS/UPGRADE/AliITSUCATracker.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUCATrackingStation.cxx [moved from ITS/UPGRADE/AliITSUCATrackingStation.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUCATrackingStation.h [moved from ITS/UPGRADE/AliITSUCATrackingStation.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterLines.cxx [moved from ITS/UPGRADE/AliITSUClusterLines.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterLines.h [moved from ITS/UPGRADE/AliITSUClusterLines.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterPix.cxx [moved from ITS/UPGRADE/AliITSUClusterPix.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterPix.h [moved from ITS/UPGRADE/AliITSUClusterPix.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterizer.cxx [moved from ITS/UPGRADE/AliITSUClusterizer.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUClusterizer.h [moved from ITS/UPGRADE/AliITSUClusterizer.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUMatLUT.cxx [moved from ITS/UPGRADE/AliITSUMatLUT.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUMatLUT.h [moved from ITS/UPGRADE/AliITSUMatLUT.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSURecoDet.cxx [moved from ITS/UPGRADE/AliITSURecoDet.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSURecoDet.h [moved from ITS/UPGRADE/AliITSURecoDet.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSURecoLayer.cxx [moved from ITS/UPGRADE/AliITSURecoLayer.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSURecoLayer.h [moved from ITS/UPGRADE/AliITSURecoLayer.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSURecoParam.cxx [moved from ITS/UPGRADE/AliITSURecoParam.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSURecoParam.h [moved from ITS/UPGRADE/AliITSURecoParam.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSURecoSens.cxx [moved from ITS/UPGRADE/AliITSURecoSens.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSURecoSens.h [moved from ITS/UPGRADE/AliITSURecoSens.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUReconstructor.cxx [moved from ITS/UPGRADE/AliITSUReconstructor.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUReconstructor.h [moved from ITS/UPGRADE/AliITSUReconstructor.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUSeed.cxx [moved from ITS/UPGRADE/AliITSUSeed.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUSeed.h [moved from ITS/UPGRADE/AliITSUSeed.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCond.cxx [moved from ITS/UPGRADE/AliITSUTrackCond.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCond.h [moved from ITS/UPGRADE/AliITSUTrackCond.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCooked.cxx [moved from ITS/UPGRADE/AliITSUTrackCooked.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackCooked.h [moved from ITS/UPGRADE/AliITSUTrackCooked.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackHyp.cxx [moved from ITS/UPGRADE/AliITSUTrackHyp.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackHyp.h [moved from ITS/UPGRADE/AliITSUTrackHyp.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerCooked.cxx [moved from ITS/UPGRADE/AliITSUTrackerCooked.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerCooked.h [moved from ITS/UPGRADE/AliITSUTrackerCooked.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerGlo.cxx [moved from ITS/UPGRADE/AliITSUTrackerGlo.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUTrackerGlo.h [moved from ITS/UPGRADE/AliITSUTrackerGlo.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUVertexer.cxx [moved from ITS/UPGRADE/AliITSUVertexer.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/AliITSUVertexer.h [moved from ITS/UPGRADE/AliITSUVertexer.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeRec/CMakeLists.txt [new file with mode: 0644]
ITS/UPGRADE/ITSUpgradeRec/ITSUpgradeRecLinkDef.h [moved from ITS/UPGRADE/ITSUpgradeRecLinkDef.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSU.cxx [moved from ITS/UPGRADE/AliITSU.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSU.h [moved from ITS/UPGRADE/AliITSU.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUChip.cxx [moved from ITS/UPGRADE/AliITSUChip.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUChip.h [moved from ITS/UPGRADE/AliITSUChip.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitPix.cxx [moved from ITS/UPGRADE/AliITSUDigitPix.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitPix.h [moved from ITS/UPGRADE/AliITSUDigitPix.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitizer.cxx [moved from ITS/UPGRADE/AliITSUDigitizer.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUDigitizer.h [moved from ITS/UPGRADE/AliITSUDigitizer.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUHit.cxx [moved from ITS/UPGRADE/AliITSUHit.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUHit.h [moved from ITS/UPGRADE/AliITSUHit.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUSimuParam.cxx [moved from ITS/UPGRADE/AliITSUSimuParam.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUSimuParam.h [moved from ITS/UPGRADE/AliITSUSimuParam.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulation.cxx [moved from ITS/UPGRADE/AliITSUSimulation.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulation.h [moved from ITS/UPGRADE/AliITSUSimulation.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulationPix.cxx [moved from ITS/UPGRADE/AliITSUSimulationPix.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUSimulationPix.h [moved from ITS/UPGRADE/AliITSUSimulationPix.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUSuze02.cxx [moved from ITS/UPGRADE/AliITSUSuze02.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUSuze02.h [moved from ITS/UPGRADE/AliITSUSuze02.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUv0.cxx [moved from ITS/UPGRADE/AliITSUv0.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUv0.h [moved from ITS/UPGRADE/AliITSUv0.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUv0Layer.cxx [moved from ITS/UPGRADE/AliITSUv0Layer.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUv0Layer.h [moved from ITS/UPGRADE/AliITSUv0Layer.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUv1.cxx [moved from ITS/UPGRADE/AliITSUv1.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUv1.h [moved from ITS/UPGRADE/AliITSUv1.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUv1Layer.cxx [moved from ITS/UPGRADE/AliITSUv1Layer.cxx with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/AliITSUv1Layer.h [moved from ITS/UPGRADE/AliITSUv1Layer.h with 100% similarity]
ITS/UPGRADE/ITSUpgradeSim/CMakeLists.txt [new file with mode: 0644]
ITS/UPGRADE/ITSUpgradeSim/ITSUpgradeSimLinkDef.h [moved from ITS/UPGRADE/ITSUpgradeSimLinkDef.h with 100% similarity]
ITS/UPGRADE/macros/CMakeLists.txt [new file with mode: 0644]
ITS/UPGRADE/macros/QA/CMakeLists.txt [new file with mode: 0644]
cmake/CMakeALICE.cmake

index a1a9718..4c6bfdb 100644 (file)
@@ -16,5 +16,6 @@
 add_subdirectory(ITSbase)
 add_subdirectory(ITSrec)
 add_subdirectory(ITSsim)
+add_subdirectory(UPGRADE)
 
 message(STATUS "ITS enabled")
index 49956ae..8004011 100644 (file)
@@ -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 (file)
index a84ba85..0000000
+++ /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 (file)
index f509db7..0000000
+++ /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/ITSUpgradeBase/CMakeLists.txt b/ITS/UPGRADE/ITSUpgradeBase/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2c2b218
--- /dev/null
@@ -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/ITSUpgradeRec/CMakeLists.txt b/ITS/UPGRADE/ITSUpgradeRec/CMakeLists.txt
new file mode 100644 (file)
index 0000000..afad6f9
--- /dev/null
@@ -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/ITSUpgradeSim/CMakeLists.txt b/ITS/UPGRADE/ITSUpgradeSim/CMakeLists.txt
new file mode 100644 (file)
index 0000000..607a211
--- /dev/null
@@ -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/macros/CMakeLists.txt b/ITS/UPGRADE/macros/CMakeLists.txt
new file mode 100644 (file)
index 0000000..cfc74b7
--- /dev/null
@@ -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 (file)
index 0000000..669fa48
--- /dev/null
@@ -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
index 6cb0937..a137287 100644 (file)
@@ -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()