Project
Loading...
Searching...
No Matches
BaseRecoTask.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
14#ifndef ALICEO2_FV0_BASERECOTASK_H
15#define ALICEO2_FV0_BASERECOTASK_H
16
21#include <gsl/span>
22
23namespace o2
24{
25namespace fv0
26{
28{
29 // using offsetCalib = o2::fv0::FV0ChannelTimeCalibrationObject;
30
31 public:
32 BaseRecoTask() = default;
33 ~BaseRecoTask() = default;
35 gsl::span<const o2::fv0::ChannelData> inChData,
36 gsl::span<o2::fv0::ChannelDataFloat> outChData);
37 void FinishTask();
38 void SetChannelOffset(o2::fv0::FV0ChannelTimeCalibrationObject const* caliboffsets) { mCalibOffset = caliboffsets; };
39 int getOffset(int channel);
40
41 private:
42 o2::fv0::FV0ChannelTimeCalibrationObject const* mCalibOffset = nullptr;
43
44 ClassDefNV(BaseRecoTask, 3);
45};
46} // namespace fv0
47} // namespace o2
48#endif
Class to describe fired triggered and/or stored channels for the BC and to refer to channel data.
Container class to store time and charge values of single FV0 channel.
Definition of the FV0 RecPoints class.
void SetChannelOffset(o2::fv0::FV0ChannelTimeCalibrationObject const *caliboffsets)
int getOffset(int channel)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...