17#ifndef O2_TOF_COMPRESSEDDECODINGTASK
18#define O2_TOF_COMPRESSEDDECODINGTASK
26#include "TStopwatch.h"
36using namespace compressed;
56 if (mNorbitsPerTF == -1) {
69 const Error_t* errors)
override;
71 std::shared_ptr<o2::base::GRPGeomRequest> mGGCCDBRequest;
74 std::vector<std::vector<o2::tof::Digit>> mDigits;
77 int mNCrateOpenTF = 0;
78 int mNCrateCloseTF = 0;
79 bool mHasToBePosted =
false;
80 bool mConetMode =
false;
81 uint32_t mInitOrbit = 0;
82 uint32_t mCurrentOrbit = 0;
83 bool mRowFilter =
false;
84 bool mMaskNoise =
false;
85 bool mLocalCmp =
false;
86 int mNoiseRate = 1000;
87 unsigned long mCreationTime = 0;
88 int mNorbitsPerTF = -1;
Definition of the TOF encoder.
Helper for geometry and GRP related CCDB requests.
bool finaliseCCDB(o2::framework::ConcreteDataMatcher &matcher, void *obj)
static GRPGeomHelper & instance()
~CompressedDecodingTask() override=default
CompressedDecodingTask(bool conet, o2::header::DataDescription dataDesc, std::shared_ptr< o2::base::GRPGeomRequest > gr, int norbitPerTF=-1, bool localCmp=false)
void finaliseCCDB(o2::framework::ConcreteDataMatcher &matcher, void *obj) final
void init(InitContext &ic) final
void decodeTF(ProcessingContext &pc)
void postData(ProcessingContext &pc)
void endOfStream(EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
void setDecoderCONET(bool val)
Defining PrimaryVertex explicitly as messageable.
framework::DataProcessorSpec getCompressedDecodingSpec(const std::string &inputDesc, bool conet=false, bool askDISTSTF=true, int norbitPerTF=-1, bool localCmp=false)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...