15#ifndef CBMDEVICEUNPACKTOFCri_H_
16#define CBMDEVICEUNPACKTOFCri_H_
20#include "MicrosliceDescriptor.hpp"
21#include "Timeslice.hpp"
23#include "FairMQDevice.h"
51 virtual void BuildTint(uint64_t ulTsStartTime,
int iMode = 0);
52 virtual bool SendDigis(std::vector<CbmTofDigi*>,
int);
68 std::vector<std::string>
fAllowedChannels = {
"tofcomponent",
"parameters",
"tofdigis",
"syscmd"};
177 Bool_t
DoUnpack(
const fles::Timeslice& ts,
size_t component);
203 CbmMQTMessage(
void* buf, Int_t len) : TMessage(buf, len) { ResetBit(kIsOwner); }
std::vector< Int_t > fviRpcType
Double_t fdTsCoreSizeInNs
Double_t fdFirstDigiTimeDif
Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Temp until we change from CbmMcbmUnpack to something else.
bool HandleData(FairMQMessagePtr &, int)
std::vector< Bool_t > fvbFirstEpochSeen
std::vector< uint64_t > fEventHeader
std::vector< Int_t > fviRpcSide
CbmDeviceUnpackTofCri operator=(const CbmDeviceUnpackTofCri &)=delete
std::vector< TH1 * > fhChCount
std::vector< Int_t > fviModuleId
virtual void BuildTint(uint64_t ulTsStartTime, int iMode=0)
void SetNbMsInTs(size_t, size_t)
std::vector< Bool_t > fvbChanThere
UInt_t fuNrOfChannelsPerFee
std::vector< ULong64_t > fvulCurrentEpoch
const UInt_t kuNbGbtxPerGdpb
UInt_t fuNrOfChannelsPerGdpb
std::vector< UInt_t > fvuGet4ToElink
std::shared_ptr< CbmTofUnpackAlgo > fUnpackerAlgo
Processing algo.
std::vector< int > fMsgCounter
std::vector< Int_t > fviNrOfRpc
CbmDeviceUnpackTofCri(const CbmDeviceUnpackTofCri &)=delete
Control flags.
void SetIgnoreOverlapMs(Bool_t bFlagIn=kTRUE)
Algo settings setters.
static const UInt_t kuNbGet4PerGbtx
Int_t GetArrayIndex(Int_t gdpbId, Int_t get4Id)
std::vector< UInt_t > fvuElinkToGet4
5 FEE with 8 GET4 each
void SetDiamondDpbIdx(UInt_t uIdx=2)
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
const UInt_t kuNbFeePerGbtx
std::vector< std::string > fAllowedChannels
ULong64_t fulCurrentEpochTime
virtual ~CbmDeviceUnpackTofCri()
uint64_t fiSelectComponents
Bool_t ReInitContainers()
CbmMcbm2018TofPar * fUnpackPar
std::vector< Int_t > fviRpcChUId
UInt_t fuNrOfChannelsPerGet4
bool HandleMessage(FairMQMessagePtr &, int)
std::vector< std::vector< std::string > > fChannelsToSend
std::vector< UInt_t > fvuPadiToGet4
bool CheckTimeslice(const fles::Timeslice &ts)
bool HandleParts(FairMQParts &, int)
UInt_t ConvertElinkToGet4(UInt_t uElinkIdx)
UInt_t ConvertGet4ToElink(UInt_t uGet4Idx)
std::vector< Int_t > fiReqDigiAddr
void SetTimeOffsetNs(Double_t dOffsetIn=0.0)
bool IsChannelNameAllowed(std::string channelName)
std::vector< TH2 * > fhRawTotCh
virtual bool SendDigis(std::vector< CbmTofDigi * >, int)
std::vector< TH2 * > fhChanCoinc
std::vector< UInt_t > fvuGet4ToPadi
void PrintMicroSliceDescriptor(const fles::MicrosliceDescriptor &mdsc)
CbmMQTMessage(void *buf, Int_t len)
Singleton buffer class for CBM raw data.
Data class for expanded digital TOF information.