GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — AliceO2/Detectors/Base/CMakeLists.txt at dev · AliceO2Group/AliceO2

Expand file tree

/

CMakeLists.txt

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
157 lines (142 loc) · 6.37 KB
/

CMakeLists.txt

Copy path

File metadata and controls

157 lines (142 loc) · 6.37 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
# 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_compile_options(-O0 -g -fPIC)
# Optional VecGeom backend for material-budget LUT filling, off by default when TGeo2VecGeom
# isn't installed (guarded by O2_WITH_VECGEOM). Linked PRIVATE: VecGeom types never appear in
# DetectorsBase's public headers, so consumers need neither VecGeom headers nor VecGeom itself.
find_package(TGeo2VecGeom CONFIG QUIET)
o2_add_library(DetectorsBase
TARGETVARNAME targetDetectorsBase
SOURCES src/Detector.cxx
src/GeometryManager.cxx
src/MaterialManager.cxx
src/MaterialManagerParam.cxx
src/GeometryManagerParam.cxx
src/Propagator.cxx
src/MatLayerCyl.cxx
src/MatLayerCylSet.cxx
src/Ray.cxx
src/BaseDPLDigitizer.cxx
src/CTFCoderBase.cxx
src/Aligner.cxx
src/SimFieldUtils.cxx
src/TFIDInfoHelper.cxx
src/GRPGeomHelper.cxx
src/Stack.cxx
src/VMCSeederService.cxx
src/SimRandom.cxx
src/MTWorkerHooks.cxx
src/GlobalParams.cxx
src/O2Tessellated.cxx
src/TGeoGeometryUtils.cxx
PUBLIC_LINK_LIBRARIES O2::FairRootBase
O2::CommonUtils
O2::DetectorsCommonDataFormats
O2::DataFormatsCTP
O2::GPUCommon
O2::GPUUtils
O2::ReconstructionDataFormats
O2::Field
O2::Framework
FairMQ::FairMQ
O2::DataFormatsParameters
O2::SimulationDataFormat
O2::SimConfig
O2::CCDB
O2::GPUDataTypes
MC::VMC
TBB::tbb
ROOT::Gdml
)
if(TGeo2VecGeom_FOUND)
target_compile_definitions(${targetDetectorsBase} PRIVATE O2_WITH_VECGEOM)
target_link_libraries(${targetDetectorsBase} PRIVATE TGeo2VecGeom::TGeo2VecGeom)
else()
message(STATUS "TGeo2VecGeom not found: DetectorsBase built without the optional VecGeom material-budget backend")
endif()
o2_target_root_dictionary(DetectorsBase
HEADERS include/DetectorsBase/Detector.h
include/DetectorsBase/GeometryManager.h
include/DetectorsBase/MaterialManager.h
include/DetectorsBase/MaterialManagerParam.h
include/DetectorsBase/GeometryManagerParam.h
include/DetectorsBase/Propagator.h
include/DetectorsBase/Ray.h
include/DetectorsBase/MatCell.h
include/DetectorsBase/MatLayerCyl.h
include/DetectorsBase/MatLayerCylSet.h
include/DetectorsBase/Aligner.h
include/DetectorsBase/Stack.h
include/DetectorsBase/SimFieldUtils.h
include/DetectorsBase/GlobalParams.h
include/DetectorsBase/O2Tessellated.h
)
o2_add_test(
HalfSpaceBox
SOURCES test/testHalfSpaceBox.cxx
COMPONENT_NAME DetectorsBase
PUBLIC_LINK_LIBRARIES O2::DetectorsBase
LABELS detectorsbase)
o2_add_test(
SimRandom
SOURCES test/testSimRandom.cxx
COMPONENT_NAME DetectorsBase
PUBLIC_LINK_LIBRARIES O2::DetectorsBase
LABELS detectorsbase)
o2_add_test(
DetImplClone
SOURCES test/testDetImplClone.cxx
COMPONENT_NAME DetectorsBase
PUBLIC_LINK_LIBRARIES O2::DetectorsBase
LABELS detectorsbase)
o2_add_test(
O2Tessellated
SOURCES test/testO2Tessellated.cxx
COMPONENT_NAME DetectorsBase
PUBLIC_LINK_LIBRARIES O2::DetectorsBase
LABELS detectorsbase)
if(BUILD_SIMULATION)
if (NOT APPLE)
o2_add_test(
MatBudLUT
SOURCES test/testMatBudLUT.cxx
COMPONENT_NAME DetectorsBase
PUBLIC_LINK_LIBRARIES O2::DetectorsBase O2::ITSMFTReconstruction
LABELS detectorsbase
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage
VMCWORKDIR=${CMAKE_BINARY_DIR}/stage/${CMAKE_INSTALL_DATADIR})
endif()
o2_add_test(
MCStack
SOURCES test/testStack.cxx
COMPONENT_NAME DetectorsBase
PUBLIC_LINK_LIBRARIES O2::DetectorsBase
LABELS detectorsbase
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage
VMCWORKDIR=${CMAKE_BINARY_DIR}/stage/${CMAKE_INSTALL_DATADIR})
endif()
install(FILES test/buildMatBudLUT.C
test/compareMatBudLUT.C
test/extractLUTLayers.C
test/rescaleLUT.C
DESTINATION share/macro/)
o2_add_test_root_macro(test/buildMatBudLUT.C
PUBLIC_LINK_LIBRARIES O2::DetectorsBase
LABELS detectorsbase)
o2_add_test_root_macro(test/compareMatBudLUT.C
PUBLIC_LINK_LIBRARIES O2::DetectorsBase
LABELS detectorsbase)
o2_add_test_root_macro(test/extractLUTLayers.C
PUBLIC_LINK_LIBRARIES O2::DetectorsBase
LABELS detectorsbase)
o2_add_test_root_macro(test/rescaleLUT.C
PUBLIC_LINK_LIBRARIES O2::DetectorsBase
LABELS detectorsbase)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.