Project
Loading...
Searching...
No Matches
RawProcessingHelpers.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_TPC_RawProcessingHelpers_H
13#define O2_TPC_RawProcessingHelpers_H
14
15#include <functional>
16
17#include "TPCBase/RDHUtils.h"
18
19namespace o2
20{
21namespace tpc
22{
23namespace raw_processing_helpers
24{
25
26using ADCCallback = std::function<bool(int cru, int rowInSector, int padInRow, int timeBin, float adcValue)>;
27
28bool processZSdata(const char* data, size_t size, rdh_utils::FEEIDType feeId, uint32_t orbit, uint32_t referenceOrbit, uint32_t syncOffsetReference, ADCCallback fillADC);
29
30} // namespace raw_processing_helpers
31} // namespace tpc
32} // namespace o2
33#endif
uint64_t orbit
Definition RawEventData.h:6
GLsizeiptr size
Definition glcorearb.h:659
GLboolean * data
Definition glcorearb.h:298
bool processZSdata(const char *data, size_t size, rdh_utils::FEEIDType feeId, uint32_t orbit, uint32_t referenceOrbit, uint32_t syncOffsetReference, ADCCallback fillADC)
std::function< bool(int cru, int rowInSector, int padInRow, int timeBin, float adcValue)> ADCCallback
uint16_t FEEIDType
Definition RDHUtils.h:26
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...