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_EMCAL_RECOWORKFLOW_H
13#define O2_EMCAL_RECOWORKFLOW_H
14
16#include <string>
17#include <vector>
18
19namespace o2
20{
21
22namespace emcal
23{
24
25namespace reco_workflow
26{
27
31enum struct InputType { Digits,
32 Cells,
33 Raw,
35};
36
40enum struct OutputType { Digits,
41 Cells,
42 Raw,
43 Clusters,
45};
46
61framework::WorkflowSpec getWorkflow(bool propagateMC = true,
62 bool askDISTSTF = true,
63 bool enableDigitsPrinter = false,
64 int subspecificationIn = 0,
65 int subspecificationOut = 0,
66 std::string const& cfgInput = "digits",
67 std::string const& cfgOutput = "clusters",
68 bool disableRootInput = false,
69 bool disableRootOutput = false,
70 bool disableDecodingErrors = false,
71 bool disableTriggerReconstruction = false);
72} // namespace reco_workflow
73
74} // namespace emcal
75
76} // namespace o2
77#endif
framework::WorkflowSpec getWorkflow(bool propagateMC=true, bool askDISTSTF=true, bool enableDigitsPrinter=false, int subspecificationIn=0, int subspecificationOut=0, std::string const &cfgInput="digits", std::string const &cfgOutput="clusters", bool disableRootInput=false, bool disableRootOutput=false, bool disableDecodingErrors=false, bool disableTriggerReconstruction=false)
create the workflow for EMCAL reconstruction
@ Digits
read digits from file
@ Cells
read compressed cells from file
@ Raw
read data in raw page format from file
@ Clusters
read native clusters from file
@ AnalysisClusters
EMCAL analysis clusters.
std::vector< DataProcessorSpec > WorkflowSpec
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...