Project
Loading...
Searching...
No Matches
TPCTimeSeriesWriterSpec.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
14// #include <vector>
19
21
22using namespace o2::framework;
23
24namespace o2
25{
26namespace tpc
27{
28template <typename T>
30
32{
33 return MakeRootTreeWriterSpec("tpc-time-series-writer",
34 "o2_timeseries_tpc.root",
35 "treeTimeSeries",
36 BranchDefinition<TimeSeriesITSTPC>{InputSpec{"timeseries", o2::header::gDataOriginTPC, getDataDescriptionTimeSeries(), 0, Lifetime::Sporadic}, "TimeSeries", 1},
37 BranchDefinition<o2::dataformats::TFIDInfo>{InputSpec{"itpctfid", o2::header::gDataOriginTPC, getDataDescriptionTPCTimeSeriesTFId(), 0, Lifetime::Sporadic}, "tfID", 1})();
38}
39
40} // namespace tpc
41} // namespace o2
calibrator class for accumulating integrated clusters
Configurable generator for RootTreeWriter processor spec.
Generate a processor spec for the RootTreeWriter utility.
constexpr o2::header::DataOrigin gDataOriginTPC
Definition DataHeader.h:576
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
o2::framework::DataProcessorSpec getTPCTimeSeriesWriterSpec()
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...