Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#define ALICEO2_CALIBLHCPHASETOF_H

#include <vector>
#include "Rtypes.h"

namespace o2
{
Expand All @@ -39,7 +40,7 @@ class CalibLHCphaseTOF
// LHCphase calibration
std::vector<std::pair<int, float>> mLHCphase; ///< <timestamp,LHCphase> from which the LHCphase measurement is valid

// ClassDefNV(CalibLHCphaseTOF, 1);
ClassDefNV(CalibLHCphaseTOF, 1);
};
} // namespace dataformats
} // namespace o2
Expand Down
3 changes: 2 additions & 1 deletion DataFormats/common/src/BunchFilling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

#include "FairLogger.h"
#include "CommonDataFormat/BunchFilling.h"
#include "TFile.h"
#include <TClass.h>
#include <TFile.h>

using namespace o2;

Expand Down
6 changes: 6 additions & 0 deletions Framework/TestWorkflows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ o2_add_executable(datasampling-time-pipeline
PUBLIC_LINK_LIBRARIES O2::Framework
COMPONENT_NAME TestWorkflows)

# Detector specific dummy workflows
o2_add_executable(tof-dummy-ccdb
SOURCES src/tof-dummy-ccdb.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::TOFReconstruction
COMPONENT_NAME TestWorkflows)

if(BUILD_SIMULATION)
o2_add_executable(
ITSClusterizers
Expand Down
30 changes: 30 additions & 0 deletions Framework/TestWorkflows/src/tof-dummy-ccdb.cxx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Copyright CERN and copyright holders of ALICE O2. This software is
// distributed under the terms of the GNU General Public License v3 (GPL
// Version 3), copied verbatim in the file "COPYING".
//
// See http://alice-o2.web.cern.ch/license for full licensing information.
//
// 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.
#include "Framework/DataAllocator.h"
#include "Framework/runDataProcessing.h"
#include <TClass.h>
#include "DataFormatsTOF/CalibLHCphaseTOF.h"

using namespace o2::framework;

// This is how you can define your processing in a declarative way
std::vector<DataProcessorSpec> defineDataProcessing(ConfigContext const&)
{
return {
DataProcessorSpec{
"simple",
Inputs{},
{OutputSpec{{"phase"}, "TOF", "LHCPhase"}},
adaptStateless([](DataAllocator& outputs) {
// Create and fill a dummy LHCphase object
auto& lhcPhase = outputs.make<o2::dataformats::CalibLHCphaseTOF>(OutputRef{"phase", 0});
lhcPhase.addLHCphase(0, 0);
})}};
}