Project
Loading...
Searching...
No Matches
ZDCRecoWriterDPLSpec.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>
15
22
23using namespace o2::framework;
24
25namespace o2
26{
27namespace zdc
28{
29
30template <typename T>
32// Unused arguments: bool mctruth, bool simVersion
34{
35 std::string writerName = "ZDCRecoWriter";
36
39 return MakeRootTreeWriterSpec(writerName.data(),
40 fname.data(),
41 "o2rec",
42 BranchDefinition<std::vector<o2::zdc::BCRecData>>{InputSpec{"bcrec", "ZDC", "BCREC"}, "ZDCRecBC"},
43 BranchDefinition<std::vector<o2::zdc::ZDCEnergy>>{InputSpec{"energy", "ZDC", "ENERGY"}, "ZDCRecE"},
44 BranchDefinition<std::vector<o2::zdc::ZDCTDCData>>{InputSpec{"tdcdata", "ZDC", "TDCDATA"}, "ZDCRecTDC"},
45 BranchDefinition<std::vector<uint16_t>>{InputSpec{"info", "ZDC", "INFO"}, "ZDCRecInfo"},
46 BranchDefinition<std::vector<o2::zdc::ZDCWaveform>>{InputSpec{"wave", "ZDC", "WAVE"}, "ZDCWaveform"})();
47}
48
49} // namespace zdc
50} // namespace o2
Class to refer to the reconstructed information.
Configurable generator for RootTreeWriter processor spec.
Container class to store energy released in the ZDC.
Container class to store a TDC hit in a ZDC channel.
Container class to store the interpolated waveform of the ZDC.
Generate a processor spec for the RootTreeWriter utility.
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
framework::DataProcessorSpec getZDCRecoWriterDPLSpec(std::string fname="zdcreco.root")
create a processor spec
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...