Project
Loading...
Searching...
No Matches
RecoReaderSpec.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_ZDC_RECOREADERSPEC_H
13#define O2_ZDC_RECOREADERSPEC_H
14
15#include "TFile.h"
16#include "TTree.h"
18#include "Framework/Task.h"
19
20namespace o2
21{
22namespace zdc
23{
24
26{
27 public:
28 RecoReader() = default;
29 ~RecoReader() override = default;
30 void init(framework::InitContext& ic) final;
31 void run(framework::ProcessingContext& pc) final;
32
33 private:
34 std::unique_ptr<TTree> mTree;
35 std::unique_ptr<TFile> mFile;
36};
37
41
42} // end namespace zdc
43} // end namespace o2
44
45#endif // O2_ZDC_RECOREADERSPEC_H
void init(framework::InitContext &ic) final
~RecoReader() override=default
void run(framework::ProcessingContext &pc) final
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
framework::DataProcessorSpec getRecoReaderSpec()
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...