PMD module
authoragrigora <alina.grigoras@cern.ch>
Wed, 15 Oct 2014 08:42:14 +0000 (10:42 +0200)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:48 +0000 (13:51 +0100)
111 files changed:
CMakeLists.txt
PMD/CMakeLists.txt
PMD/CMakelibPMDbase.pkg [deleted file]
PMD/CMakelibPMDrec.pkg [deleted file]
PMD/CMakelibPMDsim.pkg [deleted file]
PMD/PMDbase/AliPMDBlockHeader.cxx [moved from PMD/AliPMDBlockHeader.cxx with 100% similarity]
PMD/PMDbase/AliPMDBlockHeader.h [moved from PMD/AliPMDBlockHeader.h with 100% similarity]
PMD/PMDbase/AliPMDCalibData.cxx [moved from PMD/AliPMDCalibData.cxx with 100% similarity]
PMD/PMDbase/AliPMDCalibData.h [moved from PMD/AliPMDCalibData.h with 98% similarity]
PMD/PMDbase/AliPMDCalibrator.cxx [moved from PMD/AliPMDCalibrator.cxx with 100% similarity]
PMD/PMDbase/AliPMDCalibrator.h [moved from PMD/AliPMDCalibrator.h with 100% similarity]
PMD/PMDbase/AliPMDDspHeader.cxx [moved from PMD/AliPMDDspHeader.cxx with 100% similarity]
PMD/PMDbase/AliPMDDspHeader.h [moved from PMD/AliPMDDspHeader.h with 100% similarity]
PMD/PMDbase/AliPMDHotData.cxx [moved from PMD/AliPMDHotData.cxx with 100% similarity]
PMD/PMDbase/AliPMDHotData.h [moved from PMD/AliPMDHotData.h with 100% similarity]
PMD/PMDbase/AliPMDLoader.cxx [moved from PMD/AliPMDLoader.cxx with 100% similarity]
PMD/PMDbase/AliPMDLoader.h [moved from PMD/AliPMDLoader.h with 100% similarity]
PMD/PMDbase/AliPMDMappingData.cxx [moved from PMD/AliPMDMappingData.cxx with 100% similarity]
PMD/PMDbase/AliPMDMappingData.h [moved from PMD/AliPMDMappingData.h with 100% similarity]
PMD/PMDbase/AliPMDMeanSm.cxx [moved from PMD/AliPMDMeanSm.cxx with 100% similarity]
PMD/PMDbase/AliPMDMeanSm.h [moved from PMD/AliPMDMeanSm.h with 100% similarity]
PMD/PMDbase/AliPMDMisAligner.cxx [moved from PMD/AliPMDMisAligner.cxx with 100% similarity]
PMD/PMDbase/AliPMDMisAligner.h [moved from PMD/AliPMDMisAligner.h with 100% similarity]
PMD/PMDbase/AliPMDPatchBusHeader.cxx [moved from PMD/AliPMDPatchBusHeader.cxx with 100% similarity]
PMD/PMDbase/AliPMDPatchBusHeader.h [moved from PMD/AliPMDPatchBusHeader.h with 100% similarity]
PMD/PMDbase/AliPMDPedestal.cxx [moved from PMD/AliPMDPedestal.cxx with 100% similarity]
PMD/PMDbase/AliPMDPedestal.h [moved from PMD/AliPMDPedestal.h with 100% similarity]
PMD/PMDbase/AliPMDPreprocessor.cxx [moved from PMD/AliPMDPreprocessor.cxx with 100% similarity]
PMD/PMDbase/AliPMDPreprocessor.h [moved from PMD/AliPMDPreprocessor.h with 100% similarity]
PMD/PMDbase/AliPMDQAChecker.cxx [moved from PMD/AliPMDQAChecker.cxx with 100% similarity]
PMD/PMDbase/AliPMDQAChecker.h [moved from PMD/AliPMDQAChecker.h with 100% similarity]
PMD/PMDbase/AliPMDRawStream.cxx [moved from PMD/AliPMDRawStream.cxx with 100% similarity]
PMD/PMDbase/AliPMDRawStream.h [moved from PMD/AliPMDRawStream.h with 100% similarity]
PMD/PMDbase/AliPMDRawToSDigits.cxx [moved from PMD/AliPMDRawToSDigits.cxx with 100% similarity]
PMD/PMDbase/AliPMDRawToSDigits.h [moved from PMD/AliPMDRawToSDigits.h with 100% similarity]
PMD/PMDbase/AliPMDddldata.cxx [moved from PMD/AliPMDddldata.cxx with 100% similarity]
PMD/PMDbase/AliPMDddldata.h [moved from PMD/AliPMDddldata.h with 100% similarity]
PMD/PMDbase/AliPMDddlinfoData.cxx [moved from PMD/AliPMDddlinfoData.cxx with 100% similarity]
PMD/PMDbase/AliPMDddlinfoData.h [moved from PMD/AliPMDddlinfoData.h with 100% similarity]
PMD/PMDbase/AliPMDdigit.cxx [moved from PMD/AliPMDdigit.cxx with 100% similarity]
PMD/PMDbase/AliPMDdigit.h [moved from PMD/AliPMDdigit.h with 100% similarity]
PMD/PMDbase/AliPMDsdigit.cxx [moved from PMD/AliPMDsdigit.cxx with 100% similarity]
PMD/PMDbase/AliPMDsdigit.h [moved from PMD/AliPMDsdigit.h with 100% similarity]
PMD/PMDbase/CMakeLists.txt [new file with mode: 0644]
PMD/PMDbase/PMDbaseLinkDef.h [moved from PMD/PMDbaseLinkDef.h with 100% similarity]
PMD/PMDrec/AliPMDCalibGain.cxx [moved from PMD/AliPMDCalibGain.cxx with 100% similarity]
PMD/PMDrec/AliPMDCalibGain.h [moved from PMD/AliPMDCalibGain.h with 99% similarity]
PMD/PMDrec/AliPMDCalibPedestal.cxx [moved from PMD/AliPMDCalibPedestal.cxx with 100% similarity]
PMD/PMDrec/AliPMDCalibPedestal.h [moved from PMD/AliPMDCalibPedestal.h with 100% similarity]
PMD/PMDrec/AliPMDClusterFinder.cxx [moved from PMD/AliPMDClusterFinder.cxx with 100% similarity]
PMD/PMDrec/AliPMDClusterFinder.h [moved from PMD/AliPMDClusterFinder.h with 100% similarity]
PMD/PMDrec/AliPMDClustering.cxx [moved from PMD/AliPMDClustering.cxx with 100% similarity]
PMD/PMDrec/AliPMDClustering.h [moved from PMD/AliPMDClustering.h with 100% similarity]
PMD/PMDrec/AliPMDClusteringV1.cxx [moved from PMD/AliPMDClusteringV1.cxx with 100% similarity]
PMD/PMDrec/AliPMDClusteringV1.h [moved from PMD/AliPMDClusteringV1.h with 100% similarity]
PMD/PMDrec/AliPMDClusteringV2.cxx [moved from PMD/AliPMDClusteringV2.cxx with 100% similarity]
PMD/PMDrec/AliPMDClusteringV2.h [moved from PMD/AliPMDClusteringV2.h with 100% similarity]
PMD/PMDrec/AliPMDDiscriminator.cxx [moved from PMD/AliPMDDiscriminator.cxx with 100% similarity]
PMD/PMDrec/AliPMDDiscriminator.h [moved from PMD/AliPMDDiscriminator.h with 100% similarity]
PMD/PMDrec/AliPMDEmpDiscriminator.cxx [moved from PMD/AliPMDEmpDiscriminator.cxx with 100% similarity]
PMD/PMDrec/AliPMDEmpDiscriminator.h [moved from PMD/AliPMDEmpDiscriminator.h with 100% similarity]
PMD/PMDrec/AliPMDNoiseCut.cxx [moved from PMD/AliPMDNoiseCut.cxx with 100% similarity]
PMD/PMDrec/AliPMDNoiseCut.h [moved from PMD/AliPMDNoiseCut.h with 97% similarity]
PMD/PMDrec/AliPMDQADataMakerRec.cxx [moved from PMD/AliPMDQADataMakerRec.cxx with 100% similarity]
PMD/PMDrec/AliPMDQADataMakerRec.h [moved from PMD/AliPMDQADataMakerRec.h with 100% similarity]
PMD/PMDrec/AliPMDRecPoint.cxx [moved from PMD/AliPMDRecPoint.cxx with 100% similarity]
PMD/PMDrec/AliPMDRecPoint.h [moved from PMD/AliPMDRecPoint.h with 100% similarity]
PMD/PMDrec/AliPMDRecoParam.cxx [moved from PMD/AliPMDRecoParam.cxx with 100% similarity]
PMD/PMDrec/AliPMDRecoParam.h [moved from PMD/AliPMDRecoParam.h with 100% similarity]
PMD/PMDrec/AliPMDReconstructor.cxx [moved from PMD/AliPMDReconstructor.cxx with 100% similarity]
PMD/PMDrec/AliPMDReconstructor.h [moved from PMD/AliPMDReconstructor.h with 100% similarity]
PMD/PMDrec/AliPMDUtility.cxx [moved from PMD/AliPMDUtility.cxx with 100% similarity]
PMD/PMDrec/AliPMDUtility.h [moved from PMD/AliPMDUtility.h with 100% similarity]
PMD/PMDrec/AliPMDcludata.cxx [moved from PMD/AliPMDcludata.cxx with 100% similarity]
PMD/PMDrec/AliPMDcludata.h [moved from PMD/AliPMDcludata.h with 100% similarity]
PMD/PMDrec/AliPMDclupid.cxx [moved from PMD/AliPMDclupid.cxx with 100% similarity]
PMD/PMDrec/AliPMDclupid.h [moved from PMD/AliPMDclupid.h with 100% similarity]
PMD/PMDrec/AliPMDcluster.cxx [moved from PMD/AliPMDcluster.cxx with 100% similarity]
PMD/PMDrec/AliPMDcluster.h [moved from PMD/AliPMDcluster.h with 100% similarity]
PMD/PMDrec/AliPMDisocell.cxx [moved from PMD/AliPMDisocell.cxx with 100% similarity]
PMD/PMDrec/AliPMDisocell.h [moved from PMD/AliPMDisocell.h with 100% similarity]
PMD/PMDrec/AliPMDrecdata.cxx [moved from PMD/AliPMDrecdata.cxx with 100% similarity]
PMD/PMDrec/AliPMDrecdata.h [moved from PMD/AliPMDrecdata.h with 100% similarity]
PMD/PMDrec/AliPMDrechit.cxx [moved from PMD/AliPMDrechit.cxx with 100% similarity]
PMD/PMDrec/AliPMDrechit.h [moved from PMD/AliPMDrechit.h with 100% similarity]
PMD/PMDrec/AliPMDrecpoint1.cxx [moved from PMD/AliPMDrecpoint1.cxx with 100% similarity]
PMD/PMDrec/AliPMDrecpoint1.h [moved from PMD/AliPMDrecpoint1.h with 100% similarity]
PMD/PMDrec/AliPMDtracker.cxx [moved from PMD/AliPMDtracker.cxx with 100% similarity]
PMD/PMDrec/AliPMDtracker.h [moved from PMD/AliPMDtracker.h with 100% similarity]
PMD/PMDrec/CMakeLists.txt [new file with mode: 0644]
PMD/PMDrec/PMDrecLinkDef.h [moved from PMD/PMDrecLinkDef.h with 100% similarity]
PMD/PMDsim/AliPMD.cxx [moved from PMD/AliPMD.cxx with 100% similarity]
PMD/PMDsim/AliPMD.h [moved from PMD/AliPMD.h with 100% similarity]
PMD/PMDsim/AliPMDDDLRawData.cxx [moved from PMD/AliPMDDDLRawData.cxx with 100% similarity]
PMD/PMDsim/AliPMDDDLRawData.h [moved from PMD/AliPMDDDLRawData.h with 100% similarity]
PMD/PMDsim/AliPMDDigitizer.cxx [moved from PMD/AliPMDDigitizer.cxx with 100% similarity]
PMD/PMDsim/AliPMDDigitizer.h [moved from PMD/AliPMDDigitizer.h with 100% similarity]
PMD/PMDsim/AliPMDQADataMakerSim.cxx [moved from PMD/AliPMDQADataMakerSim.cxx with 100% similarity]
PMD/PMDsim/AliPMDQADataMakerSim.h [moved from PMD/AliPMDQADataMakerSim.h with 100% similarity]
PMD/PMDsim/AliPMDcell.cxx [moved from PMD/AliPMDcell.cxx with 100% similarity]
PMD/PMDsim/AliPMDcell.h [moved from PMD/AliPMDcell.h with 100% similarity]
PMD/PMDsim/AliPMDhit.cxx [moved from PMD/AliPMDhit.cxx with 100% similarity]
PMD/PMDsim/AliPMDhit.h [moved from PMD/AliPMDhit.h with 100% similarity]
PMD/PMDsim/AliPMDv0.cxx [moved from PMD/AliPMDv0.cxx with 100% similarity]
PMD/PMDsim/AliPMDv0.h [moved from PMD/AliPMDv0.h with 100% similarity]
PMD/PMDsim/AliPMDv1.cxx [moved from PMD/AliPMDv1.cxx with 100% similarity]
PMD/PMDsim/AliPMDv1.h [moved from PMD/AliPMDv1.h with 100% similarity]
PMD/PMDsim/AliPMDv2008.cxx [moved from PMD/AliPMDv2008.cxx with 100% similarity]
PMD/PMDsim/AliPMDv2008.h [moved from PMD/AliPMDv2008.h with 100% similarity]
PMD/PMDsim/CMakeLists.txt [new file with mode: 0644]
PMD/PMDsim/PMDsimLinkDef.h [moved from PMD/PMDsimLinkDef.h with 100% similarity]

