Project
Loading...
Searching...
No Matches
RecoWorkflow.cxx
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
15
16#include <string>
17
19{
20
22 // const std::string& hitRecoConfig,
23 bool upstreamDigits,
24 bool upstreamClusters,
25 bool disableRootOutput)
26{
28
29 if (!(upstreamDigits || upstreamClusters)) {
30 specs.emplace_back(o2::iotof::getIOTOFDigitReaderSpec(useMC, false, "tf3digits.root"));
31 }
32 if (!upstreamClusters) {
33 // specs.emplace_back(o2::iotof::getClustererSpec(useMC));
34 }
35
36 if (!disableRootOutput) {
37 // specs.emplace_back(o2::iotof::getClusterWriterSpec(useMC));
38 }
39
40 return specs;
41}
42
43} // namespace o2::iotof::reco_workflow
std::vector< DataProcessorSpec > WorkflowSpec
o2::framework::WorkflowSpec getWorkflow(bool useMC, bool upstreamDigits=false, bool upstreamClusters=false, bool disableRootOutput=false)
o2::framework::DataProcessorSpec getIOTOFDigitReaderSpec(bool useMC=true, bool useCalib=false, std::string defname="iotofdigits.root")