Project
Loading...
Searching...
No Matches
TPCDigitRootWriterSpec.h
Go to the documentation of this file.
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#ifndef STEER_DIGITIZERWORKFLOW_SRC_TPCDIGITROOTWRITERSPEC_H_
13#define STEER_DIGITIZERWORKFLOW_SRC_TPCDIGITROOTWRITERSPEC_H_
14
16#include <vector>
17#include <numeric> // std::iota
18
19namespace o2
20{
21namespace tpc
22{
25o2::framework::DataProcessorSpec getTPCDigitRootWriterSpec(std::vector<int> const& laneConfiguration, bool mctruth);
26
27// numberofsourcedevices is the number of devices we receive digits from
29{
30 std::vector<int> defaultConfiguration(numberofsourcedevices);
31 std::iota(defaultConfiguration.begin(), defaultConfiguration.end(), 0);
33}
34
35} // namespace tpc
36} // namespace o2
37
38#endif /* STEER_DIGITIZERWORKFLOW_SRC_TPCDIGITROOTWRITERSPEC_H_ */
DataProcessorSpec getTPCDigitRootWriterSpec(std::vector< int > const &laneConfiguration, bool mctruth)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
void defaultConfiguration(std::vector< o2::framework::ConfigParamSpec > &globalWorkflowOptions)