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
15
#include "
Framework/DataProcessorSpec.h
"
16
#include <vector>
17
#include <numeric>
// std::iota
18
19
namespace
o2
20
{
21
namespace
tpc
22
{
25
o2::framework::DataProcessorSpec
getTPCDigitRootWriterSpec
(std::vector<int>
const
& laneConfiguration,
bool
mctruth);
26
27
// numberofsourcedevices is the number of devices we receive digits from
28
inline
o2::framework::DataProcessorSpec
getTPCDigitRootWriterSpec
(
int
numberofsourcedevices = 1)
29
{
30
std::vector<int>
defaultConfiguration
(numberofsourcedevices);
31
std::iota(
defaultConfiguration
.begin(),
defaultConfiguration
.end(), 0);
32
return
getTPCDigitRootWriterSpec
(
defaultConfiguration
,
true
);
33
}
34
35
}
// namespace tpc
36
}
// namespace o2
37
38
#endif
/* STEER_DIGITIZERWORKFLOW_SRC_TPCDIGITROOTWRITERSPEC_H_ */
DataProcessorSpec.h
o2::tpc::getTPCDigitRootWriterSpec
DataProcessorSpec getTPCDigitRootWriterSpec(std::vector< int > const &laneConfiguration, bool mctruth)
Definition
TPCDigitRootWriterSpec.cxx:55
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
defaultConfiguration
void defaultConfiguration(std::vector< o2::framework::ConfigParamSpec > &globalWorkflowOptions)
Definition
runDataProcessing.h:69
o2::framework::DataProcessorSpec
Definition
DataProcessorSpec.h:41
Steer
DigitizerWorkflow
src
TPCDigitRootWriterSpec.h
Generated on Tue Feb 25 2025 17:03:28 for Project by
1.9.8