Project
Loading...
Searching...
No Matches
RecoWorkflow.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 O2_CPV_RECOWORKFLOW_H
13#define O2_CPV_RECOWORKFLOW_H
14
16#include <string>
17#include <vector>
18
19namespace o2
20{
21
22namespace cpv
23{
24
25namespace reco_workflow
26{
27
29enum struct InputType { Hits, // read hits from file
30 Digits, // read digits from file
31 Raw // read data in raw page format from file
32};
33enum struct OutputType { Digits,
34 Raw,
36};
37
39framework::WorkflowSpec getWorkflow(bool disableRootInp,
40 bool disableRootOut,
41 bool propagateMC = true,
42 bool askSTFDist = true,
43 bool isPedestal = false,
44 bool useBadChannelMap = true,
45 bool useGainCalibration = true,
46 std::string const& cfgInput = "digits",
47 std::string const& cfgOutput = "clusters");
48} // namespace reco_workflow
49
50} // namespace cpv
51
52} // namespace o2
53#endif
framework::WorkflowSpec getWorkflow(bool disableRootInp, bool disableRootOut, bool propagateMC=true, bool askSTFDist=true, bool isPedestal=false, bool useBadChannelMap=true, bool useGainCalibration=true, std::string const &cfgInput="digits", std::string const &cfgOutput="clusters")
create the workflow for CPV reconstruction
InputType
define input and output types of the workflow
std::vector< DataProcessorSpec > WorkflowSpec
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...