File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed
Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1111
1212#add_compile_options(-O0 -g -fPIC)
1313
14- add_subdirectory (macros )
14+ add_subdirectory (data )
1515add_subdirectory (simulation)
1616add_subdirectory (alignment)
1717add_subdirectory (base)
1818add_subdirectory (workflow)
1919add_subdirectory (reconstruction)
20+ add_subdirectory (macros )
Original file line number Diff line number Diff line change 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 (
13+ GenerateAPTSResponse ALL
14+ COMMAND
15+ ${CMAKE_BINARY_DIR} /stage/bin/o2-alpide-response-generator -c APTS -i
16+ ${ITSRESPONSE_DIR} /response/ITS3ChipResponseData/AptsResponseData/ -o
17+ ${CMAKE_CURRENT_BINARY_DIR} /
18+ BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR} /APTSResponseData.root
19+ DEPENDS GenerateAlpideResponse
20+ COMMENT "Generating APTSResponseData.root" )
21+ install (
22+ FILES "${CMAKE_CURRENT_BINARY_DIR} /APTSResponseData.root"
23+ DESTINATION
24+ "${CMAKE_INSTALL_PREFIX} /share/Detectors/Upgrades/ITS3/data/ITS3ChipResponseData/"
25+ )
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ void Digitizer::init()
6969 mSimRespIBShift = mSimRespIB ->getDepthMax () - SegmentationSuperAlpide::mSensorLayerThickness / 2 .f ;
7070 mSimRespOBShift = mSimRespOB ->getDepthMax () - Segmentation::SensorLayerThickness / 2 .f ;
7171 } else if (func == " APTS" ) {
72- constexpr const char * responseFileIB = " $(O2_ROOT)/share/Detectors/Upgrades/ITS3/data/ITS3ChipResponseData/APTSResponseData.root " ;
72+ constexpr const char * responseFileIB = " $(O2_ROOT)/share/Detectors/Upgrades/ITS3/data/ITS3ChipResponseData/" ;
7373 constexpr const char * responseFileOB = " $(O2_ROOT)/share/Detectors/ITSMFT/data/AlpideResponseData/AlpideResponseData.root" ;
7474 loadSetResponseFunc (responseFileIB, responseFileOB, " APTS" );
7575 mSimRespIBShift = mSimRespIB ->getDepthMax () - 10 .e -4f ;
You can’t perform that action at this time.
0 commit comments