index a6c1562..3fd3179 100644 (file)
@@ -130,7 +130,7 @@ add_subdirectory (TRD)
 add_subdirectory (ZDC)
 add_subdirectory (STRUCT)
 add_subdirectory (HMPID)
-#add_subdirectory (PMD)
+add_subdirectory (PMD)
 #add_subdirectory (MUON)
 #add_subdirectory (FMD)
 #add_subdirectory (ACORDE)
index b76a4be..60e0a30 100644 (file)
@@ -1,10 +1,21 @@
-# AliRoot Build System CMakeLists for PMD
-#
-# 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)
+# PMD libraries
+add_subdirectory(PMDbase)
+add_subdirectory(PMDrec)
+add_subdirectory(PMDsim)
 
-file(GLOB PACKAGES CMake*.pkg)
-
-ALICE_BuildModule()
+message(STATUS "PMD enabled")
diff --git a/PMD/CMakelibPMDbase.pkg b/PMD/CMakelibPMDbase.pkg
deleted file mode 100644 (file)
index 89be46d..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-# -*- mode: CMake -*-
-
-#--------------------------------------------------------------------------------#
-# Package File for PMDbase                                                       #
-# 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  
-    AliPMDLoader.cxx 
-    AliPMDdigit.cxx 
-    AliPMDBlockHeader.cxx 
-    AliPMDDspHeader.cxx 
-    AliPMDPatchBusHeader.cxx 
-    AliPMDddldata.cxx 
-    AliPMDRawStream.cxx 
-    AliPMDCalibData.cxx 
-    AliPMDCalibrator.cxx 
-    AliPMDPreprocessor.cxx 
-    AliPMDRawToSDigits.cxx 
-    AliPMDPedestal.cxx 
-    AliPMDsdigit.cxx 
-    AliPMDQAChecker.cxx 
-    AliPMDMisAligner.cxx 
-    AliPMDHotData.cxx 
-    AliPMDMeanSm.cxx 
-    AliPMDMappingData.cxx 
-    AliPMDddlinfoData.cxx
-    )
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR PMDbaseLinkDef.h)
-
-set ( EINCLUDE RAW STEER/STEER STEER/CDB STEER/ESD STEER/STEERBase)
-
-set ( EXPORT AliPMDRawStream.h)
diff --git a/PMD/CMakelibPMDrec.pkg b/PMD/CMakelibPMDrec.pkg
deleted file mode 100644 (file)
index 36ab9ea..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-# -*- mode: CMake -*-
-
-#--------------------------------------------------------------------------------#
-# Package File for PMDrec                                                        #
-# 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  
-    AliPMDRecPoint.cxx 
-    AliPMDUtility.cxx 
-    AliPMDrecpoint1.cxx 
-    AliPMDrechit.cxx 
-    AliPMDcluster.cxx 
-    AliPMDClusteringV1.cxx 
-    AliPMDClusteringV2.cxx 
-    AliPMDclupid.cxx 
-    AliPMDEmpDiscriminator.cxx 
-    AliPMDClusterFinder.cxx 
-    AliPMDtracker.cxx 
-    AliPMDReconstructor.cxx 
-    AliPMDcludata.cxx 
-    AliPMDCalibPedestal.cxx 
-    AliPMDCalibGain.cxx 
-    AliPMDQADataMakerRec.cxx 
-    AliPMDisocell.cxx 
-    AliPMDrecdata.cxx 
-    AliPMDRecoParam.cxx 
-    AliPMDNoiseCut.cxx
-    )
-
-string (REPLACE ".cxx" ".h" HDRS "${SRCS}")
-set ( HDRS  ${HDRS} AliPMDClustering.h AliPMDDiscriminator.h)
-
-set ( DHDR PMDrecLinkDef.h)
-
-set ( EINCLUDE RAW STEER/STEER STEER/STEERBase)
diff --git a/PMD/CMakelibPMDsim.pkg b/PMD/CMakelibPMDsim.pkg
deleted file mode 100644 (file)
index 32d8b3a..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-# -*- mode: CMake -*-
-
-#--------------------------------------------------------------------------------#
-# Package File for PMDsim                                                        #
-# 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  
-    AliPMD.cxx 
-    AliPMDv0.cxx 
-    AliPMDv1.cxx 
-    AliPMDv2008.cxx 
-    AliPMDhit.cxx 
-    AliPMDcell.cxx 
-    AliPMDDigitizer.cxx 
-    AliPMDDDLRawData.cxx 
-    AliPMDQADataMakerSim.cxx
-    )
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR PMDsimLinkDef.h)
-
-set ( EINCLUDE RAW STEER/STEER STEER/STEERBase)
similarity index 98%
rename from PMD/AliPMDCalibData.h
rename to PMD/PMDbase/AliPMDCalibData.h
index 5e4e614..1716b2f 100644 (file)
@@ -4,7 +4,8 @@
  * See cxx source for full Copyright notice                               */
 
 
