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
19
20namespace o2
21{
22namespace zdc
23{
24
25framework::WorkflowSpec getRecoWorkflow(const bool useMC, const bool disableRootInp, const bool disableRootOut, const int verbosity, const bool enableDebugOut, const bool enableZDCTDCCorr, const bool enableZDCEnergyParam, const bool enableZDCTowerParam, const bool enableBaselineParam)
26{
28 if (!disableRootInp) {
29 specs.emplace_back(o2::zdc::getDigitReaderSpec(useMC));
30 }
31 specs.emplace_back(o2::zdc::getDigitRecoSpec(verbosity, enableDebugOut, enableZDCTDCCorr, enableZDCEnergyParam, enableZDCTowerParam, enableBaselineParam));
32 specs.emplace_back(o2::zdc::getBaselineCalibEPNSpec());
33 if (!disableRootOut) {
34 specs.emplace_back(o2::zdc::getZDCRecoWriterDPLSpec());
35 }
36 // specs.emplace_back(o2::zdc::getReconstructionSpec(useMC));
37 // if (!disableRootOut) {
38 // specs.emplace_back(o2::zdc::getRecPointWriterSpec(useMC));
39 // }
40 return specs;
41}
42
43} // namespace zdc
44} // namespace o2
#define verbosity
Run ZDC digits reconstruction.
std::vector< DataProcessorSpec > WorkflowSpec
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
framework::DataProcessorSpec getDigitRecoSpec(const int verbosity, const bool enableDebugOut, const bool enableZDCTDCCorr, const bool enableZDCEnergyParam, const bool enableZDCTowerParam, const bool enableBaselineParam)
create a processor spec
framework::DataProcessorSpec getZDCRecoWriterDPLSpec(std::string fname="zdcreco.root")
create a processor spec
framework::DataProcessorSpec getDigitReaderSpec(bool useMC)
framework::DataProcessorSpec getBaselineCalibEPNSpec()
framework::WorkflowSpec getRecoWorkflow(const bool useMC, const bool disableRootInp, const bool disableRootOut, const int verbosity, const bool enableDebugOut, const bool enableZDCTDCCorr, const bool enableZDCEnergyParam, const bool enableZDCTowerParam, const bool enableBaselineParam)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...