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