Project
Loading...
Searching...
No Matches
DigitWriterSpec.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_MCHIO_DIGIT_WRITER_SPEC_H_
13#define O2_MCHIO_DIGIT_WRITER_SPEC_H_
14
16
17namespace o2
18{
19namespace mch
20{
22
24 bool useMC,
25 std::string_view specName = "mch-digit-writer",
26 std::string_view outfile = "mchdigits.root",
27 std::string_view inputDigitDataDescription = "DIGITS",
28 std::string_view inputDigitRofDataDescription = "DIGITROFS",
29 std::string_view inputDigitLabelDataDescription = "DIGITLABELS");
30
31} // end namespace mch
32} // end namespace o2
33
34#endif
const char * specName
o2::framework::DataProcessorSpec getMCHDigitWriterSpec(bool mctruth)
o2::framework::DataProcessorSpec getDigitWriterSpec(bool useMC, std::string_view specName="mch-digit-writer", std::string_view outfile="mchdigits.root", std::string_view inputDigitDataDescription="DIGITS", std::string_view inputDigitRofDataDescription="DIGITROFS", std::string_view inputDigitLabelDataDescription="DIGITLABELS")
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...