Project
Loading...
Searching...
No Matches
CalibProcessingHelper.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_CalibProcessingHelper_H
13#define O2_TPC_CalibProcessingHelper_H
14
15#include <memory>
16
18
19namespace o2
20{
21namespace tpc
22{
23namespace rawreader
24{
25class RawReaderCRU;
26}
27
28namespace calib_processing_helper
29{
30
31uint64_t processRawData(o2::framework::InputRecord& inputs, std::unique_ptr<o2::tpc::rawreader::RawReaderCRU>& reader, bool useOldSubspec = false, const std::vector<int>& sectors = {}, size_t* nerrors = nullptr, uint32_t syncOffsetReference = 144, uint32_t decoderType = 1, bool useTrigger = true, bool returnOnNoTrigger = false);
32
34std::vector<o2::framework::InputSpec> getFilter(o2::framework::InputRecord& inputs);
35
37int getTriggerBCoffset(o2::framework::InputRecord& inputs, std::vector<o2::framework::InputSpec> filter = {}, bool slowScan = false);
38
43int getTriggerBCoffset(const char* data, size_t size, uint32_t firstOrbit);
44
45} // namespace calib_processing_helper
46} // namespace tpc
47} // namespace o2
48
49#endif
The input API of the Data Processing Layer This class holds the inputs which are valid for processing...
GLsizeiptr size
Definition glcorearb.h:659
GLboolean * data
Definition glcorearb.h:298
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition glcorearb.h:1308
uint64_t processRawData(o2::framework::InputRecord &inputs, std::unique_ptr< o2::tpc::rawreader::RawReaderCRU > &reader, bool useOldSubspec=false, const std::vector< int > &sectors={}, size_t *nerrors=nullptr, uint32_t syncOffsetReference=144, uint32_t decoderType=1, bool useTrigger=true, bool returnOnNoTrigger=false)
int getTriggerBCoffset(o2::framework::InputRecord &inputs, std::vector< o2::framework::InputSpec > filter={}, bool slowScan=false)
absolute BC relative to TF start (firstOrbit)
std::vector< o2::framework::InputSpec > getFilter(o2::framework::InputRecord &inputs)
absolute BC relative to TF start (firstOrbit)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...