Skip to content

Commit 8302be8

Browse files
gvolpe79Giacomo Volpe
andauthored
HMPID condition paramters calibration using DCS DPs (#9171)
* HMPID condition paramters calibration using DCS DPs * Fixing convenctions * Fixing conventions * Fix tabs * Fixing spaces * Spaces * Conventions * Fix * Fixing clang * Fixing calibration/CMakeList.txt * Fixing calibration/macros/CMakeList.txt * Run dependence implemented * Fixing copyright headers * Convection * Copyright headers * Minors * Updtate to global CCDB server and following run as default option * Fixing copyright * Fixing clang Co-authored-by: Giacomo Volpe <gvolpe@pcgvolpe.ba.infn.it>
1 parent 159128b commit 8302be8

11 files changed

Lines changed: 1970 additions & 8 deletions

Detectors/HMPID/CMakeLists.txt

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +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.
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.
44
#
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".
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".
77
#
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
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
1010
# or submit itself to any jurisdiction.
1111

1212
add_subdirectory(base)
1313
add_subdirectory(simulation)
1414
add_subdirectory(reconstruction)
1515
add_subdirectory(workflow)
16-
16+
add_subdirectory(calibration)
17+
if (BUILD_TESTING)
18+
add_subdirectory(calibration/macros)
19+
endif()
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
o2_add_library(HMPIDCalibration
13+
TARGETVARNAME targetName
14+
SOURCES src/HMPIDDCSProcessor.cxx
15+
PUBLIC_LINK_LIBRARIES O2::HMPIDBase
16+
O2::Framework
17+
O2::DataFormatsHMP
18+
O2::HMPIDSimulation
19+
O2::SimulationDataFormat
20+
O2::DetectorsBase
21+
O2::DetectorsCalibration
22+
O2::DetectorsDCS
23+
O2::DetectorsRaw
24+
O2::CCDB
25+
ROOT::Physics
26+
ROOT::Minuit
27+
O2::Steer
28+
Microsoft.GSL::GSL)
29+
30+
o2_target_root_dictionary(HMPIDCalibration
31+
HEADERS include/HMPIDCalibration/HMPIDDCSProcessor.h)
32+
33+
34+
if (OpenMP_CXX_FOUND)
35+
target_compile_definitions(${targetName} PRIVATE WITH_OPENMP)
36+
target_link_libraries(${targetName} PRIVATE OpenMP::OpenMP_CXX)
37+
endif()
38+
39+
o2_add_executable(hmpid-dcs-sim-workflow# run with o2-calibration-hmpid-dcs-workflow
40+
COMPONENT_NAME calibration # adds calibration to the above command
41+
SOURCES testWorkflow/hmpid-dcs-sim-workflow.cxx
42+
PUBLIC_LINK_LIBRARIES O2::Framework
43+
O2::HMPIDCalibration
44+
O2::DCStestWorkflow)
45+
46+
o2_add_executable(hmpid-dcs-workflow # run with o2-calibration-hmpid-dcs-workflow
47+
COMPONENT_NAME calibration # adds calibration to the above command
48+
SOURCES testWorkflow/hmpid-dcs-data-workflow.cxx
49+
PUBLIC_LINK_LIBRARIES O2::Framework
50+
O2::HMPIDCalibration
51+
O2::DCStestWorkflow)

0 commit comments

Comments
 (0)