Skip to content

Commit e040e24

Browse files
committed
Split param tof utilities
1 parent 5a776ff commit e040e24

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

DataFormats/Detectors/TOF/CMakeLists.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,28 @@
99
# granted to it by virtue of its status as an Intergovernmental Organization
1010
# or submit itself to any jurisdiction.
1111

12+
o2_add_library(ParamTOF
13+
SOURCES src/ParameterContainers.cxx
14+
PUBLIC_LINK_LIBRARIES O2::Framework)
15+
16+
o2_target_root_dictionary(ParamTOF
17+
HEADERS include/ParamTOF/ParameterContainers.h)
18+
19+
1220
o2_add_library(DataFormatsTOF
1321
SOURCES src/Cluster.cxx
1422
src/CalibInfoTOFshort.cxx
1523
src/CalibInfoTOF.cxx
1624
src/CalibLHCphaseTOF.cxx
1725
src/CalibTimeSlewingParamTOF.cxx
1826
src/CTF.cxx
19-
src/ParameterContainers.cxx
2027
src/CalibInfoCluster.cxx
2128
src/CosmicInfo.cxx
2229
src/Diagnostic.cxx
2330
src/TOFFEElightInfo.cxx
2431
PUBLIC_LINK_LIBRARIES O2::ReconstructionDataFormats
2532
O2::GPUCommon
33+
O2::ParamTOF
2634
Boost::serialization)
2735

2836
o2_target_root_dictionary(DataFormatsTOF
@@ -34,7 +42,6 @@ o2_target_root_dictionary(DataFormatsTOF
3442
include/DataFormatsTOF/RawDataFormat.h
3543
include/DataFormatsTOF/CompressedDataFormat.h
3644
include/DataFormatsTOF/CTF.h
37-
include/DataFormatsTOF/ParameterContainers.h
3845
include/DataFormatsTOF/CalibInfoCluster.h
3946
include/DataFormatsTOF/CosmicInfo.h
4047
include/DataFormatsTOF/TOFFEElightInfo.h

DataFormats/Detectors/TOF/include/DataFormatsTOF/ParameterContainers.h renamed to DataFormats/Detectors/TOF/include/ParamTOF/ParameterContainers.h

File renamed without changes.

DataFormats/Detectors/TOF/src/DataFormatsTOFLinkDef.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333

3434
#pragma link C++ class std::vector < o2::dataformats::CalibInfoTOFshort> + ;
3535
#pragma link C++ class std::vector < o2::dataformats::CalibInfoTOF> + ;
36-
#pragma link C++ class o2::tof::Parameters < 5> + ;
37-
#pragma link C++ class o2::tof::ParameterCollection + ;
3836

3937
#pragma link C++ class o2::tof::CTFHeader + ;
4038
#pragma link C++ class o2::tof::CompressedInfos + ;

DataFormats/Detectors/TOF/src/ParameterContainers.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/// @since 2022-11-08
1616
/// \brief Implementation of the containers for the general parameters
1717

18-
#include "DataFormatsTOF/ParameterContainers.h"
18+
#include "ParamTOF/ParameterContainers.h"
1919

2020
// ClassImp(o2::tof::Parameters);
2121
using namespace o2::tof;

Detectors/TOF/workflow/src/make-parameter-collection.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "TCanvas.h"
2222
#include <boost/program_options.hpp>
2323
#include "TFile.h"
24-
#include "DataFormatsTOF/ParameterContainers.h"
24+
#include "ParamTOF/ParameterContainers.h"
2525

2626
namespace bpo = boost::program_options;
2727
using namespace std::chrono;

Steer/DigitizerWorkflow/src/TOFDigitizerSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include "DetectorsRaw/HBFUtils.h"
3333
#include "TOFBase/Geo.h"
3434
#include "Framework/CCDBParamSpec.h"
35-
#include "DataFormatsTOF/ParameterContainers.h"
35+
#include "ParamTOF/ParameterContainers.h"
3636
#include "SimConfig/DigiParams.h"
3737

3838
using namespace o2::framework;

0 commit comments

Comments
 (0)