AliHLTMUON module
authoragrigora <alina.grigoras@cern.ch>
Tue, 28 Oct 2014 15:00:49 +0000 (16:00 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:51 +0000 (13:51 +0100)
HLT/CMakeLists.txt
HLT/MUON/AliHLTMUONMansoTrack.cxx
HLT/MUON/AliHLTMUONRecHit.cxx
HLT/MUON/AliHLTMUONTrack.cxx
HLT/MUON/AliHLTMUONTriggerRecord.cxx
HLT/MUON/CMakeLists.txt [new file with mode: 0644]
HLT/MUON/OfflineInterface/AliHLTMUONRecHitsSource.cxx
HLT/MUON/OfflineInterface/AliHLTMUONTriggerRecordsSource.cxx

index a0f57c7..1349553 100644 (file)
@@ -40,6 +40,7 @@ add_subdirectory(EMCAL)
 add_subdirectory(FMD)
 add_subdirectory(ITS)
 add_subdirectory(JET)
+add_subdirectory(MUON)
 # Enable EVE if ROOT has OpenGL support
 if(ROOT_HASOPENGL STREQUAL "yes")
     add_subdirectory(EVE)
index 0ec164f..5eddb18 100644 (file)
@@ -30,7 +30,7 @@
 #include "AliHLTMUONRecHit.h"
 #include "AliHLTMUONTriggerRecord.h"
 #include "AliLog.h"
-#include "mapping/AliMpDEManager.h"
+#include "AliMpDEManager.h"
 #include <cstring>
 #include <iostream>
 #include <iomanip>
index cad852b..1123bb8 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "AliHLTMUONRecHit.h"
 #include "AliLog.h"
-#include "mapping/AliMpDEManager.h"
+#include "AliMpDEManager.h"
 #include <cstring>
 #include <iostream>
 #include <iomanip>
index ee0b4f9..759235c 100644 (file)
@@ -30,7 +30,7 @@
 #include "AliHLTMUONRecHit.h"
 #include "AliHLTMUONTriggerRecord.h"
 #include "AliLog.h"
-#include "mapping/AliMpDEManager.h"
+#include "AliMpDEManager.h"
 #include <cstring>
 #include <iostream>
 #include <iomanip>
index b096a6f..9384f6f 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "AliHLTMUONTriggerRecord.h"
 #include "AliLog.h"
-#include "mapping/AliMpDEManager.h"
+#include "AliMpDEManager.h"
 #include <cstring>
 #include <iostream>
 #include <iomanip>
diff --git a/HLT/MUON/CMakeLists.txt b/HLT/MUON/CMakeLists.txt
new file mode 100644 (file)
index 0000000..231612c
--- /dev/null
@@ -0,0 +1,128 @@
+# **************************************************************************
+# * 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 AliHLTMUON)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/HLT/MUON
+                    ${CMAKE_SOURCE_DIR}/HLT/MUON/OnlineAnalysis
+                    ${CMAKE_SOURCE_DIR}/HLT/MUON/utils
+                   )
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${CMAKE_SOURCE_DIR}/HLT/BASE
+                    ${CMAKE_SOURCE_DIR}/MUON/MUONbase
+                    ${CMAKE_SOURCE_DIR}/MUON/MUONcalib
+                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
+                    ${CMAKE_SOURCE_DIR}/MUON//MUONevaluation
+                    ${CMAKE_SOURCE_DIR}/MUON//MUONgeometry
+                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
+                    ${CMAKE_SOURCE_DIR}/MUON/MUONraw
+                    ${CMAKE_SOURCE_DIR}/MUON/MUONrec
+                    ${CMAKE_SOURCE_DIR}/MUON/MUONsim
+                    ${CMAKE_SOURCE_DIR}/MUON/MUONtrigger
+                    ${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
+    AliHLTMUONChannelsBlockStruct.cxx
+    AliHLTMUONClustersBlockStruct.cxx
+    AliHLTMUONConstants.cxx
+    AliHLTMUONDecision.cxx
+    AliHLTMUONEvent.cxx
+    AliHLTMUONMansoCandidatesBlockStruct.cxx
+    AliHLTMUONMansoTrack.cxx
+    AliHLTMUONMansoTracksBlockStruct.cxx
+    AliHLTMUONPairsDecisionBlockStruct.cxx
+    AliHLTMUONProcessor.cxx
+    AliHLTMUONRecHit.cxx
+    AliHLTMUONRecHitsBlockStruct.cxx
+    AliHLTMUONSinglesDecisionBlockStruct.cxx
+    AliHLTMUONTrack.cxx
+    AliHLTMUONTracksBlockStruct.cxx
+    AliHLTMUONTriggerRecord.cxx
+    AliHLTMUONTriggerRecordsBlockStruct.cxx
+    AliHLTMUONTrigRecsDebugBlockStruct.cxx
+    AliHLTMUONUtils.cxx
+    OfflineInterface/AliHLTMUONAgent.cxx
+    OfflineInterface/AliHLTMUONDigitPublisherComponent.cxx
+    OfflineInterface/AliHLTMUONESDMaker.cxx
+    OfflineInterface/AliHLTMUONRecHitsSource.cxx
+    OfflineInterface/AliHLTMUONRootifierComponent.cxx
+    OfflineInterface/AliHLTMUONTriggerRecordsSource.cxx
+    OnlineAnalysis/AliHLTMUONCalculations.cxx
+    OnlineAnalysis/AliHLTMUONClusterFinderComponent.cxx
+    OnlineAnalysis/AliHLTMUONDecisionComponent.cxx
+    OnlineAnalysis/AliHLTMUONFullTrackerComponent.cxx
+    OnlineAnalysis/AliHLTMUONFullTracker.cxx
+    OnlineAnalysis/AliHLTMUONHitReconstructorComponent.cxx
+    OnlineAnalysis/AliHLTMUONHitReconstructor.cxx
+    OnlineAnalysis/AliHLTMUONMansoTrackerFSMComponent.cxx
+    OnlineAnalysis/AliHLTMUONMansoTrackerFSM.cxx
+    OnlineAnalysis/AliHLTMUONTriggerReconstructorComponent.cxx
+    OnlineAnalysis/AliHLTMUONTriggerReconstructor.cxx
+    utils/AliHLTMUONClusterHistoComponent.cxx
+    utils/AliHLTMUONDataCheckerComponent.cxx
+    utils/AliHLTMUONEmptyEventFilterComponent.cxx
+    utils/AliHLTMUONRawDataHistoComponent.cxx
+   )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+set(HDRS ${HDRS}
+    AliHLTMUONDataBlockReader.h
+    AliHLTMUONDataBlockWriter.h
+    AliHLTMUONDataTypes.h
+    AliHLTMUONList.h
+    AliHLTMUONCountedList.h
+    OnlineAnalysis/AliHLTMUONMansoTrackerFSMCallback.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 HLTbase MUONraw MUONcore MUONcalib MUONmapping MUONsim MUONevaluation MUONtrigger MUONgeometry MUONrec)
+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
index b813e24..cd40760 100644 (file)
@@ -34,9 +34,9 @@
 #include "AliMUONConstants.h"
 #include "AliMUONVClusterStore.h"
 #include "AliMUONVHitStore.h"
-#include "mapping/AliMpCDB.h"
-#include "mapping/AliMpDEManager.h"
-#include "mapping/AliMpDetElement.h"
+#include "AliMpCDB.h"
+#include "AliMpDEManager.h"
+#include "AliMpDetElement.h"
 #include <cstdlib>
 #include <cstdio>
 #include <cerrno>
index bfe48b3..efd9e4a 100644 (file)
 #include "AliMUONConstants.h"
 #include "AliMUONVClusterStore.h"
 #include "AliMUONVHitStore.h"
-#include "mapping/AliMpCDB.h"
-#include "mapping/AliMpDDLStore.h"
-#include "mapping/AliMpLocalBoard.h"
-#include "mapping/AliMpTriggerCrate.h"
-#include "mapping/AliMpDEManager.h"
-#include "mapping/AliMpDetElement.h"
+#include "AliMpCDB.h"
+#include "AliMpDDLStore.h"
+#include "AliMpLocalBoard.h"
+#include "AliMpTriggerCrate.h"
+#include "AliMpDEManager.h"
+#include "AliMpDetElement.h"
 #include "AliLog.h"
 #include "TClonesArray.h"
 #include <cstdlib>