Skip to content

Commit 841b571

Browse files
authored
[Common] Fix library issue (#17497)
1 parent 79b47fa commit 841b571

4 files changed

Lines changed: 32 additions & 5 deletions

File tree

Common/Core/AnalysisCoreLinkDef.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,4 @@
2626

2727
#pragma link C++ class OrbitRange + ;
2828

29-
#pragma link C++ class FFitWeights + ;
30-
3129
#endif // COMMON_CORE_ANALYSISCORELINKDEF_H_

Common/Core/CMakeLists.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ o2physics_add_library(AnalysisCore
2121
TableHelper.cxx
2222
MetadataHelper.cxx
2323
CollisionTypeHelper.cxx
24-
FFitWeights.cxx
2524
PUBLIC_LINK_LIBRARIES O2::Framework O2::DataFormatsParameters ROOT::EG O2::CCDB ROOT::Physics O2::FT0Base O2::FV0Base O2::DataFormatsParamTOF)
2625

2726
o2physics_target_root_dictionary(AnalysisCore
@@ -37,7 +36,6 @@ o2physics_target_root_dictionary(AnalysisCore
3736
PID/TPCPIDResponse.h
3837
PID/PIDTOFParamService.h
3938
CollisionTypeHelper.h
40-
FFitWeights.h
4139
LINKDEF AnalysisCoreLinkDef.h)
4240

4341
o2physics_add_library(EventFilteringUtils
@@ -52,3 +50,12 @@ o2physics_target_root_dictionary(EventFilteringUtils
5250
o2physics_add_header_only_library(TPCDriftManager
5351
HEADERS TPCVDriftManager.h
5452
INTERFACE_LINK_LIBRARIES)
53+
54+
o2physics_add_library(FFitWeights
55+
SOURCES FFitWeights.cxx
56+
PUBLIC_LINK_LIBRARIES O2::Framework O2::CCDB ROOT::Physics)
57+
58+
o2physics_target_root_dictionary(FFitWeights
59+
HEADERS FFitWeights.h
60+
LINKDEF FFitWeightsLinkDef.h)
61+

Common/Core/FFitWeightsLinkDef.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
/// \file FFitWeightsLinkDef.h
13+
/// \brief LinkDef for FFitWeights
14+
///
15+
/// \author Joachim C. K. B. Hansen
16+
17+
#ifndef COMMON_CORE_FFITWEIGHTSLINKDEF_H_
18+
#define COMMON_CORE_FFITWEIGHTSLINKDEF_H_
19+
20+
#pragma link C++ class FFitWeights + ;
21+
22+
#endif // COMMON_CORE_FFITWEIGHTSLINKDEF_H_

Common/TableProducer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ o2physics_add_dpl_workflow(zdc-extra-table-producer
134134

135135
o2physics_add_dpl_workflow(ese-table-producer
136136
SOURCES eseTableProducer.cxx
137-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
137+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::FFitWeights
138138
COMPONENT_NAME Analysis)
139139

140140
o2physics_add_dpl_workflow(mftmch-matching-data

0 commit comments

Comments
 (0)