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
22#include <gsl/span>
23
24namespace o2
25{
26namespace fv0
27{
29{
30 // using offsetCalib = o2::fv0::FV0ChannelTimeCalibrationObject;
31
32 public:
33 BaseRecoTask() = default;
34 ~BaseRecoTask() = default;
36 gsl::span<const o2::fv0::ChannelData> inChData,
37 std::vector<o2::fv0::ChannelDataFloat>& outChData);
38 void FinishTask();
39 void SetChannelOffset(o2::fv0::FV0ChannelTimeCalibrationObject const* caliboffsets) { mCalibOffset = caliboffsets; };
40 void SetDeadChannelMap(o2::fit::DeadChannelMap const* deadChannelMap) { mDeadChannelMap = deadChannelMap; }
41 int getOffset(int channel);
42
43 private:
44 o2::fv0::FV0ChannelTimeCalibrationObject const* mCalibOffset = nullptr;
45 o2::fit::DeadChannelMap const* mDeadChannelMap = nullptr;
46 ClassDefNV(BaseRecoTask, 3);
47};
48} // namespace fv0
49} // namespace o2
50#endif
Class to describe fired triggered and/or stored channels for the BC and to refer to channel data.
Dead channel map for FIT.
Container class to store time and charge values of single FV0 channel.
Definition of the FV0 RecPoints class.
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to process
void SetChannelOffset(o2::fv0::FV0ChannelTimeCalibrationObject const *caliboffsets)
int getOffset(int channel)
void SetDeadChannelMap(o2::fit::DeadChannelMap const *deadChannelMap)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...