File tree Expand file tree Collapse file tree
Detectors/Upgrades/ITS3/alignment Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ o2_add_library(ITS3Align
3131 O2::DataFormatsGlobalTracking
3232 O2::DetectorsVertexing
3333 nlohmann_json::nlohmann_json
34- GBL::GBL )
34+ GBL::GBL
35+ Mille::Mille2 )
3536if (OpenMP_CXX_FOUND)
3637 target_compile_definitions (${targetName} PRIVATE WITH_OPENMP )
3738 target_link_libraries (${targetName} PRIVATE OpenMP::OpenMP_CXX )
Original file line number Diff line number Diff line change 2323#include < GblData.h>
2424#include < GblPoint.h>
2525#include < GblMeasurement.h>
26- #include < MilleBinary .h>
26+ #include < Mille/MilleFactory .h>
2727#include < nlohmann/json.hpp>
2828
2929#include " Framework/ConfigParamRegistry.h"
@@ -466,7 +466,7 @@ void AlignmentSpec::process()
466466 LOGP (info, " \t\t GBL LostWeight = {}" , lostWeightSum);
467467 LOGP (info, " Streaming results to output" );
468468 if (mOutOpt [OutputOpt::MilleData]) {
469- gbl::MilleBinary mille (mParams ->milleBinFile , true );
469+ auto mille = Mille::spawnMilleRecord (mParams ->milleBinFile , true );
470470 for (auto & slot : gblTrajSlots) {
471471 for (auto & traj : slot) {
472472 traj.milleOut (mille);
Original file line number Diff line number Diff line change @@ -285,6 +285,10 @@ if(NOT TARGET Eigen3::Eigen)
285285 )
286286endif ()
287287
288+ find_package (Mille CONFIG REQUIRED )
289+ if (NOT TARGET Mille::Mille2)
290+ add_library (Mille::Mille2 ALIAS Mille2 )
291+ endif ()
288292find_package (GBL )
289293set_package_properties (GBL PROPERTIES TYPE REQUIRED )
290294if (GBL_FOUND AND NOT TARGET GBL::GBL)
You can’t perform that action at this time.
0 commit comments