-class TNamed;
+#include "TNamed.h"
+
 class AliCDBEntry;
 class AliPMD;
 
similarity index 100%
rename from PMD/AliPMDdigit.h
rename to PMD/PMDbase/AliPMDdigit.h
diff --git a/PMD/PMDbase/CMakeLists.txt b/PMD/PMDbase/CMakeLists.txt
new file mode 100644 (file)
index 0000000..54ff75a
--- /dev/null
@@ -0,0 +1,86 @@
+# **************************************************************************
+# * 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 PMDbase)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/PMD/${MODULE})
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
+                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
+                    ${CMAKE_SOURCE_DIR}/PMD/PMDsim
+                    ${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
+    AliPMDBlockHeader.cxx
+    AliPMDCalibData.cxx
+    AliPMDCalibrator.cxx
+    AliPMDddldata.cxx
+    AliPMDddlinfoData.cxx
+    AliPMDdigit.cxx
+    AliPMDDspHeader.cxx
+    AliPMDHotData.cxx
+    AliPMDLoader.cxx
+    AliPMDMappingData.cxx
+    AliPMDMeanSm.cxx
+    AliPMDMisAligner.cxx
+    AliPMDPatchBusHeader.cxx
+    AliPMDPedestal.cxx
+    AliPMDPreprocessor.cxx
+    AliPMDQAChecker.cxx
+    AliPMDRawStream.cxx
+    AliPMDRawToSDigits.cxx
+    AliPMDsdigit.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 PMDsim)
+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
similarity index 99%
rename from PMD/AliPMDCalibGain.h
rename to PMD/PMDrec/AliPMDCalibGain.h
index 5b792ed..4efe23a 100644 (file)
@@ -7,6 +7,7 @@
 
 class TH1F;  
 class AliRawReader;
