Skip to content

Commit db88145

Browse files
committed
ITS3: build APTS response function
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent a290d1e commit db88145

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Detectors/Upgrades/ITS3/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#add_compile_options(-O0 -g -fPIC)
1313

1414
add_subdirectory(macros)
15+
add_subdirectory(data)
1516
add_subdirectory(simulation)
1617
add_subdirectory(alignment)
1718
add_subdirectory(base)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2+
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3+
# All rights not expressly granted are reserved.
4+
#
5+
# This software is distributed under the terms of the GNU General Public
6+
# License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7+
#
8+
# In applying this license CERN does not waive the privileges and immunities
9+
# granted to it by virtue of its status as an Intergovernmental Organization
10+
# or submit itself to any jurisdiction.
11+
12+
add_custom_target(GenerateAPTSResponse #ALL
13+
COMMAND ${CMAKE_BINARY_DIR}/stage/bin/o2-alpide-response-generator -i ${ITSRESPONSE_DIR}/response/APTSResponseData/ -o ${CMAKE_CURRENT_BINARY_DIR}/
14+
BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/APTSResponseData.root
15+
DEPENDS GenerateAlpideResponse
16+
COMMENT "Generating APTSResponseData.root"
17+
)
18+
19+
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/APTSResponseData.root" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/Detectors/Upgrades/ITS3/data/ITS3ChipResponseData/" OPTIONAL)

0 commit comments

Comments
 (0)