T0 module
authoragrigora <alina.grigoras@cern.ch>
Tue, 14 Oct 2014 09:44:03 +0000 (11:44 +0200)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:46 +0000 (13:51 +0100)
89 files changed:
CMakeLists.txt
T0/CMakeLists.txt
T0/CMakelibT0base.pkg [deleted file]
T0/CMakelibT0calib.pkg [deleted file]
T0/CMakelibT0rec.pkg [deleted file]
T0/CMakelibT0shuttle.pkg [deleted file]
T0/CMakelibT0sim.pkg [deleted file]
T0/T0base/AliT0.cxx [moved from T0/AliT0.cxx with 100% similarity]
T0/T0base/AliT0.h [moved from T0/AliT0.h with 100% similarity]
T0/T0base/AliT0Align.cxx [moved from T0/AliT0Align.cxx with 100% similarity]
T0/T0base/AliT0Align.h [moved from T0/AliT0Align.h with 100% similarity]
T0/T0base/AliT0CalibData.cxx [moved from T0/AliT0CalibData.cxx with 100% similarity]
T0/T0base/AliT0CalibData.h [moved from T0/AliT0CalibData.h with 100% similarity]
T0/T0base/AliT0CalibLatency.cxx [moved from T0/AliT0CalibLatency.cxx with 100% similarity]
T0/T0base/AliT0CalibLatency.h [moved from T0/AliT0CalibLatency.h with 100% similarity]
T0/T0base/AliT0CalibTimeEq.cxx [moved from T0/AliT0CalibTimeEq.cxx with 100% similarity]
T0/T0base/AliT0CalibTimeEq.h [moved from T0/AliT0CalibTimeEq.h with 100% similarity]
T0/T0base/AliT0CalibWalk.cxx [moved from T0/AliT0CalibWalk.cxx with 100% similarity]
T0/T0base/AliT0CalibWalk.h [moved from T0/AliT0CalibWalk.h with 100% similarity]
T0/T0base/AliT0Digitizer.cxx [moved from T0/AliT0Digitizer.cxx with 100% similarity]
T0/T0base/AliT0Digitizer.h [moved from T0/AliT0Digitizer.h with 100% similarity]
T0/T0base/AliT0LookUpKey.cxx [moved from T0/AliT0LookUpKey.cxx with 100% similarity]
T0/T0base/AliT0LookUpKey.h [moved from T0/AliT0LookUpKey.h with 100% similarity]
T0/T0base/AliT0LookUpValue.cxx [moved from T0/AliT0LookUpValue.cxx with 100% similarity]
T0/T0base/AliT0LookUpValue.h [moved from T0/AliT0LookUpValue.h with 100% similarity]
T0/T0base/AliT0MisAligner.cxx [moved from T0/AliT0MisAligner.cxx with 100% similarity]
T0/T0base/AliT0MisAligner.h [moved from T0/AliT0MisAligner.h with 100% similarity]
T0/T0base/AliT0Parameters.cxx [moved from T0/AliT0Parameters.cxx with 100% similarity]
T0/T0base/AliT0Parameters.h [moved from T0/AliT0Parameters.h with 100% similarity]
T0/T0base/AliT0QAChecker.cxx [moved from T0/AliT0QAChecker.cxx with 100% similarity]
T0/T0base/AliT0QAChecker.h [moved from T0/AliT0QAChecker.h with 100% similarity]
T0/T0base/AliT0RawData.cxx [moved from T0/AliT0RawData.cxx with 100% similarity]
T0/T0base/AliT0RawData.h [moved from T0/AliT0RawData.h with 100% similarity]
T0/T0base/AliT0RawReader.cxx [moved from T0/AliT0RawReader.cxx with 100% similarity]
T0/T0base/AliT0RawReader.h [moved from T0/AliT0RawReader.h with 100% similarity]
T0/T0base/AliT0RecPoint.cxx [moved from T0/AliT0RecPoint.cxx with 100% similarity]
T0/T0base/AliT0RecPoint.h [moved from T0/AliT0RecPoint.h with 100% similarity]
T0/T0base/AliT0Trigger.cxx [moved from T0/AliT0Trigger.cxx with 100% similarity]
T0/T0base/AliT0Trigger.h [moved from T0/AliT0Trigger.h with 100% similarity]
T0/T0base/AliT0TriggerParameters.cxx [moved from T0/AliT0TriggerParameters.cxx with 100% similarity]
T0/T0base/AliT0TriggerParameters.h [moved from T0/AliT0TriggerParameters.h with 100% similarity]
T0/T0base/AliT0digit.cxx [moved from T0/AliT0digit.cxx with 100% similarity]
T0/T0base/AliT0digit.h [moved from T0/AliT0digit.h with 100% similarity]
T0/T0base/AliT0hit.cxx [moved from T0/AliT0hit.cxx with 100% similarity]
T0/T0base/AliT0hit.h [moved from T0/AliT0hit.h with 100% similarity]
T0/T0base/CMakeLists.txt [new file with mode: 0644]
T0/T0base/T0baseLinkDef.h [moved from T0/T0baseLinkDef.h with 100% similarity]
T0/T0calib/AliT0AnalysisTaskQA.cxx [moved from T0/AliT0AnalysisTaskQA.cxx with 100% similarity]
T0/T0calib/AliT0AnalysisTaskQA.h [moved from T0/AliT0AnalysisTaskQA.h with 100% similarity]
T0/T0calib/AliT0CalibAnalysisTask.cxx [moved from T0/AliT0CalibAnalysisTask.cxx with 100% similarity]
T0/T0calib/AliT0CalibAnalysisTask.h [moved from T0/AliT0CalibAnalysisTask.h with 100% similarity]
T0/T0calib/AliT0CalibOffsetChannelsTask.cxx [moved from T0/AliT0CalibOffsetChannelsTask.cxx with 100% similarity]
T0/T0calib/AliT0CalibOffsetChannelsTask.h [moved from T0/AliT0CalibOffsetChannelsTask.h with 100% similarity]
T0/T0calib/AliT0PreprocessorOffline.cxx [moved from T0/AliT0PreprocessorOffline.cxx with 100% similarity]
T0/T0calib/AliT0PreprocessorOffline.h [moved from T0/AliT0PreprocessorOffline.h with 100% similarity]
T0/T0calib/CMakeLists.txt [new file with mode: 0644]
T0/T0calib/T0calibLinkDef.h [moved from T0/T0calibLinkDef.h with 100% similarity]
T0/T0rec/AliT0CalibLaserData.cxx [moved from T0/AliT0CalibLaserData.cxx with 100% similarity]
T0/T0rec/AliT0CalibLaserData.h [moved from T0/AliT0CalibLaserData.h with 100% similarity]
T0/T0rec/AliT0CalibSeasonTimeShift.cxx [moved from T0/AliT0CalibSeasonTimeShift.cxx with 100% similarity]
T0/T0rec/AliT0CalibSeasonTimeShift.h [moved from T0/AliT0CalibSeasonTimeShift.h with 100% similarity]
T0/T0rec/AliT0Calibrator.cxx [moved from T0/AliT0Calibrator.cxx with 100% similarity]
T0/T0rec/AliT0Calibrator.h [moved from T0/AliT0Calibrator.h with 100% similarity]
T0/T0rec/AliT0QADataMakerRec.cxx [moved from T0/AliT0QADataMakerRec.cxx with 100% similarity]
T0/T0rec/AliT0QADataMakerRec.h [moved from T0/AliT0QADataMakerRec.h with 100% similarity]
T0/T0rec/AliT0RecoParam.cxx [moved from T0/AliT0RecoParam.cxx with 100% similarity]
T0/T0rec/AliT0RecoParam.h [moved from T0/AliT0RecoParam.h with 100% similarity]
T0/T0rec/AliT0Reconstructor.cxx [moved from T0/AliT0Reconstructor.cxx with 100% similarity]
T0/T0rec/AliT0Reconstructor.h [moved from T0/AliT0Reconstructor.h with 100% similarity]
T0/T0rec/CMakeLists.txt [new file with mode: 0644]
T0/T0rec/T0recLinkDef.h [moved from T0/T0recLinkDef.h with 100% similarity]
T0/T0shuttle/AliT0DataDCS.cxx [moved from T0/AliT0DataDCS.cxx with 100% similarity]
T0/T0shuttle/AliT0DataDCS.h [moved from T0/AliT0DataDCS.h with 100% similarity]
T0/T0shuttle/AliT0Dqclass.cxx [moved from T0/AliT0Dqclass.cxx with 100% similarity]
T0/T0shuttle/AliT0Dqclass.h [moved from T0/AliT0Dqclass.h with 100% similarity]
T0/T0shuttle/AliT0Preprocessor.cxx [moved from T0/AliT0Preprocessor.cxx with 100% similarity]
T0/T0shuttle/AliT0Preprocessor.h [moved from T0/AliT0Preprocessor.h with 100% similarity]
T0/T0shuttle/AliT0PreprocessorCosmic.cxx [moved from T0/AliT0PreprocessorCosmic.cxx with 100% similarity]
T0/T0shuttle/AliT0PreprocessorCosmic.h [moved from T0/AliT0PreprocessorCosmic.h with 100% similarity]
T0/T0shuttle/CMakeLists.txt [new file with mode: 0644]
T0/T0shuttle/T0shuttleLinkDef.h [moved from T0/T0shuttleLinkDef.h with 100% similarity]
T0/T0sim/AliT0QADataMakerSim.cxx [moved from T0/AliT0QADataMakerSim.cxx with 100% similarity]
T0/T0sim/AliT0QADataMakerSim.h [moved from T0/AliT0QADataMakerSim.h with 100% similarity]
T0/T0sim/AliT0v0.cxx [moved from T0/AliT0v0.cxx with 100% similarity]
T0/T0sim/AliT0v0.h [moved from T0/AliT0v0.h with 100% similarity]
T0/T0sim/AliT0v1.cxx [moved from T0/AliT0v1.cxx with 100% similarity]
T0/T0sim/AliT0v1.h [moved from T0/AliT0v1.h with 100% similarity]
T0/T0sim/CMakeLists.txt [new file with mode: 0644]
T0/T0sim/T0simLinkDef.h [moved from T0/T0simLinkDef.h with 100% similarity]

