Project
Loading...
Searching...
No Matches
FT0Workflow.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
19namespace o2
20{
21namespace ft0
22{
23
24framework::WorkflowSpec getFT0Workflow(bool isExtendedMode, bool useProcess,
25 bool dumpProcessor, bool dumpReader,
26 bool disableRootOut, bool askSTFDist)
27{
28 LOG(info) << "framework::WorkflowSpec getFT0Workflow";
30 if (isExtendedMode) {
31 specs.emplace_back(o2::ft0::getFT0DataReaderDPLSpec(RawReaderFT0ext{dumpReader}, askSTFDist));
32 } else {
33 specs.emplace_back(o2::ft0::getFT0DataReaderDPLSpec(RawReaderFT0<false>{dumpReader}, askSTFDist));
34 }
35 if (useProcess) {
36 specs.emplace_back(o2::ft0::getFT0DataProcessDPLSpec(dumpProcessor));
37 }
38 if (!disableRootOut) {
39 specs.emplace_back(o2::ft0::getFT0DigitWriterSpec(false, false));
40 }
41 return specs;
42}
43
44} // namespace ft0
45} // namespace o2
std::vector< DataProcessorSpec > WorkflowSpec
framework::DataProcessorSpec getFT0DataReaderDPLSpec(const RawReader &rawReader, bool askSTFDist)
framework::DataProcessorSpec getFT0DigitWriterSpec(bool mctruth=true, bool trigInp=true)
create a processor spec
framework::WorkflowSpec getFT0Workflow(bool isExtendedMode, bool useProcess, bool dumpProcessor, bool dumpReader, bool disableRootOut, bool askSTFDist)
framework::DataProcessorSpec getFT0DataProcessDPLSpec(bool dumpProcessor)
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 ...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"