+class TTree;
 
 class AliPMDCalibGain : public TObject
 {
similarity index 97%
rename from PMD/AliPMDNoiseCut.h
rename to PMD/PMDrec/AliPMDNoiseCut.h
index 5a113e1..b65795d 100644 (file)
@@ -3,8 +3,8 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+#include "TNamed.h"
 
-class TNamed;
 class AliCDBEntry;
 
 class AliPMDNoiseCut: public TNamed
similarity index 100%
rename from PMD/AliPMDclupid.h
rename to PMD/PMDrec/AliPMDclupid.h
similarity index 100%
rename from PMD/AliPMDrechit.h
rename to PMD/PMDrec/AliPMDrechit.h
diff --git a/PMD/PMDrec/CMakeLists.txt b/PMD/PMDrec/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6c57aff
--- /dev/null
@@ -0,0 +1,95 @@
+# **************************************************************************
+# * 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 PMDrec)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/PMD/${MODULE})
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${CMAKE_SOURCE_DIR}/PMD/PMDbase
+                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
+                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
+                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
+                    ${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
+    AliPMDCalibGain.cxx
+    AliPMDCalibPedestal.cxx
+    AliPMDcludata.cxx
+    AliPMDclupid.cxx
+    AliPMDcluster.cxx
+    AliPMDClusterFinder.cxx
+    AliPMDClusteringV1.cxx
+    AliPMDClusteringV2.cxx
+    AliPMDEmpDiscriminator.cxx
+    AliPMDisocell.cxx
+    AliPMDNoiseCut.cxx
+    AliPMDQADataMakerRec.cxx
+    AliPMDrecdata.cxx
+    AliPMDrechit.cxx
+    AliPMDReconstructor.cxx
+    AliPMDRecoParam.cxx
+    AliPMDrecpoint1.cxx
+    AliPMDRecPoint.cxx
+    AliPMDtracker.cxx
+    AliPMDUtility.cxx
+   )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Adding the extra headers
+set(HDRS
+    ${HDRS}
+    AliPMDClustering.h
+    AliPMDDiscriminator.h
+   )
+
+# 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 RAWDatasim PMDbase)
+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
similarity index 100%
rename from PMD/AliPMD.cxx
rename to PMD/PMDsim/AliPMD.cxx
similarity index 100%
rename from PMD/AliPMD.h
rename to PMD/PMDsim/AliPMD.h
similarity index 100%
rename from PMD/AliPMDcell.cxx
rename to PMD/PMDsim/AliPMDcell.cxx
similarity index 100%
rename from PMD/AliPMDcell.h
rename to PMD/PMDsim/AliPMDcell.h
similarity index 100%
rename from PMD/AliPMDhit.cxx
rename to PMD/PMDsim/AliPMDhit.cxx
similarity index 100%
rename from PMD/AliPMDhit.h
rename to PMD/PMDsim/AliPMDhit.h
similarity index 100%
rename from PMD/AliPMDv0.cxx
rename to PMD/PMDsim/AliPMDv0.cxx
similarity index 100%
rename from PMD/AliPMDv0.h
rename to PMD/PMDsim/AliPMDv0.h
similarity index 100%
rename from PMD/AliPMDv1.cxx
rename to PMD/PMDsim/AliPMDv1.cxx
similarity index 100%
rename from PMD/AliPMDv1.h
rename to PMD/PMDsim/AliPMDv1.h
similarity index 100%
rename from PMD/AliPMDv2008.h
rename to PMD/PMDsim/AliPMDv2008.h
diff --git a/PMD/PMDsim/CMakeLists.txt b/PMD/PMDsim/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bba0592
--- /dev/null
@@ -0,0 +1,74 @@
+# **************************************************************************
+# * 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 PMDsim)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/PMD/${MODULE})
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
+                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
+                    ${CMAKE_SOURCE_DIR}/PMD/PMDbase
+                    ${CMAKE_SOURCE_DIR}/STEER/CDB
+                    ${CMAKE_SOURCE_DIR}/STEER/STEER
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliPMDcell.cxx
+    AliPMD.cxx
+    AliPMDDDLRawData.cxx
+    AliPMDDigitizer.cxx
+    AliPMDhit.cxx
+    AliPMDQADataMakerSim.cxx
+    AliPMDv0.cxx
+    AliPMDv1.cxx
+    AliPMDv2008.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 RAWDatabase RAWDatasim PMDbase)
+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