index 8a51e91..a9ac5ac 100644 (file)
@@ -124,7 +124,7 @@ add_subdirectory(RAW)
 add_subdirectory(ITS)
 add_subdirectory(TPC)
 add_subdirectory(VZERO)
-#add_subdirectory (T0)
+add_subdirectory (T0)
 #add_subdirectory (TOF)
 #add_subdirectory (TRD)
 #add_subdirectory (ZDC)
index 369864a..ddb4197 100644 (file)
@@ -1,10 +1,22 @@
-# AliRoot Build System CMakeLists for T0
-#
-# 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)
+add_subdirectory(T0base)
+add_subdirectory(T0calib)
+add_subdirectory(T0rec)
+add_subdirectory(T0sim)
+add_subdirectory(T0shuttle)
 
-file(GLOB PACKAGES CMake*.pkg)
-
-ALICE_BuildModule()
+message(STATUS "T0 enabled")
diff --git a/T0/CMakelibT0base.pkg b/T0/CMakelibT0base.pkg
deleted file mode 100644 (file)
index 7f75491..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-# -*- mode: CMake -*- 
-#--------------------------------------------------------------------------------#
-# Package File for T0base                                                        #
-# 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 
-    AliT0.cxx 
-    AliT0digit.cxx 
-    AliT0Trigger.cxx 
-    AliT0CalibData.cxx 
-    AliT0CalibTimeEq.cxx 
-    AliT0CalibWalk.cxx 
-    AliT0CalibLatency.cxx 
-    AliT0Parameters.cxx 
-    AliT0LookUpValue.cxx 
-    AliT0LookUpKey.cxx 
-    AliT0Align.cxx 
-    AliT0QAChecker.cxx 
-    AliT0RecPoint.cxx 
-    AliT0hit.cxx 
-    AliT0RawReader.cxx 
-    AliT0RawData.cxx 
-    AliT0Digitizer.cxx 
-    AliT0MisAligner.cxx 
-    AliT0TriggerParameters.cxx 
-    )
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( EHDr  AliT0CalibLatency.h)
-
-set ( DHDR  T0baseLinkDef.h)
-
-set ( EINCLUDE RAW STEER/STEER STEER/CDB STEER/ESD STEER/STEERBase)
-
-set ( EXPORT AliT0digit.h)
diff --git a/T0/CMakelibT0calib.pkg b/T0/CMakelibT0calib.pkg
deleted file mode 100644 (file)
index 7130f23..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# -*- mode: CMake -*-
-#--------------------------------------------------------------------------------#
-# Package File for T0 calib                                                         #
-# 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  AliT0CalibOffsetChannelsTask.cxx AliT0PreprocessorOffline.cxx AliT0AnalysisTaskQA.cxx AliT0CalibAnalysisTask.cxx)
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  T0calibLinkDef.h)
-
-set ( EINCLUDE  RAW STEER/STEERBase STEER/ESD ANALYSIS)
diff --git a/T0/CMakelibT0rec.pkg b/T0/CMakelibT0rec.pkg
deleted file mode 100644 (file)
index f6bca5c..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# -*- mode: CMake -*- 
-#--------------------------------------------------------------------------------#
-# Package File for T0rec                                                         #
-# 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  
-    AliT0Reconstructor.cxx 
-    AliT0Calibrator.cxx 
-    AliT0CalibLaserData.cxx 
-    AliT0QADataMakerRec.cxx 
-    AliT0RecoParam.cxx 
-    AliT0CalibSeasonTimeShift.cxx 
-    )
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  T0recLinkDef.h)
-
-set ( EINCLUDE  RAW STEER/STEER STEER/ESD STEER/STEERBase)
diff --git a/T0/CMakelibT0shuttle.pkg b/T0/CMakelibT0shuttle.pkg
deleted file mode 100644 (file)
index aa6b563..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# -*- mode: CMake -*-
-#--------------------------------------------------------------------------------#
-# Package File for T0shuttle                                                     #
-# 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  AliT0Preprocessor.cxx AliT0DataDCS.cxx AliT0PreprocessorCosmic.cxx)
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  T0shuttleLinkDef.h)
-
-set ( EINCLUDE RAW STEER/CDB)
diff --git a/T0/CMakelibT0sim.pkg b/T0/CMakelibT0sim.pkg
deleted file mode 100644 (file)
index df06bae..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-# -*- mode: CMake -*- 
-#--------------------------------------------------------------------------------#
-# Package File for T0sim                                                         #
-# 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  
-    AliT0v0.cxx 
-    AliT0v1.cxx 
-    AliT0QADataMakerSim.cxx 
-    )
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  T0simLinkDef.h)
-
-set ( EINCLUDE RAW STEER/STEER STEER/ESD STEER/STEERBase)
similarity index 100%
rename from T0/AliT0.cxx
rename to T0/T0base/AliT0.cxx
similarity index 100%
rename from T0/AliT0.h
rename to T0/T0base/AliT0.h
similarity index 100%
rename from T0/AliT0Align.cxx
rename to T0/T0base/AliT0Align.cxx
similarity index 100%
rename from T0/AliT0Align.h
rename to T0/T0base/AliT0Align.h
similarity index 100%
rename from T0/AliT0RawData.h
rename to T0/T0base/AliT0RawData.h
similarity index 100%
rename from T0/AliT0RecPoint.h
rename to T0/T0base/AliT0RecPoint.h
similarity index 100%
rename from T0/AliT0Trigger.h
rename to T0/T0base/AliT0Trigger.h
similarity index 100%
rename from T0/AliT0digit.cxx
rename to T0/T0base/AliT0digit.cxx
similarity index 100%
rename from T0/AliT0digit.h
rename to T0/T0base/AliT0digit.h
similarity index 100%
rename from T0/AliT0hit.cxx
rename to T0/T0base/AliT0hit.cxx
similarity index 100%
rename from T0/AliT0hit.h
rename to T0/T0base/AliT0hit.h
diff --git a/T0/T0base/CMakeLists.txt b/T0/T0base/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f190d39
--- /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 T0base)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/T0/${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}/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
+    AliT0Align.cxx
+    AliT0CalibData.cxx
+    AliT0CalibLatency.cxx
+    AliT0CalibTimeEq.cxx
+    AliT0CalibWalk.cxx
+    AliT0.cxx
+    AliT0digit.cxx
+    AliT0Digitizer.cxx
+    AliT0hit.cxx
+    AliT0LookUpKey.cxx
+    AliT0LookUpValue.cxx
+    AliT0MisAligner.cxx
+    AliT0Parameters.cxx
+    AliT0QAChecker.cxx
+    AliT0RawData.cxx
+    AliT0RawReader.cxx
+    AliT0RecPoint.cxx
+    AliT0Trigger.cxx
+    AliT0TriggerParameters.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 RAWDatasim)
+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 T0/T0baseLinkDef.h
rename to T0/T0base/T0baseLinkDef.h
diff --git a/T0/T0calib/CMakeLists.txt b/T0/T0calib/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7086e6b
--- /dev/null
@@ -0,0 +1,72 @@
+# **************************************************************************
+# * 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 T0calib)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/T0/${MODULE})
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${CMAKE_SOURCE_DIR}/STEER/CDB
+                    ${CMAKE_SOURCE_DIR}/STEER/ESD
+                    ${CMAKE_SOURCE_DIR}/STEER/STEER
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${CMAKE_SOURCE_DIR}/T0/T0base
+                    ${CMAKE_SOURCE_DIR}/T0/T0rec
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliT0AnalysisTaskQA.cxx
+    AliT0CalibAnalysisTask.cxx
+    AliT0CalibOffsetChannelsTask.cxx
+    AliT0PreprocessorOffline.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 ANALYSIS ANALYSISalice T0base T0rec)
+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/T0/T0rec/CMakeLists.txt b/T0/T0rec/CMakeLists.txt
new file mode 100644 (file)
index 0000000..413225e
--- /dev/null
@@ -0,0 +1,73 @@
+# **************************************************************************
+# * 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 T0rec)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/T0/${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}/STEER/CDB
+                    ${CMAKE_SOURCE_DIR}/STEER/ESD
+                    ${CMAKE_SOURCE_DIR}/STEER/STEER
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${CMAKE_SOURCE_DIR}/T0/T0base
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliT0CalibLaserData.cxx
+    AliT0Calibrator.cxx
+    AliT0CalibSeasonTimeShift.cxx
+    AliT0QADataMakerRec.cxx
+    AliT0Reconstructor.cxx
+    AliT0RecoParam.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 CDB RAWDatarec RAWDatabase T0base Gui)
+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 T0/T0recLinkDef.h
rename to T0/T0rec/T0recLinkDef.h
diff --git a/T0/T0shuttle/CMakeLists.txt b/T0/T0shuttle/CMakeLists.txt
new file mode 100644 (file)
index 0000000..205162d
--- /dev/null
@@ -0,0 +1,66 @@
+# **************************************************************************
+# * 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 T0shuttle)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/T0/${MODULE})
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${CMAKE_SOURCE_DIR}/STEER/CDB
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${CMAKE_SOURCE_DIR}/T0/T0base
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliT0DataDCS.cxx
+    AliT0PreprocessorCosmic.cxx
+    AliT0Preprocessor.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 CDB T0base)
+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 T0/AliT0v0.cxx
rename to T0/T0sim/AliT0v0.cxx
similarity index 100%
rename from T0/AliT0v0.h
rename to T0/T0sim/AliT0v0.h
similarity index 100%
rename from T0/AliT0v1.cxx
rename to T0/T0sim/AliT0v1.cxx
similarity index 100%
rename from T0/AliT0v1.h
rename to T0/T0sim/AliT0v1.h
diff --git a/T0/T0sim/CMakeLists.txt b/T0/T0sim/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7e54ccb
--- /dev/null
@@ -0,0 +1,70 @@
+# **************************************************************************
+# * 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 T0sim)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/T0/${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}/STEER/CDB
+                    ${CMAKE_SOURCE_DIR}/STEER/ESD
+                    ${CMAKE_SOURCE_DIR}/STEER/STEER
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${CMAKE_SOURCE_DIR}/T0/T0base
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliT0QADataMakerSim.cxx
+    AliT0v0.cxx
+    AliT0v1.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 CDB RAWDatabase RAWDatarec T0base)
+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 T0/T0simLinkDef.h
rename to T0/T0sim/T0simLinkDef.h