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
13
15
19
20namespace o2
21{
22namespace fv0
23{
24
25framework::WorkflowSpec getRecoWorkflow(bool useMC, bool disableRootInp, bool disableRootOut)
26{
28 if (!disableRootInp) {
29 specs.emplace_back(o2::fv0::getDigitReaderSpec(useMC));
30 }
31
32 specs.emplace_back(o2::fv0::getReconstructionSpec(useMC));
33 if (!disableRootOut) {
34 specs.emplace_back(o2::fv0::getRecPointWriterSpec(useMC));
35 }
36 return specs;
37}
38
39} // namespace fv0
40} // namespace o2
std::vector< DataProcessorSpec > WorkflowSpec
framework::DataProcessorSpec getRecPointWriterSpec(bool useMC)
create a processor spec
framework::DataProcessorSpec getDigitReaderSpec(bool useMC=false, bool useTrgInput=true)
framework::DataProcessorSpec getReconstructionSpec(bool useMC=false, const std::string ccdbpath="http://alice-ccdb.cern.ch")
create a processor spec
framework::WorkflowSpec getRecoWorkflow(bool useMC, bool disableRootInp, bool disableRootOut)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...