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_PHOS_RECOWORKFLOW_H
13#define O2_PHOS_RECOWORKFLOW_H
14
16#include <string>
17#include <vector>
18
19namespace o2
20{
21
22namespace phos
23{
24
25namespace reco_workflow
26{
27
29enum struct InputType { Hits, // read hits from file
30 Digits, // read digits from file
31 Cells, // read compressed cells from file
32 Raw, // read data in raw page format from file
33 Clusters // read native clusters from file
34};
35enum struct OutputType { Digits,
36 Cells,
37 Raw,
39};
40
42framework::WorkflowSpec getWorkflow(bool disableRootInp,
43 bool disableRootOut,
44 bool propagateMC = true,
45 std::string const& cfgInput = "hits", //
46 std::string const& cfgOutput = "clusters", //
47 bool fullCluOut = false,
48 int flpId = 0,
49 bool defBadMap = false,
50 bool skipL1phase = true);
51} // namespace reco_workflow
52
53} // namespace phos
54
55} // namespace o2
56#endif
std::vector< DataProcessorSpec > WorkflowSpec
framework::WorkflowSpec getWorkflow(bool disableRootInp, bool disableRootOut, bool propagateMC=true, std::string const &cfgInput="hits", std::string const &cfgOutput="clusters", bool fullCluOut=false, int flpId=0, bool defBadMap=false, bool skipL1phase=true)
create the workflow for PHOS reconstruction
InputType
define input and output types of the workflow
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...