17#ifndef ALICEO2_FDD_DIGITS2RAW_H_
18#define ALICEO2_FDD_DIGITS2RAW_H_
28#include <fairlogger/Logger.h>
29#include <TStopwatch.h>
43 void readDigits(
const std::string& outDir,
const std::string& fileDigitsName);
45 gsl::span<const ChannelData> pmchannels,
46 const o2::fdd::LookUpTable& lut);
53 const char*
ptr,
int maxSize,
int splitID,
54 std::vector<char>& trailer, std::vector<char>& header)
const;
57 static constexpr uint32_t sTcmLink = 2;
58 static constexpr uint16_t sCruId = 0;
59 static constexpr uint32_t sEndPointId = sCruId;
63 RawEventData mRawEventData;
66 bool mOutputPerLink =
false;
Utility class to write detectors data to (multiple) raw data file(s) respecting CRU format.
int carryOverMethod(const header::RDHAny *rdh, const gsl::span< char > data, const char *ptr, int maxSize, int splitID, std::vector< char > &trailer, std::vector< char > &header) const
void setFilePerLink(bool v)
void convertDigits(o2::fdd::Digit bcdigits, gsl::span< const ChannelData > pmchannels, const o2::fdd::LookUpTable &lut)
o2::raw::RawFileWriter & getWriter()
bool getFilePerLink() const
void readDigits(const std::string &outDir, const std::string &fileDigitsName)
struct o2::upgrades_utils::@459 fdd
Collision labels.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
o2::InteractionRecord ir(0, 0)