-
Notifications
You must be signed in to change notification settings - Fork 494
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
180 lines (172 loc) · 9.44 KB
/
CMakeLists.txt
File metadata and controls
180 lines (172 loc) · 9.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# Copyright 2019-2020 CERN and copyright holders of ALICE O2.
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
# All rights not expressly granted are reserved.
#
# This software is distributed under the terms of the GNU General Public
# License v3 (GPL Version 3), copied verbatim in the file "COPYING".
#
# In applying this license CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.
add_subdirectory(SpacePoints)
o2_add_library(TPCCalibration
TARGETVARNAME targetName
SOURCES src/CalibRawBase.cxx
src/CalibPedestal.cxx
src/CalibPulser.cxx
src/CalibPedestalParam.cxx
src/CalibPulserParam.cxx
src/CalibTreeDump.cxx
src/DigitDump.cxx
src/DigitDumpParam.cxx
src/CalibPadGainTracks.cxx
src/CalibPadGainTracksBase.cxx
src/CalibLaserTracks.cxx
src/LaserTracksCalibrator.cxx
src/SACDecoder.cxx
src/IDCAverageGroup.cxx
src/IDCAverageGroupBase.cxx
src/IDCAverageGroupHelper.cxx
src/IDCGroup.cxx
src/IDCGroupHelperRegion.cxx
src/IDCGroupHelperSector.cxx
src/IDCGroupingParameter.cxx
src/IDCFactorization.cxx
src/IDCFourierTransformBase.cxx
src/IDCFourierTransform.cxx
src/IDCDrawHelper.cxx
src/RobustAverage.cxx
src/IDCCCDBHelper.cxx
src/CalibdEdx.cxx
src/CalibratordEdx.cxx
src/TrackDump.cxx
src/CalibratorPadGainTracks.cxx
src/TPCVDriftTglCalibration.cxx
src/SACFactorization.cxx
src/SACParameter.cxx
src/SACDrawHelper.cxx
src/VDriftHelper.cxx
src/CorrectionMapsLoader.cxx
src/SACCCDBHelper.cxx
src/TPCFastSpaceChargeCorrectionHelper.cxx
src/CalculatedEdx.cxx
src/TPCScaler.cxx
src/CorrMapParam.cxx
src/TPCMShapeCorrection.cxx
src/DigitAdd.cxx
src/CorrectdEdxDistortions.cxx
src/PressureTemperatureHelper.cxx
src/CMVContainer.cxx
PUBLIC_LINK_LIBRARIES O2::DataFormatsTPC O2::TPCBaseRecSim
O2::TPCReconstruction ROOT::Minuit
Microsoft.GSL::GSL
O2::DetectorsCalibration
O2::GPUO2Interface
O2::GPUDataTypes
O2::TPCFastTransformation
O2::DataFormatsCTP
O2::CCDB
O2::SpacePoints)
o2_target_root_dictionary(TPCCalibration
HEADERS include/TPCCalibration/CalibRawBase.h
include/TPCCalibration/CalibPedestal.h
include/TPCCalibration/CalibPulser.h
include/TPCCalibration/CalibPedestalParam.h
include/TPCCalibration/CalibPulserParam.h
include/TPCCalibration/CalibTreeDump.h
include/TPCCalibration/DigitDump.h
include/TPCCalibration/DigitDumpParam.h
include/TPCCalibration/CalibPadGainTracks.h
include/TPCCalibration/CalibPadGainTracksBase.h
include/TPCCalibration/FastHisto.h
include/TPCCalibration/CalibLaserTracks.h
include/TPCCalibration/LaserTracksCalibrator.h
include/TPCCalibration/SACDecoder.h
include/TPCCalibration/IDCAverageGroup.h
include/TPCCalibration/IDCAverageGroupBase.h
include/TPCCalibration/IDCAverageGroupHelper.h
include/TPCCalibration/IDCGroup.h
include/TPCCalibration/IDCGroupHelperRegion.h
include/TPCCalibration/IDCGroupHelperSector.h
include/TPCCalibration/IDCFactorization.h
include/TPCCalibration/IDCGroupingParameter.h
include/TPCCalibration/IDCContainer.h
include/TPCCalibration/RobustAverage.h
include/TPCCalibration/IDCFourierTransformBase.h
include/TPCCalibration/IDCFourierTransform.h
include/TPCCalibration/IDCCCDBHelper.h
include/TPCCalibration/CalibdEdx.h
include/TPCCalibration/CalibratordEdx.h
include/TPCCalibration/TrackDump.h
include/TPCCalibration/IDCDrawHelper.h
include/TPCCalibration/CalibratorPadGainTracks.h
include/TPCCalibration/TPCVDriftTglCalibration.h
include/TPCCalibration/SACFactorization.h
include/TPCCalibration/SACParameter.h
include/TPCCalibration/SACDrawHelper.h
include/TPCCalibration/VDriftHelper.h
include/TPCCalibration/SACCCDBHelper.h
include/TPCCalibration/TPCFastSpaceChargeCorrectionHelper.h
include/TPCCalibration/CalculatedEdx.h
include/TPCCalibration/TPCScaler.h
include/TPCCalibration/CorrMapParam.h
include/TPCCalibration/TPCMShapeCorrection.h
include/TPCCalibration/DigitAdd.h
include/TPCCalibration/CorrectdEdxDistortions.h
include/TPCCalibration/PressureTemperatureHelper.h
include/TPCCalibration/CMVContainer.h)
o2_add_test_root_macro(macro/comparePedestalsAndNoise.C
PUBLIC_LINK_LIBRARIES O2::TPCBaseRecSim
LABELS tpc)
o2_add_test_root_macro(macro/drawNoiseAndPedestal.C
PUBLIC_LINK_LIBRARIES O2::TPCBaseRecSim
LABELS tpc)
o2_add_test_root_macro(macro/drawPulser.C
PUBLIC_LINK_LIBRARIES O2::TPCBaseRecSim
LABELS tpc)
o2_add_test_root_macro(macro/mergeNoiseAndPedestal.C
PUBLIC_LINK_LIBRARIES O2::TPCBaseRecSim
LABELS tpc)
o2_add_test_root_macro(macro/runPedestal.C
PUBLIC_LINK_LIBRARIES O2::TPCCalibration
LABELS tpc
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage)
o2_add_test_root_macro(macro/runPulser.C
PUBLIC_LINK_LIBRARIES O2::TPCCalibration
LABELS tpc
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage)
o2_add_test_root_macro(macro/dumpDigits.C
PUBLIC_LINK_LIBRARIES O2::TPCCalibration
LABELS tpc
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage)
o2_add_test_root_macro(macro/preparePedestalFiles.C
COMPILE_ONLY
PUBLIC_LINK_LIBRARIES O2::TPCCalibration
LABELS tpc)
o2_add_test_root_macro(macro/prepareCMFiles.C
COMPILE_ONLY
PUBLIC_LINK_LIBRARIES O2::TPCCalibration
LABELS tpc)
o2_add_test_root_macro(macro/prepareITFiles.C
COMPILE_ONLY
PUBLIC_LINK_LIBRARIES O2::TPCCalibration
LABELS tpc)
o2_add_test(IDCFourierTransform
COMPONENT_NAME calibration
PUBLIC_LINK_LIBRARIES O2::TPCCalibration
SOURCES test/testO2TPCIDCFourierTransform.cxx
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage
LABELS tpc
CONFIGURATIONS RelWithDebInfo Release MinSizeRel)
o2_add_test(IDCAverageGroup
LABELS tpc
PUBLIC_LINK_LIBRARIES O2::TPCCalibration
COMPONENT_NAME tpc
SOURCES test/testO2TPCIDCAverageGroup.cxx
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage
CONFIGURATIONS RelWithDebInfo Release MinSizeRel)
if (OpenMP_CXX_FOUND)
target_compile_definitions(${targetName} PRIVATE WITH_OPENMP)
target_link_libraries(${targetName} PRIVATE OpenMP::OpenMP_CXX)
endif()
target_link_libraries(${targetName} PRIVATE FFTW3::fftw3f)